获取点位列表
POST
/api/iot/item
IOT
请求参数
Header 参数
Content-Type
string
必需
Body 参数application/x-www-form-urlencoded
categoryName
string
网关名称
categoryId
string
分类id
code
string
点位编码
name
string
点位名称
gatewayCode
string
网关编码符号
返回响应
🟢200成 功
application/json
Body
result
object
必需
total
enum<number>
必需
枚举值:
示例值:
73
list
array [object {51}]
必需
pageNum
enum<number>
必需
枚举值:
示例值:
1
pageSize
enum<number>
必需
枚举值:
示例值:
15
size
enum<number>
必需
枚举值:
示例值:
15
startRow
enum<number>
必需
枚举值:
示例值:
1
endRow
enum<number>
必需
枚举值:
示例值:
15
pages
enum<number>
必需
枚举值:
示例值:
5
prePage
enum<number>
必需
枚举值:
示例值:
0
nextPage
enum<number>
必需
枚举值:
示例值:
2
isFirstPage
enum<boolean>
必需
枚举值:
示例值:
true
isLastPage
enum<boolean>
必需
枚举值:
示例值:
false
hasPreviousPage
enum<boolean>
必需
枚举值:
示例值:
false
hasNextPage
enum<boolean>
必需
枚举值:
示例值:
true
navigatePages
enum<number>
必需
枚举值:
示例值:
8
navigatepageNums
array[string]
必需
枚举值:
示例值:
[1,2,3,4,5]
navigateFirstPage
enum<number>
必需
枚举值:
示例值:
1
navigateLastPage
enum<number>
必需
枚举值:
示例值:
5
msg
enum<string>
必需
枚举值:
示例值:
查询列表成功
code
enum<number>
必需
枚举值:
示例值:
200
status
enum<number>
必需
枚举值:
示例值:
200
示例
{
"result": {
"total": "",
"list": [
{
"id": "",
"tags": [
"string"
],
"code": "",
"itemCode": "",
"deviceName": "",
"name": "",
"gatewayId": "",
"accessMode": "",
"dataPattern": "",
"unit": "",
"max": "",
"min": "",
"resolve": "",
"description": "string",
"design": "string",
"containerId": "",
"collectId": "",
"type": "",
"createAt": "",
"categoryId": "",
"categoryName": "",
"facilityId": "",
"displayType": "",
"facilityName": "string",
"dataType": "",
"itemIds": [
"string"
],
"alertProperties": [
{
"id": "",
"type": "",
"chara": "",
"value": "string",
"bufferValue": "",
"sensorId": "",
"containerId": "",
"code": "",
"owner": "",
"sensor_id": "",
"container_id": ""
}
],
"online": "",
"centerTrans": "",
"isUnited": "",
"dataSource": "",
"dataSourceList": [
{
"id": "",
"code": "",
"name": "",
"gatewayName": "",
"gatewayId": "",
"gatewayCode": "",
"accessMode": "",
"dataPattern": "",
"unit": "string",
"max": "",
"min": "",
"resolve": "",
"description": "string",
"design": "string",
"containerId": "",
"collectId": "",
"type": "string",
"createAt": "",
"categoryId": "",
"categoryName": "",
"facilityId": "",
"displayType": "",
"facilityName": "string",
"dataType": "",
"online": "",
"centerTrans": "",
"isUnited": "",
"dataSource": "string",
"alarmLevel": "",
"defaultValue": "string",
"pointRuleGroups": "",
"ctrType": "",
"ctrAddress": "",
"collect_id": "",
"display_type": "",
"gateway_id": "",
"alarm_level": "",
"category_id": "",
"data_type": "",
"access_mode": "",
"facility_id": "",
"create_at": "",
"data_pattern": "",
"facility_name": "string"
}
],
"isCheck": "",
"alarmLevel": "",
"exprType": "",
"defaultValue": "string",
"pointRuleGroups": "",
"ctrType": "",
"collect_id": "",
"display_type": "",
"gateway_id": "",
"alarm_level": "",
"category_id": "",
"device_name": "",
"data_type": "",
"access_mode": "",
"facility_id": "",
"create_at": "",
"item_code": "",
"data_pattern": "",
"facility_name": "string"
}
],
"pageNum": "",
"pageSize": "",
"size": "",
"startRow": "",
"endRow": "",
"pages": "",
"prePage": "",
"nextPage": "",
"isFirstPage": "",
"isLastPage": "",
"hasPreviousPage": "",
"hasNextPage": "",
"navigatePages": "",
"navigatepageNums": "",
"navigateFirstPage": "",
"navigateLastPage": ""
},
"msg": "",
"code": "",
"status": ""
}
修改于 2023-04-20 01:29:19