getActiveCosLossProcessesForAccount
Fetch all the active COS loss processes for the account.
Arguments
The account number of the account of which to query active COS loss processes.
Returns
[ActiveCosLossProcess]Possible Errors
Allowed Viewers
Required Permissions
Can send loss objection for change of supplierQuery 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 GetActiveCosLossProcessesForAccount($accountNumber: String!) {
getActiveCosLossProcessesForAccount(accountNumber: $accountNumber) {
addressLine1
addressLine2
addressLine3
cosLossProcessFuelType
cosLossProcessId
hasOpenErroneousTransfer
postcode
supplyEndDate
}
}
Variables
{
"accountNumber": "A-B0394E85"
}
Response
{
"data": {
"getActiveCosLossProcessesForAccount": [
{
"addressLine1": "tonight-performance-first-it-seven",
"addressLine2": "size-couple-personal-close-win",
"addressLine3": "kitchen-tree-rock-paper-energy",
"cosLossProcessFuelType": "ELECTRICITY",
"cosLossProcessId": 80678025,
"hasOpenErroneousTransfer": true,
"postcode": "class-sing-throw-key-finally",
"supplyEndDate": "1992-09-04"
}
]
}
}