bor_dep_reg

General Purpose

This service is used to register a user in DigiTool.

Input Parameters

1.  ID PICTURE X(20).
2. UNIT PICTURE X(5).

  • ID: User login name.
  • UNIT: Admin unit

Output XML Format

The output XML includes the all information for the patron ID you enter.

Example:
To uptade patron information enter the following URL:

http://il-dtldev01:8881/X?op=bor-dep-reg&session_id=KMAJKIVRUNGMU77ITLTQQTKED79K1GA2U1373GLQ8DYSI9N6D6&id=tziki&unit=DTL01

If successful, the example above generates XML output containing all relevant information:

<?xml version="1.0" encoding="UTF-8" ?>
<bor-dep-reg>
<session-id>KMAJKIVRUNGMU77ITLTQQTKED79K1GA2U1373GLQ8DYSI9N6D6</session-id>
</bor-dep-reg>

Possible Error Codes

1. If this X-Service is activated without an ID having been entered, the following error message appears in the XML output:

<error>Missing User name</error>

2. If this X-Service is activated without a UNIT having been entered, the following error message appears in the XML output:

<error>Admin Unit is missing</error>

3. If this X-Service is activated with an unknown user having been entered, the following error message appears in the XML output:

<error>User name does not exist</error>