Skip to main content
POST
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
{vehicleId}
/
offenses
/
new
Create a new offense
curl --request POST \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/offenses/new \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "paid": true,
  "customer": {
    "mobilityProviderCountryCode": "AT",
    "mobilityProviderCode": "ABC",
    "customerId": "828c2d1c-d933-4138-9577-02c292b6d869"
  },
  "title": "<string>",
  "committedTimestamp": "2025-10-07T10:24:41.143Z",
  "location": "<string>",
  "amount": 123,
  "currency": "<string>",
  "offenseStatement": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "paid": true,
  "customer": {
    "mobilityProviderCountryCode": "AT",
    "mobilityProviderCode": "ABC",
    "customerId": "828c2d1c-d933-4138-9577-02c292b6d869"
  },
  "title": "<string>",
  "committedTimestamp": "2025-10-07T10:24:41.143Z",
  "location": "<string>",
  "amount": 123,
  "currency": "<string>",
  "offenseStatement": "<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

The offense that should be created

paid
boolean
required
customer
object
title
string
committedTimestamp
string<date-time>
Example:

"2025-10-07T10:24:41.143Z"

location
string
amount
number<double>
currency
string
Required string length: 3
offenseStatement
string

Response

The created offense

id
string<uuid>
required
paid
boolean
required
customer
object
title
string
committedTimestamp
string<date-time>
Example:

"2025-10-07T10:24:41.143Z"

location
string
amount
number<double>
currency
string
Required string length: 3
offenseStatement
string
blob
object
ocrStatus
enum<string>
Available options:
NOT_STARTED,
MANUAL,
PROCESSING,
PROCESSED,
ERROR