2 "/clubs/{club_id}/holds": {
4 "x-mojo-to": "Clubs::Holds#add",
5 "operationId": "addClubHold",
6 "tags": ["holds", "clubs"],
8 "$ref": "../parameters.json#/club_id_pp"
12 "description": "A JSON object containing informations about the new hold",
18 "description": "Internal biblio identifier",
19 "type": [ "integer", "null" ]
22 "description": "Internal item identifier",
23 "type": [ "integer", "null" ]
25 "pickup_library_id": {
26 "description": "Internal library identifier for the pickup library",
30 "description": "Hold end date",
31 "type": ["string", "null"],
35 "description": "Notes related to this hold",
36 "type": [ "string", "null" ]
39 "description": "Limit hold on one itemtype (ignored for item-level holds)",
40 "type": [ "string", "null" ]
43 "required": [ "pickup_library_id" ]
47 "consumes": ["application/json"],
48 "produces": ["application/json"],
51 "description": "Created hold",
53 "$ref": "../definitions/club_hold.json"
57 "description": "Missing or wrong parameters",
59 "$ref": "../definitions.json#/error"
63 "description": "Authentication required",
65 "$ref": "../definitions.json#/error"
69 "description": "Hold not allowed",
71 "$ref": "../definitions.json#/error"
75 "description": "Hold not found",
77 "$ref": "../definitions.json#/error"
81 "description": "Internal server error",
83 "$ref": "../definitions.json#/error"
87 "description": "Under maintenance",
89 "$ref": "../definitions.json#/error"
93 "x-koha-authorization": {
95 "reserveforothers": "1"