保存喷淋数据

更新时间:2021-07-28 20:47:10

接口说明

保存喷淋数据

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/aiot/building-site/spray

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenant_code query string
source body string 广联达、鲁班 数据来源
third_proj_id body string 第三方项目ID
device_id body string 设备ID(设备编号)
project_name body string 工程名称
project_number body string 工程编号
remote_control body number 1: 开,0: 关 (远程控制)开或者关
device_type body string 设备类型
device_name body string 设备名称
switch_status body string 开关状态

请求示例

post /aiot/building-site/environmental-monitoring
device_id=设备ID&third_proj_id=项目ID&project_name=工程名称

返回成功示例

{
  "errcode": 0,
  "errmsg": ""
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number 错误码
errmsg string 错误信息

失败返回示例

{
  "errcode": 100,
  "errmsg": "设备ID为必传字段不能为空"
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number 错误码
errmsg string 错误信息

results matching ""

    No results matching ""