Skip to main content
POST
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
planned-maintenances
Get all planned maintenances
curl --request POST \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/planned-maintenances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "pagination": {
    "pageSize": 100,
    "page": 0
  }
}
'
{
  "pagination": {
    "pageSize": 100,
    "pageNumber": 0,
    "totalEntries": 1
  },
  "items": {}
}

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

Body

application/json
pagination
object

Request what page is wanted to be retrieved

Response

All maintenance objects of all vehicles in the shortened format

pagination
object
items
object

The key of each property is the vehicle-id and the value the next recommended maintenance