HgEventTriggerItem

Represents an Event Trigger from a Mercury Controller.The API serves a connection of HgEventTriggerItem instances that represents the canonical set of all possible events generated by a Mercury Controller or Downstream Interface

This is an Item attached to an event trigger.

HgEventTriggerItem Properties

HgEventTriggerItem

Field Type Inherited from Description
CommonName String HgEventTriggerItem Gets or sets the name of the common.
EventArg Int32 HgEventTriggerItem Gets or sets the event argument.
EventCode Int32 HgEventTriggerItem Gets or sets the event code.
EventSource Int32 HgEventTriggerItem Gets or sets the event source.
EventTransactions Int32[] HgEventTriggerItem Gets or sets the event transactions.
Key String HgEventTriggerItem Gets or sets the key.
SourceType String HgEventTriggerItem Gets or sets the type of the source.

JSON Structure of HgEventTriggerItem

{
   "CommonName"	:	"String",
   "EventArg"	:	"Int32",
   "EventCode"	:	"Int32",
   "EventSource"	:	"Int32",
   "EventTransactions"	:	"Int32[]",
   "Key"	:	"String",
   "SourceType"	:	"String"
}

Get Hg Event Triggers Async

Example in C#

// Returns: IEnumerable<HgEventTriggerItem>
var hgEventTriggerItem = await client.GetHgEventTriggersAsync()

Example in CURL



           curl -X GET \
               https://keepapi.feenicshosting.com/api/sysinfo/hgeventtriggers  \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'