Core resources
Administration
Booking flow
Dependencies between occupancy groups.
When booking, the value of the group referenced by accumulator_id
will be set to the sum of the groups referenced by element_id
.
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
{"id": "00000000-0000-0000-0000-000000000000","accumulator_id": "00000000-0000-0000-0000-000000000000","element_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-05-19T15:35:57.575Z"}
id
Filter<uuid>
Unique identifier
accumulator_id
Filter<uuid>
Identifier of the accumulating occupancy group
element_id
Filter<uuid>
Identifier of the accumulated occupancy group
created_at
Filter<timestamp with time zone>
Creation timestamp
200
A list of occupancy group dependencies with the selected columns
206
Partial Content
GET
/occupancy_group_dependencies
curl -X GET "https://api.bookingmood.com/v1/occupancy_group_dependencies?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<OccupancyGroupDependency>
| Array<Partial<OccupancyGroupDependency>>
201
The newly created occupancy group dependencies with the selected columns
POST
/occupancy_group_dependencies
curl -X POST "https://api.bookingmood.com/v1/occupancy_group_dependencies" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<uuid>
Unique identifier
accumulator_id
Filter<uuid>
Identifier of the accumulating occupancy group
element_id
Filter<uuid>
Identifier of the accumulated occupancy group
created_at
Filter<timestamp with time zone>
Creation timestamp
204
The deleted occupancy group dependencies with the selected columns
DELETE
/occupancy_group_dependencies
curl -X DELETE "https://api.bookingmood.com/v1/occupancy_group_dependencies" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<uuid>
Unique identifier
accumulator_id
Filter<uuid>
Identifier of the accumulating occupancy group
element_id
Filter<uuid>
Identifier of the accumulated occupancy group
created_at
Filter<timestamp with time zone>
Creation timestamp
Partial<OccupancyGroupDependency>
204
The updated occupancy group dependencies with the selected columns
PATCH
/occupancy_group_dependencies
curl -X PATCH "https://api.bookingmood.com/v1/occupancy_group_dependencies" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'