/ISAPI/Event/notification/alertStream

Get the uploaded heartbeat or alarm/event information.

Request URI Definition

Table 1 GET /ISAPI/Event/notification/alertStream

Method

GET

Description

Get the heartbeat or uploaded alarm/event information.

Query

None.

Request

None.

Response

Option 1: XML_EventNotificationAlert_AlarmEventInfo or XML_EventNotificationAlert_HeartbeatInfo

Option 2: JSON_EventNotificationAlert_Alarm/EventInfo

Note:

The messages here only show the format of alarm/event information to be uploaded. For details, refer to the corresponding alarm/event configuration chapters.

Remarks

  • After calling this URI, a persistent connection is set up between the device and the platform, and the alarm or event information will be uploaded from device continuously once the alarm is triggered or event occurred.

  • You can check if the XML response message is the heartbeat information according to the nodes <eventType> and <eventState>. If the values of these two node are "videoloss" and "inactive", respectively, the returned message is the heartbeat information.