Skip to main content

Fields

consumption : ConsumptionConnection

Energy consumption recorded by the meter.

Arguments
after : String
before : String
first : Int
grouping : ConsumptionGroupings! required

Aggregate consumption according to this grouping.

last : Int
startAt : DateTime! required

Earliest consumption reading to return. Must specify a timezone.

timezone : String! required

Timezone to use for grouping.

consumptionUnits : String

The units of consumption for a smart meter.

fuelType : String

The type of fuel this meter uses.

hasAndAllowsHhReadings : Boolean

Returns if the meter has and allows half hourly readings.

isReadyForTopup : Boolean

Returns if the meter is ready for top up.

isTradPrepay : Boolean

Returns if the meter is a traditional prepay meter.

nodeId : ID! required

This lets us get around the fact that we already use the field id as a primary key. We will migrate the id field over to be this id eventually.

requiresCotFinalReading : Boolean

Whether this meter requires a final change of tenancy (COT) reading.

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

{ "activeFrom": "2002-11-13", "activeTo": "2009-11-05", "bypassFitted": "car-probably-tell-can-allow", "collarFitted": "plant-child-act-education-nature", "consumption": ConsumptionConnection, "consumptionUnits": "responsibility-get-lose-speak-cost", "correction": 237.41, "createdAt": "2006-11-02T01:07:15.030947+00:00", "currentMeterAssetManager": "series-continue-decision-push-them", "fuelType": "not-professional-scene-by-another", "hasAndAllowsHhReadings": true, "id": "54912313", "imperial": true, "installationDate": "2015-11-18", "instructions": "identify-responsibility-take-consider-analysis", "isDigital": true, "isReadyForTopup": true, "isTradPrepay": true, "lastInspectionDate": "1972-01-23", "linkCode": "marriage-build-find-tax-own", "location": "sometimes-generation-deep-treat-class", "locationDescription": "everything-term-scene-gun-already", "manufacturedYear": 28, "manufacturerCode": "suddenly-hour-leader-per-leg", "measuringCapacity": "1.0", "mechanism": "CR", "meterPoint": GasMeterPointType, "meterType": "her-give-he-manage-outside", "modelName": "across-edge-back-production-yourself", "nodeId": "64281559", "operationalStatusDate": "1993-01-27", "owner": "health-relationship-continue-police-shoulder", "prepayLedgers": PrepayLedgersType, "pulseValue": "1.0", "readingFactor": "1.0", "readings": GasMeterReadingConnectionTypeConnection, "registers": [GasMeterRegisterType], "requiresAccess": true, "requiresCotFinalReading": true, "serialNumber": "bed-fight-interesting-state-accept", "smartDevices": [SmartMeterDeviceType], "smartGasMeter": SmartMeterDeviceType, "status": "LI", "units": 26, "updatedAt": "2000-12-01T18:59:26.688228+00:00" }