Skip to main content
Version: 2.2.2

cancelDocument

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

Java class
Requestweb/wwwroot/ws/java/document/CancelDocumentRequestType.java
Returnweb/wwwroot/ws/java/document/CancelDocumentResponseType.java

Request:

ID #RequiredDescription
IDDOCUMENTXDocument ID #.
IDUSERStarting with version 2.0, this parameter became obsolete. During the import, leave it blank.
DSCANCELXCancellation description.
IDCATEGORYXDocument category ID #.

Request structure:

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

Return:

ID #Description
returnSUCCESS: 1: Document cancelled successfully.
FAILURE: 0: Message with the error found.