Skip to main content
GET
/
v1
/
vehicles
/
{vehicle_id}
/
journeys
List Vehicle Journeys
curl --request GET \
  --url https://api.volteras.com/v1/vehicles/{vehicle_id}/journeys \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "<string>",
      "vehicleId": "<string>",
      "startTimestamp": "2023-11-07T05:31:56Z",
      "vin": "<string>",
      "distanceTravelledKm": 123,
      "odometerStart": 123,
      "odometerEnd": 123,
      "energyUsedKwh": 123,
      "energyStartKwh": 123,
      "energyEndKwh": 123,
      "socUsed": 123,
      "socStart": 123,
      "socEnd": 123,
      "stopTimestamp": "2023-11-07T05:31:56Z",
      "startLatitude": 123,
      "startLongitude": 123,
      "stopLatitude": 123,
      "stopLongitude": 123
    }
  ],
  "nextPageToken": "<string>",
  "estimatedTotalResults": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

vehicle_id
string
required

Unique internal identifier for the vehicle.

Query Parameters

maxPageSize
integer

Max size of the returned list.

pageToken
string | null

Page token used for pagination.

filter
string | null

Listing filter schema.

Response

200 - application/json

Successful Response

results
VehicleJourneyResponse · object[]
required

Returned data from the listing query.

nextPageToken
string | null
required

Next page token used for pagination.

estimatedTotalResults
integer
required

Estimated total result count.