Instantly calculate energy cost
Ingests a meter record and instantly returns import or export monetary value (cost) of energy by FlatPeak location_id
or device_id
.
Authorizations
Authenticate with bearer_token
you obtained from /login endpoint.
Query Parameters
Indicates direction you want to work with. Set to IMPORT
or EXPORT
.
Set to true
if you want to include tariff data.
Set to true
if you want to include carbon intensity data.
Body
FlatPeak location_id
that you are submitting metering records for.
FlatPeak device_id
you are submitting metering records for. If you provided both location_id
and device_id
your records will be attribited to device_id
.
A reference for a group of metering records, for example, a charging session ID.
A reference for this metering record, for example, meter log ID.
Indicates metering direction. Set to IMPORT
or EXPORT
. Defaults to IMPORT
.
Possible options are OFFERED
or TRANSFERRED
. Currently only TRANSFERRED
is supported.
Units of measure, supported values are W
, KW
, WH
, KWH
.
Amount of energy measured.
Metering record start time.
Metering record end time.
Response
FlatPeak meter record id.
FlatPeak object type, i.e. meter_record
.
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.
Currency code for cost of energy measure. Always returned in large currency units.
Units of energy measure.
Units of carbon emissions measure.
Value of energy object
Time when this object was created.
Was this page helpful?