更新时间:2023-06-15 05:07:55
本文介绍应用场景模板的 API。
将场景模板应用到指定资产。
POST: /v1.0/iot-03/scene-templates/{template_id}/assets/{asset_id}/actions/apply
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 | 
|---|---|---|---|---|
| template_id | Long | uri | true | 场景模板 ID | 
| asset_id | String | uri | true | 资产 ID | 
| 参数名 | 类型 | 说明 | 
|---|---|---|
| result | String | 自动化 ID | 
POST: /v1.0/iot-03/scene-templates/189****/assets/142788436946849****/actions/apply
{
    "result": "OOtNq81NfTt1****",
    "t": 1636597535453,
    "success": true
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