cURL
Vehicles
History
Retrieve a vehicle’s status changes over time, newest first.
GET
cURL
A vehicle’s
An empty result means nothing was recorded before that moment, so the vehicle’s history starts later.
active flag tells you where it stands today. This endpoint tells you where it stood at
any past moment, which is what you need when deciding whether a toll happened while the vehicle was
still on your fleet. Vehicles do get deactivated and brought back, so the current flag can’t answer
that on its own.
Each entry is one revision: when it changed, whether the vehicle was on your fleet at that point, and
who made the change.
Entries cover every recorded change to a vehicle, not only the ones that moved it on or off the
fleet, so consecutive entries can carry the same active value.
Status at a point in time
Ask for the newest revision at or before the moment you care about, then read itsactive value:
History starts on 3 June 2023, when revision tracking was added. Vehicles deactivated before then
have no entries, and a lookup for an earlier moment comes back empty rather than reporting a value.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
A unique integer value identifying this vehicle.
Query Parameters
Keep only revisions where the vehicle was (in)active.
Only revisions recorded at or after this moment.
Only revisions recorded at or before this moment.
Created, changed or deleted.
Available options:
+, -, ~ Number of results to return per page.
The initial index from which to return the results.
Available options:
EXIST, PENDING, REMOVED, REQUESTED_REMOVAL 
