GET
getGasGraphData
Returns the gas consumption for a given time period. The data is given in the interval you specify and for the time period between the given from- and toTime parameters. If no parameters are specified, the default values will be used. The default time period is the last 24 hours and the default interval is hourly.
Resource URL
https://api.toon.eu/toon/v3 /{agreementId}/consumption/gas/data
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. |
|
interval |
Determines what time intervals there will be between consumption measurements. Value can be Hours/Days/Weeks/Months/Years. |
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...