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 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 S3 location. Accession Batch does not have any limit on number of items to be added.

  Request - Accession Batch
   API End Point :  /sharedCollection/accessionBatch



Code Block
languagejs
titleRequest - Accession Batch
linenumberstrue
{
   "imsLocationCode":"Storage Location",  // RECAP for ReCAP Warehouse, HD for Harvard Depository
   "accessionRequests":[
      {
         "customerCode":"PA",
         "itemBarcode":"PULTST54340"
      },
      {
         "customerCode":"PA",
         "itemBarcode":"PULTST54341"
      },
      {
         "customerCode":"PA",
         "itemBarcode":"PULTST54342"
      }
   ]
}

...