relateCopyStation
This method allows relating a document to a copy station.
| Java class | |
|---|---|
| Request | web/wwwroot/ws/java/document/RelateCopyStationRequestType.java |
| Return | web/wwwroot/ws/java/document/RelateCopyStationResponseType.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). | |
| IDCOPYSTATION | X | Copy station ID #. |
| QUANTITY | X | Number of copies. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:document">
<soapenv:Header/>
<soapenv:Body>
<urn:relateCopyStation>
<!--You may enter the following 4 items in any order-->
<urn:DocumentID>?</urn:DocumentID>
<urn:CategoryID>?</urn:CategoryID>
<urn:CopyStationID>?</urn:CopyStationID>
<urn:Quantity>?</urn:Quantity>
</urn:relateCopyStation>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID # | Description |
|---|---|
| Status | SUCCESS: In case of success FAILURE: In case of failure |
| Code | Returns the execution code: 1 - Operation successfully performed -1 - Required field -2 - Limit of 10 characters exceeded in the Number of copies field -3 - Number of copies field must contain a whole numeric value -4 - Document ID # not found -5 - Inexistent document category -6 - Copy station not found -7 - Invalid user ID! -8 - User without permission to associate the document -9 - This document cannot be associated with a copy station -10 - Document already associated with the copy station -11 - There is more than one document with this ID #. It is necessary to specify the category |
| Detail | Message detailing the error or success in the execution of the method. |