4 x-mojo-to: Checkouts#list
5 operationId: listCheckouts
8 summary: List checkouts
10 - $ref: ../parameters.yaml#/patron_id_qp
11 - $ref: ../parameters.yaml#/page
12 - $ref: ../parameters.yaml#/per_page
13 - $ref: ../parameters.yaml#/match
14 - $ref: ../parameters.yaml#/order_by
15 - $ref: ../parameters.yaml#/q_param
16 - $ref: ../parameters.yaml#/q_body
17 - $ref: ../parameters.yaml#/q_header
20 description: By default, current checkouts are returned, when this is true then
21 checked in checkouts are returned as result.
27 description: A list of checkouts
29 $ref: ../definitions.yaml#/checkouts
31 description: Access forbidden
33 $ref: ../definitions.yaml#/error
35 description: Patron not found
37 $ref: ../definitions.yaml#/error
40 circulate: circulate_remaining_permissions
43 "/checkouts/{checkout_id}":
45 x-mojo-to: Checkouts#get
46 operationId: getCheckout
51 - $ref: ../parameters.yaml#/checkout_id_pp
56 description: Updated borrower's checkout
58 $ref: ../definitions.yaml#/checkout
60 description: Access forbidden
62 $ref: ../definitions.yaml#/error
64 description: Checkout not found
66 $ref: ../definitions.yaml#/error
69 circulate: circulate_remaining_permissions
72 "/checkouts/{checkout_id}/renewal":
74 x-mojo-to: Checkouts#renew
75 operationId: renewCheckout
78 summary: Renew a checkout
80 - $ref: ../parameters.yaml#/checkout_id_pp
81 - $ref: ../parameters.yaml#/seen_pp
86 description: Updated borrower's checkout
88 $ref: ../definitions.yaml#/checkout
90 description: Cannot renew checkout
92 $ref: ../definitions.yaml#/error
94 description: Checkout not found
96 $ref: ../definitions.yaml#/error
99 circulate: circulate_remaining_permissions
100 "/checkouts/{checkout_id}/allows_renewal":
102 x-mojo-to: Checkouts#allows_renewal
103 operationId: allows_renewalCheckout
106 summary: Get renewability for a checkout
108 - $ref: ../parameters.yaml#/checkout_id_pp
113 description: Checkout renewability information
115 $ref: ../definitions.yaml#/allows_renewal
117 description: Forbidden
119 $ref: ../definitions.yaml#/error
121 description: Checkout not found
123 $ref: ../definitions.yaml#/error
124 x-koha-authorization:
126 circulate: circulate_remaining_permissions