estimatedSupplyPointReadings
Return actual readings within the requested period blended with estimated readings produced by the selected algorithm. The default strategy (EXTRAPOLATE_FORWARD) appends estimated records after the last actual reading. FILL_GAPS interpolates interior gaps between actual readings. ESTIMATE_MISSING_READING estimates a single missing boundary reading with automatically detected direction.
Arguments
Optional meter device identifier to filter readings.
The end of the requested period (exclusive, timezone-aware).
The algorithm strategy to apply when readings are missing or incomplete. Defaults to EXTRAPOLATE_FORWARD.
The market this supply point belongs to.
The reading type to estimate. PEAK is not supported.
Optional register identifier to filter readings.
The start of the requested period (inclusive, timezone-aware).
The market-level external identifier of the supply point (e.g. ICP number).
The time granularity for aggregating readings.
IANA timezone name used for aggregation boundaries (e.g. 'Pacific/Auckland').
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-13605: No estimation algorithm configured for the requested parameters.
- KT-CT-13610: Supply point not found or not configured for estimation.
- KT-CT-13611: No readings found for the requested period.
- KT-CT-13612: PEAK reading type is not supported for estimation.
- KT-CT-13613: Market not configured for supply point readings.
- KT-CT-13614: Invalid timezone.
- KT-CT-13615: No readings available for estimation.
- KT-CT-13616: Meter readings are invalid.
- KT-CT-13617: Unsupported time granularity for estimation.
- KT-CT-13618: Register metadata not found for supply point.
- KT-CT-13619: Multiple register metadata records found for supply point.
- KT-CT-13626: End date cannot be in the future for this estimation strategy.
- KT-CT-13627: Accumulation readings are not supported for this estimation strategy.
- KT-CT-7899: An internal error occurred.
Examples
query EstimatedSupplyPointReadings(
$deviceId: ID,
$endAt: DateTime!,
$estimationStrategy: EstimationStrategy,
$marketName: String!,
$readingType: ReadingTypes!,
$registerId: ID,
$startAt: DateTime!,
$supplyPointId: String!,
$timeGranularity: TimeGranularities!,
$timezone: String!
) {
estimatedSupplyPointReadings(
deviceId: $deviceId,
endAt: $endAt,
estimationStrategy: $estimationStrategy,
marketName: $marketName,
readingType: $readingType,
registerId: $registerId,
startAt: $startAt,
supplyPointId: $supplyPointId,
timeGranularity: $timeGranularity,
timezone: $timezone
) {
intervalEnd
intervalStart
isEstimated
quality
value
}
}
Variables
{
"deviceId": "51751942",
"endAt": "2006-07-12T00:09:22.729185+00:00",
"estimationStrategy": "EXTRAPOLATE_FORWARD",
"marketName": "difficult-management-with-decade-field",
"readingType": "INTERVAL",
"registerId": "65375026",
"startAt": "1992-10-28T10:42:56.146138+00:00",
"supplyPointId": "12133435",
"timeGranularity": "FIVE_MIN",
"timezone": "kid-data-allow-sure-something"
}
Response
{
"data": {
"estimatedSupplyPointReadings": [
{
"intervalEnd": "1984-07-15T20:07:01.678463+00:00",
"intervalStart": "1999-12-07T22:51:48.804384+00:00",
"isEstimated": true,
"quality": "form-bar-pull-for-network",
"value": "1.0"
}
]
}
}