extendAgreementPeriod
Extend the period of an agreement.
Arguments
Input for extending the agreement period.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-1501: Agreement not found.
- KT-CT-1504: Account does not match with the agreement.
- KT-CT-1505: Unable to edit agreement.
- KT-CT-1506: Agreement period is not within the supply and property period.
- KT-CT-1514: Extension valid_to date must be later than the current valid_to date.
- KT-CT-1515: Agreement must have an end date to be extensible.
- KT-CT-4178: No account found with given account number.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can extend agreements 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.
mutation ExtendAgreementPeriod($input: ExtendAgreementPeriodInput!) {
extendAgreementPeriod(input: $input) {
agreement {
...CommonAgreementTypeFragment
}
}
}
Variables
{
"input": ExtendAgreementPeriodInput
}
Response
{
"data": {
"extendAgreementPeriod": {
"agreement": CommonAgreementType
}
}
}