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-05-11T12:04:51.553Z","updated_at": "2024-05-11T12:04:51.553Z","label": "","moment": {},"status": "CONFIRMED","time": null}
id
Filter<uuid>
Unique identifier
assignee_id
Filter<uuid>
Identifier of the default assignee for this task
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
label
Filter<text>
Label of the task
moment
Filter<jsonb>
Moment at which the task should be completed. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
status
Filter<"CANCELLED" | "TENTATIVE" | "CONFIRMED">
time
Filter<time without time zone>
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<uuid>
Unique identifier
assignee_id
Filter<uuid>
Identifier of the default assignee for this task
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
label
Filter<text>
Label of the task
moment
Filter<jsonb>
Moment at which the task should be completed. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
status
Filter<"CANCELLED" | "TENTATIVE" | "CONFIRMED">
time
Filter<time without time zone>
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<uuid>
Unique identifier
assignee_id
Filter<uuid>
Identifier of the default assignee for this task
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
label
Filter<text>
Label of the task
moment
Filter<jsonb>
Moment at which the task should be completed. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
status
Filter<"CANCELLED" | "TENTATIVE" | "CONFIRMED">
time
Filter<time without time zone>
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 '{}'