associateProcess
This method allows relating documents to processes.
Java class | |
---|---|
Request | web/wwwroot/ws/java/document/AssociateProcessRequestType.java |
Return | web/wwwroot/ws/java/document/AssociateProcessResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDDOCUMENT | X | Document ID #. |
IDCATEGORY | Document category ID # (required when there is more than one document with the same ID # in different categories). | |
IDPROCESS | X | Process 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 |
---|---|
Status | SUCCESS: 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. |
Detail | Message detailing the error or success in the execution of the method. |