English

No description in the specification.

3 operations
GET /patron/{patronId}/loan-history GetPatronLoanHistory

Get patron loan history

Parameters

patronIdrequired
path · stringPatron ID from authentication
beforerequired
query · string (date-time)This tells the time period for when we fetch data. The period will be (-∞, before].
offsetrequired
query · integerThis tells the offset. The offset should be 0 or above.
sizerequired
query · integerThis tells the size of the request. The size should be between 1 and 50.
sorting_type
query · string enumThis can be used to choose the value (default: addedToHistoryTime) that the response is sorted on. When sorting, some entries might not have the chosen sorting type (or it may be null). When this happens, the entries should be sorted last when sorting order is `desc`, and then be sorted on addedToHistoryTime.
sorting
query · string enumThis can be used to choose if response should be sorted descending (default) or ascending.
Shared across operations: version. See the shared contract on the version page.

Responses

Error responses: 400 · 401 · 404 — See the shared contract on the version page.
DELETE /patron/{patronId}/loan-history/{loanHistoryId} DeleteLoanFromPatronLoanHistory

Delete loan from patron loan history

Parameters

patronIdrequired
path · stringPatron ID from authentication
loanHistoryIdrequired
path · stringLoan history ID
Shared across operations: version. See the shared contract on the version page.

Responses

  • 204 No response body. Success
Error responses: 400 · 401 · 404 — See the shared contract on the version page.