Deletes an existing Retention and Disposition (R&D) schedule definition. When forceDelete is true, the schedule is automatically unassigned from all documents and folders before deletion, bypassing the assignment check. When false, behaves identically to DeleteRandDSchedule.
/srv.asmx/DeleteRandDSchedule1
/srv.asmx/DeleteRandDSchedule1?authenticationTicket=...&RDdefId=...&forceDelete=.../srv.asmx/DeleteRandDSchedule1 (form data)http://tempuri.org/DeleteRandDSchedule1| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
RDdefId |
integer | Yes | ID of the Retention and Disposition schedule definition to delete. |
forceDelete |
boolean | Yes | When true, unassigns the schedule from all documents and folders before deleting. When false, deletion is blocked if the schedule is still assigned. |
<root success="true" />
<root success="false" error="There are documents or folders uses this Retention and Disposition schedule that cannot be deleted. Document count: 3 Folder count: 1" />
Retention & Disposition Manager or System Administrator. Regular users receive an access denied error.
GET /srv.asmx/DeleteRandDSchedule1
?authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
&RDdefId=47
&forceDelete=true
HTTP/1.1
Host: yourserver
POST /srv.asmx/DeleteRandDSchedule1 HTTP/1.1
Host: yourserver
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f7a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c&RDdefId=47&forceDelete=false
forceDelete=true, the schedule is removed from all assigned documents and folders within the same transaction before the schedule definition is deleted.forceDelete=false, deletion is blocked if the schedule is assigned to any documents or folders. The error message includes the count of blocking documents and folders.RDdefId, call GetRandDSchedules or retrieve it from the response of CreateRandDSchedule.| Error | Description |
|---|---|
[900] |
Authentication failed - invalid credentials. |
[901] |
Session expired or invalid authentication ticket. |
| Access Denied | Caller is not a Retention & Disposition Manager or System Administrator. |
| Schedule in use | The schedule is assigned to documents or folders and forceDelete is false. |
| Schedule not found | No schedule with the specified RDdefId exists. |