<aside> đź‘‹
We can help you set this up - please contact if struggling
</aside>
In workflow, add a background-event notification.
The URL for the production API is https://hybrid.connect-direct.energynetworks.org/.The URL for the sandbox / test API is https://hybrid.connect-direct.tst.energynetworks.org/
Update HEADER:
{
'Authorization': 'secret-string-12345-********',
'X-API-Key': 'secret-string-12345-********',
'X-Tenant-Id': 'tenant-username-id-123456',
'Host': 'hybrid.connect-direct.{env}.energynetworks.org',
}
Create: POST “URL + /connection-application/v1/create”
Files are supported by using FILE custom fields, by adding “dno” in front of file name in the payload. Here is an example Payload:
{
"applicationClass": "GENERATION_GENERAL",
"lcts": [
"BATTERY"
],
"additionalAttachments": [
{
"fileUrl": {{dnoFile customFieldId}}
}
],
"cutOutImages": [
{
"fileUrl": {{dnoFile customFieldId}}
}
],
"subInstallerUsername": "string",
"applicationClassVersion": 0,
"installerCustomerDetails": {
"installerName": "string",
"installerCompany": "string",
"installerPhone": "string",
"installerEmail": "[email protected]",
"customerEmail": "[email protected]",
"customerName": "string",
"customerPhone": "string",
"mainAddress": "string",
"installationPostCode": "string",
"mpan": "string",
"meterNumber": "string"
},
"supplyDetails": {
"declaredVoltageAtConnectionPoint": "230 V",
"phaseCode": 1,
"isCtMetered": true,
"premisesCutOutRating": 60,
"isLoopedSupply": true,
"isNoIssues": true,
"isNoSafetyConcerns": true,
"isExportLimitDevicePresent": true,
"exportLimitDeviceDetails": {
"exportLimitSLDAttachment": {
"fileUrl": "string"
},
"exportLimitDeviceClass": "G100",
"g100ExportLimitDeviceSysRef": "string"
}
},
"existingDevices": [
{
"powerFactor": 1,
"isBeingRemoved": true,
"deviceClass": "EXISTING_GEN_ENA_REGISTERED",
"deviceType": "BATTERY",
"deviceSysRef": "string"
}
],
"devicesToInstall": [
{
"deviceClass": "GEN_DEVICE_GENERAL_ENA_REGISTERED",
"deviceType": "BATTERY",
"deviceSysRef": "string",
"targetInstallDate": "string",
"generatorType": "Photovoltaic",
"energyStorageCapacity": 0,
"powerFactor": 1
}
],
"newPremisesMaxDemand": {
"newPremisesMaxDemand": 0
}
}