Skip to main content

Fields

consumptionUnit : String! required

The unit associated with the consumption.

currency : String! required

The currency associated with the cost.

intervals : [CostOfUsageBandInterval]! required

Details of each charging interval inside period.

period : DateTimeRange! required

Overall start and end for the usage period.

totalConsumption : Decimal! required

Total consumption within period, measured in kWh.

totalCost : Decimal! required

Total cost within period, measured in pence.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "consumptionUnit": "plant-save-tree-Mrs-hospital", "currency": "accept-sound-word-trade-production", "intervals": [CostOfUsageBandInterval], "period": DateTimeRange, "totalConsumption": "1.0", "totalCost": "1.0" }