Versions Compared

Key

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

The Accession API (also known as Ongoing Accession) is used to add item records to SCSB whenever there is a new item added to the storage facility. This API is called by the storage facility as part of the accession workflow at their end with the customer code and , item barcode .and storage location

Internally, SCSB uses the customer code and storage location to identify the institution and use the institution's service (ILS's Bibdata API) to retrieve bibliographic, holding and item information using the item barcode. If the information is not available in ILS, SCSB creates a dummy record with dummy values and marks it 'Incomplete'. Incomplete records are neither displayed as part of search results nor they are requestable. It can be viewed as part of the reports UI and modified to become complete using the Submit Collection API.

Code Block
languagejs
titleRequest - Accession
linenumberstrue
{
   "customerCodeimsLocationCode": "PARECAP",  // Customer code as stored in GFA LAS. This is used to identify the institution in SCSB.
  "itemBarcode": "PULTST54340" // Item Barcode. Unique and common across SCSB, GFA LAS and partners' ILS. RECAP for ReCAP Warehouse, HD for Harvard Depository
   "accessionRequests":[
      {
         "customerCode":"PA",
         "itemBarcode":"PULTST54340"
      },
      {
         "customerCode":"PA",
         "itemBarcode":"PULTST54341"
      },
      {
         "customerCode":"PA",
         "itemBarcode":"PULTST54342"
      }
   ]
}


Code Block
languagejs
titleResponse - Accession
[
  {
    "itemBarcode": "PULTST54340",
    "message": "Success"
  }
]

...