Skip to main content
Version: 2.2.1

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
Requestweb/wwwroot/ws/java/document/DeleteRevisionRequestType.java
Returnweb/wwwroot/ws/java/document/DeleteRevisionResponseType.java

Request:

ID #RequiredDescription
IDDOCUMENTXDocument ID #.
IDREVISIONXRevision ID #.
IDUSERStarting with version 2.0, this parameter became obsolete. During the import, leave it blank.
JUSTIFYXRevision 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
returnSUCCESS: 1: Operation successfully performed.
FAILURE: 0: Message with the error found.