Tariff for user
Consumption for user
Returns a paginated list of consumption of a tariff in hourly periods for the user.The list is sorted in the way that the latest records are shown first.
GET
/
v1.0.0
/
users
/
{userId}
/
tariffs
/
{tariffId}
/
consumption
Authorizations
X-API-KEY
string
headerrequiredApiKey used for authorization and authentication
Path Parameters
userId
string
requiredUser ID
tariffId
string
requiredTariff 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
requiredTotal number of pages.
content
object[]
requiredElements in the page. If there is no elements the list will be empty.
totalElements
integer
requiredTotal number of elements.