Skip to main content
Version: 2.2.2

relateCopyStation

This method allows relating a document to a copy station.

Java class
Requestweb/wwwroot/ws/java/document/RelateCopyStationRequestType.java
Returnweb/wwwroot/ws/java/document/RelateCopyStationResponseType.java

Request:

ID #RequiredDescription
IDDOCUMENTXDocument ID #.
IDCATEGORYDocument category ID # (required when there is more than one document with the same ID # in different categories).
IDCOPYSTATIONXCopy station ID #.
QUANTITYXNumber 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
StatusSUCCESS: In case of success
FAILURE: In case of failure
CodeReturns 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
DetailMessage detailing the error or success in the execution of the method.