Skip to main content

Schedule or unschedule a job.

Updates the schedule of a specific job. The job status must be either new, scheduled or unscheduled to use this endpoint (required scope jobs:write)

Path Parameters
    jobId int64 required
Header Parameters
    Customer-Id int64 required

    The customer identifier

Request Body
    resourceId int64 nullable

    The unique identifier of the resource assigned to this job. If the chosen resource is not active for job watch, the request will be rejected with a 422. If null and the chosen vehicle id is fixed to a resource, this will be automatically populated

    vehicleId int64 nullable

    The unique identifier of the vehicle assigned to this job. If null and the chosen resource id is fixed to a vehicle, this will be automatically populated

    plannedStartAt date-time nullable

    The UTC timestamp of when the job is planned to start

Responses

No Content

Loading...