Navigation:  Integration via SOAP web services > Published web services > Document >

relateCopyStation

Previous  Top  Next

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.

 

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 #. The category must be specified.

Detail

Message detailing the error or success in the execution of the method.