Updating autoarchive rules for a file or folder
Use UpdateFile and modify the ArchiveRule property of the SetArchiveRules element to update the autoarchive rules for a file or folder. Express the expiration age in minutes.
<SOAP-ENV:Body>
<Administrate>
<UpdateFile>
<SetArchiveRules>
<ArchiveRule>
<FileType>RPTDESIGN</FileType>
<NeverExpire>false</NeverExpire>
<ArchiveOnExpiration>true</ArchiveOnExpiration> <ExpirationAge>28800</ExpirationAge>
</ArchiveRule>
</SetArchiveRules>
<IdList>
<String>4</String>
</IdList>
</UpdateFile>
</Administrate>
</SOAP-ENV:Body>
As with other Administrate operations, the response to this request is empty when the operation succeeds. In the event of failure, the response is an error message.