weeklyUsageInsights
Get account status information given its number.
Arguments
The account number to search for.
Returns
WeeklyUsageInsightsTypePossible 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 WeeklyUsageInsights($accountNumber: String!) {
weeklyUsageInsights(accountNumber: $accountNumber) {
accountId
accountNumber
achievedCarbonIndex
achievedCarbonRank
achievedCarbonRate
apiGspGroupName
carbonGrams
consumptionKwh
gspGroupId
hasFullReadings
isLatestWeek
meterPointId
mpan
numberPeriods
periodEnd
periodStart
propertyId
weekStart
}
}
Variables
{
"accountNumber": "A-83E46FC8"
}
Response
{
"data": {
"weeklyUsageInsights": {
"accountId": 44113940,
"accountNumber": "A-3DEC12FF",
"achievedCarbonIndex": "VERY_LOW",
"achievedCarbonRank": "candidate-leg-style-town-along",
"achievedCarbonRate": 62.67,
"apiGspGroupName": "subject-amount-event-brother-before",
"carbonGrams": 28.63,
"consumptionKwh": "point-seat-rather-suffer-production",
"gspGroupId": "62304907",
"hasFullReadings": "form-environmental-employee-player-early",
"isLatestWeek": "onto-small-compare-investment-recently",
"meterPointId": 95682069,
"mpan": "mission-article-good-include-current",
"numberPeriods": "they-interest-production-require-sea",
"periodEnd": "2010-10-20T22:57:48.448484+00:00",
"periodStart": "2012-07-24T13:06:00.791118+00:00",
"propertyId": 43766589,
"weekStart": "1980-01-18T22:22:29.764330+00:00"
}
}
}