Contract metrics
Returns consumption and pricing history and forecasts for a given contract
role:application scope or Linked relation on customer level.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Customer number
Contract number
Query Parameters
Start of period
End of period
Information about interval to get contract metrics Interval of contract metrics
Members:
- QuarterHourly - QuarterHourly
- Hourly - Hourly
- Daily - Daily
- Weekly - Weekly
- Monthly - Monthly
- Yearly - Yearly
QuarterHourly, Hourly, Daily, Weekly, Monthly, Yearly Information about metric type to get contract metrics Type of contract metrics
Members:
- Consumption - Total energy consumption (kWh) in the selected period
- Saving - Monetary savings in the selected period (EUR), compared to the local default supplier (Grundversorger)
- TotalCost - Total cost in the selected period (EUR). This includes both working price (per kWh) and base price (per month) cost components. For periods shorter than one month, the base price is prorated accordingly. Note that this can differ from invoiced amounts depending on the tariff conditions.
- WorkingPrice - Working price (EUR/kWh) in the selected period. Note that this can differ from invoiced amounts depending on the tariff conditions.
- Co2Saving - Savings in CO2 emissions in kg, based on the default energy grid mix
Consumption, Saving, TotalCost, WorkingPrice, Co2Saving Information about metric value type to get contract metrics Type of returned value
Members:
- Actual - Always return actual data only
- Forecast - Always return forecast data only
- Dynamic - Dynamically returns actual OR forecast data (never mixed) based on backend decision.
- Combined - Combine forecast values and actual values. Show actual values instead of forecast values for a specific moment if available.
Actual, Forecast, Dynamic, Combined Response
OK
API response DTO with data.
Success status of the operation based on status code (2xx range).
true
Optional message to provide additional information about the operation result.
null
Optional error details in case of an error(s).
Optional reference URI to point to the resulting resource.
Returned data instance.