agreement
Get an agreement by its ID.
Arguments
Agreement identifier.
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 Agreement($id: ID!) {
agreement(id: $id) {
activeProductRates {
...RatesTypeFragment
}
agreedAt
autoTopUpAmountSelectedByUser
earlyTerminationFee
earlyTerminationFeeExpiration
efls {
...EflTypeFragment
}
id
isEligibleForRenewal
isExportingGenerationReadings
outageInformation {
...OutageMapOutputTypeFragment
}
product {
...ProductTypeFragment
}
quoteRequest {
...GetQuoteOutputTypeFragment
}
ratesAgreedAt
seasonalRates {
...SeasonRatesTypeFragment
}
terminatedAt
totalApplicableDayRate
totalApplicableNightRate
totalApplicableRate
validFrom
validTo
}
}
Variables
{
"id": "91926713"
}
Response
{
"data": {
"agreement": {
"activeProductRates": RatesType,
"agreedAt": "1988-09-12T01:30:13.180204+00:00",
"autoTopUpAmountSelectedByUser": 29,
"earlyTerminationFee": "1.0",
"earlyTerminationFeeExpiration": "1984-09-04",
"efls": [EflType],
"id": "91866134",
"isEligibleForRenewal": true,
"isExportingGenerationReadings": true,
"outageInformation": OutageMapOutputType,
"product": ProductType,
"quoteRequest": GetQuoteOutputType,
"ratesAgreedAt": "2010-01-31T03:41:29.072692+00:00",
"seasonalRates": [SeasonRatesType],
"terminatedAt": "2017-11-10T10:25:45.658648+00:00",
"totalApplicableDayRate": "1.0",
"totalApplicableNightRate": "1.0",
"totalApplicableRate": "1.0",
"validFrom": "1971-09-25T13:37:22.370612+00:00",
"validTo": "2021-01-05T06:52:37.738029+00:00"
}
}
}