Skip to main content
GET
/
vehicle
/
{vehicle_id}
/
summary
/
today
Get vehicle summary of today
curl --request GET \
  --url https://ctechnology.io/api/v2.2/vehicle/{vehicle_id}/summary/today \
  --header 'Authorization: <api-key>'
{
  "header": {
    "api_version": "<string>",
    "status": "<string>",
    "message": "<string>",
    "permission_via": [
      {
        "permission": "<string>",
        "via": "me",
        "organization_id": "<string>"
      }
    ]
  },
  "data": {
    "vehicle_id": "<string>",
    "date": "2023-12-25",
    "vehicle_moved": true,
    "home_locations": [
      [
        {
          "longitude": 123,
          "latitude": 123,
          "radius": 123,
          "duration": 123
        }
      ]
    ],
    "speed_max": 123,
    "speed_avg": 123,
    "distance_tot": 123,
    "duration_tot": 123,
    "battery_main_min": 123,
    "battery_main_max": 123,
    "num_trips": 123,
    "fuel_used_pct": 123,
    "fuel_used": 123,
    "fuel_num_refueled": 123
  }
}

Authorizations

Authorization
string
header
required

Note that the API key has to be sent as Token 123 where 123 is the key you received after logging in or by creating on the developer dashboard.

Path Parameters

vehicle_id
string
required

ID of vehicle to retrieve summary for.

Response

Successful retrieval of this vehicle's daily summary of today. Note that this summary might be incomplete still.

header
API Header Single · object
required

Default header sent along with single-resource responses.

data
Vehicle Summary Day · object
required

A summary of a vehicle's activities on a given day.