EngageIpGatewayInfo

Represents an Allegion Engage IP gateway for mobile credential management

The IP Gateway can communicate with Keep directly and thus bypass the need for a controller; however, it can be used as a downstream device also.

EngageIpGatewayInfo Properties

Item -> BaseInfo -> EngageDeviceInfo -> EngageIpGatewayInfo

Field Type Inherited from Description
Href String Item Gets or sets the href.
CommonName String BaseInfo Common Name of the resource.The common name of the resource.
ConcurrencyVersion Nullable<Int64> BaseInfo Gets or Set the Version.
InFolderHref String BaseInfo relative path Href value for the containing folderAll objects exist within a folder. Even folders!
InFolderKey String BaseInfo Represents the internal ID of the containing folder
IsGlobal Boolean BaseInfo If set True, the object will be exposed to the entire instance scope in which it resides. Meaning this object will always pass scope wide permissions tests when being queried although other restrictions such as by type will still apply (You need at least Read on the object type to see it regardless where you are in the instance scope). This Attribute is intended for use with AccessLevelInfo objects only. Use with other model objects may cause unexpected behaviors. Particularly this should not be used with ScheduleInfos, HolidayInfos, HolidayDayInfos, or ElevatorAccessLevelInfos. In time more objects will be allowed for use with this attribute but for the time being please only use with AccessLevelInfo Objects.
Key String BaseInfo Represents the internal ID of the object.
Links List<Link> BaseInfo List of related resourcesIt is expected that a resource will have many related resources (i.e. person has many access levels) Consumers of the API are encouraged to iterate through the list of links requesting this additional information as required.
Metadata MetadataItem[] BaseInfo The set of metadata attached to this resourceMetadata is opaque to the server code. Key value pairs are saved as part of a client activity. Users of the Native windows client, are able to design custom forms to display and edit scalar values in the meta data.
Monikers MonikerItem[] BaseInfo the set of Monikers for this object
Notes NoteInfo[] BaseInfo The set of notes attached to this resourceNotes are free form text only that is stored in chronological order. All notes are retrieved as part of an OBJECT get. Notes may be added as one POST but not updated with a PUT of the primary resource. WHen the resource is deleted all the notes are also deleted.
ObjectLinks ObjectLinkItem[] BaseInfo The set of resources that are related to this resource. Frequently resources have a one to one, or one to many relationship with other resources in the system. Use this set of links to discover related resources. 2016/09/29 Href property of the related resource may be null. In which case it’s expected that a set of related objects has already been retrieved by the client and the Key value will be used to index into that set.
Tags String[] BaseInfo the set of tags for this object. Tags are used to group objects together for the purposes of selection and assignment of operation rights.
DeviceReference String EngageDeviceInfo The Device Reference
DeviceType String EngageDeviceInfo The type of EngageDevice
LastUpdatedOn Nullable<DateTime> EngageDeviceInfo the Last time the device was updated (UTC)
SerialNumberLong String EngageDeviceInfo The Long Serial Number value
SerialNumberShort String EngageDeviceInfo The Short Serial Number value
Timestamp String EngageDeviceInfo The Timestamp
Timezone String EngageDeviceInfo The Timezone of the device in posix format (“EST5EDT,M3.2.0/2,M11.1.0/2” for Eastern Standard Time)
Version String EngageDeviceInfo The device version
HostName String EngageIpGatewayInfo Gets or sets the hostname or IP address of the gateway
LastPing Nullable<DateTime> EngageIpGatewayInfo Gets or sets the last time the gateway communicated with the system
Status EngageIpGatewayStatusItem EngageIpGatewayInfo Gets or sets the operational status of the gateway

JSON Structure of EngageIpGatewayInfo

{
   "Href"	:	"String",
   "CommonName"	:	"String",
   "ConcurrencyVersion"	:	"Nullable\<Int64\>",
   "InFolderHref"	:	"String",
   "InFolderKey"	:	"String",
   "IsGlobal"	:	"Boolean",
   "Key"	:	"String",
   "Links"	:	"List\<[Link](/object-model/link)\>",
   "Metadata"	:	"[MetadataItem](/object-model/metadataitem)[]",
   "Monikers"	:	"[MonikerItem](/object-model/monikeritem)[]",
   "Notes"	:	"[NoteInfo](/object-model/noteinfo)[]",
   "ObjectLinks"	:	"[ObjectLinkItem](/object-model/objectlinkitem)[]",
   "Tags"	:	"String[]",
   "DeviceReference"	:	"String",
   "DeviceType"	:	"String",
   "LastUpdatedOn"	:	"Nullable\<DateTime\>",
   "SerialNumberLong"	:	"String",
   "SerialNumberShort"	:	"String",
   "Timestamp"	:	"String",
   "Timezone"	:	"String",
   "Version"	:	"String",
   "HostName"	:	"String",
   "LastPing"	:	"Nullable\<DateTime\>",
   "Status"	:	"[EngageIpGatewayStatusItem](/object-model/engageipgatewaystatusitem)"
}

