Add the Characteristics to an Item
Use the following details to add characteristics to an Item using the REST interface:
HTTP Method
POST
Endpoint URL
See the REST Service Endpoint topic for more details.
Resource
/restapi/v1/item/{id}/characteristic
Request Parameters
Provide values for the following parameters:
Parameter Name | Data Type | Mandatory |
---|---|---|
id | string | Yes |
name | string | Yes |
sid | string | No |
value | string | Yes |
id | 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": 1659697539135, "duration": 305 }