get_consumption
Retrieve smart-meter electricity consumption in kWh for a chosen date: 15-minute intervals for one day, or daily totals for a week or month.
Instructions
Smart-meter consumption (kWh): one day in 15-minute steps, or a week / month of daily totals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | First day, yyyy-MM-dd. | |
| bpNumber | No | Business partner number; defaults to the signed-in customer's. | |
| meterCode | No | deviceCode from list_meters. | |
| contractId | No | Contract number; defaults to the first contract. | |
| resolution | No | day: that day in 15-minute steps; week / month: daily totals from that day. | |
| meterSerial | No | deviceNumber from list_meters; defaults to the first meter. |