Bookings session rule create
post/bookings/sessions/rules
Sessions of a group service that repeat on weekdays at a time on the clock of its location, from a date until another (or open). Rivier makes them forward as far as the service takes bookings, and keeps making them; without a capacity of its own each takes the service's and follows it when it changes.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Sdk
bookings.sessionRule.create- Cli
bookings session rule create
Request bodyapplication/json, required
- serviceIdstring (uuid)required
- weekdayslist of integerrequired
- timestringrequiredPattern: ^([01]\d|2[0-3]):[0-5]\d$.
- durationMinutesintegerAt least 5. At most 1440.
- capacityintegerAt least 1. At most 10000.
- fromstringrequiredPattern: ^\d{4}-\d{2}-\d{2}$.
- untilstringPattern: ^\d{4}-\d{2}-\d{2}$.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring