- 开发指南
- 登录管理
- 告警业务
- 定位信息
- 考勤与工时统计
- 历史轨迹/视频查询
- 电子点名与统计区域
- 巡检任务
- IFrame页面应用
- 附录
告警处理接口
POST
/localsense/alarm/handleAlarmById
告警相关api
请求参数
Header 参数
token
string
必需
默认值:
{{logintoken}}
Body 参数application/json
hm
string
处理人
hr
string
处理标记
ht
string
处理时间
hw
string
处理方式
id
string
告警id
示例
{
"hm": "string",
"hr": "string",
"ht": "string",
"hw": "string",
"id": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/localsense/alarm/handleAlarmById' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"hm": "string",
"hr": "string",
"ht": "string",
"hw": "string",
"id": "string"
}'
返回响应
🟢200OK
application/json
Body
code
integer <int32>
可选
data
object
响应数据
msg
string
响应说明
示例
{
"code": 200,
"msg": "success",
"data": null
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found