electricityReading
List of electricity readings.
Arguments
ID of the account.
The calendar type of the reading.
End period date (exclusive) of the reading.
Starting period date (inclusive) of the reading.
ID of the PRM.
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 ElectricityReading(
$accountNumber: String!,
$after: String,
$before: String,
$calendarType: CalendarType,
$first: Int,
$last: Int,
$periodEndAt: Date,
$periodStartAt: Date,
$prmId: String!,
$statusProcessed: ReadingStatus
) {
electricityReading(
accountNumber: $accountNumber,
after: $after,
before: $before,
calendarType: $calendarType,
first: $first,
last: $last,
periodEndAt: $periodEndAt,
periodStartAt: $periodStartAt,
prmId: $prmId,
statusProcessed: $statusProcessed
) {
edgeCount
edges {
...ElectricityReadingEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"accountNumber": "A-91529378",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"calendarType": "PROVIDER",
"first": 10,
"last": 10,
"periodEndAt": "1991-07-04",
"periodStartAt": "2007-01-20",
"prmId": "34013025",
"statusProcessed": "OK"
}
Response
{
"data": {
"electricityReading": {
"edgeCount": 80,
"edges": [ElectricityReadingEdge],
"pageInfo": PageInfo,
"totalCount": 57
}
}
}