Tasks
Give patrons one list of what needs doing now: loans to return or renew, reservations to pick up and fees to pay.
2.10.1 View tasks
SupportedShow the patron what they need to act on, across loans, reservations and fees.
What you can build
A short list at the top of the patron's account with only what needs doing: a loan to return or renew, a reservation waiting on the pick-up shelf, a fee to pay. Each task leads to the loan, reservation or fee it is about, so the patron can act straight away.
Typical flow
- The client fetches the patron's loans with
Get, reservations withPatron Loans Getand fees withPatron Reservations Get.Patron Fees - It keeps the loans whose
dueis near or passed, the reservations that areDate ready_, and the patron's fees.for_ pickup - The tasks are sorted, for example by the date they concern.
- The patron opens a task and acts on it: renews the loan (2.4.3), reads the pick-up details (2.5.2) or pays the fee (2.7.2).
What the API provides
- PLAS has no operation for tasks. The list is put together by the client from the three calls.
renew.on a loan tells whether it can be renewed:state renewable,not_,renewable renewable_orlater unknown.- A ready reservation has
pickup.when the provider knows the last day to pick it up.expiration Date