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

action

Yes

string

Action name: devicetype/update

requestId

No

object

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

deviceTypeId

Yes

string

Device type identifier.

deviceType

Yes

object

DeviceType resource for update.

deviceType.name

No

string

Device type name.

deviceType.description

No

string

Device type description.

Response Topic and Payload

Topic

dh/response/devicetype/[email protected]{clientId}

Payload Representation

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

Payload Parameters

Property Name

Type

Description

action

string

Action name: devicetype/update

status

string

Operation execution status (success or error).

requestId

object

Request unique identifier as specified in the request message.