4 x-mojo-to: TransferLimits#list
5 operationId: listTransferLimits
11 description: Search on to_library_id
14 - name: from_library_id
16 description: Search on from_library_id
21 description: Search on item_type
24 - name: collection_code
26 description: Search on collection_code
29 - "$ref": "../parameters.json#/match"
30 - "$ref": "../parameters.json#/order_by"
31 - "$ref": "../parameters.json#/page"
32 - "$ref": "../parameters.json#/per_page"
33 - "$ref": "../parameters.json#/q_param"
34 - "$ref": "../parameters.json#/q_body"
35 - "$ref": "../parameters.json#/q_header"
40 description: A list of transfer limits
44 "$ref": "../definitions.json#/transfer_limit"
46 description: Internal error
48 "$ref": "../definitions.json#/error"
50 description: Under maintenance
52 "$ref": "../definitions.json#/error"
55 parameters: manage_transfers
57 x-mojo-to: TransferLimits#add
58 operationId: addTransferLimit
64 description: A JSON object containing information about a new transfer limit
67 "$ref": "../definitions.json#/transfer_limit"
72 description: Transfer limit added
74 "$ref": "../definitions.json#/transfer_limit"
76 description: Bad request
78 "$ref": "../definitions.json#/error"
80 description: Authentication required
82 "$ref": "../definitions.json#/error"
84 description: Access forbidden
86 "$ref": "../definitions.json#/error"
88 description: Conflict in creating resource
90 "$ref": "../definitions.json#/error"
92 description: Internal error
94 "$ref": "../definitions.json#/error"
96 description: Under maintenance
98 "$ref": "../definitions.json#/error"
101 parameters: manage_transfers
102 "/transfer_limits/{limit_id}":
104 x-mojo-to: TransferLimits#delete
105 operationId: deleteTransferLimit
109 - "$ref": "../parameters.json#/transfer_limit_id_pp"
114 description: Transfer limit deleted
118 description: Authentication required
120 "$ref": "../definitions.json#/error"
122 description: Access forbidden
124 "$ref": "../definitions.json#/error"
126 description: Library not found
128 "$ref": "../definitions.json#/error"
130 description: Internal error
132 "$ref": "../definitions.json#/error"
134 description: Under maintenance
136 "$ref": "../definitions.json#/error"
137 x-koha-authorization:
139 parameters: manage_transfers
140 "/transfer_limits/batch":
142 x-mojo-to: TransferLimits#batch_add
143 operationId: batchAddTransferLimits
149 description: A JSON object containing information about new transfer limits.
156 description: Internal library id for which library the item is going to
159 description: Internal library id for which library the item is coming
165 description: Itemtype defining the type for this limi
170 description: Authorized value for the collection code associated with
172 additionalProperties: false
177 description: A list of transfer limits
181 "$ref": "../definitions.json#/transfer_limit"
183 description: Internal error
185 "$ref": "../definitions.json#/error"
187 description: Under maintenance
189 "$ref": "../definitions.json#/error"
190 x-koha-authorization:
192 parameters: manage_transfers
194 x-mojo-to: TransferLimits#batch_delete
195 operationId: batchDeleteTransferLimits
201 description: A JSON object containing information about new transfer limits.
208 description: Internal library id for which library the item is going to
211 description: Internal library id for which library the item is coming
217 description: Itemtype defining the type for this limi
222 description: Authorized value for the collection code associated with
224 additionalProperties: false
229 description: Transfer limits deleted
233 description: Authentication required
235 "$ref": "../definitions.json#/error"
237 description: Access forbidden
239 "$ref": "../definitions.json#/error"
241 description: Library not found
243 "$ref": "../definitions.json#/error"
245 description: Internal error
247 "$ref": "../definitions.json#/error"
249 description: Under maintenance
251 "$ref": "../definitions.json#/error"
252 x-koha-authorization:
254 parameters: manage_transfers