user/getNetwork

Gets information about user/network association.

Authorization

Access JSON Web Token (ManageUser)

Request Topic and Payload

Topic

dh/request

Payload Representation

{
    "action": {string},
    "requestId": {object},
    "userId": {integer},
    "networkId": {integer}
}

Payload Parameters

Parameter NameRequiredTypeDescription
actionYesstringAction name: user/getNetwork
requestIdNoobjectRequest unique identifier, will be passed back in the response message.
userIdYesintegerUser identifier
networkIdYesintegerNetwork identifier

Response Topic and Payload

Topic

dh/response/user/getNetwork@{clientId}

Payload Representation

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

Payload Parameters

Property NameTypeDescription
actionstringAction name: user/getNetwork
statusstringOperation execution status (success or error).
requestIdobjectRequest unique identifier as specified in the request message.
networkobjectAssociated network object.
network.idintegerNetwork identifier.
network.namestringNetwork display name.
network.descriptionstringNetwork description.