Last Updated on : 2024-09-10 01:49:14
Based on the device ID, immediately send a property setting command to the specified device. When the device is offline, the sending process will fail.
POST: /v2.0/cloud/thing/{device_id}/shadow/properties/issue
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
properties | String | body | true | The property to be supported by the device. In JSON parsable data, the key is the property code, and the value is the property value that is sent. |
Parameter name | Type | Description |
---|---|---|
result | JSON | The returned result. Currently, no result is sent. |
success | Boolean | Indicates whether the operation is successful. Valid values:
|
t | Long | The timestamp. |
tid | String | The link ID. |
POST: /v2.0/cloud/thing/372817193*****/shadow/properties/issue
{
"properties": {
"switch_1": true
}
}
{
"tid": "77a9807fb74411edb9d75a827c79edfd",
"result": {
},
"t": 1677574021435,
"success": true
}
For more information, see error code.
For more information, see Limits on API Request Frequency.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback