createSimpleService
Create a simple service gas agreement for an account.
This creates a supply point, supply period, and agreement for an OEJP simple-service gas product (for example, GAS_SUPPLY_TOKYO or GAS_SUPPLY_OSAKA).
Arguments
Input fields for creating a simple service gas agreement.
Returns
CreateSimpleServiceCreate a simple service gas agreement for an account.
This creates a supply point, supply period, and agreement for an OEJP simple-service gas product (for example, GAS_SUPPLY_TOKYO or GAS_SUPPLY_OSAKA).
Possible Errors
- KT-CT-1111: Unauthorized.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-1503: Agreement valid_to date must be later than valid_from date.
- KT-CT-1509: Unable to create agreement.
- KT-CT-1511: Cannot create overlapping agreement.
- KT-CT-1512: Account type does not support agreements.
- KT-CT-4123: Unauthorized.
- KT-CT-4910: No product exists with the given input.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can create simple service agreements Can query agreements Can query agreement paramsQuery 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 CreateSimpleService($input: CreateSimpleServiceInput!) {
createSimpleService(input: $input) {
simpleService {
...CommonAgreementTypeFragment
}
}
}
Variables
{
"input": CreateSimpleServiceInput
}
Response
{
"data": {
"createSimpleService": {
"simpleService": CommonAgreementType
}
}
}