保存明火数据

更新时间:2021-07-28 20:48:03

接口说明

保存明火数据

基本信息

请求方式: POST

请求路径:

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

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenant_code query string
source body string 广联达、鲁班 数据来源
third_proj_id body string 第三方项目ID
device_id body string 设备ID(设备编号)
scene_photo body string 现场照片
occurrence_time body string 发生时间
confidence_level 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 ""