cURL
curl --request POST \ --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/blobs/offenses \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "contentType": "image/jpeg", "filename": "<string>" } '
{ "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "filename": "<string>", "uploaded": false, "secret": "<string>", "itemId": "<unknown>" }
Upload the image of the ticket
The access token received from the authorization server in the OAuth 2.0 flow.
Asset provider country code
2
Asset provider code
3
Id of vehicle
Blob upload info
image/jpeg
image/png
application/pdf
A default name will be taken if none is provided
The blob information
Indicates if the BLOB has been uploaded to the storage
Secret for retrieving links
1
Id of the item which holds the BLOB. May be string or integer