Submit cumulative meter records
Accepts array of meter records holding energy use as cumulative values.
- If you are metering a device, submit records under
device_id. - If you are metering a location (i.e. main supply address meter), submit records under
location_id.
Documentation Index
Fetch the complete documentation index at: https://docs.flatpeak.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Authenticate with bearer you obtained from authentication endpoint.
Body
Flatpeak location_id that you are submitting metering records for.
"loc_641b90b758fb8e6293716e40"
Units of measure, supported values are WH, KWH.
"WH"
Metering data array
Flatpeak device_id you are submitting metering records for. If you provided both location_id and device_id your records will be attributed to device_id.
"dev_65e6d8334c8d715963d99db3"
A reference for a group of metering records, for example, a charging session ID.
"SESSION1234567890"
Energy flow direction. Set to INBOUND or OUTBOUND. Defaults to INBOUND.
"INBOUND"
Tariff direction. Set to IMPORT, EXPORT or LOCAL. Defaults to match the direction parameter.
"IMPORT"
Response
Flatpeak ID for this submission.
"bat_65e42b7827c0526548432b9f"
Object name, i.e. meter_batch.
"meter_batch"
Number of received metering records.
18379
Number of accepted metering records.
18378
Number of processed metering records.
32
Returns details of any meter records that failed processing
Time when this object was created. In UTC.
"2023-11-07T05:31:56Z"
Flatpeak account ID.
"acc_661677911f2197045e6cf1b1"

