4 "operationId": "listHolds",
5 "tags": ["borrowers", "holds"],
10 "description": "Internal reserve identifier",
14 "$ref": "../parameters.json#/borrowernumberQueryParam"
17 "name": "reservedate",
19 "description": "Reserve date",
23 "name": "biblionumber",
25 "description": "Internal biblio identifier",
31 "description": "Branch code",
35 "name": "notificationdate",
37 "description": "Notification date",
41 "name": "reminderdate",
43 "description": "Reminder date",
47 "name": "cancellationdate",
49 "description": "Cancellation date",
53 "name": "reservenotes",
55 "description": "Reserve notes",
61 "description": "Priority",
67 "description": "Found status",
73 "description": "Time of latest update",
79 "description": "Internal item identifier",
83 "name": "waitingdate",
85 "description": "Date the item was marked as waiting for the patron",
89 "name": "expirationdate",
91 "description": "Date the hold expires",
95 "name": "lowestPriority",
97 "description": "Lowest priority",
103 "description": "Suspended",
107 "name": "suspend_until",
109 "description": "Suspended until",
113 "produces": ["application/json"],
116 "description": "A list of holds",
118 "$ref": "../definitions.json#/holds"
122 "description": "Borrower not found",
124 "$ref": "../definitions.json#/error"
130 "operationId": "addHold",
131 "tags": ["borrowers", "holds"],
135 "description": "A JSON object containing informations about the new hold",
141 "description": "Borrower internal identifier",
145 "description": "Biblio internal identifier",
149 "description": "Item internal identifier",
153 "description": "Pickup location",
157 "description": "Hold end date",
165 "consumes": ["application/json"],
166 "produces": ["application/json"],
169 "description": "Created hold",
171 "$ref": "../definitions.json#/hold"
175 "description": "Missing or wrong parameters",
177 "$ref": "../definitions.json#/error"
181 "description": "Hold not allowed",
183 "$ref": "../definitions.json#/error"
187 "description": "Borrower not found",
189 "$ref": "../definitions.json#/error"
193 "description": "Internal error",
195 "$ref": "../definitions.json#/error"
201 "/holds/{reserve_id}": {
203 "operationId": "editHold",
206 "$ref": "../parameters.json#/holdIdPathParam"
210 "description": "A JSON object containing fields to modify",
216 "description": "Position in waiting queue",
221 "description": "Pickup location",
225 "description": "Suspend until",
233 "consumes": ["application/json"],
234 "produces": ["application/json"],
237 "description": "Updated hold",
239 "$ref": "../definitions.json#/hold"
243 "description": "Missing or wrong parameters",
245 "$ref": "../definitions.json#/error"
249 "description": "Hold not found",
251 "$ref": "../definitions.json#/error"
257 "operationId": "deleteHold",
260 "$ref": "../parameters.json#/holdIdPathParam"
263 "produces": ["application/json"],
266 "description": "Successful deletion",
272 "description": "Hold not found",
274 "$ref": "../definitions.json#/error"