4 x-mojo-to: Illbatches#list
5 operationId: listIllbatches
8 summary: List ILL batches
14 description: A list of ILL batches
16 $ref: "../swagger.yaml#/definitions/illbatches"
18 description: Authentication required
20 $ref: "../swagger.yaml#/definitions/error"
22 description: Access forbidden
24 $ref: "../swagger.yaml#/definitions/error"
26 description: ILL batches not found
28 $ref: "../swagger.yaml#/definitions/error"
31 Internal server error. Possible `error_code` attribute values:
33 * `internal_server_error`
35 $ref: "../swagger.yaml#/definitions/error"
37 description: Under maintenance
39 $ref: "../swagger.yaml#/definitions/error"
44 x-mojo-to: Illbatches#add
45 operationId: addIllbatch
48 summary: Add ILL batch
52 description: A JSON object containing informations about the new batch
55 $ref: "../swagger.yaml#/definitions/illbatch"
60 description: Batch added
62 $ref: "../swagger.yaml#/definitions/illbatch"
64 description: Bad request
66 $ref: "../swagger.yaml#/definitions/error"
68 description: Authentication required
70 $ref: "../swagger.yaml#/definitions/error"
72 description: Access forbidden
74 $ref: "../swagger.yaml#/definitions/error"
76 description: Patron with given cardnumber not found
78 $ref: "../swagger.yaml#/definitions/error"
80 description: Conflict in creating resource
82 $ref: "../swagger.yaml#/definitions/error"
85 Internal server error. Possible `error_code` attribute values:
87 * `internal_server_error`
89 $ref: "../swagger.yaml#/definitions/error"
91 description: Under maintenance
93 $ref: "../swagger.yaml#/definitions/error"
97 "/illbatches/{illbatch_id}":
99 x-mojo-to: Illbatches#get
100 operationId: getIllbatches
103 summary: Get ILL batch
107 description: ILL batch id/name/contents
114 description: An ILL batch
116 $ref: "../swagger.yaml#/definitions/illbatch"
118 description: Authentication required
120 $ref: "../swagger.yaml#/definitions/error"
122 description: Access forbidden
124 $ref: "../swagger.yaml#/definitions/error"
126 description: ILL batch not found
128 $ref: "../swagger.yaml#/definitions/error"
131 Internal server error. Possible `error_code` attribute values:
133 * `internal_server_error`
135 $ref: "../swagger.yaml#/definitions/error"
137 description: Under maintenance
139 $ref: "../swagger.yaml#/definitions/error"
140 x-koha-authorization:
144 x-mojo-to: Illbatches#update
145 operationId: updateIllBatch
148 summary: Update batch
150 - $ref: "../swagger.yaml#/parameters/illbatch_id_pp"
153 description: A JSON object containing information on the batch
156 $ref: "../swagger.yaml#/definitions/illbatch"
163 description: An ILL batch
165 $ref: "../swagger.yaml#/definitions/illbatch"
167 description: Bad request
169 $ref: "../swagger.yaml#/definitions/error"
171 description: Authentication required
173 $ref: "../swagger.yaml#/definitions/error"
175 description: Access forbidden
177 $ref: "../swagger.yaml#/definitions/error"
179 description: ILL batch not found
181 $ref: "../swagger.yaml#/definitions/error"
184 Internal server error. Possible `error_code` attribute values:
186 * `internal_server_error`
188 $ref: "../swagger.yaml#/definitions/error"
190 description: Under maintenance
192 $ref: "../swagger.yaml#/definitions/error"
193 x-koha-authorization:
197 x-mojo-to: Illbatches#delete
198 operationId: deleteBatch
201 summary: Delete ILL batch
203 - $ref: "../swagger.yaml#/parameters/illbatch_id_pp"
208 description: ILL batch deleted
212 description: Authentication required
214 $ref: "../swagger.yaml#/definitions/error"
216 description: Access forbidden
218 $ref: "../swagger.yaml#/definitions/error"
220 description: ILL batch not found
222 $ref: "../swagger.yaml#/definitions/error"
225 Internal server error. Possible `error_code` attribute values:
227 * `internal_server_error`
229 $ref: "../swagger.yaml#/definitions/error"
231 description: Under maintenance
233 $ref: "../swagger.yaml#/definitions/error"
234 x-koha-authorization: