4 "operationId": "listHolds",
5 "tags": ["borrowers", "holds"],
10 "description": "Internal reserve identifier",
14 "name": "borrowernumber",
16 "description": "Internal borrower identifier",
20 "name": "reservedate",
22 "description": "Reserve date",
26 "name": "biblionumber",
28 "description": "Internal biblio identifier",
34 "description": "Branch code",
38 "name": "notificationdate",
40 "description": "Notification date",
44 "name": "reminderdate",
46 "description": "Reminder date",
50 "name": "cancellationdate",
52 "description": "Cancellation date",
56 "name": "reservenotes",
58 "description": "Reserve notes",
64 "description": "Priority",
70 "description": "Found status",
76 "description": "Time of latest update",
82 "description": "Internal item identifier",
86 "name": "waitingdate",
88 "description": "Date the item was marked as waiting for the patron",
92 "name": "expirationdate",
94 "description": "Date the hold expires",
98 "name": "lowestPriority",
100 "description": "Lowest priority",
106 "description": "Suspended",
110 "name": "suspend_until",
112 "description": "Suspended until",
116 "produces": ["application/json"],
119 "description": "A list of holds",
121 "$ref": "../definitions.json#/holds"
125 "description": "Borrower not found",
127 "$ref": "../definitions.json#/error"
133 "operationId": "addHold",
134 "tags": ["borrowers", "holds"],
138 "description": "A JSON object containing informations about the new hold",
144 "description": "Borrower internal identifier",
148 "description": "Biblio internal identifier",
152 "description": "Item internal identifier",
156 "description": "Pickup location",
160 "description": "Hold end date",
168 "consumes": ["application/json"],
169 "produces": ["application/json"],
172 "description": "Created hold",
174 "$ref": "../definitions.json#/hold"
178 "description": "Missing or wrong parameters",
180 "$ref": "../definitions.json#/error"
184 "description": "Hold not allowed",
186 "$ref": "../definitions.json#/error"
190 "description": "Borrower not found",
192 "$ref": "../definitions.json#/error"
196 "description": "Internal error",
198 "$ref": "../definitions.json#/error"
204 "/holds/{reserve_id}": {
206 "operationId": "editHold",
209 "$ref": "../parameters.json#/holdIdPathParam"
213 "description": "A JSON object containing fields to modify",
219 "description": "Position in waiting queue",
224 "description": "Pickup location",
228 "description": "Suspend until",
236 "consumes": ["application/json"],
237 "produces": ["application/json"],
240 "description": "Updated hold",
242 "$ref": "../definitions.json#/hold"
246 "description": "Missing or wrong parameters",
248 "$ref": "../definitions.json#/error"
252 "description": "Hold not found",
254 "$ref": "../definitions.json#/error"
260 "operationId": "deleteHold",
263 "$ref": "../parameters.json#/holdIdPathParam"
266 "produces": ["application/json"],
269 "description": "Successful deletion",
275 "description": "Hold not found",
277 "$ref": "../definitions.json#/error"