Last Updated on : 2023-06-15 05:34:46
The device reports its property status 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 the specified Tuya-enabled device. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
msg_id | String | body | true | The unique identifier of the specified request, with no more than 32 characters. |
data | Object | body | true | The reported content of the specified property. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The response result. |
code | String | The response code. It is empty when the request succeeded. |
msg | String | The message that is returned if the request fails. It is empty if the request is successful. |
success | Boolean | Indicates whether the request 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