Get job events
Changed onRetrieves the events that occurred during a job, such as when it started, when the worker checked in, and when a panic was raised or resolved. Events are returned oldest first, ordered by created_at. Position updates, which together form the job's location trail, can be included as well. Consecutive position updates recorded within 50 meters of each other are combined into a single event. Position updates carry no address of their own; the first and last events of a job's trail are given the job's start address and last known address. Requires the "Lone Worker: Manage" permission.
Request
- Base URLhttps://api.mitti.com
- AuthHTTP bearer
Query parameters
The ID of the job. If omitted, events for every job in the organization are returned, position updates cannot be included, and the page size is required.
Whether to include position updates in the response, forming the job's location trail. Requires the ID of the job.
The maximum number of results to return per page. Must be between 1 and 100 when provided. If omitted, up to 5000 events are returned in a single page.
The token for the page of results to retrieve.
Response
A successful response.
Changes
- info
endpoint added
- info