devicetype/update

Updates an existing device type.

Request Message

Authorization

Access JSON Web Token (ManageDeviceType)

Message Representation

{
    "action": {string},
    "requestId": {object},
    "deviceTypeId": {string},
    "deviceType": {
        "name": {string},
        "description": {string}
    }
}

Message Parameters

actionYesstringAction name: devicetype/update
requestIdNoobjectRequest unique identifier, will be passed back in the response message.
deviceTypeIdYesstringDevice type identifier.
deviceTypeYesobjectDeviceType resource for update.
deviceType.nameNostringDevice type name.
deviceType.descriptionNostringDevice type description.

Server Message

Message Representation

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

Message Parameters

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