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 :

  1. Every time a trip is analyzed.

  2. 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

Headers

Request Body

{
  "analyzedDistance": 4589,
  "creationDate": "2020-01-10T10:00:00.125+0200",
  "distance": 10052,
  "offsetDistance": 5463
}

Last updated