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. There is a configurable (parameter ongoing.accession.input.limit) limit of 10 items for each call.

Code Block
languagejs
titleRequest - Accession
linenumberstrue
API End Point: /sharedCollection/accession


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


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

...