Customer Migrations Guide: Pre Account Import
Overview
Use this end-point to populate PRMs and PCEs using Enedis and GRDF. This endpoint will fetch details from Enedis and GRDF asynchronously and populate the PRMs and PCEs in Kraken's database. The rate that Kraken sends requests to the the respective API can be throttled to avoid overloading the industry's servers. This can be configured using configuration settings from within the support-site.
Schema
Responses
The following responses may be returned from the API.
Status code | Description |
---|---|
201 - Created |
If the payload is valid, a {"batch_id": "abcdefgh-11111-2222-3333-1234567890ab"} |
400 - Bad Request |
If there are validation errors, a |
Payloads
Example payload
{
"prm_ids": [
"18925958647706"
],
"pce_ids": [
"01280463057138"
],
"customer_category": "Domestic"
}
Overview
Use this endpoint to fetch the PRM and PCE import statuses for a given batch. Where the batch corresponds to the ID
that is returned from the POST /v1/data-import/supply-point/populate/
endpoint.
Responses
The following responses may be returned from the API.
Status code | Description |
---|---|
200 - OK |
If the batch exists, a {
"status": "IN_PROGRESS",
"imported_requests": {
"prm_ids": [
"24683798432351"
],
"pce_ids": [
"01412258811192"
]
},
"pending_requests": {
"prm_ids": [
"31341311136999"
],
"pce_ids": [
"11738127511194"
]
},
"errored_requests": {
"prms": [
{
"id": "41741213158496",
"errored_reason": "EPRM000: The PDL entered does not correspond to any existing electricity meter known to Enedis. This can happen with gas or water meter identifiers."
}
],
"pces": [
{
"id": "27137145711107",
"errored_reason": "EPCE007: There is a Serious Imminent Danger on this PCE (DGI)."
}
]
}
} The status can be one of:
|
404 - Not Found |
If the batch does not exist, a 404 Not Found response will be returned.
|