deleteDocument
This method allows deleting a document. To use it, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web/wwwroot/ws/java/document/DeleteDocumentRequestType.java |
Return | web/wwwroot/ws/java/document/DeleteDocumentResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDCATEGORY | X | Category ID #. |
IDDOCUMENT | X | Document ID #. |
IDUSER | Starting with version 2.0, this parameter became obsolete. During the import, leave it blank. | |
JUSTIFY | X | Deletion 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 |
---|---|
return | SUCCESS:Â 1: Operation successfully performed. FAILURE: 0: Message with the error found. |