...
The API returns the availability status of an item as "Available" or "Not Available". An error message gets generated if the barcode is not existing in SCSB - "Item Barcode doesn't exist in SCSB database"
Info |
---|
title | Requests prior to SCSB |
---|
|
Items that were requested and are out of Storage Location before the SCSB system went live are also marked as 'Not Available' by SCSB. This is done by translating Storage Location IMS System's item statuses to SCSB's as defined in this sheet. |
Code Block |
---|
language | js |
---|
title | Request - Item Availability Status |
---|
|
{
"barcodes": [
"CU63707896", // Item barcodes separated by commas (,)
"32101066358464"
]
} |
Response
Code Block |
---|
language | js |
---|
title | Response - Item Availability Status |
---|
|
[
{
"itemBarcode": "CU63707896",
"itemAvailabilityStatus": "Available",
"errorMessage": null
},
{
"itemBarcode": "32101066358464",
"itemAvailabilityStatus": "Available",
"errorMessage": null
}
] |
Code Block |
---|
language | js |
---|
title | Alternate Response - Item Availability Status |
---|
|
[
{
"itemBarcode": "2132132132131",
"itemAvailabilityStatus": "Item Barcode doesn't exist in SCSB database.", // On trying to retrieve status of non existent item from SCSB
"errorMessage": null
}
] |