Skip to main content
POST
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
{vehicleId}
/
maintenance
Create a new maintenance report manually
curl --request POST \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/maintenance \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Annual Maintenance Report",
  "maintenanceDate": "2023-04-08",
  "mileage": 123456,
  "cost": 250.75,
  "currency": "EUR"
}
'
{
  "id": 123,
  "status": "PLANNED",
  "ocrStatus": "NOT_STARTED",
  "estimationStatus": "NOT_STARTED",
  "title": "Annual Maintenance Report",
  "maintenanceDate": "2023-04-08",
  "mileage": 123456,
  "cost": 250.75,
  "currency": "EUR",
  "plannedToDate": "2025-10-17T00:00:00.000Z",
  "plannedToMileage": 123,
  "blobs": [
    {
      "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "filename": "<string>",
      "uploaded": false
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

assetProviderCountryCode
string
required

Asset provider country code

Required string length: 2
assetProviderCode
string
required

Asset provider code

Required string length: 3
vehicleId
string
required

Vehicle unique identifier

Body

application/json

Maintenance report that should be created

title
string
Example:

"Annual Maintenance Report"

maintenanceDate
string<date>
Example:

"2023-04-08"

mileage
integer

In kilometers

Example:

123456

cost
number<double>

Cost of the maintenance in the local currency

Example:

250.75

currency
string

Currency code of the cost, e.g. EUR, USD

Example:

"EUR"

Response

Newly created maintenance report

id
integer<int64>
required

Vehicle maintenance report id

status
enum<string>
required
Available options:
PLANNED,
EXECUTED
ocrStatus
enum<string>
required
Available options:
NOT_STARTED,
MANUAL,
PROCESSING,
PROCESSED,
ERROR
estimationStatus
enum<string>
required
Available options:
NOT_STARTED,
PROCESSING,
PROCESSED,
ERROR
title
string
Example:

"Annual Maintenance Report"

maintenanceDate
string<date>
Example:

"2023-04-08"

mileage
integer

In kilometers

Example:

123456

cost
number<double>

Cost of the maintenance in the local currency

Example:

250.75

currency
string

Currency code of the cost, e.g. EUR, USD

Example:

"EUR"

plannedToDate
string<date>
Example:

"2025-10-17T00:00:00.000Z"

plannedToMileage
integer
blobs
object[]