Job Activities

Create a new Job Activity

OAuth Scope

This endpoint requires the following OAuth scope manage_schedule.

Record UUID

UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the x-record-uuid response header.

post/jobactivity.json

Request body

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

job_uuidstring uuid
staff_uuidstring uuid
start_datestring
end_datestring
activity_was_scheduledstring
activity_was_recordedstring
activity_was_automatedstring
has_been_openedstring
has_been_opened_timestampstring
travel_time_in_secondsstring
travel_distance_in_metersstring
allocated_by_staff_uuidstring uuid
allocated_timestampstring
material_uuidstring uuid
edit_by_staff_uuidstring uuid

UUID of Staff Member who last modified record

Example request

{
  "uuid": "123e4567-b9c1-452c-93f4-230c4cc92ceb",
  "edit_date": "2025-07-01 12:00:00",
  "job_uuid": "123e4567-bac7-48a3-bc9a-230c4ed8b4cb",
  "staff_uuid": "123e4567-0b66-4137-a3b3-230c4e9e480b",
  "start_date": "2025-07-01 12:00:00",
  "end_date": "2025-07-01 12:00:00",
  "has_been_opened_timestamp": "2025-07-01 12:00:00",
  "allocated_by_staff_uuid": "123e4567-7b5b-480e-bb40-230c46e7827b",
  "allocated_timestamp": "2025-07-01 12:00:00",
  "material_uuid": "123e4567-5fcd-4681-9f33-230c4813949b",
  "edit_by_staff_uuid": "123e4567-e378-4a39-9c1c-230c45be3bab"
}

Response

Success

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}

Changes