APIs/Connected Vehicle APIVersion 2
APIs/Connected Vehicle APIVersion 2
Statistics
Get statistics
Endpoint used to get vehicle values grouped under the category of statistics. The latest retrieved value is presented upon a successful execution.
get
https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/statistics
Scopes
openid
conve:trip_statistics
Headers
All these header values are mandatory. They must exist in every request.
Response body
The response’s data node lists the vehicle’s latest statistic values.
The vehicle have two trip meters, tripMeter1 and tripMeter2. This enables calculations between two different journeys in separate trip meter readings.
Examples
curl -X GET 'https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/statistics' \
-H 'accept: application/json' \
-H 'authorization: Bearer <your-access-token>' \
-H 'vcc-api-key: <your-vcc-api-key>'