fetchElectricitySupplyPointDetails
Poll OCCTO using the Supply Point Identification Number.
Arguments
Returns
FetchElectricitySupplyPointDetailsOutput type of the fetchElectricitySupplyPointDetails mutation.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
- KT-JP-4602: Quoted electricity supply points cannot be found.
- KT-JP-4603: OCCTO could not process the request.
- KT-JP-4604: SPIN does not exist on OCCTO.
- KT-JP-4605: An unexpected error occurred when trying to fetch SPIN details.
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.
mutation FetchElectricitySupplyPointDetails($input: FetchElectricitySupplyPointDetailsInput!) {
fetchElectricitySupplyPointDetails(input: $input) {
quotedSupplyPoint {
...QuotedElectricitySupplyPointFragment
}
quoteRequest {
...QuoteFragment
}
}
}
Variables
{
"input": FetchElectricitySupplyPointDetailsInput
}
Response
{
"data": {
"fetchElectricitySupplyPointDetails": {
"quotedSupplyPoint": QuotedElectricitySupplyPoint,
"quoteRequest": Quote
}
}
}