bor_info
General Purpose
This service retrieves all information related to a given patron if the ID and verification code provided match.
If not, an error message is returned.
Input Parameters
1. LIBRARY – X (5).
2. BOR_ID – X (20).
3. VERIFICATION – X (20).
NOTE:
Since this X-Service calls check_bor_id with the GUI check type, the Verification field is not mandatory.
- Library: Enter the code of the library where the full information on the patron resides.
- Bor_Id / Identification/ ID: Type the Patron ID for which you want to receive full information.
- Verification: Enter the password of the patron’s ID.
Output XML Format
The output XML includes all the information for the patron ID you enter.
Example:
To retrieve all the information for patron 00238154, enter the following URL:
http://ram7:8881/X?op=bor-info&bor_id=dep&verification=dep&library=GEN01
If successful, the example above generates XML output containing all the relevant information.
<bor-info> <z312> <z312-bor-id>PATRON1</z312-bor-id> <z312-source-id>dep</z312-source-id> <z312-verification>dep</z312-verification> <z312-institute /> <z312-name-key>dep PATRON1</z312-name-key> <z312-open-date>20050411</z312-open-date> <z312-update-date>20050411</z312-update-date> <z312-con-lng /> <z312-name>dep</z312-name> <z312-title /> <z312-group>01</z312-group> <z312-type>2</z312-type> <z312-profile-id>DIGITOOL</z312-profile-id> <z312-address-0>Glasgow</z312-address-0> <z312-zip /> <z312-email-address>luda.cherinsky@exlibris.com</z312-email-address> <z312-telephone-1>055-909090</z312-telephone-1> <z312-telephone-2 /> <z312-birth-date>00000000</z312-birth-date> <z312-expiry-date>20090101</z312-expiry-date> <z312-last-action-date>00000000</z312-last-action-date> <z312-confirmation>Y</z312-confirmation> </z312> <session-id>UJFHNH5HPPFBAD375FR5RBAUXV7L77BFKS1NH1SXLMRB8F96C3</session-id> </bor-info>
Possible Error Codes
1. If this X-Service is activated without a patron ID having been entered, the following error message appears in the XML output:
<error>ID is missing</error>
2. If, for some reason, an error occurs when the system checks the verification, the following message appears:
<error>Failed to Login</error>