getDistrictHeatGraphData

GET

getDistrictHeatGraphData

Returns the districtheat 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/districtheat/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 the 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

HTTP Basic

OAuth 2.0

API Key

Reset

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 Code
    Error Code
    Description
  • 400

    Bad Request

  • 500

    Internal server error

Resource Summary

Security

Working...