Obsolete since infoRouter 8.1.155. This API always returns an error and must not be used in new integrations. Use
SetDocumentRandDScheduleto manage document retention.
Sets the retention period of the specified document. This method was used to mark a document as having no retention, permanent retention, or retention until a specified date. As of version 8.1.155, the API is disabled -“ every call returns an error regardless of the parameters supplied. All retention management is now handled through the Retention & Disposition schedule system.
/srv.asmx/SetDocumentRetention
/srv.asmx/SetDocumentRetention?authenticationTicket=...&path=...&retentionStatus=...&retainUntil=.../srv.asmx/SetDocumentRetention (form data)http://tempuri.org/SetDocumentRetention| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
path |
string | Yes | Full infoRouter path to the document (e.g. /Finance/Reports/Q1-Report.pdf). |
retentionStatus |
short (int16) | Yes | Retention mode. Valid values: 0 = No Retention, 1 = Forever, 2 = Until Specified Date. |
retainUntil |
DateTime | No | Required when retentionStatus is 2. The date until which the document must be retained (e.g. 2030-12-31). Ignored for other status values. |
Note: These parameters are accepted by the endpoint signature but are not evaluated. The API returns an error for every call.
<root success="false" error="'SetDocumentRetention' infoRouter Web Service API is obsolete. Please follow the new API documentation." />
This API never returns a success response. Every call returns the error above.
Not applicable -“ the API is disabled and returns an error for all callers regardless of permissions.
GET /srv.asmx/SetDocumentRetention
?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&path=/Finance/Reports/Q1-2024-Report.pdf
&retentionStatus=2
&retainUntil=2030-12-31
HTTP/1.1
POST /srv.asmx/SetDocumentRetention HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&path=/Finance/Reports/Q1-2024-Report.pdf
&retentionStatus=2
&retainUntil=2030-12-31
SetDocumentRandDSchedule, which applies a named Retention & Disposition schedule to a document.| Error | Description |
|---|---|
'SetDocumentRetention' infoRouter Web Service API is obsolete. Please follow the new API documentation. |
This is the only response this API ever returns. The API is disabled. |