v1

latestOpenAPI 3.1.02026-07-2617501.1 MB

Fetch all the driver's performance events

get/v1/driver_performance_events

Query parameters

driver_ids[]integer[]

Specify the Driver IDs for whom you want check the performance events.

vehicle_ids[]integer[]

Specify the vehicle IDs to filter out the performance events.

event_typesstring[]

Specify event types if you want the response to fetch only those certain events. Allowed values are hard_accel, hard_brake, and hard_corner.

start_datestring

Specify a start date from when you want the performance events to be fetched. Default: TODAY() - 1 WEEK

end_datestring

Specify an end date before which you want to fetch the driver's performance events. Default: Default: TODAY()

updated_afterstring

Return all driver performance events updated after given time.

Response

200

per_pageinteger
page_nointeger
totalinteger

Example response

{
  "driver_performance_events": [
    {
      "driver_performance_event": {
        "id": 828645972,
        "acceleration": 0.292558613659531,
        "duration": 2,
        "end_bearing": 270.36,
        "end_speed": 30.924,
        "end_time": "2023-03-16T00:22:53Z",
        "lat": 43.0361387,
        "lon": -78.8207746,
        "m_gps_heading": [
          269.82
        ],
        "m_gps_lat": [
          43.0361491
        ],
        "m_gps_lon": [
          -78.8195014
        ],
        "m_veh_spd": [
          20.5
        ],
        "start_bearing": 269.69,
        "start_speed": 48.816,
        "start_time": "2023-03-16T00:22:51Z",
        "type": "hard_brake",
        "vehicle": {
          "id": 421006,
          "number": "Camann_Pilot2",
          "year": "2012",
          "make": "Honda",
          "model": "Pilot"
        },
        "eld_device": {
          "id": 698247,
          "identifier": "AABL36GB270042",
          "model": "lbb-3.6ca"
        },
        "m_gps_spd": [
          68.148
        ],
        "location": "3.5 km E of North Tonawanda, NY",
        "intensity": "-10.3 kph/s",
        "coaching_status": "pending_review"
      }
    }
  ],
  "per_page": 25,
  "page_no": 1,
  "total": 281
}