Versions Compared

Key

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

Accession Batch is similar to the accession API except that accession batch API accepts multiple item barcodes in a single request call. The accession batch process is a deferred process to reduce performance bottlenecks. The barcodes and customer codes are persisted and is processed as per schedule of the Accession job, usually, nightly. After processing, a report on the barcodes that were processed is prepared and stored at the FTP S3 location.

Code Block
languagejs
titleRequest - Accession Batch
linenumberstrue
[{
   "customerCodeimsLocationCode": "PARECAP",  // 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"
// Item Barcode. Unique and common across SCSB},
GFA LAS and partners' ILS. }, {
         "customerCode": "PA",
         "itemBarcode": "PULTST54320PULTST54341"
      },
      {
         "customerCode": "PA",
         "itemBarcode": "PULTST54210PULTST54342"
      }
   ]
}


Code Block
languagejs
titleResponse - Accession Batch
linenumberstrue
The accession request is successfully processed.

...