v1

latestOpenAPI 3.1.02026-07-2617501.1 MB

Fetch the location of all subscribed vehicles

get/v1/freight_visibility/vehicle_locations

Response

200

Example response

{
  "data": {
    "vehicle_details": [
      {
        "start_time": "2020-04-05T20:05:49Z",
        "end_time": "2020-04-07T20:05:49Z",
        "vehicle_location": {
          "lat": 3,
          "lon": 4,
          "located_at": "2020-04-06T19:50:54Z",
          "description": "10.0 km N of SF, CA"
        },
        "current_driver": {
          "id": 4897,
          "first_name": "Guiseppe",
          "last_name": "Beatty",
          "email": "2781ca4915aa@keeptruckin.com",
          "status": "active",
          "role": "driver"
        },
        "vehicle_id": "32451",
        "vehicle_name": "vehicle_13",
        "company_id": "KT3206119",
        "tracking_subscription_id": 1410
      }
    ]
  },
  "pagination": {
    "per_page": 25,
    "page_no": 1,
    "total": 2
  }
}