Skip to main content
POST
/
api
/
v1
/
fleets
/
{assetProviderCountryCode}
/
{assetProviderCode}
/
{vehicleId}
/
charging
Charging history
curl --request POST \
  --url https://api.smartmove.eu/m2m/api/v1/fleets/{assetProviderCountryCode}/{assetProviderCode}/{vehicleId}/charging \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "pagination": {
    "pageSize": 100,
    "page": 0
  },
  "filters": [
    {
      "field": "fromDatetime",
      "operation": "IN",
      "value": "<unknown>"
    }
  ]
}
'
{
  "items": [
    {
      "id": "<string>",
      "fromDatetime": "2025-10-07T10:24:41.143Z",
      "fromSoC": 123,
      "status": "ACTIVE",
      "toDatetime": "2025-10-07T10:24:41.143Z",
      "location": {
        "latitude": 15.01,
        "longitude": 2.8
      },
      "toSoC": 123,
      "chargedKWh": 123
    }
  ],
  "pagination": {
    "pageSize": 100,
    "pageNumber": 0,
    "totalEntries": 1
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

assetProviderCountryCode
string
required

The two-letter country code of the asset provider the vehicles belong to

Required string length: 2
assetProviderCode
string
required

The three-character code of the asset provider the vehicles belong to

Required string length: 3
vehicleId
string
required

The id of the vehicle

Body

application/json

The request body enables both paginating through all charging sessions and filtering as well

pagination
object

Request what page is wanted to be retrieved

filters
object[]

Response

Paginated response of the charging sessions to which the filters apply

items
object[]
required
pagination
object
required