/union_lccn

Details:  Union Holdings - Search by LCCN

URL:  https://yourlibrary.caiasoft.com/api/union_lccn/v1

HTTP Verb:  POST

Content-Type:  application/json

Authorization Required:  

NameValueRequiredNotes
X-API-KeystringYessend in header

Parameters:  JSON Formatted in the following format:
{ “name”:”value” (see table below) }

NameValueRequiredNotes
lccnalphanumeric stringYes - minimum 4 charactersExact Match to string
collectionalphanumeric stringNoMust match a collection code assigned to at least one active item

Return Response:  NOTE: Active Items Only (No De-accessions Returned)
{“success”:”true/false”, “error”:”string”, “item_count”:”int”, "items":[ { “name”:”value” (see results-> section of table below) } ]}

NameValueNotes
successtrue/false
errorstringAPI format/key errors only. Can return even on success, as the json was accepted and possibly denied for formatting
item_countinteNumber of items returned in search
items->barcodestringItem Barcode
items->statusstringItem Status
See status list for possible responses
items->collectionstringItem Collection Code
items->titlestringTitle
items->volumestringVolume
items->authorstringAuthor
items->call numberstringCall Number
items->issnstringISSN
items->isbnstringISBN
items->oclcstringOCLC
items->lccnstringLCCN

Examples:  
API Call & JSON:

https://yourlibrary.caiasoft.com/api/union_lccn/v1
{ "lccn":"85647412" }



API Return:

{"success":true,"error":"","item_count":"2","items":[{"barcode":"18518103","status":"Item In at Rest","collection":"DEMO","title":"Transactions of the Society of Petroleum Engineers. ","volume":"v.289 1990","author":"","call number":"TN1.A5","issn":"8756-8152","isbn":"","oclc":"10932119","lccn":"85647412"},{"barcode":"18518153","status":"Item In at Rest","collection":"DEMO","title":"Transactions of the Society of Petroleum Engineers. ","volume":"v.291 1991","author":"","call number":"TN1.A5","issn":"8756-8152","isbn":"","oclc":"10932119","lccn":"85647412"}