Add Engage Ip Gateway Async

Example in C#

// Returns: EngageIpGatewayInfo
var engageIpGatewayInfo = await client.AddEngageIpGatewayAsync(FolderInfo folder, EngageIpGatewayInfo item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/engageipgateways \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'cache-control: no-cache' \
               -d '{
               	"$type":"Feenics.Keep.WebApi.Model.EngageIpGatewayInfo, Feenics.Keep.WebApi.Model",
               	"HostName":null,
               	"Status":null,
               	"LastPing":null,
               	"DeviceType":null,
               	"SerialNumberShort":"666",
               	"SerialNumberLong":"666",
               	"DeviceReference":null,
               	"Timestamp":null,
               	"Timezone":null,
               	"LastUpdatedOn":null,
               	"Version":null,
               	"Key":null,
               	"CommonName":"EngageReader_for_cURL",
               	"InFolderHref":null,
               	"InFolderKey":null,
               	"Links":[],
               	"ObjectLinks":null,
               	"Metadata":null,
               	"Notes":null,
               	"Tags":null,
               	"Monikers":null,
               	"Href":null
               }'
            

Delete Engage Ip Gateway Async

Example in C#

// Returns: nothing
await client.DeleteEngageIpGatewayAsync(EngageIpGatewayInfo item);

Example in CURL


curl -X DELETE \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/engageipgateways/ENGAGEIPGATEWAY.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'
            

Get Engage Ip Gateway Async

Example in C#

// Returns: IEnumerable<EngageIpGatewayInfo>
var engageIpGatewayInfo = await client.GetEngageIpGatewayAsync(FolderInfo folder);

Example in CURL



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

Update Engage Gateway Last Ping Async

Example in C#

// Returns: nothing
await client.UpdateEngageGatewayLastPingAsync(EngageIpGatewayInfo item);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/engageipgateways/ENGAGEIPGATEWAY.KEY/lastping \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
               	"$type":"Feenics.Keep.WebApi.Model.EngageIpGatewayInfo, Feenics.Keep.WebApi.Model",
               	"HostName":null,
               	"Status":null,
               	"LastPing":DATETIME,
               	"DeviceType":null,
               	"SerialNumberShort":"111",
               	"SerialNumberLong":"111",
               	"DeviceReference":null,
               	"Timestamp":null,
               	"Timezone":null,
               	"LastUpdatedOn":null,
               	"Version":null,
               	"Key":"ENGAGEIPGATEWAY.KEY",
               	"CommonName":"EngageReader_for_cURL",
               	"InFolderHref":"/api/f/INSTANCE.KEY",
               	"InFolderKey":"INSTANCE.KEY",
               	"Links":
               	[
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Status",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"status","Text":"Status"
                           }
                       },
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"LastPing",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"lastping",
               				"Text":"Engage IP Gateway Last Ping"
               			}
           			},
           			{
           				"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
           				"Relation":"LastUpdatedOn",
           				"Anchor":
           				{
           					"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
           					"Href":"lastupdatedon",
           					"Text":"Last Updated On"
           				}
           			},
           			{
           				"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Version",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"version",
               				"Text":"Version"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Meta",
           				"Anchor":
               			{
           					"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"meta",
               				"Text":"Metadata"
               			}
                       },
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Monikers","Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"monikers","Text":"Monikers"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"CommonName",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"commonname",
               				"Text":"Common Name"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Images",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"images",
               				"Text":"Images"
               			}
                       },
           		    {
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"TakeOwnership",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"takeownership",
               				"Text":"Take Ownership"
               			}
                       },
               	    {
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Connections",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"connections",
               				"Text":"Connected Objects"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"References",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"references",
               				"Text":"Referencing Objects"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Notes",
               			"Anchor":
               			{
               					"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               					"Href":"notes",
               					"Text":"Notes"
               				}
               			}
               		],
               		"ObjectLinks":
               		[
               			{
               				"$type":"Feenics.Keep.WebApi.Model.ObjectLinkItem, Feenics.Keep.WebA.Model",
               				"Href":null,
               				"LinkedObjectKey":"INSTANCE.KEY",
               				"CommonName":"INSTANCE_NAME","Relation":"InInstance",
               				"MetaDataBson":
               				{
               					"$type":"System.Byte[], mscorlib",
               					"$value":""
               				}
               			},
               			{
               				"$type":"Feenics.Keep.WebApi.Model.ObjectLinkItem, Feenics.Keep.WebA.Model",
               				"Href":null,
               				"LinkedObjectKey":"INSTANCE.KEY",
               				"CommonName":"INSTANCE_NAME",
               				"Relation":"InstanceScope",
               				"MetaDataBson":
               				{
               					"$type":"System.Byte[], mscorlib",
               					"$value":""
               				}
               			}
               		],
               		"Metadata":[],
               		"Notes":[],
               		"Tags":[],
               		"Monikers":[],
               		"Href":"/api/f/INSTANCE.KEY/engageipgateways/ENGAGEIPGATEWAY.KEY"
                   }'
            

