apidocs

RemoveFolderRandDSchedule API

Removes (unassigns) the Retention and Disposition (R&D) schedule from a folder identified by path. Optionally also removes the schedule from all subfolders and/or all documents within the folder hierarchy.

Endpoint

/srv.asmx/RemoveFolderRandDSchedule

Methods

Parameters

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).
includeFolders boolean Yes true to also remove the schedule from all subfolders recursively. false to remove only from the specified folder.
includeDocuments boolean Yes true to also remove the schedule from all documents within the folder hierarchy. false to remove only from folders.

Response

Success Response

<root success="true" />

Error Response

<root success="false" error="[901]Session expired or Invalid ticket" />

Required Permissions

The calling user must have write access to the folder.

Example

GET Request -“ remove from folder only

GET /srv.asmx/RemoveFolderRandDSchedule
    ?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
    &Path=/Finance/Reports
    &includeFolders=false
    &includeDocuments=false
HTTP/1.1
Host: yourserver

GET Request -“ remove from entire folder tree including documents

GET /srv.asmx/RemoveFolderRandDSchedule
    ?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
    &Path=/Finance/Reports
    &includeFolders=true
    &includeDocuments=true
HTTP/1.1
Host: yourserver

POST Request

POST /srv.asmx/RemoveFolderRandDSchedule HTTP/1.1
Host: yourserver
Content-Type: application/x-www-form-urlencoded

authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c&Path=/Finance/Reports&includeFolders=true&includeDocuments=true

Notes

Error Codes

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.