Skip to main content
Version: 2.2.2

associateProcess

This method allows relating documents to processes.

Java class
Requestweb/wwwroot/ws/java/document/AssociateProcessRequestType.java
Returnweb/wwwroot/ws/java/document/AssociateProcessResponseType.java

Request:

ID #RequiredDescription
IDDOCUMENTXDocument ID #.
IDCATEGORYDocument category ID # (required when there is more than one document with the same ID # in different categories).
IDPROCESSXProcess ID #.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:document">
<soapenv:Header/>
<soapenv:Body>
<urn:associateProcess>
<!--You may enter the following 3 items in any order-->
<urn:DocumentID>?</urn:DocumentID>
<urn:CategoryID>?</urn:CategoryID>
<urn:ProcessID>?</urn:ProcessID>
</urn:associateProcess>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
StatusSUCCESS: In case of success
FAILURE: In case of failure
Codeâ–ª 1 - Operation successfully performed.
â–ª -2 - Document not found.
â–ª -3 - Category not found.
â–ª -4 - Record already associated.
â–ª -5 - There is more than one document with this ID #. It is necessary to specify the category.
â–ª -6 - An error occurred when this activity was executed.
DetailMessage detailing the error or success in the execution of the method.