Update mileage
Once a vehicle is declared, the distances of all trips are aggregated to calculate the total analyzed distance.
If the vehicle has already been driven before it has been registered on the platform, there will be an offset between the vehicle odometer and the total analyzed distance (computed by DriveQuant services).
If you find an offset between the vehicle's odometer and the total analyzed distance, you can set vehicle mileage.
The vehicle mileage value is updated :
Every time a trip is analyzed.
Each time the odometer update API is used.
If you have your admin API key, you can try the API via this link.
Vehicle mileage update
PUT
https://service.drivequant.com/v3/drivekit/admin/vehicles/{vehicleId}/distance
Update the vehicle mileage unsing the vehicle unique identifier.
Path Parameters
vehicleId
string
Vehicle unique identifier
Headers
DriveKit-Admin-API-Key
string
Admin API Key
Request Body
distance
number
Vehicle odometer reading in kilometer
Last updated