v1

latestOpenAPI 3.1.02026-07-2617501.1 MB

Fetch the company's speeding events

get/v1/speeding_events

Query parameters

driver_idsinteger

Specify the driver ID of the driver for whom you want to fetch the speeding events. You can also add multiple driver IDs.

vehicle_idsinteger

Specify the vehicle ID for which you want to fetch the speeding events. You can also add multiple vehicle IDs.

start_datestring date

Specify the start date from when you want to fetch the speeding events for the drivers. Default: TODAY() - 1 WEEK

end_datestring date

Specify the end_date within which you want to fetch the speeding events. Default: TODAY()

Response

200

Example response

{
  "speeding_events": [
    {
      "speeding_event": {
        "speeding_distance_in_km": 5.400000000000205,
        "max_over_speed_in_kph": 52.00027389627999,
        "avg_over_speed_in_kph": 52.00027389627998,
        "min_posted_speed_limit_in_kph": 97.99972610372001,
        "max_posted_speed_limit_in_kph": 97.99972610372001,
        "avg_vehicle_speed": 150,
        "min_vehicle_speed": 150,
        "max_vehicle_speed": 150,
        "id": 32878,
        "duration": 69,
        "start_lat": 43.1546835,
        "start_lon": -78.717243,
        "end_lat": 43.1546144,
        "end_lon": -78.7161983,
        "type": "posted",
        "start_time": "2023-03-08T16:28:17Z",
        "end_time": "2023-03-08T16:29:26Z",
        "coaching_status": "coachable",
        "status": "invalid",
        "driver": {
          "id": 30762,
          "first_name": "Arsal",
          "last_name": "ZeroLog",
          "email": "arsal.azeem+zero_log@gomotive.com"
        },
        "eld_device": {
          "id": 50840,
          "identifier": "01134453",
          "model": "lbb-3.55ca"
        },
        "vehicle": {
          "id": 9021,
          "number": "Mehru",
          "status": "active"
        },
        "metadata": {
          "severity": "critical",
          "trigger": "speeding"
        }
      }
    }
  ]
}