Assigns a Retention and Disposition (R&D) schedule to a document identified by path. The schedule controls how long the document must be retained and what happens when the retention period expires.
/srv.asmx/SetDocumentRandDSchedule
/srv.asmx/SetDocumentRandDSchedule?authenticationTicket=...&Path=...&RDDefId=.../srv.asmx/SetDocumentRandDSchedule (form data)http://tempuri.org/SetDocumentRandDSchedule| 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.pdf). |
RDDefId |
integer | Yes | ID of the R&D schedule definition to assign. Must be > 0. Use GetRandDSchedules to find valid IDs. |
<root success="true" />
<root success="false" error="[901]Session expired or Invalid ticket" />
The calling user must have write access to the document.
GET /srv.asmx/SetDocumentRandDSchedule
?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
&Path=/Finance/Reports/Q1-2024.pdf
&RDDefId=47
HTTP/1.1
Host: yourserver
POST /srv.asmx/SetDocumentRandDSchedule HTTP/1.1
Host: yourserver
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c&Path=/Finance/Reports/Q1-2024.pdf&RDDefId=47
| Error | Description |
|---|---|
[900] |
Authentication failed -“ invalid credentials. |
[901] |
Session expired or invalid authentication ticket. |
| Access Denied | Caller does not have write access to the document. |
| Document not found | No document was found at the specified Path. |
| Schedule not found | No R&D schedule with the specified RDDefId exists. |