Core resources


Administration


Booking flow

Calendar event tasks

Tasks defined per event.

The calendar event task object

Attributes

iduuid

Unique identifier

assignee_iduuid | null
members.id

Assignee of the task

calendar_event_iduuid
calendar_events.id

Identifier of the related calendar event

product_task_iduuid | null
product_tasks.id

Identifier of the related product task

created_attimestamp with time zone

Creation timestamp

updated_attimestamp with time zone

Last modification timestamp

completed_attimestamp with time zone | null

Timestamp at which the task was completed

due_attimestamp with time zone

Due date of the task

labeltext

Label of the task

notification_sent_attimestamp with time zone | null

Timestamp of the last notification sent

scheduletext

Task schedule relative to the event

The calendar event task object
{
"id": "00000000-0000-0000-0000-000000000000",
"assignee_id": "00000000-0000-0000-0000-000000000000",
"calendar_event_id": "00000000-0000-0000-0000-000000000000",
"product_task_id": "00000000-0000-0000-0000-000000000000",
"created_at": "2024-11-21T14:40:04.622Z",
"updated_at": "2024-11-21T14:40:04.622Z",
"completed_at": "2024-11-21T14:40:04.622Z",
"due_at": "2024-11-21T14:40:04.622Z",
"label": "",
"notification_sent_at": "2024-11-21T14:40:04.622Z",
"schedule": "arrival"
}

List calendar event tasks

Filters

idFilter<>

Unique identifier

assignee_idFilter<>

Assignee of the task

calendar_event_idFilter<>

Identifier of the related calendar event

product_task_idFilter<>

Identifier of the related product task

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

completed_atFilter<>

Timestamp at which the task was completed

due_atFilter<>

Due date of the task

labelFilter<>

Label of the task

notification_sent_atFilter<>

Timestamp of the last notification sent

scheduleFilter<>

Task schedule relative to the event

Responses

200

A list of calendar event tasks with the selected columns

206

Partial Content

GET/calendar_event_tasks
curl -X GET "https://api.bookingmood.com/v1/calendar_event_tasks?select=*" \
  -H "Authorization: Bearer YOUR_API_KEY"

Create calendar event tasks

Body

Partial<CalendarEventTask>
| Array<Partial<CalendarEventTask>>

Responses

201

The newly created calendar event tasks with the selected columns

POST/calendar_event_tasks
curl -X POST "https://api.bookingmood.com/v1/calendar_event_tasks" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '[]'

Delete calendar event tasks

Filters

idFilter<>

Unique identifier

assignee_idFilter<>

Assignee of the task

calendar_event_idFilter<>

Identifier of the related calendar event

product_task_idFilter<>

Identifier of the related product task

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

completed_atFilter<>

Timestamp at which the task was completed

due_atFilter<>

Due date of the task

labelFilter<>

Label of the task

notification_sent_atFilter<>

Timestamp of the last notification sent

scheduleFilter<>

Task schedule relative to the event

Responses

204

The deleted calendar event tasks with the selected columns

DELETE/calendar_event_tasks
curl -X DELETE "https://api.bookingmood.com/v1/calendar_event_tasks" \
  -H "Authorization: Bearer YOUR_API_KEY"

Update calendar event tasks

Filters

idFilter<>

Unique identifier

assignee_idFilter<>

Assignee of the task

calendar_event_idFilter<>

Identifier of the related calendar event

product_task_idFilter<>

Identifier of the related product task

created_atFilter<>

Creation timestamp

updated_atFilter<>

Last modification timestamp

completed_atFilter<>

Timestamp at which the task was completed

due_atFilter<>

Due date of the task

labelFilter<>

Label of the task

notification_sent_atFilter<>

Timestamp of the last notification sent

scheduleFilter<>

Task schedule relative to the event

Body

Partial<CalendarEventTask>

Responses

204

The updated calendar event tasks with the selected columns

PATCH/calendar_event_tasks
curl -X PATCH "https://api.bookingmood.com/v1/calendar_event_tasks" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{}'