/circstoplist

Details:  Circulation Stop List

URL:  https://yourlibrary.caiasoft.com/api/circstoplist/v1/{status}

HTTP Verb:  GET

Authorization Required:  

NameValueRequiredNotes
X-API-KeystringYessend in header

Parameters:  

NameValueRequiredNotes
statusACTIVE or ALLYes

Return Response:  
{“success”:”true/false”, “error”:”string”, “count”:”integer”, "stoplist":[ { “name”:”value” (see items-> section of table below) } ]}

NameValueNotes
successtrue/false
errorstringAPI format/key errors only. Will only be filled in when success = false
countintegerCount of Stops Returned
stoplist -> stop_codestring
stoplist -> stop_namestring
stoplist -> location_namestringNote - One stop code can have multiple locations, which are listed separately
stoplist -> statusstring
stoplist -> delivery_pyrstringYes if location is accepting Physical Retrieval (PYR) Requests
stoplist -> delivery_ertstringYes if location is accepting E-Retrieval (ERT) Requests
stoplist -> delivery_rrrstringYes if location is accepting Reading Room Retrieval (RRR) Requests
stoplist -> delivery_shpstringYes if location is accepting Special Handling, Internal & Preservation (SHP) Requests

Examples:  
API Call:

https://yourlibrary.caiasoft.com/api/circstoplist/v1/ACTIVE



API Return:

{"success":true,"error":"","count":"3","stoplist":[{"stop_code":"ERT","stop_name":"E-Retrieval","stop_location":"E-Retrieval Default","stop_status":"Active","delivery_pyr":"No","delivery_ert":"Yes","delivery_rrr":"No","delivery_shp":"No"},{"stop_code":"MAIN","stop_name":"Main Library","stop_location":"Default","stop_status":"","delivery_pyr":"Yes","delivery_ert":"No","delivery_rrr":"No","delivery_shp":"Yes"},{"stop_code":"MAIN","stop_name":"Main Library ","stop_location":"Student Union","stop_status":"","delivery_pyr":"Yes","delivery_ert":"No","delivery_rrr":"No","delivery_shp":"Yes"}]}