Versions Compared

Key

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

...

You can create requests by doing a POST to circulation/requests in mod-circulation: https://s3.amazonaws.com/foliodocs/api/mod-circulation/circulation.html

Migration to the correct request types 

FOLIO has three request types.

  • Hold. The item has been requested and is not currently available.
  • Page. The item has been requested and has a status of Available.
  • Recall. The item has been recalled (shortening the loan period of the patron who currently has the item.)

If your ILS only has Holds and Recalls (such as Aleph or Voyager), you need to figure out how to logically split your holds into holds and pages for migration. FOLIO only allows you to create a hold if the item that is currently in circulation. E.g., if it's a hold on an item that's out, you can migrate it as a hold, but if it's a hold on an item that is returned and awaiting pickup to the user who placed the hold, it has to be migrated as a page.Request types are part of the request POST and depend on the item status and the allowed request types in the applicable request policy. That means that if you are using business logic to migrate, you need to determine the associated request type in order to form the API request.

If the request policy doesn't allow any requests to be placed, the request will be denied.

The chart below outlines how the mapping works. 

Expand
titleItem Status and Request Policy Mapping to Request Type


FOLIO item statusRequest PolicyItem Status and Request PolicyNotes

Recall Allowed?Holds Allowed?Page Allowed?

Aged to lostEitherEitherEitherDeny requestItem status type does not allow requesting
AvailableEitherEitherNoDeny requestAvailable items can only be paged.
AvailableEitherEitherYesPage
Awaiting deliveryNoNoYesDeny requestYou cannot page an "Awaiting delivery" item
Awaiting deliveryNoYesEitherHold
Awaiting deliveryYesEitherEitherRecall
Awaiting PickupNoNoYesDeny requestYou cannot page an awaiting pickup item
Awaiting PickupNoYesEitherHold
Awaiting PickupYesEitherEitherRecall
Checked OutNoNoYesDeny requestYou cannot page a checked out item.
Checked OutNoYesEitherHold
Checked OutYesEitherEitherRecall
Claim returnedEitherEitherEitherDeny requestItem status type does not allow requesting
Declared lostEitherEitherEitherDeny requestItem status type does not allow requesting
In processNo NoYesDeny requestYou cannot page an in process item.
In processNoYesEitherHold
In processYesEitherEitherRecall
In process (non-requestable)EitherEitherEitherDeny requestItem status type does not allow requesting
In transitNoNoYesDeny requestYou cannot page an in transit item.
In transitNoYesEitherHold
In transitYesEitherEitherRecall
Intellectual itemEitherEitherEitherDeny requestItem status type does not allow requesting
Long missingEitherEitherEitherDeny requestItem status type does not allow requesting
Lost and paidEitherEitherEitherDeny requestItem status type does not allow requesting
MissingEither NoEitherDeny requestYou cannot place a page or recall on a missing item.
MissingEitherYesEitherHoldYou are allowed to place a hold on a missing item.
On orderNoNoYesDeny requestYou cannot page an on order item
On orderNoYesEitherHold
On orderYesEitherEitherRecall
Order closedEitherEitherEitherDeny requestItem status type does not allow requesting
PagedNoNoYesDeny requestYou cannot page a paged item.
PagedEitherYesEitherHold
PagedYesEitherEitherRecall
Recently returnedEitherEitherNoDeny requestRecently returned items can only be paged.
Recently returnedEitherEitherYesPage
RestrictedNoNoYesDeny requestYou cannot page a restricted item.
RestrictedNoYesEitherHold
RestrictedYesEitherEitherRecall
UnavailableEitherEitherEitherDeny requestItem status type does not allow requesting
UnknownEitherEitherEitherDeny requestItem status type does not allow requesting
WithdrawnEitherEitherEitherDeny requestItem status type does not allow requesting




Migrating directly to storage

...