Skip to main content
Version: 2.2.3

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.