GET
/patron/{patronId}/loan-history GetPatronLoanHistory Get patron loan history
Parametre
- patronIdpåkrævet
- path · stringPatron ID from authentication
- beforepåkrævet
- query · string (date-time)This tells the time period for when we fetch data. The period will be (-∞, before].
- offsetpåkrævet
- query · integerThis tells the offset. The offset should be 0 or above.
- sizepåkrævet
- 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.
Svar
- 200
PatronLoanHistoryResponseBodySuccess