Customer Migrations Guide: Supply Point Import
This page documents the reference information for the APIs for importing supply points for network distribution
Overview
Use this endpoint to validate a supply point payload.
Schema
Responses
The following responses may be returned from the API.
| Status code | Description |
|---|---|
200 - OK |
If the payload is valid, a |
400 - Bad Request |
If there are validation errors a {
"supply_point": {
"identifier": [
"123456789 is not a valid supply point identifier."
]
}
} |
Payloads
Example payload
{
"payload": {
"import_supplier": "TEST_SUPPLIER",
"supply_point": {
"identifier": "4001248530",
"supply_type": "ELECTRICITY_DISTRIBUTION",
"substation": "123456789",
"critical_load": false
},
"cdns": [
{
"transaction_date": "2024-01-01T00:00:00+11:00",
"movement_type": "Update",
"outage_contact": {
"title": "Mr",
"given_name": "Mickey",
"family_name": "Mouse",
"suffix": "XYZ",
"name_type": "AKA",
"phones": [
{
"number": "0400123123",
"service_type": "MOBILE_VOICE",
"prefix": "+61"
},
{
"number": "0400321321",
"service_type": "MOBILE_VOICE",
"prefix": ""
}
],
"email_address": "mrmickey1@waltdisney.com",
"postal_address": {
"administrative_area": "NSW",
"country": "AU",
"locality": "ANY",
"postal_code": "3070",
"delivery_point_identifier": "51234568",
"structured_street_address": {
"house_number_1": "11",
"building_or_property_name": "",
"flat_or_unit_number": "1",
"flat_or_unit_type": "U",
"street_name": "Queen's",
"street_type": "RD"
}
}
}
}
]
}
}Overview
Use this endpoint to create a supply point and associated objects.
Schema
Responses
The following responses may be returned from the API.
| Status code | Description |
|---|---|
201 - Created |
If the payload is valid, and supply point creation has been scheduled, a |
400 - Bad Request |
If there are validation errors, a {
"non_field_errors": {
"detail": "The import process with the supply point identifier 123456789 has already been imported.",
"code": "supply_point_import_process_already_imported"
},
"supply_point_identifier": "123456789"
} |
Payloads
Example payload
{
"payload": {
"import_supplier": "TEST_SUPPLIER",
"supply_point": {
"identifier": "4001248530",
"supply_type": "ELECTRICITY_DISTRIBUTION",
"substation": "123456789",
"critical_load": false
},
"cdns": [
{
"transaction_date": "2024-01-01T00:00:00+11:00",
"movement_type": "Update",
"outage_contact": {
"title": "Mr",
"given_name": "Mickey",
"family_name": "Mouse",
"suffix": "XYZ",
"name_type": "AKA",
"phones": [
{
"number": "0400123123",
"service_type": "MOBILE_VOICE",
"prefix": "+61"
},
{
"number": "0400321321",
"service_type": "MOBILE_VOICE",
"prefix": ""
}
],
"email_address": "mrmickey1@waltdisney.com",
"postal_address": {
"administrative_area": "NSW",
"country": "AU",
"locality": "ANY",
"postal_code": "3070",
"delivery_point_identifier": "51234568",
"structured_street_address": {
"house_number_1": "11",
"building_or_property_name": "",
"flat_or_unit_number": "1",
"flat_or_unit_type": "U",
"street_name": "Queen's",
"street_type": "RD"
}
}
}
}
]
}
}Overview
Use this endpoint to retrieve the current status of a supply point import.
Responses
The following responses may be returned from the API.
| Status code | Description |
|---|---|
200 - OK |
If the supply point import process exists, a For example when there is no error in processing: {
"status": "PROCESSED | PENDING | CANCELLED | DRY_RUN_SUCCEEDED | IN_PROGRESS",
"kraken_identifier": null,
"created_at": "2025-10-07T09:00:21.179194+02:00",
"modified_at": "2025-10-07T09:06:38.078396+02:00",
"latest_event": {
"event": "EVENT_SUPPLY_POINT_IMPORT_PROCESS_CREATED",
"occurred_at": "2025-10-07T09:00:21.179194+02:00",
"data": null
},
"latest_error": null
}For example when the import process is processed we have an internal kraken id: {
"status": "PROCESSED",
"kraken_identifier": "INTERNAL-KRAKEN-IDENTIFIER",
"created_at": "2025-10-07T09:00:21.179194+02:00",
"modified_at": "2025-10-07T09:06:38.078396+02:00",
"latest_event": {
"event": "EVENT_SUPPLY_POINT_IMPORT_PROCESS_PROCESSED",
"occurred_at": "2025-10-07T09:06:38.078396+02:00",
"data": null
},
"latest_error": null
}For example when there is an error in processing: {
"status": "ERRORED | DRY_RUN_ERRORED",
"kraken_identifier": null,
"created_at": "2025-10-07T09:00:21.179194+02:00",
"modified_at": "2025-10-07T09:06:38.078396+02:00",
"latest_event": {
"event": "EVENT_SUPPLY_POINT_IMPORT_PROCESS_ERRORED",
"occurred_at": "2025-10-07T09:06:38.078396+02:00",
"data": {
"code": "some_error_code",
"detail": "A detailed error message",
"domain": "import_process"
}
},
"latest_error": {
"code": "some_error_code",
"detail": "A detailed error message",
"domain": "import_process"
}
} |
404 - Not Found | If there is not a matching import process: {
"detail": "The requested resource was not found.",
"code": "not_found"
} |