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-05-11T16:08:50.316Z",
"updated_at": "2024-05-11T16:08:50.316Z",
"completed_at": "2024-05-11T16:08:50.316Z",
"due_at": "2024-05-11T16:08:50.316Z",
"label": "",
"notification_sent_at": "2024-05-11T16:08:50.316Z",
"schedule": "arrival"
}

List calendar event tasks

Filters

idFilter<uuid>

Unique identifier

assignee_idFilter<uuid>

Assignee of the task

calendar_event_idFilter<uuid>

Identifier of the related calendar event

product_task_idFilter<uuid>

Identifier of the related product task

created_atFilter<timestamp with time zone>

Creation timestamp

updated_atFilter<timestamp with time zone>

Last modification timestamp

completed_atFilter<timestamp with time zone>

Timestamp at which the task was completed

due_atFilter<timestamp with time zone>

Due date of the task

labelFilter<text>

Label of the task

notification_sent_atFilter<timestamp with time zone>

Timestamp of the last notification sent

scheduleFilter<text>

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<uuid>

Unique identifier

assignee_idFilter<uuid>

Assignee of the task

calendar_event_idFilter<uuid>

Identifier of the related calendar event

product_task_idFilter<uuid>

Identifier of the related product task

created_atFilter<timestamp with time zone>

Creation timestamp

updated_atFilter<timestamp with time zone>

Last modification timestamp

completed_atFilter<timestamp with time zone>

Timestamp at which the task was completed

due_atFilter<timestamp with time zone>

Due date of the task

labelFilter<text>

Label of the task

notification_sent_atFilter<timestamp with time zone>

Timestamp of the last notification sent

scheduleFilter<text>

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<uuid>

Unique identifier

assignee_idFilter<uuid>

Assignee of the task

calendar_event_idFilter<uuid>

Identifier of the related calendar event

product_task_idFilter<uuid>

Identifier of the related product task

created_atFilter<timestamp with time zone>

Creation timestamp

updated_atFilter<timestamp with time zone>

Last modification timestamp

completed_atFilter<timestamp with time zone>

Timestamp at which the task was completed

due_atFilter<timestamp with time zone>

Due date of the task

labelFilter<text>

Label of the task

notification_sent_atFilter<timestamp with time zone>

Timestamp of the last notification sent

scheduleFilter<text>

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 '{}'