Create

This API must be used to create a new vehicle that will belong to your organization. After the vehicle is created, you can add the vehicleId in the trip API request to get the trip scores and data described in the trip analysis section.

We recommend to add a vehicle before requesting the trip analysis service if you need to monitor the vehicle. For each request, the unique vehicle identifier must be added in the trip analysis request.

If you have your admin API key, you can try the API via this link.

Vehicle creation

POST https://service.drivequant.com/v3/drivekit/admin/vehicle

Create a new vehicle belonging to your organisation.

Headers

Request Body

{
	status: true, 
  errorCode: 0
}

Request

beaconIdentifier

Example of JSON body request

{
	"vehiclename": "My car",
	"vehicleId": "<UNIQUE VEHICLE ID>",
	"vehicleCharacteristics": {
     	 "brand": "Renault",
        "model": "Clio 5",
        "version": "V 1.0 SCE 65 LIFE",
        "year": "2020",
    	  "typeIndex": 2,
        "engineIndex": 4,
        "power": 65.0,
        "mass": 1137.0,
        "engineDisplacement": 1.0,
        "gearboxIndex": 1,
        "consumption": 4.82,
        "autoGearboxNumber": 0, 
        "frontTireSize": "185/65/15",
        "rearTireSize": "185/65/15",
        "length": 4.05,
        "width": 1.79,
        "height": 1.44,
        "driveWheels": 0,
        "engineCylinderNb": 3
	},
	"username": "<UNIQUE DRIVER ID>"	
}

Error codes

Last updated