Skip to main content
PUT
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
{vehicleId}
/
information
Update vehicle information
curl --request PUT \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/information \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "vin": "0F0EAATTRBPC3CDBB",
  "vendor": "BMW",
  "model": "Zoe",
  "variant": "Long Range",
  "licensePlate": "W-53A",
  "fuelType": "DIESEL",
  "seats": 5,
  "gear": "Manual",
  "firstRegistrationDate": "2023-08-17",
  "buildYear": 2023
}
'
{
  "vin": "0F0EAATTRBPC3CDBB",
  "vendor": "BMW",
  "model": "Zoe",
  "variant": "Long Range",
  "licensePlate": "W-53A",
  "fuelType": "DIESEL",
  "seats": 5,
  "gear": "Manual",
  "firstRegistrationDate": "2023-08-17",
  "buildYear": 2023
}

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 new vehicle information that should replace the current one of the specified vehicle

vin
string
required
Example:

"0F0EAATTRBPC3CDBB"

vendor
string
Example:

"BMW"

model
string
Example:

"Zoe"

variant
string
Example:

"Long Range"

licensePlate
string
Example:

"W-53A"

fuelType
enum<string>
Available options:
DIESEL,
REGULAR,
PLUS,
ELECTRIC,
HYBRID,
PLUGINHYBRID
seats
integer
Example:

5

gear
enum<string>
Available options:
Manual,
Automatic,
SemiAutomatic
firstRegistrationDate
string<date>
Example:

"2023-08-17"

buildYear
integer
Example:

2023

Response

The new vehicle information

vin
string
required
Example:

"0F0EAATTRBPC3CDBB"

vendor
string
Example:

"BMW"

model
string
Example:

"Zoe"

variant
string
Example:

"Long Range"

licensePlate
string
Example:

"W-53A"

fuelType
enum<string>
Available options:
DIESEL,
REGULAR,
PLUS,
ELECTRIC,
HYBRID,
PLUGINHYBRID
seats
integer
Example:

5

gear
enum<string>
Available options:
Manual,
Automatic,
SemiAutomatic
firstRegistrationDate
string<date>
Example:

"2023-08-17"

buildYear
integer
Example:

2023