/api/apps/room_booking/{installation_id}/collectionsCreate a calendar collection
Creates a calendar collection for a room booking installation. Include at least one calendar ID in resource_ids; collection_type defaults to rooms and display_layout defaults to list when omitted. The response contains the created collection and its public booking details.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The calendar collection to create. name and resource_ids are required, and resource_ids must contain at least one calendar ID.
A 401 is returned for an unauthorized request, a 402 when billing is locked until the subscription is settled, a 404 when the installation belongs to another user, and a 422 when the requested layout is not available for the collection. The installation_id path parameter must identify a room booking installation you can access. Include name and at least one calendar ID in resource_ids; collection_type must be one of the listed values, and display_layout must be list or grid.