EventMessageData

This class represents information about event messages.

This is the message information contained in an event.

EventMessageData Properties

EventMessageData

Field Type Inherited from Description
AlarmAcknowledgements AlarmAcknowledgementItem[] EventMessageData Gets or sets the array of alarm acknowledgements for this event
AppKey String EventMessageData Gets or sets the Keep application key that generated this event
ClientDeviceId String EventMessageData Gets or sets the client device identifier that generated this event
Delivery String EventMessageData Gets or sets the delivery level. Values: “All”, “HideFromLiveEvents”, “None”. A missing value means “All”. UI clients hide a “HideFromLiveEvents” event from their live event list and keep it for all other features. A client never receives “None”. The API keeps such an event in history only. The ChangeStream and SNS skip it. Compare the value to the names of EventDelivery . Use Enum.TryParse with ignoreCase. A missing field, an explicit null, and an empty or white-space value all read as “All”. The getter never returns null.
EventDataBsonBase64 String EventMessageData Gets or sets the event data in base64-encoded BSON format
EventTypeKey String EventMessageData Gets or sets the event type key reference
Href String EventMessageData Gets or sets the Href value
InFolderKey String EventMessageData Gets or sets the InFolderKey value
Key String EventMessageData Gets or sets the Key value
Links List<Link> EventMessageData Gets or sets the Links value
MessageLong String EventMessageData Gets or sets the detailed message description of the event
MessageShort String EventMessageData Gets or sets the short message description of the event
Metadata MetadataItem[] EventMessageData Gets or sets the metadata items containing additional event information
Monikers MonikerItem[] EventMessageData Gets or sets the array of monikers (type identifiers) for event classification
ObjectLinks ObjectLinkItem[] EventMessageData Gets or sets the array of object links referencing related Keep objects
OccurredOn DateTime EventMessageData Gets or sets the timestamp when the event occurred
Priority Int32 EventMessageData Gets or sets the event priority level
PublishedOn DateTime EventMessageData Gets or sets the timestamp when the event was published to Keep
RequiresAcknowledgement Boolean EventMessageData Gets or sets whether this event requires manual acknowledgement
Tags String[] EventMessageData Gets or sets the array of tags associated with this event

JSON Structure of EventMessageData

{
   "AlarmAcknowledgements"	:	"[AlarmAcknowledgementItem](/object-model/alarmacknowledgementitem)[]",
   "AppKey"	:	"String",
   "ClientDeviceId"	:	"String",
   "Delivery"	:	"String",
   "EventDataBsonBase64"	:	"String",
   "EventTypeKey"	:	"String",
   "Href"	:	"String",
   "InFolderKey"	:	"String",
   "Key"	:	"String",
   "Links"	:	"List\<[Link](/object-model/link)\>",
   "MessageLong"	:	"String",
   "MessageShort"	:	"String",
   "Metadata"	:	"[MetadataItem](/object-model/metadataitem)[]",
   "Monikers"	:	"[MonikerItem](/object-model/monikeritem)[]",
   "ObjectLinks"	:	"[ObjectLinkItem](/object-model/objectlinkitem)[]",
   "OccurredOn"	:	"DateTime",
   "Priority"	:	"Int32",
   "PublishedOn"	:	"DateTime",
   "RequiresAcknowledgement"	:	"Boolean",
   "Tags"	:	"String[]"
}

Get Connected Objects Async

Example in C#

// Returns: IEnumerable<BaseInfo>
var baseInfo = await client.GetConnectedObjectsAsync(EventMessageData target, String relation);

Example in CURL



           curl -X GET \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/connections \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' 
            

Example in CURL



           curl -X GET \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/events/EVENT.KEY/connections \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'