4 x-mojo-to: ReturnClaims#claim_returned
5 operationId: claimReturned
6 summary: Add a return claim
12 description: A JSON object containing fields to modify
18 description: Internal item id to claim as returned
21 description: Notes about this return claim
24 description: User id for the librarian submitting this claim
27 description: Charge a lost fee if true and Koha is set to allow a choice.
30 additionalProperties: false
35 description: Created claim
37 $ref: ../definitions.yaml#/return_claim
39 description: Bad request
41 $ref: ../definitions.yaml#/error
43 description: Authentication required
45 $ref: ../definitions.yaml#/error
47 description: Access forbidden
49 $ref: ../definitions.yaml#/error
51 description: Checkout not found
53 $ref: ../definitions.yaml#/error
55 description: Conflict creating the resource
57 $ref: ../definitions.yaml#/error
59 description: Internal server error
61 $ref: ../definitions.yaml#/error
63 description: Under maintenance
65 $ref: ../definitions.yaml#/error
68 circulate: circulate_remaining_permissions
69 "/return_claims/{claim_id}/notes":
71 x-mojo-to: ReturnClaims#update_notes
72 operationId: updateClaimNotes
80 description: Unique identifier for the claim whose notes are to be updated
84 description: A JSON object containing fields to modify
90 description: Notes about this return claim
93 description: Interal identifier for the librarian updating the claim notes
95 additionalProperties: false
100 description: Claim notes updated
102 $ref: ../definitions.yaml#/return_claim
104 description: Bad request
106 $ref: ../definitions.yaml#/error
108 description: Authentication required
110 $ref: ../definitions.yaml#/error
112 description: Access forbidden
114 $ref: ../definitions.yaml#/error
116 description: Claim not found
118 $ref: ../definitions.yaml#/error
120 description: Internal server error
122 $ref: ../definitions.yaml#/error
124 description: Under maintenance
126 $ref: ../definitions.yaml#/error
127 x-koha-authorization:
129 circulate: circulate_remaining_permissions
130 "/return_claims/{claim_id}":
132 x-mojo-to: ReturnClaims#delete_claim
133 operationId: deletedClaim
134 summary: Delete claim
141 description: Unique identifier for the claim to be deleted
147 description: Claim deleted
149 $ref: ../definitions.yaml#/return_claim
151 description: Bad request
153 $ref: ../definitions.yaml#/error
155 description: Authentication required
157 $ref: ../definitions.yaml#/error
159 description: Access forbidden
161 $ref: ../definitions.yaml#/error
163 description: Claim not found
165 $ref: ../definitions.yaml#/error
167 description: Internal server error
169 $ref: ../definitions.yaml#/error
171 description: Under maintenance
173 $ref: ../definitions.yaml#/error
174 x-koha-authorization:
176 circulate: circulate_remaining_permissions
177 "/return_claims/{claim_id}/resolve":
179 x-mojo-to: ReturnClaims#resolve_claim
180 operationId: updateClaimResolve
181 summary: Resolve claim
188 description: Unique identifier for the claim to be resolved
192 description: A JSON object containing fields to modify
198 description: The RETURN_CLAIM_RESOLUTION code to be used to resolve the calim
201 description: User id for the librarian resolving the claim
204 description: New lost status to set to the item
206 additionalProperties: false
211 description: Claim resolved
213 $ref: ../definitions.yaml#/return_claim
215 description: Bad request
217 $ref: ../definitions.yaml#/error
219 description: Authentication required
221 $ref: ../definitions.yaml#/error
223 description: Access forbidden
225 $ref: ../definitions.yaml#/error
227 description: Claim not found
229 $ref: ../definitions.yaml#/error
231 description: Internal server error
233 $ref: ../definitions.yaml#/error
235 description: Under maintenance
237 $ref: ../definitions.yaml#/error
238 x-koha-authorization:
240 circulate: circulate_remaining_permissions