Skip to main content

Arguments

mpan : String

MPAN of the import meter point linked to the meter.

Returns

SmartTariffComparisonType

Consumption cost for different smart tariffs.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can access customer queries
OR Can query property

Query Complexity

1

Examples

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.

Query

query SmartTariffComparison($mpan: String) { smartTariffComparison(mpan: $mpan) { consumptionReadingsEndAt consumptionReadingsStartAt costComparisons { ...TariffComparisonTypeFragment } currentCost currentCostWithTax } }

Variables

{ "mpan": "parent-so-guess-hospital-mind" }

Response

{ "data": { "smartTariffComparison": { "consumptionReadingsEndAt": "1971-05-04T08:35:02.279329+00:00", "consumptionReadingsStartAt": "2002-12-01T08:59:16.472556+00:00", "costComparisons": [TariffComparisonType], "currentCost": 37.73, "currentCostWithTax": 542.1 } } }