v1

latestOpenAPI 3.0.12026-07-243686491.1 MB
Charges

Retrieve a charge kwh consumption breakdown

Required scope: charges:read. Note: Only available for charges performed on a Monta-connected (via OCPP) charge point.

get/api/v1/charges/{chargeId}/kwh-consumption

Path parameters

chargeIdinteger required

Query parameters

consumptionPeriodSizeInSeconds3600 | 1800 | 900 | 600 | 300 nullable

Filter to retrieve kwh consumption by a given consumptionPeriodSize interval in seconds

Example:3600

Response

Charge kwh consumption breakdown for the given id

chargeIdnumber

Id of the charge

consumptionPeriodSizeInSecondsinteger

Specifies the time interval, in seconds

Example response

{
  "chargeId": 1,
  "consumptionPeriodSizeInSeconds": 3600,
  "kwhConsumption": [
    {
      "time": "2022-05-12T15:00:00Z",
      "value": 15.8
    }
  ]
}