staff_info
General Purpose
This service retrieves staff information (from the Z66 table) for a given staff user name.
Input Parameters
1. NAME/STAFF_NAME – PICTURE X(10).
- NAME/STAFF_NAME: The staff user name (from the Z66 table).
Output XML Format
The output XML includes all of the given staff user’s information (from the Z66 table).
Example:
To get information for staff_name=DTL01, enter the following URL:
http://ram7:8175/X?op=staff_info&STAFF_NAME=DTL01
If successful, the output XML includes all of the Z66 fields for the given staff user name:
<sds:staff-info xmlns:sds="http://com/exlibris/digitool/sds/xmlbeans"> <sds:z66> <sds:z66-user-name>DTL01</sds:z66-user-name> <sds:z66-user-library>DTL01</sds:z66-user-library> <sds:z66-coll-mng-group /> </sds:z66> <session-id>RCPLDNHY4F9UVX3N3BY3GJP66K86EF98AB3GPRNMHIETRFSH3V</session-id> </sds:staff-info>
Possible Error Codes
1. If the staff_info X-Service is activated without staff_name having been entered, the following message appears in the output XML:
<error>Missing Staff Name</error>
2. If the staff_name does not exist in the Z66 table:
<error>Unknown Staff Name</error>