Disposes a document or folder by path per its active Retention and Disposition (R&D) schedule. The path type is auto-detected — document paths dispose the single document; folder paths recursively dispose all eligible documents within the folder and the folder itself.
/srv.asmx/DisposeItem
/srv.asmx/DisposeItem?authenticationTicket=...&path=...&disposeComments=.../srv.asmx/DisposeItem (form data)http://tempuri.org/DisposeItem| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser |
path |
string | Yes | Full path of the document or folder to dispose |
disposeComments |
string | No | Disposition comment. Omit or pass empty string if not required. |
<root success="true" />
The operation completes but individual documents that could not be disposed are reported as <log> child elements:
<root success="true">
<log>
<item>document-name.pdf</item>
<error>Document is checked out</error>
</log>
</root>
<root success="false" error="[ErrorCode] Error message" />
The caller must have Delete permission on the document or folder. The item must have an active R&D schedule.
GET /srv.asmx/DisposeItem?authenticationTicket=abc123-def456&path=/Library/Records/contract.pdf&disposeComments=Retention+period+expired HTTP/1.1
POST /srv.asmx/DisposeItem HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=abc123-def456&path=/Library/Records/2020&disposeComments=7-year+retention+complete
POST /srv.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/DisposeItem"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<DisposeItem xmlns="http://tempuri.org/">
<authenticationTicket>abc123-def456</authenticationTicket>
<path>/Library/Records/2020</path>
<disposeComments>7-year retention complete</disposeComments>
</DisposeItem>
</soap:Body>
</soap:Envelope>
<log> child elements alongside success="true"GetDispositionLog)SetDocumentRandDSchedule — Assign an R&D schedule to a documentSetFolderRandDSchedule — Assign an R&D schedule to a folderGetDispositionLog — Get disposition log entries