跳至主要內容

上报告警事件状态事件

eview小于 1 分钟loctube-api

上报告警事件状态事件

接口地址:/device/evgps/{deviceId}/event/trackerAlarmState/{timestamp}

请求方式:POST

请求数据类型:application/json

响应数据类型:*/*

接口描述:

上报告警事件状态事件

请求示例:

{
  "state": "UNREAD"
}

请求参数:

请求参数:

参数名称参数说明请求类型是否必须数据类型schema
deviceIdpathtruestring
timestamppathtrueinteger(int64)
trackerAlarmStateTrackerAlarmStatebodytrueTrackerAlarmStateTrackerAlarmState
state状态:未读已读重要,可用值:UNREAD,READ,IMPORTANTfalse

响应示例:

{
	"message": "",
	"result": true,
	"status": 0,
	"code": "",
	"timestamp": 0
}