Last Updated on : 2023-06-15 05:22:38
Query execution results based on the returned command record ID.
GET: /v1.0/expand/cmds/{sn}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
sn | String | uri | true | The command record ID. |
Parameter name | Type | Description |
---|---|---|
result | CmdIssueResponse | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
sn | String | The command record ID. |
happen_time | Long | The time when the command is executed. |
message | String | The description about the command execution. |
device_id | String | The ID of a Tuya device. |
process_status | Integer | The command execution status. Valid values:
|
GET: /v1.0/expand/cmds/133****
{
"result": {
"device_id": "6ce****",
"happen_time": 1591693362843,
"message": "The command is sent",
"process_status": 2,
"sn": "133****"
},
"t": 1551851043862,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback