Skip to main content
Version: 2.2.1

deleteDocument

This method allows deleting a document. To use it, it is necessary to follow the standard documented below:

Java class
Requestweb/wwwroot/ws/java/document/DeleteDocumentRequestType.java
Returnweb/wwwroot/ws/java/document/DeleteDocumentResponseType.java

Request:

ID #RequiredDescription
IDCATEGORYXCategory ID #.
IDDOCUMENTXDocument ID #.
IDUSERStarting with version 2.0, this parameter became obsolete. During the import, leave it blank.
JUSTIFYXDeletion explanation.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:document">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteDocument>
<!--You may enter the following 4 items in any order-->
<urn:idcategory>?</urn:idcategory>
<urn:iddocument>?</urn:iddocument>
<urn:iduser>?</urn:iduser>
<urn:justify>?</urn:justify>
</urn:deleteDocument>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: 1: Operation successfully performed.
FAILURE: 0: Message with the error found.