GET
getElectricityFlowData
Returns the electricity consumption for a given time period in 5 minute intervals. The data is given for the time period between the given from- and toTime parameters. The data will be returned in an array appended under the field �??hours�??. If no parameters are specified, the default time period will be used, which is the last 24 hours.
Resource URL
https://api.toon.eu/toon/v3 /{agreementId}/consumption/electricity/flows
Query Parameters
Name | Values | Description |
---|---|---|
fromTime |
A Java timestamp in milliseconds used to determine the start of the period that data is collected from. |
|
toTime |
A Java timestamp in milliseconds used to determine the end of the period that data is collected from. |
Header Parameters
Name | Values | Description |
---|---|---|
Content-Type |
|
Request Body
agreementId Agreement id true
Make a request and see the response.
Make a request and see the response.
Make a request and see the response.
Response Error Details
-
HTTP CodeError CodeDescription
-
400
Bad Request
-
500
Internal server error
Resource Summary |
|
Security |
Working...