ELD Events

Retrieve a list of ELD events

Retrieves a list of ELD events with pagination metadata. If driverId is not provided, returns the most recent ELD events.

get/v2/eldEvents

Request

  • Base URL: https://api.onswitchboard.com
  • URL: https://api.onswitchboard.com/v2/eldEvents
  • Auth: API key in header x-api-id and API key in header x-api-key

Query parameters

limitinteger

Maximum number of results to return per request (1-50)

pagestring

Deprecated. Use cursorId instead. Offset-based page number (0 or greater); page * limit must not exceed 500.

cursorIdstring

Object id from meta.nextCursor of the previous response. Returns the next page after this id (exclusive).

driverIdstring

The id of the driver for ELD events. If not provided, returns the most recent ELD events for all drivers.

startmillisinteger

The starting epoch timestamp in milliseconds (0 or greater)

endmillisinteger

The ending epoch timestamp in milliseconds (0 or greater)

sort'asc' | 'desc'

Sort order for eventDateTime. Options: "asc" (ascending) or "desc" (descending). Defaults to "desc".

Response

Successfully retrieved ELD Events

dataELDEvent[] (unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.