Download OpenAPI specification:
Content-Type: application/jsonAccept: application/jsonlastPosition list response, documented fields battery and fuelMeterAmount.refuel list response, documented fields odometer and priceVatExchangeRate.ride list response, documented field speedMax.user list response, documented fields firstName and lastName.vehicle list response, documented fields dateAdded, hidden, licenseExpirationDate, and maxSpeed.All requests under this tag share the same basic output structure.
Response Structure:
{
"meta": {
"totalRows": 2524
},
"rowData": [{}]
}
More information about JSON query objects can be found here: https://restdb.io/docs/querying-with-the-api#logicXoperators
Provide the latest vehicle locations and positions.
| q | string Filter results by a search query. |
| limit | integer <= 1000 Default: 25 Number of items per page (default: 25, max: 1000). |
| page | integer Default: 1 The page number to retrieve (default: 1). |
object Example: time=desc&name=asc Sort results by a specific field. |
{- "meta": {
- "totalRows": 0
}, - "rowData": [
- {
- "battery": 0.95,
- "direction": 0.5,
- "driverId": {
- "id": "string"
}, - "fuelMeterAmount": 0.04134,
- "id": "s~375d370cef00bb32eb6e2a0b731b6ce9c07d9ad9f5",
- "lat": 49.00949,
- "location": "Masarykovo nám. 280/12a, 697 01 Kyjov, CZ",
- "locationType": "valid",
- "lon": 17.123777,
- "motohours": null,
- "movementStatus": "end",
- "odometer": null,
- "rideType": 0,
- "time": 1732700103,
- "vehicleId": {
- "id": "string"
}, - "velocity": 0.5
}
]
}Provide a list of the user's vehicles
| q | string Filter results by a search query. |
| limit | integer <= 1000 Default: 25 Number of items per page (default: 25, max: 1000). |
| page | integer Default: 1 The page number to retrieve (default: 1). |
object Example: time=desc&name=asc Sort results by a specific field. |
{- "meta": {
- "totalRows": 0
}, - "rowData": [
- {
- "currency": "CZK",
- "dateAdded": 1509518838,
- "defaultDriverId": {
- "id": "string"
}, - "divisionId": {
- "id": "string"
}, - "fuelCellVolume": 0.055,
- "fuelType": "benzine",
- "hidden": false,
- "id": "s~462defb59ffb923dfbe4a3b130bf09e8646bd29b9d",
- "licenseExpirationDate": 1893456000,
- "licensePlate": "6AL 4788",
- "maxSpeed": 36.11,
- "monitorMotohours": false,
- "motohours": null,
- "odometer": 197567000,
- "title": "Škoda Octavia",
- "vehicleType": "car"
}
]
}Provide the trip history for the vehicle.
| q | string Filter results by a search query. |
| limit | integer <= 1000 Default: 25 Number of items per page (default: 25, max: 1000). |
| page | integer Default: 1 The page number to retrieve (default: 1). |
object Example: time=desc&name=asc Sort results by a specific field. |
{- "meta": {
- "totalRows": 0
}, - "rowData": [
- {
- "bookType": "main",
- "consumption": 0,
- "countryCode": "CZ",
- "dataType": "gps",
- "distance": 28.623,
- "driverId": {
- "id": "string"
}, - "id": "s~0cd8be45584d5877fa1ad0498e46b587e2a5b332b82c7ff9",
- "latFrom": 49.202845,
- "latTo": 49.202849,
- "locationFrom": null,
- "locationTo": null,
- "lonFrom": 16.626643,
- "lonTo": 16.62662,
- "price": 0,
- "rideType": 0,
- "speedAvg": 1.1472222222222,
- "speedMax": 13.8888888889,
- "timeFrom": 1630646933,
- "timeTo": 1630647466,
- "vehicleId": {
- "id": "string"
}
}
]
}Provide a list of vehicle expenses.
| q | string Filter results by a search query. |
| limit | integer <= 1000 Default: 25 Number of items per page (default: 25, max: 1000). |
| page | integer Default: 1 The page number to retrieve (default: 1). |
object Example: time=desc&name=asc Sort results by a specific field. |
{- "meta": {
- "totalRows": 0
}, - "rowData": [
- {
- "amount": 0.1,
- "dateAdded": 0,
- "dateModified": 0,
- "description": "string",
- "expenseTagId": {
- "id": "string"
}, - "id": "string",
- "origin": "axigon",
- "price": {
- "amount": 0.1,
- "currency": "string",
- "vat": 0.1
}, - "priceVatExchangeRate": 0.1,
- "time": 0.1,
- "userId": {
- "id": "string"
}, - "vehicleId": {
- "id": "string"
}
}
]
}Provide user's division list.
| q | string Filter results by a search query. |
| limit | integer <= 1000 Default: 25 Number of items per page (default: 25, max: 1000). |
| page | integer Default: 1 The page number to retrieve (default: 1). |
object Example: time=desc&name=asc Sort results by a specific field. |
{- "meta": {
- "totalRows": 0
}, - "rowData": [
- {
- "countryCode": "CZ",
- "id": "s~700963662dff8be4a2b730bbb4afaff54e12e0a598",
- "name": "Test division"
}
]
}Provide refueling details, including fuel transactions and related information.
| q | string Filter results by a search query. |
| limit | integer <= 1000 Default: 25 Number of items per page (default: 25, max: 1000). |
| page | integer Default: 1 The page number to retrieve (default: 1). |
object Example: time=desc&name=asc Sort results by a specific field. |
{- "meta": {
- "totalRows": 0
}, - "rowData": [
- {
- "amount": 0.04134,
- "dateAdded": 1642163323,
- "dateModified": 1642163347,
- "description": null,
- "gasCellFull": true,
- "id": "s~f2a9a42c2d6f52a1663f03c008f3db28e3a2b734bf2c",
- "odometer": 197567000,
- "origin": "Eurowag",
- "price": {
- "amount": 0.1,
- "currency": "string",
- "vat": 0.1
}, - "priceVatExchangeRate": 1,
- "productName": "Motorová nafta",
- "productType": "benzine",
- "stationName": "BENZINA - Mladá Boleslav II",
- "time": 1638353414,
- "userId": {
- "id": "string"
}, - "vehicleId": {
- "id": "string"
}
}
]
}Provide user details and related information.
| q | string Filter results by a search query. |
| limit | integer <= 1000 Default: 25 Number of items per page (default: 25, max: 1000). |
| page | integer Default: 1 The page number to retrieve (default: 1). |
object Example: time=desc&name=asc Sort results by a specific field. |
{- "meta": {
- "totalRows": 0
}, - "rowData": [
- {
- "disabled": false,
- "email": "podpora@logbookie.eu",
- "firstName": "Podpora",
- "id": "s~790eedaffb9106e7a2b630b79f55fadc014ed3e56c",
- "lastName": null,
- "login": "podpora@logbookie.eu",
- "timezone": "Europe/Prague"
}
]
}Provides user-defined odometer correction data.
| q | string Filter results by a search query. |
| limit | integer <= 1000 Default: 25 Number of items per page (default: 25, max: 1000). |
| page | integer Default: 1 The page number to retrieve (default: 1). |
object Example: time=desc&name=asc Sort results by a specific field. |
{- "meta": {
- "totalRows": 0
}, - "rowData": [
- {
- "id": "s~3128ff13b93f364e4a08736b7c09dd80402d2bcac425",
- "odometer": 2891000,
- "perc": 0,
- "time": 1630646799,
- "userId": {
- "id": "string"
}, - "vehicleId": {
- "id": "string"
}
}
]
}Provide details of the currently logged-in user.
{- "userData": {
- "id": 12345,
- "login": "Prokop Dveře",
- "lastName": "Dveře",
- "firstName": "Prokop",
- "loginHash": "f5cf5c944cd9ab10d8a8721bf95b1d99",
- "role": "user",
- "timezone": "Europe/Prague"
}
}Provide a daily summary of the distance traveled (in meters) or the increase in engine runtime (in seconds) for each vehicle.
| vehicleIds required | string IDs of vehicles. |
| timeFrom required | number <float> Start timestamp of the requested interval. |
| timeTo required | number <float> End timestamp of the requested interval. |
{- "vehicle": "s~5b61023db5887e9gh986f16058f1249ce6a5bc11b8",
- "dailyIncrements": [
- {
- "date": "1680386400",
- "odometerIncrement": 625.01,
- "motohoursIncrement": 6000.12
}, - {
- "date": "1680559200",
- "odometerIncrement": 625.01,
- "motohoursIncrement": 7850.12
}, - {
- "date": "1680645600",
- "odometerIncrement": 625.01,
- "motohoursIncrement": 985.12
}
]
}Provide GPS coordinates, speed information, and the route taken by the vehicle.
| vehicleIds required | string IDs of vehicles. |
| timeFrom required | number <float> Start timestamp of the requested interval. |
| timeTo required | number <float> End timestamp of the requested interval. |
{- "type": "FeatureCollection",
- "features": [
- {
- "type": "Feature",
- "properties": {
- "vehicleId": "s~5c7d7c687adf79a21a15c02de7a4b48d52846130",
- "coordTimes": [
- 1705391253,
- 1705391263,
- 1705391266,
- 1705391267,
- 1705391268,
- 1705391269,
- 1705391271,
- 1705391274,
- 1705391277,
- 1705391279
], - "speed": [
- 0,
- 0,
- 1.9444444444,
- 1.9444444444444,
- 1.9444444444444,
- 2.2222222222222,
- 2.7777777777778,
- 5.2777777777778,
- 7.7777777777778,
- 10,
- 10.555555555556
]
}, - "geometry": {
- "type": "LineString",
- "coordinates": [
- [
- 16.564008,
- 49.169038
], - [
- 16.564008,
- 49.169038
], - [
- 16.563968,
- 49.169033
], - [
- 16.563997,
- 49.169038
], - [
- 16.564017,
- 49.16905
], - [
- 16.564025,
- 49.169072
], - [
- 16.564002,
- 49.169143
], - [
- 16.563922,
- 49.169317
], - [
- 16.563838,
- 49.169565
], - [
- 16.563807,
- 49.169753
]
]
}
}
]
}