Skip to main content

Get a job's status history

Retrieve a paged collection of changes to job status (required scope jobs:read)

Path Parameters
    jobId int64 required

    Possible values: >= 1

    The unique identifer of the job

Query Parameters
    sortBy JobStatusSortOptions

    Possible values: [createdAt]

    The field to sort items in the page by

    direction SortDirection

    Possible values: [ascending, descending]

    The direction to apply the sort

    pageNumber int32

    Possible values: >= 1 and <= 2147483

    The page number being requested (minimum: 1, maximum: 2147483)

    pageSize int32

    Possible values: >= 1 and <= 1000

    The page size being requested (minimum: 1, maximum: 1000)

Header Parameters
    Customer-Id int64 required

    The customer identifier

Responses

Success


Schema
    items object[]

    The items returned for the requested page

  • Array [
  • id int64

    The unique identifier of the job status change

    status JobStatus

    Possible values: [new, scheduled, unscheduled, sent, read, accepted, refused, onTheWay, started, suspended, completedOk, completedWithIssues, cancelled, lateStart, lateFinish, rescheduled]

    Describes each possible status of a Job

    Possible values:

    • new: A job that is newly created in BigChange All Jobs start with a New status, regardless of schedule detail
    • scheduled: Job has been scheduled. Scheduled status is when the Vehicle, Driver, and Planned Date Time are all allocated
    • unscheduled: Job has been unscheduled. Unscheduled status happens when any combination of the Vehicle, Driver, and Planned Date Time are all removed from a Scheduled job
    • sent: The scheduled job has been delivered to the driver's mobile device (tablet/phone). The driver must be logged into BigChange for jobs to be sent
    • read: Job Detail has been read by the Driver on their mobile terminal
    • accepted: Driver accepted the job
    • refused: Driver refused the job
    • onTheWay: Driver indicated they are on route to the Job Address
    • started: Driver has indicated they have started the work detailed in the Job
    • suspended: Driver paused work – ie taking a break
    • completedOk: Job Completed with no issues
    • completedWithIssues: Job Completed with issues
    • cancelled: Job was Cancelled
    • lateStart: Internal Status used by BigChange Alert Management - should not be visible from the the API
    • lateFinish: Internal Status used by BigChange Alert Management - should not be visible from the the API
    • rescheduled: Internal Status used by BigChange Alert Management - should not be visible from the the API

    createdAt date-time

    The UTC timestamp of when this job status history entry was created (when the job status changed)

    actionedBy string

    The name of the user who triggered the change in status

    comment string

    Textual context about the status change that was made

  • ]
  • pageNumber int32

    The page number of the response where 1 is the first page

    pageSize int32

    The number of items requested for the current page

    pageItemCount int32

    The number of items returned in the current page

Loading...