SCSB Search Records

The Search API is used to search through the collections available in SCSB.

    Request - Search 
    API End Point : /searchService/search
Request - Search
{
  "deleted": false, // Valid parameters are "true" and "false". It is a flag that is marked "true" when the item is deaccessioned.
  "fieldValue": "",
  "fieldName": "", // Valid parameters are "Author_search", "Title_search", "TitleStartsWith", "Publisher", "PublicationPlace", "PublicationDate", "Subject", "ISBN", "ISSN", "OCLCNumber", "Notes", "CustomerCode", "CallNumber_search", "Barcode"
  "owningInstitutions": [
    "Institution1","Institution2" // Valid parameters are "PUL", "CUL" and "NYPL". Multiple values can be added separated with commas.
  ],
  "collectionGroupDesignations": [
    "Shared" // Valid parameters are "Shared", "Private" and "Open". Multiple values can be added separated with commas.
  ],
  "availability": [
    "Available" // Valid parameters are "Available" and "NotAvailable". Multiple values can be added separated with commas.
  ],
  "materialTypes": [
    "Monograph" // Valid parameters are "Monograph", "Serial" and "Other". Multiple values can be added separated with commas.
  ],
  "useRestrictions": [
    "NoRestrictions" // Valid parameters are "NoRestrictions", "InLibraryUse" and "SupervisedUse". Multiple values can be added separated with commas.
  ],
  "catalogingStatus": "Complete", // Valid parameters are "Complete" and "Incomplete". Incomplete records are those missing critical information such as CGD, Use Restriction.
  "pageNumber": 0,
  "pageSize": 10
}
Response - Search
{
  "searchResultRows": [
    {
      "bibId": 6566,
      "title": "\"--lies, damned lies ... \" (Disraeli) / by J. W. B. Guise.",
      "author": "Guise, J. W. B.   ",
      "publisher": "University of New England,",
      "publisherDate": "[1975?]",
      "owningInstitution": "Institution",
      "customerCode": "PA",
      "collectionGroupDesignation": "Shared",
      "useRestriction": "No Restrictions",
      "barcode": "32101047813603",
      "summaryHoldings": "",
      "availability": "Available",
      "leaderMaterialType": "Monograph",
      "selected": false,
      "showItems": false,
      "selectAllItems": false,
      "searchItemResultRows": [],
      "itemId": 11625,
      "owningInstitutionBibId": "14334",
      "owningInstitutionHoldingsId": "15871",
      "owningInstitutionItemId": "14203",
      "requestPosition": null,
      "patronBarcode": null,
      "requestingInstitution": null,
      "deliveryLocation": null,
      "requestType": null,
      "requestNotes": null
    } ],
  "totalPageCount": 1,
  "totalBibRecordsCount": "1",
  "totalItemRecordsCount": "1",
  "totalRecordsCount": "1",
  "showTotalCount": false,
  "errorMessage": null
}
Alternate Response - Search
{
  "searchResultRows": [], // Response when no results are found.
  "totalPageCount": 0,
  "totalBibRecordsCount": "0",
  "totalItemRecordsCount": "0",
  "totalRecordsCount": "0",
  "showTotalCount": false,
  "errorMessage": null
}

To retrieve Dummy Records :

The dummy records will be returned only when Bib and Item has the same cataloging status.

Search Dummy Records
{
  "deleted": false,
  "fieldValue": "",
  "fieldName": "",
  "owningInstitutions": [
    "" // Valid parameters are "PUL", "CUL" and "NYPL". Multiple values can be added separated with commas.
  ],
  "collectionGroupDesignations": [
    "NA" // Only NA is allowed.
  ], 
  "catalogingStatus": "Incomplete", // This cataloging status belongs to both bib and item. Only Incomplete must be here.
  "pageNumber": 0,
  "pageSize": 10
} 

To retrieve Items based on multiple item barcodes :

Search Records
{
  "deleted": false, // Valid parameters are "true" and "false". It is a flag that is marked "true" when the item is deaccessioned.
  "fieldValue": "barcode1,barcode2,barcode3", // Multiple barcodes can be added separated with commas.
  "fieldName": "Barcode", // Valid parameters are "Barcode"
  "owningInstitutions": [
    "Institution1","Institution2" // Valid parameters are "PUL", "CUL" and "NYPL". Multiple values can be added separated with commas.
  ],
  "collectionGroupDesignations": [
    "Shared" // Valid parameters are "Shared", "Private" and "Open". Multiple values can be added separated with commas.
  ],
  "availability": [
    "Available" // Valid parameters are "Available" and "NotAvailable". Multiple values can be added separated with commas.
  ],
  "materialTypes": [
    "Monograph" // Valid parameters are "Monograph", "Serial" and "Other". Multiple values can be added separated with commas.
  ],
  "useRestrictions": [
    "NoRestrictions" // Valid parameters are "NoRestrictions", "InLibraryUse" and "SupervisedUse". Multiple values can be added separated with commas.
  ],
  "catalogingStatus": "Complete", // Valid parameters are "Complete" and "Incomplete". Incomplete records are those missing critical information such as CGD, Use Restriction.
  "pageNumber": 0,
  "pageSize": 10
}