/api/apps/room_booking/{installation_id}/calendars/{id}/bookingsBook a room
Creates a booking on a room calendar as its owner. Provide starts_at and ends_at as ISO 8601 date-time values; times without a zone are interpreted in the calendar's time zone. iCal calendars are read-only, and overlapping confirmed bookings cannot be booked.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Booking details. Provide both starts_at and ends_at.
A 401 is returned when the request is unauthorized, and a 402 when billing is locked until the subscription is settled. A 404 is returned when the installation belongs to another user; the installation_id path parameter and id path parameter must identify the intended room booking installation and calendar. A 409 is returned when the requested slot overlaps a confirmed booking, and a 422 when ends_at is before starts_at; provide both times as ISO 8601 date-time values.