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 NameRequiredTypeDescription
actionYesstringAction name: user/assignDeviceType
requestIdNoobjectRequest unique identifier, will be passed back in the response message.
userIdYeslongUser identifier.
deviceTypeIdYeslongDevice type identifier.

Server Message

Message Representation

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

Message Parameters

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