network/insert

Inserts new network.

Authorization

Access JSON Web Token (ManageNetwork)

Request Topic and Payload

Topic

dh/request

Payload Representation

{
    "action": {string},
    "requestId": {object},
    "network": {
        "name": {string},
        "description": {string}
    }
}

Payload Parameters

actionYesstringAction name: network/insert
requestIdNoobjectRequest unique identifier, will be passed back in the response message.
networkYesobjectNetwork resource to insert.
network.nameNostringNetwork display name.
network.descriptionNostringNetwork short description.

Response Topic and Payload

Topic

dh/response/network/insert@{clientId}

Payload Representation

{
    "action": {string},
    "status": {string},
    "requestId": {object},
    "network": {
        "id": {int}
    }
}

Payload Parameters

Property NameTypeDescription
actionstringAction name: network/insert
statusstringOperation execution status (success or error).
requestIdobjectRequest unique identifier as specified in the request message.
network.idintCreated network ID.