Skip to main content
POST
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
{vehicleId}
/
type-certificate
Create a type certificate
curl --request POST \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/type-certificate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": {
    "name": "<string>",
    "street": "<string>",
    "countryCode": "<string>",
    "zipCode": "<string>",
    "city": "<string>"
  },
  "owner": "<string>",
  "description": "<string>"
}
'
{
  "address": {
    "name": "<string>",
    "street": "<string>",
    "countryCode": "<string>",
    "zipCode": "<string>",
    "city": "<string>"
  },
  "owner": "<string>",
  "description": "<string>",
  "blob": {
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "filename": "<string>",
    "uploaded": false
  },
  "ocrStatus": "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 type certificate

address
object
required
owner
string

Vehicle owner

Maximum string length: 255
description
string

Additional description

Maximum string length: 255

Response

The created type certificate

address
object
required
owner
string

Vehicle owner

Maximum string length: 255
description
string

Additional description

Maximum string length: 255
blob
object
ocrStatus
enum<string>
Available options:
NOT_STARTED,
MANUAL,
PROCESSING,
PROCESSED,
ERROR