Traces
This will create one or many traces with the provided license plate number.
In the endpoint's URL, you must replace {vendor}
by the name given to you by your Dashdoc project manager.
All vehicles specified in the request must exist in Dashdoc with the provided license plate, otherwise the request will return a 400 error.
Authorizations
Body
license_platestring · max: 200RequiredExample:
License plate number
AB123CD
countrystringOptionalExample:
Country code of the license plate
FR
timestringOptionalExample:
Timestamp at which the trace was generated. ISO-8601 format.
2022-02-01T08:00:00Z
mileageintegerOptionalExample:
Mileage expressed in kilometers
123
latitudenumberOptionalExample:
Latitude of the position of the vehicle
42.2
longitudenumberOptionalExample:
Longitude of the position of the vehicle
2.3522
Responses
201Success
application/json
post
POST /api/v4/telematics/traces/{vendor}/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 121
{
"license_plate": "AB123CD",
"country": "FR",
"time": "2022-02-01T08:00:00Z",
"mileage": 123,
"latitude": 42.2,
"longitude": 2.3522
}
201Success
{
"pk": 17293,
"license_plate": "AB123CD",
"country": "FR",
"time": "2022-02-01T08:00:00Z",
"mileage": 123,
"latitude": 42.2,
"longitude": 2.3522
}
Last updated
Was this helpful?