Skip to main content
PUT
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
{vehicleId}
/
inspection
/
{inspectionId}
Update an inspection report manually
curl --request PUT \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/inspection/{inspectionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inspectionFacility": "ÖAMTC Wien Landstraße",
  "inspectionDate": "2023-04-08",
  "nextInspection": "2025-04-01",
  "reportNumber": "12345678XX",
  "mileage": 14345,
  "testMass": 1415,
  "maxLadenMass": 1865,
  "city": "<string>",
  "notes": "<string>",
  "brakeFluidBoilingPoint": 200,
  "emissionPassed": true,
  "brakePerformance": {
    "serviceBrakeSystem": 123,
    "secondaryBrakeSystem": 123,
    "parkingBrake": 123
  },
  "axlePerformance": {
    "frontAxle": {
      "serviceBrakeLeft": 123,
      "serviceBrakeRight": 123,
      "parkingBrakeLeft": 123,
      "parkingBrakeRight": 123
    },
    "rearAxle": {
      "serviceBrakeLeft": 123,
      "serviceBrakeRight": 123,
      "parkingBrakeLeft": 123,
      "parkingBrakeRight": 123
    }
  },
  "defects": [
    {
      "title": "<string>",
      "severity": "MINOR"
    }
  ]
}
'
{
  "id": 123,
  "status": "PLANNED",
  "ocrStatus": "NOT_STARTED",
  "estimationStatus": "NOT_STARTED",
  "inspectionFacility": "ÖAMTC Wien Landstraße",
  "inspectionDate": "2023-04-08",
  "nextInspection": "2025-04-01",
  "reportNumber": "12345678XX",
  "mileage": 14345,
  "testMass": 1415,
  "maxLadenMass": 1865,
  "city": "<string>",
  "notes": "<string>",
  "brakeFluidBoilingPoint": 200,
  "emissionPassed": true,
  "brakePerformance": {
    "serviceBrakeSystem": 123,
    "secondaryBrakeSystem": 123,
    "parkingBrake": 123
  },
  "axlePerformance": {
    "frontAxle": {
      "serviceBrakeLeft": 123,
      "serviceBrakeRight": 123,
      "parkingBrakeLeft": 123,
      "parkingBrakeRight": 123
    },
    "rearAxle": {
      "serviceBrakeLeft": 123,
      "serviceBrakeRight": 123,
      "parkingBrakeLeft": 123,
      "parkingBrakeRight": 123
    }
  },
  "defects": [
    {
      "title": "<string>",
      "severity": "MINOR"
    }
  ],
  "plannedFrom": "2023-12-25",
  "plannedTo": "2023-12-25",
  "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

inspectionId
integer<int64>
required

The id of the vehicle inspection

Body

application/json

Inspection report that should replace the one under the specified id

inspectionFacility
string
Example:

"ÖAMTC Wien Landstraße"

inspectionDate
string<date>
Example:

"2023-04-08"

nextInspection
string<date>
Example:

"2025-04-01"

reportNumber
string
Example:

"12345678XX"

mileage
integer

In kilometers

Example:

14345

testMass
number<float>
Example:

1415

maxLadenMass
number<float>
Example:

1865

city
string
notes
string
brakeFluidBoilingPoint
integer
Example:

200

emissionPassed
boolean
brakePerformance
object
axlePerformance
object
defects
object[]

Response

Updated inspection report

id
integer<int64>
required
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
inspectionFacility
string
Example:

"ÖAMTC Wien Landstraße"

inspectionDate
string<date>
Example:

"2023-04-08"

nextInspection
string<date>
Example:

"2025-04-01"

reportNumber
string
Example:

"12345678XX"

mileage
integer

In kilometers

Example:

14345

testMass
number<float>
Example:

1415

maxLadenMass
number<float>
Example:

1865

city
string
notes
string
brakeFluidBoilingPoint
integer
Example:

200

emissionPassed
boolean
brakePerformance
object
axlePerformance
object
defects
object[]
plannedFrom
string<date>
plannedTo
string<date>
blobs
object[]