Ready to Learn?Ex Libris products all provide open APIs

ill_bor_auth

General Purpose


The service retrieves the Internal-Id (Z303_ID) for a given Patron if the provided ID and verification code match.


 

Interface Type

X-Service

 

Product Version Compatibility

Version 18 and later


 

Input Parameters

1. LIBRARY - X (5).
2. BOR_ID - X (20).
3. VERIFICATION - X (20).

NOTE: The X-Service calls "check_bor_id" with a WWW check. The verification field is a mandatory field.
 

  • Library: The library the patron is located.
  • Bor_Id/Identification/Id: Borrower_Id (Patron) for which the user would like to get an Internal Id..
  • Verification: Password of the Borrower_id (Verification in Z308).


 

Output XML Format

The output XML includes the internal ID for the Borrower_id given by the user.

Example:

If the user would like to get the Internal ID of:

  • Doc number: 00000012
  • verification: 00000012
http://ram19:4178/X?op=ill-bor-auth&bor_id=00000012&verification=00000012


The XML output is the following:

<?xml version="1.0" encoding="UTF-8" ?>
- <ill-bor-auth>
  <internal-id>00000012</internal-id>
  <session-id>1CCPPCREFNTTTVG4771JM1ME2B2HHG8HBKSHMEFL977VJEJD77</session-id>
  </ill-bor-auth>


 

Possible Error Codes

1. If the user tried to activate the ILL Bor Auth X-Service without giving the Borrower_id and Verification:

error>Both bor_id and verifiacation must be supplied</error>

2. If an error occurred while trying to check verification:

< error>Error in Verification</error>

3. If Global record (Z303) could not be found for a given patron:

< error>Error retrieving Global Patron Record</error>