Skip to main content
Version: 2.2.2

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.
JUSTIFYX¹Explanation 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.