Skip to main content
PUT
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
{vehicleId}
/
blobs
/
type-certificate
Add a file to the type certificate
curl --request PUT \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/blobs/type-certificate \
  --header 'Authorization: Bearer <token>'
{
  "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "filename": "<string>",
  "uploaded": false,
  "secret": "<string>",
  "itemId": "<unknown>"
}
This endpoint deals with defining the name and content type of the file. Use Get a file upload link to upload the actual content of the file by providing the UUID and secret from the response.

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

Query Parameters

contentType
enum<string>
required

Content type of the file to be uploaded

Available options:
image/jpeg,
image/png,
application/pdf

Response

The BLOB information

uuid
string<uuid>
required
filename
string
required
uploaded
boolean
default:false
required

Indicates if the BLOB has been uploaded to the storage

secret
string
required

Secret for retrieving links

Minimum string length: 1
itemId
any
required

Id of the item which holds the BLOB. May be string or integer