Update the Characteristics of the Item

Use the following details to update the characteristics of the Item using the REST interface:

HTTP Method

PUT

Endpoint URL

See the REST Service Endpoint topic for more details.

Resource

/restapi/v1/item/{id}/characteristic/{characteristicId}

Request Parameters

Provide values for the following parameters:

Parameter Name Data Type Mandatory
id string Yes
characteristicId string Yes
id string No
name string No
sid   No
value string No

Request Model

Media Type: application/json

{
  "id": "string",
  "name": "string",
  "sid": 0,
  "value": "string"
}

Response Model

{
  "result": {
    "code": {
      "severity": "Success",
      "message": "Success.",
      "code": "0000"
    },
    "params": [],
    "message": "Success."
  },
  "data": {
    "id": "string",
    "sid": 0,
    "name": "string",
    "value": "string"
  },
  "startTimestampMS": 1659698823008,
  "duration": 310
}