Skip to main content

Arguments

fromDate : Date! required

The start date from which to pull a weeks worth of data.

postcode : String! required

The postcode area to fetch estimate for.

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

Examples

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

query GetSolarGenerationEstimate( $fromDate: Date!, $postcode: String! ) { getSolarGenerationEstimate( fromDate: $fromDate, postcode: $postcode ) { solarGenerationEstimates { ...SolarGenerationEstimateTypeFragment } } }

Variables

{ "fromDate": "2007-11-05", "postcode": "culture-moment-question-often-wife" }

Response

{ "data": { "getSolarGenerationEstimate": { "solarGenerationEstimates": [SolarGenerationEstimateType] } } }