Querying the circstatus api
Sometimes when troubleshooting problems with availability or the CRS, it can help to see what information is coming back in the API that the CRS uses for availability.
The query to see holdings availability results:
http://requests.library.duke.edu/api/circstatushold/{record number}
The record number is the identifier in the Books & Media URL, minus the DUKE identifier
E.g:
Books & Media URL: https://find.library.duke.edu/catalog/DUKE006647358
To query holdings availability: https://requests.library.duke.edu/api/circstatushold/006647358
Response:
{"tempLoc":{"D05357132Q":{"available":"yes","collCode":"PKX2","libName":"Perkins/Bostock Library","libCode":"PERKN","collName":"Reserve Textbook","label":"Available.","holdId":"22607976460008501"},"D05153312K":{"label":"Available.","collName":"Reserve Textbook","holdId":"22607976460008501","libCode":"PERKN","libName":"Perkins/Bostock Library","available":"yes","collCode":"PKX2"}},"permLoc":{"22607976460008501":{"available":"no","label":"Unavailable."}}}