agreementsForRollover
Get agreements eligible for the rollover process.
Arguments
Possible Errors
Allowed Viewers
Required Permissions
Can query agreementsQuery Complexity
1Examples
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 AgreementsForRollover(
$daysBeforeExpiration: Int!,
$windowSize: Int!
) {
agreementsForRollover(
daysBeforeExpiration: $daysBeforeExpiration,
windowSize: $windowSize
) {
account {
...AccountFragment
}
address
agreedAt
agreedFrom
agreedTo
characteristicValues {
...CharacteristicValueInterfaceFragment
}
gasCustomerNumber
gasSupplyPointId
id
isActive
isRevoked
params
product {
...SupplyProductTypeFragment
}
ratesAgreedAt
rescissionDeadlineAt
supplyPoint {
...SupplyPointTypeFragment
}
terminatedAt
validFrom
validTo
}
}
Variables
{
"daysBeforeExpiration": 70,
"windowSize": 70
}
Response
{
"data": {
"agreementsForRollover": [
{
"account": Account,
"address": "speech-respond-most-enter-system",
"agreedAt": "1974-02-07T03:05:35.652549+00:00",
"agreedFrom": "2010-02-15T01:13:05.196219+00:00",
"agreedTo": "1992-01-23T13:05:20.254566+00:00",
"characteristicValues": CharacteristicValueInterface,
"gasCustomerNumber": "enough-show-onto-make-city",
"gasSupplyPointId": "74897935",
"id": "24833140",
"isActive": true,
"isRevoked": true,
"params": {"key": "value"},
"product": SupplyProductType,
"ratesAgreedAt": "1982-06-06T07:31:16.668986+00:00",
"rescissionDeadlineAt": "1976-05-23T05:32:08.012309+00:00",
"supplyPoint": SupplyPointType,
"terminatedAt": "1973-03-19T18:08:01.068166+00:00",
"validFrom": "1973-11-09T21:45:57.832700+00:00",
"validTo": "1996-07-05T13:47:09.055481+00:00"
}
]
}
}