Skip to main content
POST
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
{vehicleId}
/
registration-certificates
Create registration certificate
curl --request POST \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/registration-certificates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "registrationDate": "2023-12-25",
  "licensePlate": "<string>",
  "current": true,
  "vehicleType": "<string>",
  "bodyType": "Compact",
  "variant": "<string>",
  "engineType": "<string>",
  "description": "<string>",
  "address": {
    "name": "<string>",
    "street": "<string>",
    "countryCode": "<string>",
    "zipCode": "<string>",
    "city": "<string>"
  }
}
'
{
  "registrationDate": "2023-12-25",
  "licensePlate": "<string>",
  "current": true,
  "vehicleType": "<string>",
  "bodyType": "Compact",
  "variant": "<string>",
  "engineType": "<string>",
  "description": "<string>",
  "address": {
    "name": "<string>",
    "street": "<string>",
    "countryCode": "<string>",
    "zipCode": "<string>",
    "city": "<string>"
  },
  "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "blobFrontSide": {
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "filename": "<string>",
    "uploaded": false
  },
  "blobBackSide": {
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "filename": "<string>",
    "uploaded": false
  },
  "ocrStatusFrontSide": "NOT_STARTED",
  "ocrStatusBackSide": "NOT_STARTED"
}

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

Id of vehicle

Body

application/json

Information about the to be created registration certificate

registrationDate
string<date>
required
licensePlate
string
Maximum string length: 255
current
boolean

Indicates the classification as the most current one

vehicleType
string

not defined yet

Maximum string length: 255
bodyType
enum<string>
Available options:
Compact,
Convertible,
Coupe,
OffRoadOrPickUp,
StationWagon,
Sedans,
Van,
Transporter,
Other
variant
string

not defined yet

Maximum string length: 255
engineType
string

not defined yet

Maximum string length: 255
description
string

Additional description

Maximum string length: 255
address
object

Response

The created registration certificate

registrationDate
string<date>
required
licensePlate
string
Maximum string length: 255
current
boolean

Indicates the classification as the most current one

vehicleType
string

not defined yet

Maximum string length: 255
bodyType
enum<string>
Available options:
Compact,
Convertible,
Coupe,
OffRoadOrPickUp,
StationWagon,
Sedans,
Van,
Transporter,
Other
variant
string

not defined yet

Maximum string length: 255
engineType
string

not defined yet

Maximum string length: 255
description
string

Additional description

Maximum string length: 255
address
object
uuid
string<uuid>

registration certificate id

blobFrontSide
object
blobBackSide
object
ocrStatusFrontSide
enum<string>
Available options:
NOT_STARTED,
MANUAL,
PROCESSING,
PROCESSED,
ERROR
ocrStatusBackSide
enum<string>
Available options:
NOT_STARTED,
MANUAL,
PROCESSING,
PROCESSED,
ERROR