user/assignDeviceType

Associates device type with the user.

Request Message

Authorization

Access JSON Web Token (ManageNetwork)

Message Representation

{
    "action": {string},
    "requestId": {object},
    "userId": {long},
    "deviceTypeId": {long}
}

Message Parameters

Parameter Name

Required

Type

Description

action

Yes

string

Action name: user/assignDeviceType

requestId

No

object

Request unique identifier, will be passed back in the response message.

userId

Yes

long

User identifier.

deviceTypeId

Yes

long

Device type identifier.

Server Message

Message Representation

{
    "action": {string},
    "status": {string},
    "requestId": {object}
}

Message Parameters

Property Name

Type

Description

action

string

Action name: user/assignDeviceType

status

string

Operation execution status (success or error).

requestId

object

Request unique identifier as specified in the request message.