Download OpenAPI specification:
Technical documentation of the DKVLive Public API.
List GNSS and FMS data by vehicle ID in the given time interval with the given resolution The admissible time resolution is:
| organizationId required | integer <int64> Organization ID |
| vehicleId required | integer <int64> Vehicle ID |
| filter required | string Example: filter=[{"f":"timestamp","o":"gte","v":"2022-01-19T23:00:00Z"},{"f":"timestamp","o":"lte","v":"2022-01-25T23:00:00Z"},{"f":"resolution","o":"eq","v":"600"}] Filters the results based on the given field names. A typical filter is structured like:
Filtering is required, and must be done by:
|
| showTotal | boolean Defines if the return parameter total is included. |
| offset | integer Defines what is the offset from the first result. |
| pageSize | integer Defines how many results are returned. |
{- "messages": [
- {
- "severity": "string",
- "title": "string",
- "body": "string",
- "params": [
- "string"
]
}
], - "pagination": {
- "totalUnfiltered": 0,
- "total": 0,
- "pageSize": 0
}, - "payload": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "latitude": 23.98437,
- "longitude": 41.92744,
- "gpsSpeed": 50.21,
- "altitude": 321.5,
- "inclination": 5.5
}
]
}| organizationId required | integer <int64> Organization ID |
| showTotal | boolean Defines if the return parameter total is included. |
| offset | integer Defines what is the offset from the first result. |
| pageSize | integer Defines how many results are returned. |
| search | string The field is used for free text search by licensePlate, VIN, vehicle name and model (by prefix). |
| filter | string Example: filter=[{"o":"or","i":[{"f":"trailerable","o":"eq","v":"1"},{"f":"trailerable","o":"nex"}]}, {"f":"productionDate","o" :"gte","v":"2021-10-15T12:30:00Z"}, {"f":"productionDate","o" :"lte","v":"2023-10-05T15:20:30Z"}, {"f":"hasFuelCard","o":"eq","v":"0"}] Filters the results based on the given field names. A typical filter is structured like:
Filtering is allowed by:
|
| sort | string Example: sort=-vin,brand Sorts the results based on the given field names. If the field name is given, the results are sorted by given field name in ascending order. Adding a minus in front of the field name, the results are ordered in descending order. Sorting of the results is allowed by:
|
{- "messages": [
- {
- "severity": "string",
- "title": "string",
- "body": "string",
- "params": [
- "string"
]
}
], - "pagination": {
- "totalUnfiltered": 0,
- "total": 0,
- "pageSize": 0
}, - "payload": [
- {
- "divisionId": 0,
- "name": "string",
- "licensePlate": "string",
- "registrationCountry": "string",
- "permissibleTotalWeight": 60000,
- "vin": "stringstringstrin",
- "vehicleType": "bus",
- "vehicleBodyType": "box",
- "trailerable": true,
- "mileage": 0,
- "engineHours": 0,
- "brand": "Alfa Romeo",
- "model": "string",
- "productionDate": "2019-08-24T14:15:22Z",
- "weightClassification": "n1",
- "height": 99999,
- "length": 99999,
- "width": 99999,
- "numberOfAxles": 0,
- "fuelType": "diesel",
- "fuelCapacity": 2000,
- "pollutantCategory": "euro_1",
- "status": "active",
- "id": 0,
- "organizationId": 0,
- "online": true,
- "createdAt": "string",
- "createdBy": 0,
- "updatedAt": "string",
- "updatedBy": 0,
- "version": 0,
- "divisionName": "string",
- "hasDevice": true
}
]
}