/accessioned_active

Details:  Accessioned Items - Currently Active/ Have not been De-accessioned

URL:  https://yourlibrary.caiasoft.com/api/accessioned_active/v1/{accfrom}/{accto}/{collection}

HTTP Verb:  GET

Authorization Required:  

NameValueRequiredNotes
X-API-KeystringYessend in header

Parameters:  

NameValueRequiredNotes
accfromdate in YYYYMMDD formatYes
acctodate in YYYYMMDD formatYesRepeat accfrom date for one day. Field cannot be blank.
collectionalphanumeric stringYesSingle collection or Report Class (group of collections) accepted. Use “ALL” for all collections.

Return Response:  

NameValueNotes
successtrue/false
errorstringAPI format/key errors only. Will only be filled in when success = false
countintCount of accessed items into the date range
barcodesarrayList of barcodes accessioned in the date range queried
*This will NOT INCLUDE any item that has since been de-accessioned.

Examples:  
API Call:

https://yourlibrary.caiasoft.com/api/accession_active/v1/20180227/20180228/ALL



API Return:

{"success":true,"error":"","count":20,"barcodes":["35405016075795", "35405016075739", "35405016075722", "35405016075713", "35405016075705", "35405016075694", "35405800037265", "35405016075631", "35405010818126", "35405010818117", "35405016075683", "35405016075672", "35405016075650", "35405016075645", "35405017171453", "35405017171272", "35405800216810", "3540580021691/","35405800216823", "35405800216883"]}