Core resources
Administration
Booking flow
Tasks required for all bookings for a unit
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
label
text
Label of the task
moment
jsonb
Moment at which the task should be completed. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
status
"CANCELLED" | "TENTATIVE" | "CONFIRMED"
time
time without time zone | null
{"id": "00000000-0000-0000-0000-000000000000","assignee_id": "00000000-0000-0000-0000-000000000000","product_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-11-21T13:38:06.126Z","updated_at": "2024-11-21T13:38:06.126Z","label": "","moment": {},"status": "CONFIRMED","time": null}
id
Filter<>
Unique identifier
assignee_id
Filter<>
Identifier of the default assignee for this task
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
label
Filter<>
Label of the task
moment
Filter<>
Moment at which the task should be completed. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
status
Filter<>
time
Filter<>
200
A list of product tasks with the selected columns
206
Partial Content
GET
/product_tasks
curl -X GET "https://api.bookingmood.com/v1/product_tasks?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<ProductTask>
| Array<Partial<ProductTask>>
201
The newly created product tasks with the selected columns
POST
/product_tasks
curl -X POST "https://api.bookingmood.com/v1/product_tasks" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
assignee_id
Filter<>
Identifier of the default assignee for this task
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
label
Filter<>
Label of the task
moment
Filter<>
Moment at which the task should be completed. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
status
Filter<>
time
Filter<>
204
The deleted product tasks with the selected columns
DELETE
/product_tasks
curl -X DELETE "https://api.bookingmood.com/v1/product_tasks" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
assignee_id
Filter<>
Identifier of the default assignee for this task
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
label
Filter<>
Label of the task
moment
Filter<>
Moment at which the task should be completed. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
status
Filter<>
time
Filter<>
Partial<ProductTask>
204
The updated product tasks with the selected columns
PATCH
/product_tasks
curl -X PATCH "https://api.bookingmood.com/v1/product_tasks" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'