Skip to navigation

Create a sub-network

A named slice of one of your base networks: some of its CPOs, optionally filtered by country, power, parking and facilities.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

Idempotency-KeystringRequired1-255 characters
A unique key you choose for this call, e.g. a UUID. Retrying with the same key returns the first result instead of acting twice.

Request

This endpoint expects an object.
namestringRequired1-255 characters
parent_network_idintegerRequired1-9223372036854776000
cpo_idslist of strings or nullOptional
descriptionstring or nullOptional
countrieslist of strings or nullOptional
power_typeslist of strings or nullOptional
parking_typeslist of strings or nullOptional
facilitieslist of strings or nullOptional
auto_accept_cpo_additionsboolean or nullOptionalDefaults to false
publicly_accessibleboolean or nullOptionalDefaults to false

Response

The created sub-network.

network_idinteger
namestring
network_typeenum or any
publishedboolean
publish_stateenum or any
organization_idstring
emp_identity_idinteger
cpo_idslist of strings
protocolstring
publicly_accessibleboolean
auto_accept_cpo_additionsboolean
created_atdatetime
updated_atdatetime
unpublish_started_atdatetime or nullOptional
unpublish_drain_untildatetime or nullOptional
descriptionstring or nullOptional
parent_network_idinteger or nullOptional
countrieslist of strings or nullOptional
power_typeslist of strings or nullOptional
parking_typeslist of strings or nullOptional
facilitieslist of strings or nullOptional

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error