SendPatronRequest

General Purpose

Submits a patron request.

Requirements

Voyager 7.x and higher.

Input URL Syntax

This service expects to receive an XML document via POST method.

http://server:port/vxws/SendPatronRequestService

Input XML Example

This service expects to receive a ServiceParametersDocument containing a patronIdentifier and the the following parameters:

For HOLD and RECALL requests:

ParameterDescriptionRequired
Patron IdentifierCredential of patron can be obtained by running the AutnenticatePatronService to get the patron last name, home ID, AuthFactor (Authentication type: could be B for barcode, I for institution ID, and S for Social Security Number)Y
bibIdBIB ID for the item requestedY
bibDbCodeThe DB Code for the BIB defined in the SysAdmin -> Search -> Database DefinitionY
requestCode“HOLD” or “RECALL”Y
requestSitedIdUsed to determine OPAC Circ Desk if no pickup location (PICK) is suppliedY
PICKpick up location for the item. This numeric ID can be looked up from the database table LOCATION. If a user has defined a default pick up location in the database and wish to use it, the user may want to specify in the requests.pproperties file in VXWS ini directory as follow::

  •     <entry key=”SupplyDefaultPickupLocs”>Y</entry>
N
CVALcopy selected for this item. Valid values are “thisCopy” (item level), “anyCopyAt” (any copy in request group), or “anyCopy” (title level).Y
itemIdthe ID for the selected item that can be obtained from catalog client by searching for the BIB IDY for copy level requests
mfhdIdthe ID for the holdings item that can be obtained from catalog client by searching for the BIB IDCallslip may require it
requestGroupIdthe request group idN
REQNNAthe date after this date the request will be no longer neededY
REQCOMMENTScommentN

For CALLSLIP requests:

ParameterDescriptionRequired
Patron IdentifierCredential of patron can be obtained by running the AutnenticatePatronService to get the patron last name, home ID, AuthFactor (Authentication type: could be B for barcode, I for institution ID, and S for Social Security Number)Y
bibIdBIB ID for the item requestedY
bibDbCodeThe DB Code for the BIB defined in the SysAdmin -> Search -> Database DefinitionY
requestCode“CALLSLIP”Y
requestSitedIdUsed to determine OPAC Circ Desk if no pickup location (PICK) is suppliedY
PICKpick up location for the item. This numeric ID can be looked up from the database table LOCATION. If a user has defined a default pick up location in the database and wish to use it, the user may want to specify in the requests.pproperties file in VXWS ini directory as follow::

  •     <entry key=”SupplyDefaultPickupLocs”>Y</entry>
N
CVALcopy selected for this item. Valid values are “thisIssue” (title level) or “thisCopy” (copy level).Y
itemIdthe ID for the selected item that can be obtained from catalog client by searching for the BIB IDY for copy level requests.
mfhdIdthe ID for the holdings item that can be obtained from catalog client by searching for the BIB IDY for title level
FFOenumerationY for title level
FF1chronologyY for title level
FF2yearY for title level

For ARS requests:

ParameterDescriptionRequired
Patron IdentifierCredential of patron can be obtained by running the AutnenticatePatronService to get the patron last name, home ID, AuthFactor (Authentication type: could be B for barcode, I for institution ID, and S for Social Security Number)Y
bibIdBIB ID for the item requestedY
bibDbCodeThe DB Code for the BIB defined in the SysAdmin -> Search -> Database DefinitionY
requestCode“ARS”Y
PICKpick up location for the item. This numeric ID can be looked up from the database table LOCATION. If a user has defined a default pick up location in the database and wish to use it, the user may want to specify in the requests.pproperties file in VXWS ini directory as follow::

  •     <entry key=”SupplyDefaultPickupLocs”>Y</entry>
Y
itemIdthe ID for the selected item that can be obtained from catalog client by searching for the BIB IDY

For SHORTLOAN requests:

ParameterDescriptionRequired
Patron IdentifierCredential of patron can be obtained by running the AutnenticatePatronService to get the patron last name, home ID, AuthFactor (Authentication type: could be B for barcode, I for institution ID, and S for Social Security Number)Y
bibIdBIB ID for the item requestedY
bibDbCodeThe DB Code for the BIB defined in the SysAdmin -> Search -> Database DefinitionY
requestCode“SHORTLOAN”Y
requestSitedIdUsed to determine OPAC Circ Desk if no pickup location (PICK) is suppliedY
itemIdthe ID for the selected item that can be obtained from catalog client by searching for the BIB IDY
PICKpick up location for the item. This numeric ID can be looked up from the database table LOCATION. If a user has defined a default pick up location in the database and wish to use it, the user may want to specify in the requests.pproperties file in VXWS ini directory as follow::

  •     <entry key=”SupplyDefaultPickupLocs”>Y</entry>
Y
SL_Start_Timestart date and 24 hour time. Example: 2014-07-31 11:00:00Y
endtimesend date and 24 hour time. Example: 2014-07-31 12:00:00Y

For UB requests:

