deleteRevision
This method allows deleting a specific revision of the document. To use it, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web/wwwroot/ws/java/document/DeleteRevisionRequestType.java |
Return | web/wwwroot/ws/java/document/DeleteRevisionResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDDOCUMENT | X | Document ID #. |
IDREVISION | X | Revision ID #. |
IDUSER | Starting with version 2.0, this parameter became obsolete. During the import, leave it blank. | |
JUSTIFY | X | Revision deletion explanation. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:document">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteRevision>
<!--You may enter the following 4 items in any order-->
<urn:iddocument>?</urn:iddocument>
<urn:idrevision>?</urn:idrevision>
<urn:iduser>?</urn:iduser>
<urn:justify>?</urn:justify>
</urn:deleteRevision>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS:Â 1: Operation successfully performed. FAILURE: 0: Message with the error found. |