Updating autoarchive rules for a job output file
Use UpdateJobSchedule to change autoarchive rules for the output of a job when you update the job schedule. For example, you can change rules about using the inherited archive policy for the document’s file type, about deleting the output, or about archiving the document before deletion. The following example updates the autoarchive rules for inheritance, expiration age, and whether to archive the file at expiration:
<SOAP-ENV:Body>
<Administrate>
<UpdateJobSchedule>
<SetAttributes>
<RunLatestVersion>false</RunLatestVersion>
<InputFileName>/detail.rptdesign; 2</InputFileName>
</SetAttributes>
<SetParameters>
<OutputMaxVersion>0</OutputMaxVersion>
<RetryOption>VolumeDefault</RetryOption>
<ArchiveRuleInherited>false</ArchiveRuleInherited>
<ExpirationAge>86400</ExpirationAge>
<ArchiveOnExpire>true</ArchiveOnExpire>
</SetParameters>
<SetParameterValues>
<ParameterValue>
<Group>Office Parameters</Group>
<Name>DataSource::offices_city</Name>
</ParameterValue>
…
</SetParameterValues>
<Id>13</Id>
</UpdateJobSchedule>
</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.