bor_auth

General Purpose

This service retrieves the user record (Z312) for a given patron if the given ID and verification code match.

Otherwise an error message is returned.

Input Parameters

1. LIBRARY – X (5)
2. BOR_ID X (20)
3. VERIFICATION X (20)BIN_ID/ DIGITAL_BIN_ID – PICTURE X(50)

Note: The online check calls the check_bor_id parameter, which means that Verification is a mandatory field.

Library: Enter the code of the library in which the full information on the patron resides.
Bor_Id / Identification/ ID: Patron’s ID for which the user wants full information.
Verification: Password of the patron’s ID

Output XML Format

The output XML includes the ID, name and authentication status for the patron ID given by the user.

Example:

To retrieve data on patron ID dep, with verification dep, and a user record under GEN01, enter the following URL:

http://ram7:8881/X?op=bor-auth&library=GEN01&bor_id=dep&verification=dep&

If processing is successful, the output XML will contain the following:

<bor-auth>
<z312-source-id>dep</z312-source-id>
<z312-name>dep</z312-name>
<authen>Y</authen>
<session-id>UJFHNH5HPPFBAD375FR5RBAUXV7L77BFKS1NH1SXLMRB8F96C3</session-id>
</bor-auth>

Possible Error Codes

1. When the Bor Auth X-Service is run without the patron ID having been given as input, the following error message appears in the XML output:

<error>ID is missing</error>

2. When the Bor Auth X-Service is run without the patron Verification having been given as input, you receive the following message:

<error>Verification is missing</error>

3. If, for some reason, an error occurs during the verification check, you receive the following message:

<error>Failed to Login</error>