ParameterDescriptionRequired
Patron IdentifierCredential of patron can be obtained by running the AutnenticatePatronService to get the patron last name, home ID, AuthFactor (Authentication type: could be B for barcode, I for institution ID, and S for Social Security Number)Y
bibIdBIB ID for the item requestedY
bibDbCodeThe DB Code for the BIB defined in the SysAdmin -> Search -> Database DefinitionY
requestCode“UB”Y
patronGroupIdpatron group id for the patron identifierY
itemIdin the format itemId.bibIdY
Select_Libraryin the format of clusterID@DBKey where item is held.Y
Select_Pickup_Libin the format of clusterID@DBKey.Y
PICKpickup location idY
REQNNAthe date after this date the request will be no longer neededY
ubRequestLimitfor the patron group from SysAdmin->Circulation->UB Policy DefintiionsY

Hold example:

<?xml version="1.0"encoding="UTF-8"?>
<ser:serviceParametersxmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters"> 
<ser:parameters>  
 <ser:parameter key="bibDbName">  
   <ser:value>dev71ncdb - SysAdmin db def name</ser:value> 
  </ser:parameter>  
 <ser:parameter key="REQNNA">  
   <ser:value>2009-05-08</ser:value>  
 </ser:parameter>  
 <ser:parameter key="bibDbCode">   
   <ser:value>LOCAL</ser:value> 
  </ser:parameter> 
   <ser:parameter key="requestCode">  
     <ser:value>HOLD</ser:value>  
  </ser:parameter>  
 <ser:parameter key="CVAL">   
    <ser:value>thisCopy</ser:value>  
  </ser:parameter> 
   <ser:parameter key="requestSiteId">   
    <ser:value>1@QA20012DB20020613131313</ser:value>  
  </ser:parameter>  
  <ser:parameter key="itemId">  
     <ser:value>62560</ser:value> 
   </ser:parameter>
    <ser:parameter key="PICK">     
 <ser:value>12</ser:value>     
</ser:parameter>  
 <ser:parameter key="bibId"> 
     <ser:value>42841</ser:value> 
  </ser:parameter>
 </ser:parameters>
 <ser:patronIdentifier lastName="Duong"patronHomeUbId="1@QA20012DB20020613131313"patronId="1000007">  
 <ser:authFactor type="B">DUONG1234</ser:authFactor>
 </ser:patronIdentifier>
</ser:serviceParameters>

Callslip example:

<?xml version="1.0" encoding="UTF-8"?>
  <ser:serviceParameters xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters">
  <ser:parameters>
    <ser:parameter key="bibDbName">
      <ser:value>dev71ncdb - SysAdmin db def name</ser:value>
    </ser:parameter>
    <ser:parameter key="mfhdId">
      <ser:value>67119</ser:value>
    </ser:parameter>
    <ser:parameter key="bibDbCode">
      <ser:value>LOCAL</ser:value>
    </ser:parameter>
    <ser:parameter key="requestCode">
      <ser:value>CALLSLIP</ser:value>
    </ser:parameter>
    <ser:parameter key="CVAL">
      <ser:value>thisCopy</ser:value>
    </ser:parameter>
    <ser:parameter key="requestSiteId">
      <ser:value>1@QA20012DB20020613131313</ser:value>
    </ser:parameter>
    <ser:parameter key="itemId">
      <ser:value>70622</ser:value>
    </ser:parameter>
    <ser:parameter key="bibId">
      <ser:value>81726</ser:value>
    </ser:parameter>
  </ser:parameters>
  <ser:patronIdentifier lastName="Duong" patronHomeUbId="1@QA20012DB20020613131313" patronId="1000007">
    <ser:authFactor type="B">DUONG1234</ser:authFactor>
  </ser:patronIdentifier>
</ser:serviceParameters>

Recall example:

<?xml version="1.0" encoding="UTF-8"?>
    <ser:serviceParameters xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters">
    <ser:parameters>
      <ser:parameter key="bibDbName">
      <ser:value>dev71ncdb - SysAdmin db def name</ser:value>
    </ser:parameter>
    <ser:parameter key="REQNNA">
      <ser:value>2009-05-08</ser:value>
    </ser:parameter>
    <ser:parameter key="bibDbCode">
      <ser:value>LOCAL</ser:value>
    </ser:parameter>
    <ser:parameter key="requestCode">
      <ser:value>RECALL</ser:value>
    </ser:parameter>
    <ser:parameter key="CVAL">
      <ser:value>thisCopy</ser:value>
    </ser:parameter>
    <ser:parameter key="requestSiteId">
      <ser:value>1@QA20012DB20020613131313</ser:value>
    </ser:parameter>
    <ser:parameter key="itemId">
      <ser:value>14699</ser:value>
    </ser:parameter>
    <ser:parameter key="PICK">
      <ser:value>12</ser:value>
    </ser:parameter>
    <ser:parameter key="bibId">
      <ser:value>13658</ser:value>
    </ser:parameter>
  </ser:parameters>
  <ser:patronIdentifier lastName="Duong" patronHomeUbId="1@QA20012DB20020613131313" patronId="1000007">
    <ser:authFactor type="B">DUONG1234</ser:authFactor>
  </ser:patronIdentifier>
</ser:serviceParameters>

Output XML Example

This service will return a VoyagerServiceDataDocument containing either a messages element containing a success or failure message indicating if the request submission succeeded, or if the request was a successful media booking request, a requestsCollection element containing a requestDefinition element containing a fields element containing confirmation data for the media booking request.

Example:

<?xml version="1.0"encoding="UTF-8"?>
<voyagerServiceData xmlns="http://www.endinfosys.com/Voyager/serviceParameters">
<messages>
<message type="success"/>
</messages>
</voyagerServiceData>