Versions Compared

Key

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

...

Code Block
languagejs
titleRequest - Transfer Item
linenumberstrue
{
  "institution": "Institution_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": "Institution_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.
      }
    }
  ]
}

...