Skip to main content
POST
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
{vehicleId}
/
logbook
/
statistics
Get logbook statistics
curl --request POST \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/logbook/statistics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "driver": {
    "mobilityProviderCountryCode": "AT",
    "mobilityProviderCode": "ABC",
    "customerId": "828c2d1c-d933-4138-9577-02c292b6d869"
  },
  "timeframe": {
    "fromDatetime": "2025-10-07T10:24:41.143Z",
    "toDatetime": "2025-10-07T10:24:41.143Z"
  },
  "type": "Business"
}
'
{
  "totalDistance": 123,
  "hoursDriven": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

assetProviderCountryCode
string
required

The two-letter country code of the asset provider the vehicles belong to

Required string length: 2
assetProviderCode
string
required

The three-character code of the asset provider the vehicles belong to

Required string length: 3
vehicleId
string
required

The id of the vehicle

Body

application/json

The request body contains the user, time frame and potentially the trip type as well for which the statistics should be calculated

driver
object
required
timeframe
object
required
type
enum<string>

Type of trip

Available options:
Business,
Private

Response

The summarised statistics

totalDistance
integer
required

The covered distance

hoursDriven
integer
required

Sum of all the hours driven