Last Updated on : 2023-06-21 07:13:01download
Apply a scheduled power-off scene template to a specified asset (device). The device will be automatically powered off at the scheduled time.
POST: /v1.0/iot-03/scene-templates/30000/assets/{asset_id}/actions/apply
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | The asset ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
time_zone_id | String | true | The time zone. |
Parameter name | Type | Description |
---|---|---|
result | String | The ID of a specific linkage rule. |
POST: /v1.0/iot-03/scene-templates/30000/assets/137430645338433****/actions/apply
{
"asset_id": "123123123",
"time_zone_id": "Asia/Shanghai"
}
{
"result": "qweqweqw",
"t": 1623813304866,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback