Remote System Tie-ins:ILN Intergration
From ReservesDirect: Open Source EReserves System
RD connects to the ILN 3 times. All three actions occur within the zQuery.class.php file. This only applies to physical items. This class is currently TIGHTLY tied to Sirsi Unicorn. If you are a Sirsi customer please contact the mailing list for assistance using the Sirsi API.
[edit]
Barcode Request
- Method:. zQuery::zQuery
- search_term (string). value to be searched
- search_field (string). field to search. ['barcode' || 'control'] default = control
- If search_field is 'barcode' the $g_zhost:4321 is queried to return the 'control' number associated with this barcode
- Otherwise the search_term is returned unaltered
[edit]
zQuery Data Retrieval
- Method:. zQuery::zDoQuery
- query (string). "@attr 1=12" + <search_term from zQuery::zQuery>
- start (string). "0"
- limit (int). "1"
- Issues a z39.50 request to $g_zReflector?host=$g_zhost&port=$g_zport&db=$g_zdb resulting xml if valid is parsed and used to prefill the physical items screen
[edit]
Holdings Information
- Method:. zQuery::getHoldings
- keyType (string). value to be searched
- key (string).
- returns text over http.
- on error:
OUTCOME=ERROR <error msg>
- on success:
OUTCOME=OK
devnull|devnull|copy|callnum|loc|type|bar|library|status|reservesDesk
- each item will appear on a separate line
- where devnull not used
copy = copy number (int)
callnum = item call number (string)
loc = item owning location (string)
type = item type (string)
bar = item barcode (string)
status = item status (string) ['CHECKEDOUT', 'ONLOAN', etc]
reservesDesk = if on reserve which reserves desk currently holds the item
