Skip to content

Alarm Handle

Upload the alarm for handle, support batch change handle status

API info

Url: /info_report/v1/update_alarm_handle

Method: POST

Content-Type:application/json

Request parameter

fieldtyperequireddesc
alarmIDsarray(string)YesAlarm id, multiple
handleStatusintegerHandle status: 0: handing,1: handle completed,2: no handle,3: future handle
notestringNohandle remark

Response Data (object)

none

Example

Request example

json
http://localhost:8080/info_report/v1/update_alarm_handle
{
    "alarmIDs":["12554512154521","5456354215456545"],
    "handleStatus":1,
    "note":""
}
http://localhost:8080/info_report/v1/update_alarm_handle
{
    "alarmIDs":["12554512154521","5456354215456545"],
    "handleStatus":1,
    "note":""
}

Response example

json
{
	"hdr": {
		"code": 200,
		"message": "success"
	}
}
{
	"hdr": {
		"code": 200,
		"message": "success"
	}
}