HTTP/HTTPS
请求协议
中科图灵开放平台 / 智慧消防设备管理模块 / 建筑根据ids批量查询
建筑根据ids批量查询
接口地址:https://api.iot.ink/api/app.php?s=Equipment.Device_Building_GetfindByIds.Api
接口描述: 建筑根据ids批量查询
接口参数
参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
---|---|---|---|---|---|
access_token | 字符串 | 可选 | 访问令牌,仅当开启签名验证时需要传递,生成令牌可使用App.Auth.ApplyToken接口 | ||
apiRequestRaw | 字符串 | 必须 | - | [1,2] | |
headerInfo | 字符串 | 可选 | - | [] |
返回字段
返回结果 | 类型 | 说明 |
---|---|---|
ret | 整型 | 状态码,200表示成功,4xx表示客户端非法请求,5xx表示服务器错误 |
data | 对象或混合类型 | 业务数据,由各自接口指定,通常为对象 |
data.buildingId | 字符串 | 建筑id |
data.buildingName | 字符串 | 建筑名称 |
data.sort | 字符串 | 排序值不能为空 |
data.buildingAddress | 字符串 | 建筑地址 |
data.provinceCode | 字符串 | 所在省份编码 |
data.cityCode | 字符串 | |
data.areaCode | 字符串 | |
data.wayCode | 字符串 | |
data.provinceName | 字符串 | 所在省份名称 |
data.cityName | 字符串 | |
data.areaName | 字符串 | |
data.wayName | 字符串 | |
data.buildingTime | 字符串 | 建造时间 |
data.completionTime | 字符串 | 竣工时间 |
data.detailedAddress | 字符串 | 详细地址 |
data.roadName | 字符串 | 路名 |
data.regionCode | 字符串 | 6位行政区域编码 |
data.streetCode | 字符串 | 街道编号 |
data.houseCode | 字符串 | 门牌号 |
data.latLud | 字符串 | 经纬度 逗号隔开 |
data.floorName | 字符串 | 楼栋幢 |
data.buildingHeight | 字符串 | 建筑高度 |
data.buildingArea | 字符串 | 建筑面积 |
data.buildingClassification | 字符串 | 建筑分类 |
data.buildingStructure | 字符串 | 建筑结构 |
data.buildingStrname | 字符串 | 建筑结构悬着其他,填充的名字 |
data.fireResistance | 字符串 | 耐火等级 |
data.hazardLevel | 字符串 | 危险等级 |
data.firecontrolRoom | 字符串 | 消防控制室情况 |
data.firecontrolAddress | 字符串 | 消控室位置 |
data.buildingRight | 字符串 | 建筑使用情况(使用中=1、未使用=0) |
data.buildingUse | 字符串 | 建筑用途分类 |
data.propertyRight | 字符串 | 产权及使用情况 |
data.areaCovered | 字符串 | 占地面积 |
data.areaStandard | 字符串 | 标准层面积 |
data.underNumber | 字符串 | 地下层数 |
data.underArea | 字符串 | 地下面积 |
data.onNumber | 字符串 | 地上层数 |
data.onArea | 字符串 | 地上面积 |
data.refugeNumber | 字符串 | 避难层数量 |
data.refugeArea | 字符串 | 避难层面积 |
data.refugeAddress | 字符串 | 避难层位置 |
data.fireElevator | 字符串 | 消防电梯数 |
data.fireAddress | 字符串 | 消防电梯位置 |
data.checkFunction | 字符串 | 入住使用功能 |
data.maxNumber | 字符串 | 最大容纳人数 |
data.automaticFire | 字符串 | 自动消防设施 (有=1,无=0) |
data.facilitiesGood | 字符串 | /设施完好情况(合格=1.不合格=0) |
data.facilitiesFire | 字符串 | 消防设施 |
data.adjacentBuilding | 字符串 | 毗邻建筑情况 |
data.geography | 字符串 | 地理情况 |
data.tenantId | 字符串 | 所属站点id |
data.createTime | 字符串 | 创建时间 |
data.updateTime | 字符串 | 修改时间 |
data.delFlag | 字符串 | |
data.deptId | 字符串 | 单位id |
data.name | 字符串 | 单位名称 |
msg | 字符串 | 提示信息,失败时的错误提示 |
在线测试
参数 | 是否必须 | 值 |
---|---|---|
service | 必须 | |
access_token | 可选 | |
apiRequestRaw | 必须 | |
headerInfo | 可选 |
客户端请求示例
成功响应返回示例:
[
{
"buildingId": 1,
"buildingName": "金sssB5栋",
"sort": 1,
"buildingAddress": "江夏区金融港B5栋",
"provinceCode": "420000",
"cityCode": "420100",
"areaCode": "420115",
"wayCode": null,
"provinceName": "湖北省",
"cityName": "武汉市",
"areaName": "江夏区",
"wayName": null,
"buildingTime": "2020-06-05 15:04:33",
"completionTime": "2020-06-05 15:04:35",
"detailedAddress": "湖北省武汉市江夏区金融港B5栋",
"roadName": "404",
"regionCode": "000000",
"streetCode": "25",
"houseCode": "50",
"latLud": "10.22255,52.5522",
"floorName": "B5栋",
"buildingHeight": "100.00",
"buildingArea": "100.00",
"buildingClassification": "是啥",
"buildingStructure": null,
"buildingStrname": null,
"fireResistance": null,
"hazardLevel": null,
"firecontrolRoom": null,
"firecontrolAddress": null,
"buildingRight": null,
"buildingUse": null,
"propertyRight": null,
"areaCovered": null,
"areaStandard": null,
"underNumber": null,
"underArea": null,
"onNumber": null,
"onArea": null,
"refugeNumber": null,
"refugeArea": null,
"refugeAddress": null,
"fireElevator": null,
"fireAddress": null,
"checkFunction": null,
"maxNumber": null,
"automaticFire": null,
"facilitiesGood": null,
"facilitiesFire": null,
"adjacentBuilding": null,
"geography": "",
"tenantId": 1,
"createTime": "2020-06-05 15:22:16",
"updateTime": "2020-07-03 16:48:47",
"delFlag": "0",
"deptId": 14,
"name": null
},
{
"buildingId": 2,
"buildingName": "金融港B6栋",
"sort": 1,
"buildingAddress": "江夏区金融港B6栋",
"provinceCode": "420000",
"cityCode": "420100",
"areaCode": "420115",
"wayCode": "42011110213",
"provinceName": "湖北省",
"cityName": "武汉市",
"areaName": "江夏区",
"wayName": "关山街道",
"buildingTime": "2020-06-05 15:04:33",
"completionTime": "2020-06-05 15:04:35",
"detailedAddress": "湖北省武汉市江夏区金融港B6栋",
"roadName": "404",
"regionCode": "000000",
"streetCode": "25",
"houseCode": "50",
"latLud": "10.22255,52.5522",
"floorName": "B5栋",
"buildingHeight": "100.00",
"buildingArea": "100.00",
"buildingClassification": "是啥",
"buildingStructure": null,
"buildingStrname": null,
"fireResistance": null,
"hazardLevel": null,
"firecontrolRoom": null,
"firecontrolAddress": null,
"buildingRight": null,
"buildingUse": null,
"propertyRight": null,
"areaCovered": null,
"areaStandard": null,
"underNumber": null,
"underArea": null,
"onNumber": null,
"onArea": null,
"refugeNumber": null,
"refugeArea": null,
"refugeAddress": null,
"fireElevator": null,
"fireAddress": null,
"checkFunction": null,
"maxNumber": null,
"automaticFire": null,
"facilitiesGood": null,
"facilitiesFire": null,
"adjacentBuilding": null,
"geography": "",
"tenantId": 1,
"createTime": "2020-06-05 15:22:19",
"updateTime": "2020-07-03 16:48:50",
"delFlag": "0",
"deptId": 14,
"name": null
}
]
失败响应返回示例:
错误列表
错误状态码 | 错误描述信息 |
---|---|
400 | ret=400,客户端参数错误或非法请求 |
404 | 表示接口服务不存在 |
406 | ret=406,access_token令牌校验不通过 |
407 | ret=407,app_key权限不足,或未知应用 |
408 | ret=408,当前用户禁止使用,或用户未登录 |
409 | ret=409,接口流量不足 |
500 | 表示服务端内部错误 |
本文档生成时间:2024-04-20 15:42:46