Skip to content

Latest commit

 

History

History
79 lines (63 loc) · 2.48 KB

File metadata and controls

79 lines (63 loc) · 2.48 KB
title user/getNetwork
slug usergetnetwork-1
excerpt
hidden false
metadata
image robots
index
createdAt Thu Feb 08 2018 12:59:25 GMT+0000 (Coordinated Universal Time)
updatedAt Thu Feb 08 2018 15:31:23 GMT+0000 (Coordinated Universal Time)

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 Name Required Type Description
action Yes string Action name: user/getNetwork
requestId No object Request unique identifier, will be passed back in the response message.
userId Yes integer User identifier
networkId Yes integer Network 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 Name Type Description
action string Action name: user/getNetwork
status string Operation execution status (success or error).
requestId object Request unique identifier as specified in the request message.
network object Associated network object.
network.id integer Network identifier.
network.name string Network display name.
network.description string Network description.