/union_author

Details:  Union Holdings - Search by Author

URL:  https://yourlibrary.caiasoft.com/api/union_author/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
authoralphanumeric stringYes - minimum 5 charactersPortion of title - to be searched for as a contains - string appears somewhere in the title
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_author/v1
{ "author":"Levinson, Paul" }



API Return:

{"success":true,"error":"","item_count":"3","items":[{"barcode":"30513093","status":"Item In at Rest","collection":"DEMO","title":"The pixel eye / ","volume":"","author":"Levinson, Paul.","call number":"PS3562.E92165P595 2003","issn":"","isbn":"0765305569 (acid-free paper)","oclc":"51755816","lccn":"2003042647"},{"barcode":"27631701","status":"Item In at Rest","collection":"DEMO","title":"Borrowed tides / ","volume":"","author":"Levinson, Paul.","call number":"PS3562.E92165B67 2001","issn":"","isbn":"0312848692","oclc":"45086989","lccn":"00048809"},{"barcode": "28714109","status":"Item In at Rest","collection":"DEMO","title":"The consciousness plague / ","volume":"","author":"Levinson, Paul","call number":"PS3562.E92165C66 2002","issn":"","isbn":"0765300982|(acid-free|paper)|:","oclc":"48451043","lccn":"2001054059"}]}