v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-211931021.7 MB
Job Activities

Retrieve a Job Activity

OAuth Scope

This endpoint requires the following OAuth scope read_schedule.

get/jobactivity/{uuid}.json

Path parameters

uuidstring uuid required

UUID of the Job Activity

Response

Job Activity record retrieved successfully

job_uuidstring uuid

The UUID of the job this activity belongs to

staff_uuidstring uuid

The UUID of the staff member assigned to this activity

start_datestring

The scheduled start date and time of the activity

end_datestring

The scheduled end date and time of the activity

activity_was_scheduledstring

Boolean flag indicating whether this activity was scheduled in advance. Cannot be true if activity_was_recorded is true.

activity_was_recordedstring

Boolean flag indicating whether this activity was recorded after completion rather than scheduled in advance. Cannot be true if activity_was_scheduled is true.

activity_was_automatedstring

Integer flag indicating if the activity was automated: 0

has_been_openedstring

Boolean flag indicating whether the assigned staff member has viewed this job activity. Resets to false if the staff member or start time is changed. Only relevant when activity_was_scheduled is true.

has_been_opened_timestampstring

The date and time when the assigned staff member first viewed this job activity. Format is YYYY-MM-DD HH:MM:SS. Resets when staff member or start time is changed. Only relevant when activity_was_scheduled is true.

travel_time_in_secondsinteger

The estimated travel time to reach this activity location in seconds

travel_distance_in_metersinteger

The estimated travel distance to reach this activity location in meters

{"stackTrail":"components:schemas:JobActivity:properties:allocated_by_staff_uuid","oasType":"schema","type":"unknown","description":"DEPRECATED"}
{"stackTrail":"components:schemas:JobActivity:properties:allocated_timestamp","oasType":"schema","type":"unknown","description":"DEPRECATED"}
material_uuidstring uuid

The UUID of the material associated with this activity. Used to determine the cost of the activity.

uuidstring uuid

Unique identifier for this record

active0 | 1

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

edit_datestring

Timestamp at which record was last modified

edit_by_staff_uuidstring uuid

UUID of Staff Member who last modified record

Example response

{
  "job_uuid": "123e4567-6936-44d0-83ba-23f9472be1fb",
  "staff_uuid": "123e4567-a0f7-474a-82bd-23f94f782d2b",
  "start_date": "2026-03-01 12:00:00",
  "end_date": "2026-03-01 12:00:00",
  "has_been_opened_timestamp": "2026-03-01 12:00:00",
  "material_uuid": "123e4567-7e05-487e-8d4f-23f949cabc8b",
  "uuid": "123e4567-6368-44da-9b33-23f94fc2f5bb",
  "edit_date": "2026-03-01 12:00:00",
  "edit_by_staff_uuid": "123e4567-d7fe-421d-8379-23f9423667ab"
}