Skip to main content

Arguments

accountNumber : String! required

The account number to check enrollment for.

campaignSlug : String! required

The slug of the campaign to check enrollment for.

supplyPointIdentifier : String! required

The supply point identifier to check enrollment for.

Returns

Boolean

The Boolean scalar type represents true or false.

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 IsEnrolledInCustomerFlexibilityCampaign( $accountNumber: String!, $campaignSlug: String!, $supplyPointIdentifier: String! ) { isEnrolledInCustomerFlexibilityCampaign( accountNumber: $accountNumber, campaignSlug: $campaignSlug, supplyPointIdentifier: $supplyPointIdentifier ) }

Variables

{ "accountNumber": "A-F4450312", "campaignSlug": "perform-window-record-whose-attack", "supplyPointIdentifier": "43236520" }

Response

{ "data": { "isEnrolledInCustomerFlexibilityCampaign": true } }