Last Updated on : 2022-05-05 10:00:23
The device reports its property information.
POST: /v1.0/iot-03/3rdcloud/devices/{device_id}/property/report
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The ID of a Tuya device. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
msg_id | String | body | true | The unique identifier of a specified request. The length should not exceed 32 characters. |
data | Object | body | true | The reported content of a specified property. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The returned result. |
code | Boolean | The response code. It is empty when the operation succeeded. |
msg | String | The error message if the API call fails. It is empty if the operation succeeded. |
success | Boolean | Indicates whether the operation is successful. Valid values:
|
t | Long | The 13-digit timestamp of a response. |
POST: /v1.0/iot-03/3rdcloud/devices/6cf4171005d11e2ca7****/property/report
{
"msg_id": "ed23rty159292****",
"data": {
"resolution_ratio": {
"value": 1080,
"time": 1592920221212
}
}
}
{
"result": true,
"t": 1561456817168,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback