Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

The Item Availability Status API returns the availability status of the item in SCSB. It is likely to be used in partner ILS' Discovery systems to retrieve and display item statuses. It allows multiple status retrieval by sending in multiple barcodes separated by commas.  

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"

Request - Item Availability Status
{
  "barcodes": [  
    "CU63707896",   // Item barcodes separated by commas (,)
    "32101066358464" 
  ]
}


Response - Item Availability Status
[
  {
    "itemBarcode": "CU63707896",
    "itemAvailabilityStatus": "Available",
    "errorMessage": null
  },
  {
    "itemBarcode": "32101066358464",
    "itemAvailabilityStatus": "Available",
    "errorMessage": null
  }
]


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
  }
]
  • No labels