The Patron API - Reading History
The Patron API contains methods for retrieving and deleting a patron's reading history. Using these endpoints, you can:
- Get the reading history for a single patron
- Delete the reading history for a single patron
- Delete item(s) from a patron's reading history
The Try it out! links below take you to the corresponding section in the interactive documentation, where you can view the model, model schema, and parameters for each available operation.
Get the Reading History for a Single Patron
GET /v6/patrons/{id}/checkouts/history
Returns a reading history for the specified patron. Data is returned only if the patron has enabled the Reading History feature in the WebPAC. A patron's checkout ID is also returned from this endpoint.
Delete the Reading History for a Single Patron
DELETE /v6/patrons/{id}/checkouts/history
Deletes a patron's reading history. A patron must opt-in to Reading History feature for the deletion to work.
Delete Item(s) from a Patron's Reading History
DELETE /v6/patrons/{id}/checkouts/history/{checkoutHistoryId}
Deletes one or more specific items on a patron's reading history. A patron must opt-in to Reading History feature for the deletion to work.