Assigns a Retention and Disposition (R&D) schedule to a folder identified by path. Optionally also assigns the schedule to all subfolders and/or all documents within the folder hierarchy.
/srv.asmx/SetFolderRandDSchedule
/srv.asmx/SetFolderRandDSchedule?authenticationTicket=...&Path=...&RDDefId=...&includeFolders=...&includeDocuments=.../srv.asmx/SetFolderRandDSchedule (form data)http://tempuri.org/SetFolderRandDSchedule| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
Path |
string | Yes | Full infoRouter path to the folder (e.g. /Finance/Reports). |
RDDefId |
integer | Yes | ID of the R&D schedule definition to assign. Must be > 0. Use GetRandDSchedules to find valid IDs. |
includeFolders |
boolean | Yes | true to also assign the schedule to all subfolders recursively. false to assign only to the specified folder. |
includeDocuments |
boolean | Yes | true to also assign the schedule to all documents within the folder hierarchy. false to assign only to folders. |
<root success="true" />
<root success="false" error="[901]Session expired or Invalid ticket" />
The calling user must have write access to the folder.
GET /srv.asmx/SetFolderRandDSchedule
?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
&Path=/Finance/Reports
&RDDefId=47
&includeFolders=false
&includeDocuments=false
HTTP/1.1
Host: yourserver
GET /srv.asmx/SetFolderRandDSchedule
?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
&Path=/Finance/Reports
&RDDefId=47
&includeFolders=true
&includeDocuments=true
HTTP/1.1
Host: yourserver
POST /srv.asmx/SetFolderRandDSchedule HTTP/1.1
Host: yourserver
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c&Path=/Finance/Reports&RDDefId=47&includeFolders=true&includeDocuments=true
| Error | Description |
|---|---|
[900] |
Authentication failed -“ invalid credentials. |
[901] |
Session expired or invalid authentication ticket. |
| Access Denied | Caller does not have write access to the folder. |
| Folder not found | No folder was found at the specified Path. |
| Schedule not found | No R&D schedule with the specified RDDefId exists. |