annualGasConsumption
The annual gas consumption data for an MPRN.
Arguments
The MPRN of the meterpoint to return.
Returns
GasConsumptionType!Possible Errors
Allowed Viewers
Required Permissions
Can query annual consumptionQuery Complexity
5Examples
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 AnnualGasConsumption($mprn: String!) {
annualGasConsumption(mprn: $mprn) {
aq
aqEffectiveFromDate
supplierEffectiveFromDate
supplierName
}
}
Variables
{
"mprn": "matter-glass-major-memory-professor"
}
Response
{
"data": {
"annualGasConsumption": {
"aq": 73,
"aqEffectiveFromDate": "2007-11-24",
"supplierEffectiveFromDate": "1987-08-18",
"supplierName": "fish-situation-bed-full-surface"
}
}
}