Versions Compared

Key

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

...

The Transfer Holdings and Items API will not handle bound-with records. Ideally, if there are changes to bound-with records, the best way to fix the data is to deaccession the record, fix the record in the ILS and reaccession them with a new barcode. The transfer API also doesn't work when records are transferred from or to a deaccessioned record.

Code Block
languagejs
titleRequest - Transfer Item
linenumberstrue
{
  "institution": "PULInstitution_name", // The institution to which the item to be transferred belongs
  "itemTransfers": [
    {
      "barcode": "32101086866140", // The item barcode that needs to be transferred
      "source": {
        "owningInstitutionBibId": "1421", // The source bib id is the bib id from which the item needs to be transferred
        "owningInstitutionHoldingsId": "1621", // The source holdings id is the holdings id from which the item needs to be transferred
        "owningInstitutionItemId": "6320902" // The id of the item that is to be transferred
      },
      "destination": {
        "owningInstitutionBibId": "53624", // The destination bib id is the bib id to which the item is being transferred
        "owningInstitutionHoldingsId": "59753", // The destination holdings id is the holdings id to which the item is being transferred
        "owningInstitutionItemId": "6320902" // The id of the item that is transferred. It is the same in both source and destination
      },
    }
  ]
}

...

Code Block
languagejs
titleRequest - Transfer Holdings
linenumberstrue
{
  "institution": "PULInstitution_name",
  "holdingTransfers": [
    {
      "destination": {
        "owningInstitutionBibId": "1421", // The source bib id is the bib id from which the holding id is being moved.
        "owningInstitutionHoldingsId": "59753" // The holding id is the id that is to be moved.
      },
      "source": {
        "owningInstitutionBibId": "53624", // The destination bib id is the bib id to which the holding id is moved.
        "owningInstitutionHoldingsId": "59753" // The holding id is the id that is to be moved. This is the same both in source and destination.
      }
    }
  ]
}

...