2 "/clubs/{club_id}/holds": {
4 "x-mojo-to": "Clubs::Holds#add",
5 "operationId": "addClubHold",
9 "summary": "Add a club hold",
12 "$ref": "../parameters.json#/club_id_pp"
17 "description": "A JSON object containing informations about the new hold",
23 "description": "Internal biblio identifier",
30 "description": "Internal item identifier",
36 "pickup_library_id": {
37 "description": "Internal library identifier for the pickup library",
41 "description": "Hold end date",
49 "description": "Notes related to this hold",
56 "description": "Limit hold on one itemtype (ignored for item-level holds)",
62 "default_patron_home": {
63 "description": "For each patron, set pickup location to patron's home library if possible",
70 "additionalProperties": false
82 "description": "Created club hold",
84 "$ref": "../definitions/club_hold.json"
88 "description": "Missing or wrong parameters",
90 "$ref": "../definitions.json#/error"
94 "description": "Authentication required",
96 "$ref": "../definitions.json#/error"
100 "description": "Hold not allowed",
102 "$ref": "../definitions.json#/error"
106 "description": "Club not found",
108 "$ref": "../definitions.json#/error"
112 "description": "Hold not allowed",
114 "$ref": "../definitions.json#/error"
118 "description": "Internal server error",
120 "$ref": "../definitions.json#/error"
124 "description": "Under maintenance",
126 "$ref": "../definitions.json#/error"
130 "x-koha-authorization": {
132 "reserveforothers": "1"