Calculate energy cost by session ID
Returns monetary value (cost) of energy by session_reference_id
that have been previously submitted to a /meters endpoint.
Authorizations
Path Parameters
FlatPeak session_reference_id
from meter record as submitted by you via /meters
endpoints.
Query Parameters
Indicates direction you want to work with. Set to IMPORT
or EXPORT
. Defaults to IMPORT
.
Set to true
if you want to include tariff data.
Set to true
if you want to include carbon intensity data.
Response
FlatPeak account id.
FlatPeak unique object ID that represents this response.
FlatPeak object type. I.e. energy_cost
.
FlatPeak object location_id
or device_id
cost data is for.
Has the value true
if the object exists in live mode or the value false if the object exists in test mode.
Indicates energy direction. Supported values are IMPORT
and EXPORT
.
The timezone at the location, in 'tz database format'. I.e. 'Europe/Berlin'.
Currency code for cost of energy measure. Always returned in large currency units.
Units of energy measure.
Units of carbon emissions measure.
Was this page helpful?