Skip to main content

Arguments

accountNumber : String! required

The account number to check event enrollment for.

after : String
before : String
campaignSlug : String! required

The slug of the campaign to which the event belongs.

first : Int
last : Int
supplyPointIdentifier : String! required

The supply point identifier to check event enrollment for.

Returns

CFCampaignEventConnectionTypeConnection

Paginator of Customer Flexibility Campaign Events

Allowed Viewers

Customer Partner User Third party

Query Complexity

3

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 CustomerFlexibilityCampaignEvents( $accountNumber: String!, $after: String, $before: String, $campaignSlug: String!, $first: Int, $last: Int, $supplyPointIdentifier: String! ) { customerFlexibilityCampaignEvents( accountNumber: $accountNumber, after: $after, before: $before, campaignSlug: $campaignSlug, first: $first, last: $last, supplyPointIdentifier: $supplyPointIdentifier ) { edgeCount edges { ...CFCampaignEventConnectionTypeEdgeFragment } pageInfo { ...PageInfoFragment } totalCount } }

Variables

{ "accountNumber": "A-1BBBB9D8", "after": "YXJyYXljb25uZWN0aW9uOjEw=", "before": "YXJyYXljb25uZWN0aW9uOjEw=", "campaignSlug": "charge-strategy-machine-level-animal", "first": 10, "last": 10, "supplyPointIdentifier": "78488746" }

Response

{ "data": { "customerFlexibilityCampaignEvents": { "edgeCount": 13, "edges": [CFCampaignEventConnectionTypeEdge], "pageInfo": PageInfo, "totalCount": 96 } } }