gasReading
List of gas readings.
Arguments
ID of the account.
The reading's energy qualification.
ID of the PCE.
End period date (exclusive) of the reading.
Starting period date (inclusive) of the reading.
The type of the reading.
The processing status of the reading.
Possible Errors
Allowed Viewers
Query Complexity
1Examples
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 GasReading(
$accountNumber: String!,
$after: String,
$before: String,
$energyQualification: ReadingQualification,
$first: Int,
$last: Int,
$pceRef: String!,
$periodEndAt: Date,
$periodStartAt: Date,
$readingType: ReadingType,
$statusProcessed: ReadingStatus
) {
gasReading(
accountNumber: $accountNumber,
after: $after,
before: $before,
energyQualification: $energyQualification,
first: $first,
last: $last,
pceRef: $pceRef,
periodEndAt: $periodEndAt,
periodStartAt: $periodStartAt,
readingType: $readingType,
statusProcessed: $statusProcessed
) {
edgeCount
edges {
...GasReadingEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"accountNumber": "A-0E8D5A3A",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"energyQualification": "M",
"first": 10,
"last": 10,
"pceRef": "thousand-civil-support-high-keep",
"periodEndAt": "1976-09-02",
"periodStartAt": "2004-01-05",
"readingType": "A",
"statusProcessed": "OK"
}
Response
{
"data": {
"gasReading": {
"edgeCount": 35,
"edges": [GasReadingEdge],
"pageInfo": PageInfo,
"totalCount": 38
}
}
}