Update Engage Ip Gateway Async

Example in C#

// Returns: nothing
await client.UpdateEngageIpGatewayAsync(EngageIpGatewayInfo item);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/engageipgateways/ENGAGEIPGATEWAY.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
               	"$type":"Feenics.Keep.WebApi.Model.EngageIpGatewayInfo, Feenics.Keep.WebApi.Model",
               	"HostName":null,
               	"Status":null,
               	"LastPing":null,
               	"DeviceType":null,
               	"SerialNumberShort":"666",
               	"SerialNumberLong":"666",
               	"DeviceReference":null,
               	"Timestamp":null,
               	"Timezone":null,
               	"LastUpdatedOn":null,
               	"Version":null,
               	"Key":"ENGAGEIPGATEWAY.KEY",
               	"CommonName":"EngageReader_for_cURL",
               	"InFolderHref":"/api/f/INSTANCE.KEY",
               	"InFolderKey":"INSTANCE.KEY",
               	"Links":
               	[
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Status",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"status","Text":"Status"
                           }
                       },
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"LastPing",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"lastping","Text":"Engage IP Gateway Last Ping"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"LastUpdatedOn",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"lastupdatedon",
               				"Text":"Last Updated On"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Version",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"version",
               				"Text":"Version"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Meta",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"meta",
               				"Text":"Metadata"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Monikers",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"monikers",
               				"Text":"Monikers"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"CommonName",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"commonname",
               				"Text":"Common Name"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Images",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"images",
               				"Text":"Images"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"TakeOwnership",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"takeownership",
               				"Text":"Take Ownership"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Connections",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"connections",
               				"Text":"Connected Objects"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"References",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"references",
               				"Text":"Referencing Objects"
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
               			"Relation":"Notes",
               			"Anchor":
               			{
               				"$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
               				"Href":"notes",
               				"Text":"Notes"
               			}
               		}
               	],
               	"ObjectLinks":
               	[
               		{
               			"$type":"Feenics.Keep.WebApi.Model.ObjectLinkItem, Feenics.Keep.WebApi.Model",
               			"Href":null,
               			"LinkedObjectKey":"INSTANCE.KEY",
               			"CommonName":"INSTANCE_NAME",
               			"Relation":"InInstance",
               			"MetaDataBson":
               			{
               				"$type":"System.Byte[], mscorlib",
               				"$value":""
               			}
               		},
               		{
               			"$type":"Feenics.Keep.WebApi.Model.ObjectLinkItem, Feenics.Keep.WebApi.Model",
               			"Href":null,
               			"LinkedObjectKey":"INSTANCE.KEY",
               			"CommonName":"INSTANCE_NAME",
               			"Relation":"InstanceScope",
               			"MetaDataBson":
               			{
               				"$type":"System.Byte[], mscorlib",
               				"$value":""
               			}
               		}
               	],
               	"Metadata":[],
               	"Notes":[],
               	"Tags":[],
               	"Monikers":[],
               	"Href":"/api/f/INSTANCE.KEY/engageipgateways/ENGAGEIPGATEWAY.KEY"
               }'
            

Update Engage Ip Gateway Status Async

Example in C#

// Returns: nothing
await client.UpdateEngageIpGatewayStatusAsync(EngageIpGatewayInfo gateway, EngageIpGatewayStatusItem status);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/engageipgateways/ENGAGEIPGATEWAY.KEY/status \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d ENGAGEIPGATEWAY.STATUSITEM