Version | Update Time | Status | Author | Description |
---|---|---|---|---|
v2021-07-16 18:44:31 | 2021-07-16 18:44:31 | auto | @pc | Created by smart-doc |
1. 电力告警
1.1. 查询电力告警总数
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 查询电力告警总数
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | 站点id | false | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─count | int32 | 电力告警总数 | - |
└─unCount | int32 | 未处理告警总数 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "gtmu0r",
"data": {
"count": 61,
"unCount": 114
},
"exception": "mblg7n"
}
1.2. 告警趋势图
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 告警趋势图
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
days | int32 | 天数 | true | - |
endTime | string | 结束时间 | true | - |
siteId | int32 | 站点id | false | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─name | string | 名称 | - |
└─list | object | 数据 | - |
└─any object | object | any object. | - |
└─listDate | object | 时间 | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "7jgzw9",
"data": [
{
"name": "志泽.孟",
"list": {
"object": "any object"
},
"listDate": {
"object": "any object"
}
}
],
"exception": "3z2xfi"
}
1.3. 分页
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 分页
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
startTime | string | 开始时间 | false | - |
endTime | string | 结束时间 | false | - |
status | int32 | 状态 | false | - |
siteId | int32 | 站点 | false | - |
current | int32 | 页数 | true | - |
size | int32 | 条数 | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─records | array | No comments found. | - |
└─id | int32 | 电力告警表ID | - |
└─deviceCode | string | 阿里云平台设备名称 | - |
└─alarmName | string | 告警名称 | - |
└─sendingTime | string | 发送时间 | - |
└─alarmType | string | 告警类型(alert 告警) | - |
└─measName | string | 测点名称 | - |
└─digitalValue | int32 | 遥信值(0 正常 1 告警) | - |
└─measDesc | string | 测点描述 | - |
└─soeTime | string | 发生时间 | - |
└─handler | string | 处理人 | - |
└─handlingTime | string | 处理时间 | - |
└─handlingContent | string | 处理内容 | - |
└─handlerPhone | string | 联系电话 | - |
└─handlingStatus | int32 | 处理状态(0 未处理,1 已处理) | - |
└─total | int64 | No comments found. | - |
└─size | int64 | No comments found. | - |
└─current | int64 | No comments found. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "r1sn9y",
"data": {
"records": [
{
"id": 867,
"deviceCode": "33704",
"alarmName": "志泽.孟",
"sendingTime": "2021-07-16",
"alarmType": "ml0uo9",
"measName": "志泽.孟",
"digitalValue": 304,
"measDesc": "9xsm7e",
"soeTime": "2021-07-16",
"handler": "lx5ao5",
"handlingTime": "2021-07-16",
"handlingContent": "kd9f3z",
"handlerPhone": "17376350636",
"handlingStatus": 572
}
],
"total": 512,
"size": 657,
"current": 330
},
"exception": "mufg96"
}
1.4.
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | No comments found. | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "1wqtzs",
"data": [
{
"mapKey": {
"waring": "You may use java.util.Object for Map value; smart-doc can't be handle."
}
}
],
"exception": "2amyul"
}
1.5. 导出
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 导出
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
startTime | string | 开始时间 | false | - |
endTime | string | 结束时间 | false | - |
status | int32 | 状态 | false | - |
siteId | int32 | 站点 | false | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "d5zb9n",
"data": "9v7crs",
"exception": "1qrrqp"
}
1.6. 运行状态
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 运行状态
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
startTime | string | 开始时间 | true | - |
endTime | string | 结束时间 | true | - |
siteId | int32 | 站点 | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─name | string | 名称 | - |
└─list | object | 数据 | - |
└─any object | object | any object. | - |
└─listDate | object | 时间 | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "9qf3hi",
"data": [
{
"name": "志泽.孟",
"list": {
"object": "any object"
},
"listDate": {
"object": "any object"
}
}
],
"exception": "jp9l7d"
}
2. 设备
2.1. 查询设备总数
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 查询设备总数
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
startTime | string | No comments found. | true | - |
endTime | string | No comments found. | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─normalCount | int32 | 正常 | - |
└─offLineCount | int32 | 离线 | - |
└─faultCount | int32 | 故障 | - |
└─deviceCount | int32 | 告警 | - |
└─count | int32 | 站点数量/设备数量 | - |
└─epCount | int32 | 用电量 | - |
└─videoCount | int32 | 视频量 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "gtratn",
"data": {
"normalCount": 843,
"offLineCount": 917,
"faultCount": 460,
"deviceCount": 59,
"count": 762,
"epCount": 132,
"videoCount": 558
},
"exception": "h46sas"
}
2.2. 查询不同类型的设备数量
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 查询不同类型的设备数量
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
site | int32 | 站点id | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─normalCount | int32 | 正常 | - |
└─offLineCount | int32 | 离线 | - |
└─faultCount | int32 | 故障 | - |
└─deviceCount | int32 | 告警 | - |
└─count | int32 | 站点数量/设备数量 | - |
└─epCount | int32 | 用电量 | - |
└─videoCount | int32 | 视频量 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "swx72c",
"data": {
"normalCount": 219,
"offLineCount": 349,
"faultCount": 279,
"deviceCount": 213,
"count": 785,
"epCount": 812,
"videoCount": 830
},
"exception": "fevczs"
}
2.3.
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
Response-example:
[
"tek6sy",
"obkaff"
]
4. object
4.1. 查询不同设备的数量
Type: GET
Author: yq
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 查询不同设备的数量
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | No comments found. | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─name | string | 名称(箱变,杆变,配电) | - |
└─count | int32 | 数量 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "22crrd",
"data": [
{
"name": "志泽.孟",
"count": 961
}
],
"exception": "6hungh"
}
5. 历史消费组模拟量
5.1. 首页日/月/年用电量
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 首页日/月/年用电量
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─dayCount | double | 日用电量 | - |
└─monthCount | double | 月用电量 | - |
└─yearCount | double | 年用电量 | - |
└─lastDayCount | double | 昨天用电量 | - |
└─lastMonthCount | double | 上月用电量 | - |
└─lastYearCount | double | 年用电量 | - |
└─dayRadio | double | 日期比例 | - |
└─monthRadio | double | 月比例 | - |
└─yearRadio | double | 年比例 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "b175cl",
"data": {
"dayCount": 90.96,
"monthCount": 5.57,
"yearCount": 76.27,
"lastDayCount": 53.81,
"lastMonthCount": 20.99,
"lastYearCount": 42.08,
"dayRadio": 14.99,
"monthRadio": 94.00,
"yearRadio": 29.26
},
"exception": "bnmgrz"
}
5.2. 今日/昨日用电趋势
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 今日/昨日用电趋势
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
startTime | string | 开始时间 | true | - |
siteId | int32 | 站点id | false | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─name | string | 名称 | - |
└─list | object | 数据 | - |
└─any object | object | any object. | - |
└─listDate | object | 时间 | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "505txc",
"data": [
{
"name": "志泽.孟",
"list": {
"object": "any object"
},
"listDate": {
"object": "any object"
}
}
],
"exception": "bn7xkr"
}
5.3. 站点日/月/年用电量
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 站点日/月/年用电量
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | 站点id | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─dayCount | double | 日用电量 | - |
└─monthCount | double | 月用电量 | - |
└─yearCount | double | 年用电量 | - |
└─lastDayCount | double | 昨天用电量 | - |
└─lastMonthCount | double | 上月用电量 | - |
└─lastYearCount | double | 年用电量 | - |
└─dayRadio | double | 日期比例 | - |
└─monthRadio | double | 月比例 | - |
└─yearRadio | double | 年比例 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "jm38u6",
"data": {
"dayCount": 72.03,
"monthCount": 26.90,
"yearCount": 2.11,
"lastDayCount": 65.14,
"lastMonthCount": 93.77,
"lastYearCount": 9.78,
"dayRadio": 54.92,
"monthRadio": 84.04,
"yearRadio": 41.88
},
"exception": "megtyt"
}
5.4. 分时电量
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 分时电量
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | 站点id | true | - |
date | string | 时间 | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─need | double | 尖 | - |
└─peak | double | 峰 | - |
└─grain | double | 谷 | - |
└─flat | double | 平 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "r3p5yi",
"data": {
"need": 4.69,
"peak": 74.73,
"grain": 49.96,
"flat": 46.04
},
"exception": "oq7ppe"
}
5.5. 需量趋势图
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 需量趋势图
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | 站点id | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─name | string | 名称 | - |
└─list | object | 数据 | - |
└─any object | object | any object. | - |
└─listDate | object | 时间 | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "yk0yxo",
"data": [
{
"name": "志泽.孟",
"list": {
"object": "any object"
},
"listDate": {
"object": "any object"
}
}
],
"exception": "10cy1g"
}
5.6. 历史记录电流电压
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 历史记录电流电压
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | 站点id | true | - |
date | string | 时间 | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─name | string | 名称 | - |
└─list | object | 数据 | - |
└─any object | object | any object. | - |
└─listDate | object | 时间 | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "syvd2r",
"data": [
{
"name": "志泽.孟",
"list": {
"object": "any object"
},
"listDate": {
"object": "any object"
}
}
],
"exception": "jlkyln"
}
7. 人员信息
7.1. 查询不同种类的人员信息
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 查询不同种类的人员信息
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─maintain | int32 | 维护人员 | - |
└─power | int32 | 供电 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "96c82d",
"data": {
"maintain": 689,
"power": 193
},
"exception": "uxpoj5"
}
9. 实时消费组模拟量
9.1. 重载/轻载/正常
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 重载/轻载/正常
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─heavyLoad | double | 重载运行 | - |
└─easyLoad | double | 轻载运行 | - |
└─norMalLoad | double | 正常运行 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "b4fwik",
"data": {
"heavyLoad": 30.26,
"easyLoad": 70.01,
"norMalLoad": 48.98
},
"exception": "ht96ts"
}
9.2. 查看实时数据详情
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 查看实时数据详情
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | 站点id | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "g7zgyr",
"data": [
{
"mapKey": {
"waring": "You may use java.util.Object for Map value; smart-doc can't be handle."
}
}
],
"exception": "65j0u8"
}
9.3. 实时负荷
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 实时负荷
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | 站点id | false | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "r1ltlb",
"data": "40.79",
"exception": "e4jqt5"
}
9.4.
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | No comments found. | true | - |
startTime | string | No comments found. | false | - |
endTime | string | No comments found. | false | - |
queryType | string | No comments found. | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "0wc9pv",
"data": [
{
"mapKey": {
"waring": "You may use java.util.Object for Map value; smart-doc can't be handle."
}
}
],
"exception": "13q4sc"
}
9.5.
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | No comments found. | true | - |
startTime | string | No comments found. | false | - |
endTime | string | No comments found. | false | - |
queryType | string | No comments found. | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "4lkv47",
"data": [
{
"mapKey": {
"waring": "You may use java.util.Object for Map value; smart-doc can't be handle."
}
}
],
"exception": "8ccnpp"
}
9.6.
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | No comments found. | true | - |
startTime | string | No comments found. | false | - |
endTime | string | No comments found. | false | - |
queryType | string | No comments found. | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "mrcj5s",
"data": "4258cm",
"exception": "i8239e"
}
10. 实时消费组开关
10.1. 查看单个信息
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 查看单个信息
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | No comments found. | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "nzvhl2",
"data": [
{
"mapKey": {
"waring": "You may use java.util.Object for Map value; smart-doc can't be handle."
}
}
],
"exception": "kikdoo"
}
10.2.
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int32 | No comments found. | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─any object | object | any object. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "zn0v9u",
"data": [
{
"mapKey": {
"waring": "You may use java.util.Object for Map value; smart-doc can't be handle."
}
}
],
"exception": "2phnrl"
}
11. 站点
11.1. 查看不同状态的站点数量
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 查看不同状态的站点数量
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─normalCount | int32 | 正常 | - |
└─offLineCount | int32 | 离线 | - |
└─faultCount | int32 | 故障 | - |
└─deviceCount | int32 | 告警 | - |
└─count | int32 | 站点数量/设备数量 | - |
└─epCount | int32 | 用电量 | - |
└─videoCount | int32 | 视频量 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "5ziekh",
"data": {
"normalCount": 152,
"offLineCount": 438,
"faultCount": 264,
"deviceCount": 306,
"count": 929,
"epCount": 300,
"videoCount": 501
},
"exception": "284iuu"
}
11.2. 查看站点列表
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 查看站点列表
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
name | string | 名称 | false | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─id | int32 | 站点表ID | - |
└─siteName | string | 站点名称 | - |
└─siteAddress | string | 站点位置 | - |
└─companyCode | int32 | 所属单位 | - |
└─userName | string | 联系人 | - |
└─phone | string | 手机号码 | - |
└─stationAreaId | int32 | 所属台区 | - |
└─routeId | int32 | 所属线路 | - |
└─longitude | string | 经度 | - |
└─latitude | string | 纬度 | - |
└─region | int32 | 所属区域(1 宝山,2 嘉定) | - |
└─createTime | string | 创建时间 | - |
└─creator | string | 创建人 | - |
└─enable | int32 | 使能标识(0 不生效,1 生效) | - |
└─installedCapacity | string | No comments found. | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "dk3wei",
"data": [
{
"id": 130,
"siteName": "志泽.孟",
"siteAddress": "邱路41号, 宿迁, 宁 927285",
"companyCode": 969,
"userName": "志泽.孟",
"phone": "17376350636",
"stationAreaId": 183,
"routeId": 888,
"longitude": "i26lw3",
"latitude": "4hbazk",
"region": 703,
"createTime": "2021-07-16",
"creator": "e7qtc3",
"enable": 387,
"installedCapacity": "9lsh68"
}
],
"exception": "lkfnws"
}
11.3.
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
name | string | No comments found. | false | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─id | int32 | 站点表ID | - |
└─siteName | string | 站点名称 | - |
└─siteAddress | string | 站点位置 | - |
└─companyCode | int32 | 所属单位 | - |
└─userName | string | 联系人 | - |
└─phone | string | 手机号码 | - |
└─stationAreaId | int32 | 所属台区 | - |
└─routeId | int32 | 所属线路 | - |
└─longitude | string | 经度 | - |
└─latitude | string | 纬度 | - |
└─region | int32 | 所属区域(1 宝山,2 嘉定) | - |
└─createTime | string | 创建时间 | - |
└─creator | string | 创建人 | - |
└─enable | int32 | 使能标识(0 不生效,1 生效) | - |
└─deviceCount | int32 | 设备数量 | - |
└─alarmPowerCount | int32 | 告警数 | - |
└─status | string | 站点状态 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "baj1s0",
"data": [
{
"id": 955,
"siteName": "志泽.孟",
"siteAddress": "邱路41号, 宿迁, 宁 927285",
"companyCode": 738,
"userName": "志泽.孟",
"phone": "17376350636",
"stationAreaId": 299,
"routeId": 499,
"longitude": "s9doe3",
"latitude": "8ec6v6",
"region": 609,
"createTime": "2021-07-16",
"creator": "uyfcla",
"enable": 819,
"deviceCount": 299,
"alarmPowerCount": 149,
"status": "mzmi5s"
}
],
"exception": "18vl2o"
}
11.4. 查看站点详情
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 查看站点详情
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
siteId | int64 | 站点id | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─id | int32 | 站点表ID | - |
└─siteName | string | 站点名称 | - |
└─siteAddress | string | 站点位置 | - |
└─companyCode | int32 | 所属单位 | - |
└─userName | string | 联系人 | - |
└─phone | string | 手机号码 | - |
└─stationAreaId | int32 | 所属台区 | - |
└─routeId | int32 | 所属线路 | - |
└─longitude | string | 经度 | - |
└─latitude | string | 纬度 | - |
└─region | int32 | 所属区域(1 宝山,2 嘉定) | - |
└─createTime | string | 创建时间 | - |
└─creator | string | 创建人 | - |
└─enable | int32 | 使能标识(0 不生效,1 生效) | - |
└─deviceCount | int32 | 设备数量 | - |
└─alarmPowerCount | int32 | 告警数 | - |
└─status | string | 站点状态 | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "lajory",
"data": {
"id": 24,
"siteName": "志泽.孟",
"siteAddress": "邱路41号, 宿迁, 宁 927285",
"companyCode": 717,
"userName": "志泽.孟",
"phone": "17376350636",
"stationAreaId": 289,
"routeId": 833,
"longitude": "qauk8h",
"latitude": "1wox2o",
"region": 909,
"createTime": "2021-07-16",
"creator": "2n34op",
"enable": 87,
"deviceCount": 626,
"alarmPowerCount": 506,
"status": "ldk3yl"
},
"exception": "sakrpg"
}
14. 用户
14.1.
Type: GET
Author: ya
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
Query-parameters:
Parameter | Type | Description | Required | Since |
---|---|---|---|---|
name | string | No comments found. | true | - |
password | string | No comments found. | true | - |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
status | object | No comments found. | - |
code | string | No comments found. | - |
msg | string | No comments found. | - |
data | object | No comments found. | - |
└─id | int32 | 用户账号表ID | - |
└─userName | string | 用户名称 | - |
└─userPassword | string | 用户密码 | - |
└─accountContact | string | 账号联系人 | - |
└─contactPhone | string | 联系电话 | - |
└─createTime | string | 创建时间 | - |
└─creator | string | 创建人 | - |
└─enable | int32 | 使能标识(0 不生效,1 生效) | - |
exception | string | No comments found. | - |
Response-example:
{
"status": {
},
"code": "33704",
"msg": "cm1os1",
"data": {
"id": 68,
"userName": "志泽.孟",
"userPassword": "sv52du",
"accountContact": "hu774r",
"contactPhone": "17376350636",
"createTime": "2021-07-16 18:44:33",
"creator": "wrbms2",
"enable": 849
},
"exception": "gaj97k"
}