Skip to main content
Version: 2.2.3

releasePendencyDocument

This method allows releasing a revision execution task of a certain user. To use it, it is necessary to follow the standard documented below:

Java class
Requestweb/wwwroot/ws/java/document/ReleasePendencyDocumentRequestType.java
Returnweb/wwwroot/ws/java/document/ReleasePendencyDocumentResponseType.java

Request:

ID #RequiredDescription
IDDOCUMENTXDocument ID #.
IDUSERXUser ID.
APPROVXFlag indicating if 1 = Approved and 2 = Rejected.
JUSTIFYExplanation text.
IDCATEGORYCategory ID #.
info

X¹ - Required in case of rejection.

Request structure:

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

Return:

ID #Description
returnSUCCESS: IDUSER - ID of the next pending user
USERTYPE - User type
▪ 1 - User;
▪ 2 - Department;
▪ 3 - Position;
▪ 4 - Department/Position;
▪ 5 - Team.
▪6 - All
FAILURE: Returns a message regarding the error that occurred.