1.URL
xxxxxxxxxxxxxxx/system/asset/configure/queryAlarmEnum
其中xxxxxxxxxxxxxxx为节点URL(详情参考:对接说明中4.服务器节点说明)
(上海节点)http://124.223.60.234:8080/system/asset/configure/queryAlarmEnum
(美国节点)https://cloud.aovx.com/prod/system/asset/configure/queryAlarmEnum
2.请求参数
2.1请求头
在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"id":"F940B79790004404AAC277418FC71C5E"
}
2.3.参数说明
字段 | 类型 | 说明 | 是否必须 |
---|---|---|---|
id | String | 组织唯一标识 | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": [
{
"id": 0,
"name": "{\"0\":\"Emergency\",\"1\":\"紧急报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 1,
"name": "{\"0\":\"Speed Alarm\",\"1\":\"超速报警\"}",
"index": 1,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 2,
"name": "{\"0\":\"Fatigue driving\",\"1\":\"疲劳驾驶\"}",
"index": 2,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 3,
"name": "{\"0\":\"Danger warning\",\"1\":\"危险预警\"}",
"index": 3,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 4,
"name": "{\"0\":\"GNSS module failure\",\"1\":\"卫星模块异常\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 5,
"name": "{\"0\":\"GNSS antenna disconnected\",\"1\":\"卫星天线断开\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 6,
"name": "{\"0\":\"GNSS antenna short circuit\",\"1\":\"卫星天线短路\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 7,
"name": "{\"0\":\"Undervoltage of main power supply\",\"1\":\"主电源欠压\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 8,
"name": "{\"0\":\"Power failure of main power supply\",\"1\":\"主电源断电\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 9,
"name": "{\"0\":\"Display failure\",\"1\":\"显示屏故障\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 10,
"name": "{\"0\":\"TTS module failure\",\"1\":\"TTS模块故障\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 11,
"name": "{\"0\":\"Camera fault\",\"1\":\"摄像头故障\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 12,
"name": "{\"0\":\"IC card module failure\",\"1\":\"IC卡模块故障\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 15,
"name": "{\"0\":\"Removal alarm\",\"1\":\"拆卸报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 16,
"name": "{\"0\":\"Vibration alarm\",\"1\":\"震动报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 18,
"name": "{\"0\":\"Accumulated driving overtime of the day\",\"1\":\"当天累计驾驶超时\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 19,
"name": "{\"0\":\"Overtime parking\",\"1\":\"超时停车\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 20,
"name": "{\"0\":\"Access area\",\"1\":\"进出围栏报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 21,
"name": "{\"0\":\"Access route\",\"1\":\"进出路线报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 23,
"name": "{\"0\":\"Route deviation alarm\",\"1\":\"路线偏离报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 24,
"name": "{\"0\":\"Vehicle VSS failure\",\"1\":\"VSS故障\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 25,
"name": "{\"0\":\"Fuel quantity is abnormal\",\"1\":\"油耗异常\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 26,
"name": "{\"0\":\"Asset stolen\",\"1\":\"资产被盗\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 27,
"name": "{\"0\":\"Illegal ignition of vehicle\",\"1\":\"非法点火\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 28,
"name": "{\"0\":\"Illegal vehicle displacement\",\"1\":\"非法移动\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 29,
"name": "{\"0\":\"Collision warning\",\"1\":\"碰撞预警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 30,
"name": "{\"0\":\"Rollover warning\",\"1\":\"侧翻预警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 31,
"name": "{\"0\":\"Illegal door opening alarm\",\"1\":\"非法开门\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 200,
"name": "{\"0\":\"SOS\",\"1\":\"SOS\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 201,
"name": "{\"0\":\"Temp&humidity alarm\",\"1\":\"温湿度报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 203,
"name": "{\"0\":\"Light alarm\",\"1\":\"光照报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 204,
"name": "{\"0\":\"Water immersion alarm\",\"1\":\"水浸报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 205,
"name": "{\"0\":\"Low battery\",\"1\":\"低电报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 206,
"name": "{\"0\":\"One button alarm\",\"1\":\"一键报警\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 207,
"name": "{\"0\":\"Release the one button alarm\",\"1\":\"一键报警解除\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 208,
"name": "{\"0\":\"Rapid acceleration\",\"1\":\"急加速\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 209,
"name": "{\"0\":\"Sharp deceleration\",\"1\":\"急减速\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
},
{
"id": 210,
"name": "{\"0\":\"Sharp turn\",\"1\":\"急转弯\"}",
"index": 0,
"status": 1,
"systemPush": 1,
"appPush": 1
}
]
}
3.2.返回结果说明
字段 | 类型 | 说明 |
---|---|---|
code | int | 返回状态 |
message | String | 返回结果描述 |
data | object | 返回结果体 |
data说明
字段 | 类型 | 说明 |
---|---|---|
id | int | 报警类型Id |
name | String | 报警类型名称(0:英文;1:中文) |
index | int | 报警类型排序索引 |
status | int | 报警类型开启状态(1:启用;0:禁用),被禁用的则不会在报警报告对应的报警类型选择栏中体现 |
systemPush | int | 系统提醒(1:启用;0:禁用) |
appPush | int | APP推送(1:启用;0:禁用) |
作者:admin 创建时间:2023-04-24 16:28
最后编辑:admin 更新时间:2025-04-26 15:43
最后编辑:admin 更新时间:2025-04-26 15:43