cancelDocument
This method allows cancelling a document. To use it, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web/wwwroot/ws/java/document/CancelDocumentRequestType.java |
Return | web/wwwroot/ws/java/document/CancelDocumentResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDDOCUMENT | X | Document ID #. |
IDUSER | Starting with version 2.0, this parameter became obsolete. During the import, leave it blank. | |
DSCANCEL | X | Cancellation description. |
IDCATEGORY | X | Document 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 |
---|---|
return | SUCCESS: 1: Document cancelled successfully. FAILURE: 0: Message with the error found. |