GET
/
v1.0.0
/
tariffs
/
{tariffId}
/
consumption
{
  "totalPages": 1,
  "content": [
    {
      "cost": 0.25,
      "endDate": "2023-11-07T05:31:56Z",
      "consumption": 2.23,
      "startDate": "2023-11-07T05:31:56Z"
    }
  ],
  "totalElements": 1
}

Authorizations

X-API-KEY
string
headerrequired

ApiKey used for authorization and authentication

Path Parameters

tariffId
string
required

Tariff ID

Query Parameters

page
integer

Zero-based page index (0..N)

size
integer

The size of the page to be returned. Default value is 100. Maximum value is 2000.

Response

200 - application/json
totalPages
integer
required

Total number of pages.

content
object[]
required

Elements in the page. If there is no elements the list will be empty.

totalElements
integer
required

Total number of elements.