mcsInstallations
Look up MCS installation data by certificate number or import MPAN.
Arguments
Returns
[MCSInstallationType]!Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
- KT-GB-4505: The provided MCS certificate number is not valid.
- KT-GB-4508: The MCS API is currently unavailable.
- KT-GB-4509: Your system is not configured to fetch data from the MCS API, please contact support.
- KT-GB-4510: Exactly one of certificateNumber or importMpan must be provided.
- KT-GB-4511: Your system is not configured to fetch data from the MCS API in this way, please contact support.
- KT-GB-4512: The provided MPAN is not valid.
Allowed Viewers
Required Permissions
Can query mcs apiQuery Complexity
5Examples
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 McsInstallations(
$certificateNumber: String,
$importMpan: String
) {
mcsInstallations(
certificateNumber: $certificateNumber,
importMpan: $importMpan
) {
addressLine1
addressLine2
addressLine3
certificateNumber
commissioningDate
county
countyDescription
createdDate
declaredNetCapacity
dnoNotificationCompliance
dnoNotificationComplianceDescription
estimatedAnnualGeneration
generationMeterReading
generationMeterSerialNumber
installationType
installationTypeDescription
mpan
postcode
status
statusDescription
technology
technologyDescription
totalCapacity
}
}
Variables
{
"certificateNumber": "must-interview-thousand-scientist-local",
"importMpan": "chance-certainly-will-particularly-different"
}
Response
{
"data": {
"mcsInstallations": [
{
"addressLine1": "specific-democratic-law-theory-billion",
"addressLine2": "bill-apply-charge-hear-focus",
"addressLine3": "evidence-add-main-knowledge-scientist",
"certificateNumber": "field-ok-finish-send-company",
"commissioningDate": "1997-09-09",
"county": 58,
"countyDescription": "check-black-but-five-yes",
"createdDate": "1997-12-19T18:02:55.084782+00:00",
"declaredNetCapacity": 693.71,
"dnoNotificationCompliance": 82,
"dnoNotificationComplianceDescription": "game-ok-none-sometimes-follow",
"estimatedAnnualGeneration": 707.5,
"generationMeterReading": "statement-traditional-coach-movie-teach",
"generationMeterSerialNumber": "value-appear-fly-people-article",
"installationType": "information-ahead-growth-outside-thing",
"installationTypeDescription": "their-decide-total-year-trade",
"mpan": "finish-yet-his-similar-across",
"postcode": "prepare-why-go-situation-past",
"status": 29,
"statusDescription": "doctor-statement-floor-data-that",
"technology": 13,
"technologyDescription": "its-space-behavior-impact-check",
"totalCapacity": 546.93
}
]
}
}