followOnProduct
Follow on product.
Arguments
Returns
FollowOnProductTypePossible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
- KT-GB-9510: At least one agreement ID is required.
- KT-GB-9511: Please, provide either electricity_agreement_id or gas_agreement_id. Both are not accepted.
- KT-GB-9512: No agreement found.
- KT-GB-9513: No follow on product found.
Allowed Viewers
Query 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 FollowOnProduct(
$accountNumber: String!,
$electricityAgreementId: ID,
$gasAgreementId: ID,
$validAt: DateTime!
) {
followOnProduct(
accountNumber: $accountNumber,
electricityAgreementId: $electricityAgreementId,
gasAgreementId: $gasAgreementId,
validAt: $validAt
) {
accountType
activeFrom
activeTo
createdAt
paymentMethod
renewalProducts {
...RenewalProductTypeFragment
}
}
}
Variables
{
"accountNumber": "A-C093533F",
"electricityAgreementId": "19362262",
"gasAgreementId": "57671092",
"validAt": "1973-10-16T15:21:11.119615+00:00"
}
Response
{
"data": {
"followOnProduct": {
"accountType": "BUSINESS",
"activeFrom": "1995-01-14T15:08:42.686039+00:00",
"activeTo": "1979-04-16T04:34:20.219443+00:00",
"createdAt": "2010-03-10T07:57:32.314619+00:00",
"paymentMethod": "DIRECT_DEBIT",
"renewalProducts": [RenewalProductType]
}
}
}