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-09-08T00:44:05.863Z"}
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 capacity group dependencies with the selected columns
206
Partial Content
GET
/capacity_group_dependencies
curl -X GET "https://api.bookingmood.com/v1/capacity_group_dependencies?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<CapacityGroupDependency>
| Array<Partial<CapacityGroupDependency>>
201
The newly created capacity group dependencies with the selected columns
POST
/capacity_group_dependencies
curl -X POST "https://api.bookingmood.com/v1/capacity_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 capacity group dependencies with the selected columns
DELETE
/capacity_group_dependencies
curl -X DELETE "https://api.bookingmood.com/v1/capacity_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<CapacityGroupDependency>
204
The updated capacity group dependencies with the selected columns
PATCH
/capacity_group_dependencies
curl -X PATCH "https://api.bookingmood.com/v1/capacity_group_dependencies" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'