Skip to main content

Arguments

mpan : String

The MPAN of the meter point.

productCode : ID

The product code.

Returns

[ConsentGranularityValue]

The reading consent granularity to be set.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can access customer queries
OR Can query meter point

Query Complexity

2

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 SettableConsentGranularities( $mpan: String, $productCode: ID ) { settableConsentGranularities( mpan: $mpan, productCode: $productCode ) }

Variables

{ "mpan": "population-year-executive-in-vote", "productCode": "79506621" }

Response

{ "data": { "settableConsentGranularities": "HALF_HOURLY" } }