ShortLoanDatesService
General Purpose
Return a list of available short loan start and end times.
Requirements
Voyager 7.x and higher.
Input URL Syntax
This service expects to receive an XML document via POST method.
http://server:port/vxws/ShortLoanDatesService
XSD
Click here to view the ServiceParametersSchema
Click here to view the VoyagerXmlSchema
Click here to view the ServiceDataSchema
Click here to view the VoyagerRequestsSchema
Input XML Example
This service expects to receive a ServiceParametersDocument containing a patronIdentifier and the following required parameters:
- requestSiteId – the site id of the short loan request.
- bibId – the bibliographic record id of the item being requested.
- itemId – the item record id of the item being requested.
- date – the date for which a list of start and end times is desired.
Example:
<?xml version="1.0" encoding="UTF-8"?> <ser:serviceParameters xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters"> <ser:parameters> <ser:parameter key="bibId"> <ser:value>74902</ser:value> </ser:parameter> <ser:parameter key="itemId"> <ser:value>68200</ser:value> </ser:parameter> <ser:parameter key="requestSiteId"> <ser:value>1@QA20012DB20020613131313</ser:value> </ser:parameter> <ser:parameter key="date"> <ser:value>2008-12-15 17:30:15</ser:value> </ser:parameter> </ser:parameters> <ser:patronIdentifier lastName="Patel" patronHomeUbId="1@QA20012DB20020613131313" patronId="562"> <ser:authFactor type="B">150</ser:authFactor> </ser:patronIdentifier> </ser:serviceParameters>
Output XML Example
This service will return a VoyagerServiceDataDocument containing a requestsCollectionType element containing a requestDefinition element containing a dates element which in turn contains the list of available start and end times. Please see the VoyagerLib-VoyagerRequestsSchema.xsd for a full definition of the dates element.
Example:
<?xml version="1.0" encoding="UTF-8" ?> <voyagerServiceData xmlns="http://www.endinfosys.com/Voyager/serviceParameters" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <serviceData xsi:type="req:requestsCollectionType" xmlns:req="http://www.endinfosys.com/Voyager/requests"> <req:requestDefinition> <req:requestIdentifier requestCode="SHORTLOAN" requestName="Short Loan" requestType="S" requestSiteId="1@QA20012DB20020613131313"/> <req:dates> <req:startDate serverTime="2008-12-15 17:31:01" displayTime="12-15-08" isSelected="Y"> <req:startTime serverTime="2008-12-15 18:00:00" displayTime="18:00 [08:00]"> <req:endTime serverTime="2008-12-16 08:00:00" displayTime="08:00"/> </req:startTime> </req:startDate> <req:startDate serverTime="2008-12-16 00:00:00" displayTime="12-16-08"/> <req:startDate serverTime="2008-12-17 00:00:00" displayTime="12-17-08"/> <req:startDate serverTime="2008-12-18 00:00:00" displayTime="12-18-08"/> </req:dates> </req:requestDefinition> </serviceData> </voyagerServiceData>