GET /protocols/bacnet/local/event-notifications
This resource lists all event notifications for all BACnet objects.
The response is only available in Application/Xml
Used when you are operating a browser without access to the header parameter. This allows you to choose which encoding you want to use for the response:
All these resources can be used according what the resource allows.
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
Object Name: EventNotificationDetails
Property Name | Type | Description | Method |
---|---|---|---|
EventNotificationDetails | Array <EventNotification> |
GET |
URL Example: https://0.0.0.0/api/rest/v1/protocols/bacnet/local/event-notifications
<?xml version="1.0" encoding="utf-8"?>
<EventNotificationDetails>
<EventNotification>
<Uuid>c27930aa-8a14-478a-89d9-0ab212241c5c</Uuid>
<EventInfo>
<ProcessIdentifier>0</ProcessIdentifier>
<InitiatingDeviceIdentifier>Device,100056</InitiatingDeviceIdentifier>
<EventObjectIdentifier>BinaryValue,2</EventObjectIdentifier>
<TimeStamp>2016-03-09T15:45:26.77-05:00</TimeStamp>
<NotificationClass>1</NotificationClass>
<Priority>255</Priority>
<EventType>ChangeOfState</EventType>
<MessageText>S1000_100056\Binary Value 2\Notification IN\Normal</MessageText>
<NotifyType>Alarm</NotifyType>
<AckRequired>true</AckRequired>
<FromState>OffNormal</FromState>
<ToState>Normal</ToState>
<EventValues>
<EventType>
<Value>ChangeOfState</Value>
<NewState>Active</NewState>
<StatusFlags>[,,,]</StatusFlags>
</EventType>
</EventValues>
</EventInfo>
</EventNotification>
<EventNotification>
<Uuid>684ccdb8-8c87-4a9b-8b2b-5406b211c3bc</Uuid>
<EventInfo>
<ProcessIdentifier>0</ProcessIdentifier>
<InitiatingDeviceIdentifier>Device,100056</InitiatingDeviceIdentifier>
<EventObjectIdentifier>BinaryValue,2</EventObjectIdentifier>
<TimeStamp>2016-03-09T15:45:36.11-05:00</TimeStamp>
<NotificationClass>1</NotificationClass>
<Priority>255</Priority>
<EventType>ChangeOfState</EventType>
<MessageText>
S1000_100056\Binary Value 2\Notification IN\OffNormal
</MessageText>
<NotifyType>Alarm</NotifyType>
<AckRequired>true</AckRequired>
<FromState>Normal</FromState>
<ToState>OffNormal</ToState>
<EventValues>
<EventType>
<Value>ChangeOfState</Value>
<NewState>Inactive</NewState>
<StatusFlags>[inAlarm,,,]</StatusFlags>
</EventType>
</EventValues>
</EventInfo>
</EventNotification>
</EventNotificationDetails>