v1

latestOpenAPI 3.0.32026-07-17178286472.4 KB
things/device/interact
thingsDeviceInteract

调用设备属性

post/api/v1/things/device/interact/property-control-send

Request body

datastring required

属性数据, JSON格式字符串, 注意字段需要在物模型属性里定义

deviceNamestring required

设备名

isAsyncboolean

是否异步操作 异步情况通过获取接口来获取

productIDstring required

产品id

shadowControlinteger

设备影子控制 0:自动,当设备不在线的时候设置设备影子,设备在线时直接下发给设备 1:只实时下发,不在线报错 2:如果有设备影子只修改影子,没有的也不下发 3:只修改云端的值 4:只修改云端的值并记录操作日志

syncTimeoutinteger

同步超时时间(单位:秒,不填默认3秒)

Response

A successful response.

codeinteger
msgstring