Core resources
Administration
Booking flow
Access level for team members with the user
role per unit.
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
permission
"maintenance" | "view-bookings" | "manage-bookings" | "all"
Permission level
{"id": "00000000-0000-0000-0000-000000000000","member_id": "00000000-0000-0000-0000-000000000000","product_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-09-08T00:22:55.044Z","updated_at": "2024-09-08T00:22:55.044Z","permission": "view-bookings"}
id
Filter<uuid>
Unique identifier
member_id
Filter<uuid>
Identifier of the related member
product_id
Filter<uuid>
Identifier of the related unit
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
permission
Filter<"maintenance" | "view-bookings" | "manage-bookings" | "all">
Permission level
200
A list of permissions with the selected columns
206
Partial Content
GET
/permissions
curl -X GET "https://api.bookingmood.com/v1/permissions?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<Permission>
| Array<Partial<Permission>>
201
The newly created permissions with the selected columns
POST
/permissions
curl -X POST "https://api.bookingmood.com/v1/permissions" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<uuid>
Unique identifier
member_id
Filter<uuid>
Identifier of the related member
product_id
Filter<uuid>
Identifier of the related unit
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
permission
Filter<"maintenance" | "view-bookings" | "manage-bookings" | "all">
Permission level
204
The deleted permissions with the selected columns
DELETE
/permissions
curl -X DELETE "https://api.bookingmood.com/v1/permissions" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<uuid>
Unique identifier
member_id
Filter<uuid>
Identifier of the related member
product_id
Filter<uuid>
Identifier of the related unit
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
permission
Filter<"maintenance" | "view-bookings" | "manage-bookings" | "all">
Permission level
Partial<Permission>
204
The updated permissions with the selected columns
PATCH
/permissions
curl -X PATCH "https://api.bookingmood.com/v1/permissions" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'