v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-211931021.7 MB
Tasks

Retrieve a Task

OAuth Scope

This endpoint requires the following OAuth scope read_tasks.

get/task/{uuid}.json

Path parameters

uuidstring uuid required

UUID of the Task

Response

Task record retrieved successfully

due_datestring

The date by which the task should be completed. Format is YYYY-MM-DD. For mobile app compatibility, may be returned with time component (HHMMSS) in some contexts.

task_detailsstring

Detailed description of the task. Contains more comprehensive information about what needs to be done, how to complete the task, or any other relevant notes.

namestring required

The name or title of the task. This field is mandatory and used to identify the task in listings and the user interface.

related_objectstring

The name of the object class this task is related to. Must be a valid object class name in the system (e.g., 'job', 'client', etc.). The value is always stored as lowercase regardless of input case.

related_object_uuidstring uuid

UUID of the specific object instance this task is related to. Must be a valid UUID corresponding to an existing object of the type specified in related_object.

task_completestring

Boolean flag indicating whether the task has been completed (1) or is still pending (0). When set to 1, the completed_timestamp and completed_by_staff_uuid fields are automatically populated.

completed_timestampstring

The date and time when the task was marked as complete. Format is YYYY-MM-DD HH:MM:SS. Automatically set when task_complete is changed to 1.

completed_by_staff_uuidstring uuid

UUID of the staff member who marked the task as complete. Automatically set to the current staff member's UUID when task_complete is changed to 1.

assigned_to_staff_uuidstring uuid

UUID of the staff member assigned to complete this task. Must be a valid staff UUID in the system.

{"stackTrail":"components:schemas:Task:properties:lng","oasType":"schema","type":"unknown","description":"DEPRECATED"}
{"stackTrail":"components:schemas:Task:properties:lat","oasType":"schema","type":"unknown","description":"DEPRECATED"}
uuidstring uuid

Unique identifier for this record

active0 | 1

Record active/deleted flag. Valid values are [0,1]

edit_datestring

Timestamp at which record was last modified

created_by_staff_uuidstring uuid
create_datestring

Timestamp at which record was last modified

Example response

{
  "due_date": "YYYY-MM-DD",
  "related_object_uuid": "123e4567-2fe0-47f9-9ba2-23f94c9b0eab",
  "completed_timestamp": "2026-03-01 12:00:00",
  "completed_by_staff_uuid": "123e4567-906b-40e0-af57-23f94565949b",
  "assigned_to_staff_uuid": "123e4567-ba43-4895-b2e2-23f94075142b",
  "uuid": "123e4567-42b2-4942-8e58-23f948bd71cb",
  "edit_date": "2026-03-01 12:00:00",
  "created_by_staff_uuid": "123e4567-a9e6-4c80-a01c-23f94945192b",
  "create_date": "2026-03-01 12:00:00"
}