Skip to main content

Task Management Tasks

Overview

This resource represents Tasks - units of work to be completed, such as cleaning, maintenance, or inspections. Tasks can be created manually or automatically from Templates, and can be assigned to team members.

Parameters

NameTypeRead/WriteDescription
accountIntegerReadAccount's ID related to Task
assigneeIntegerReadAssignee's ID (User) responsible for the Task
event_sourceObjectReadPolymorphic reference to the event source (Booking or Rental)
created_byObjectReadPolymorphic reference to creator (User or Application)
templateUUIDReadTemplate's ID from which Task was created
idUUIDReadTask's ID
nameStringReadTask's name
descriptionStringReadTask's description
categoryStringReadTask's category, list of Categories described in enums section
priorityStringReadTask's priority, list of Priorities described in enums section
statusStringReadTask's status, list of Statuses described in enums section
due_atTimeReadTask's due date and time
expected_duration_in_minutesIntegerReadExpected duration to complete the Task in minutes
actual_duration_in_minutesIntegerReadActual duration spent on the Task in minutes
has_issuesBooleanReadWhether the Task has issues reported
due_at_automationObjectReadAutomation rules for due date calculation
created_atTimeReadTask's create time
updated_atTimeReadTask's update time
canceled_atTimeReadTask's cancellation time (null if not canceled)

List Tasks

GET /task_management/tasks

Get a single Task

Returns a single task identified by ID.

GET /task_management/tasks/:task_id

Create a new Task

Creates a Task.

POST /task_management/tasks

Handle a Task

Updates a Task's execution-related fields. This endpoint is used by task assignees to update status, report issues, track time, and check off checklist items.

PATCH /task_management/tasks/:task_id/handle
Allowed parameters for handle

Only :status, :has_issues, :actual_duration_in_minutes, :notes, and :checked_task_item_ids attributes are allowed.

Manage a Task

Updates a Task's management-related fields. This endpoint is used by task managers to update task details, assignee, and checklist items.

PATCH /task_management/tasks/:task_id/manage
Allowed parameters for manage

Only :name, :description, :category, :priority, :status, :due_at, :expected_duration_in_minutes, :assignee_id, :task_items, and :append_task_items attributes are allowed.

Delete a Task

Cancels a Task (soft delete).

DELETE /task_management/tasks/:task_id