/deaccessioninfo

Details:  Deaccession Item info - Use this API to receive back additional info on deaccessioned items, not just a barcode list

URL:  https://yourlibrary.caiasoft.com/api/deacsessioninfo/v1/{deafrom}/{deato}/{collection}/{includereaccessed}

HTTP Verb:  GET

Authorization Required:  

NameValueRequiredNotes
X-API-KeystringYessend in header

Parameters:  

NameValueRequiredNotes
deafromdate in YYYYMMDD formatYesDeaccessioned From
acctodate in YYYYMMDD formatYesDeaccessioned ToRepeat deafrom date for one day. Field cannot be blank.
collectionalphanumeric stringYesSingle collection or Report Class (group of collections) accepted. Use “ALL” for all collections.
includereaccessionY/NYesY = Include items that have since been reaccessioned
N = Only list items that are still status DEA

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
items->barcodestringItem Barcode
items->collectionstringcollection
items->requestorstringRequestor
items->request idstringRequest Identifier (from API Initiating Request)
items->item idstringItem ID (from ILS)
ALMA MMS ID
items->bib record nbrstringItem Bib Record Number (from ILS)
ALMA Holding ID
items->pidstringALMA PID
Note: will be blank for all other ILS connections
items->deaccession jobintDeaccession Job #
items->deaccession datestring mm/dd/yyyyDeaccession Date
items->accession datestring mm/dd/yyyyOriginal Accession Date of Item
items->status updatestringIf includereaccessed = "Y", then status will note when item has since been reaccessed/is now active

Examples:  
API Call:

https://yourlibrary.caiasoft.com/api/deaccessioninfo/v1/20180828/20180828/N



API Return:

{ "success": true, "error": "", "count": 1, "items": [ { "barcode": "34555800001352", "collection": "NN", "requestor": "John Jones", "request_id": "", "deaccession job": "10190", "deaccession date": "08-28-2018", "deaccession date": "02-28-2017", "status_update" : "" }]}