devicetype/update

Updates an existing device type.

Authorization

Access JSON Web Token (ManageDeviceType)

Request Topic and Payload

Topic

dh/request

Payload Representation

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

Payload 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.

Response Topic and Payload

Topic

dh/response/devicetype/update@{clientId}

Payload Representation

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

Payload Parameters

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