things/device/info
thingsDeviceInfo

新增设备

post/api/v1/things/device/info/create

Request body

idinteger
tenantCodestring
productIDstring required

产品id 只读

projectIDstring

项目id 只读

productNamestring
deviceTypeinteger

设备类型:1:直连设备,2:网关,3:子设备,4:监控设备

productImgstring

产品图片

areaIDstring

项目区域id 只读

deviceNamestring required

设备名称 读写

deviceAliasstring

设备别名 读写

secretstring

设备秘钥 只读

certstring

设备证书 只读

imeistring

IMEI号信息 只读

macstring

MAC号信息 只读

categoryIDinteger

产品品类

versionstring

固件版本 读写

hardInfostring

模组硬件型号 只读

softInfostring

模组软件版本 只读

mobileOperatorinteger

移动运营商:1)移动 2)联通 3)电信 4)广电

phonestring

手机号

iccidstring

SIM卡卡号

addressstring

所在地址

adcodestring

地区编码

schemaAliasobject

设备物模型别名,如果是结构体类型则key为xxx.xxx

isOnlineinteger

在线状态 1离线 2在线 只读

firstLoginstring

激活时间 只读

firstBindstring
lastBindstring

最后绑定时间 只读

lastLoginstring

最后上线时间 只读

expTimestring

到期时间

logLevelinteger

日志级别:1)关闭 2)错误 3)告警 4)信息 5)调试 读写

rssiinteger

信号强度

createdTimestring

创建时间 只读

statusinteger

设备状态 1-未激活,2-在线,3-离线 4-异常(频繁上下线,告警中)

isEnableinteger

是否启用

withPropertiesobject

获取的属性列表,如果不传withProperty,则不会返回

profilesobject
ratedPowerinteger
netTypeinteger

通讯方式:1:其他,2:wi-fi,3:2G/3G/4G,4:5G,5:BLE,6:LoRaWAN,7:wifi+ble,8:有线网,9:4G+BLE

needConfirmVersionstring

待确认升级的版本

userIDstring
lastIpstring

最后登录的ip地址

sortinteger

排序

descstring

Response

A successful response.

codeinteger
msgstring

Changes