Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Response


Code Block
languagejs
titleResponse - Item Availability Status
[
  {
    "itemBarcode": "CU63707896",
    "itemAvailabilityStatus": "Available",
    "errorMessage": null
  },
  {
    "itemBarcode": "32101066358464",
    "itemAvailabilityStatus": "Available",
    "errorMessage": null
  }
]


Code Block
languagejs
titleAlternate 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
  }
]