Skip to main content
POST
Create a BASE network

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Idempotency-Key
string<uuid>
required

Client-generated unique key per operation intent (UUID). Same key + identical body replays the original response; same key + different body returns 409.

Body

application/json
emsp_identity_id
string<uuid>
required
cpo_ids
string[]
required

Operator IDs of CPOs belonging to this network

description
string
Maximum string length: 1000

Response

The created base network. Fires network.created webhook.

network_id
string<uuid>
required

Network identifier.

name
string
required

BASE network name (auto-derived from the emsp_identity and immutable) or the creator-set SUB network name.

network_type
enum<string>
required

Network kind.

Available options:
BASE,
SUB
published
boolean
required

Whether a BASE network is currently published. Always false for SUB networks.

publish_state
enum<string> | null
required

Publish lifecycle state for BASE networks; null for SUB networks.

Available options:
PUBLISHED,
UNPUBLISHED,
UNPUBLISHING
unpublish_started_at
string<date-time> | null
required

When the current unpublish (drain) was started, if any.

unpublish_drain_until
string<date-time> | null
required

When the unpublish drain window ends, after which the network is fully unpublished.

tenant_id
string<uuid>
required

Owning tenant identifier.

emsp_identity_id
string<uuid>
required

emsp_identity the network belongs to.

description
string | null
required

Free-text description.

cpo_ids
string[]
required

Operator IDs (eMI3, e.g. DK*SPI) of the CPOs this network covers. For a BASE network this is the set it owns. For a SUB it is derived — limited_to_cpo_ids resolved against the parent — so it changes when the parent does, and empty means the network covers nothing.

limited_to_cpo_ids
string[]
required

The CPO limit set on a SUB network, as supplied. Empty means no limit, so cpo_ids is then the parent's whole set. Always empty for a BASE network, which has no parent to be limited against.

publicly_accessible
boolean
required

Whether the network is publicly accessible.

parent_network_id
string<uuid> | null
required

Parent BASE network for a SUB network; null for BASE networks.

limited_to_countries
string[]
required

ISO 3166-1 country codes this network is limited to. Empty means no limit.

limited_to_power_types
string[]
required

Power types this network is limited to. Empty means no limit.

limited_to_parking_types
string[]
required

Parking types this network is limited to. Empty means no limit.

limited_to_facilities
string[]
required

Facilities this network is limited to. Empty means no limit.

auto_accept_cpo_additions
boolean
required

Whether CPOs added to the parent BASE network are added to this SUB's limit too. Has no effect when there is no limit, which already covers whatever the parent holds.

created_at
string<date-time>
required

Creation timestamp (UTC).

updated_at
string<date-time>
required

Last-update timestamp (UTC).