Represents an area (partition) on an Acre intrusion detection panel
Overview of AcreIntrusionAreaInfo goes here.
Item -> BaseInfo -> AcreIntrusionPeripheralInfo -> AcreIntrusionAreaInfo
| 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. |
| AcreIntrusionId | Int32 | AcreIntrusionPeripheralInfo | Gets or sets the Acre intrusion panel identifier |
| AutosetFailReason | String | AcreIntrusionAreaInfo | Gets or sets the reason automatic setting failed |
| AutosetFailTime | Nullable<DateTime> | AcreIntrusionAreaInfo | Gets or sets the timestamp when automatic setting failed |
| DuressLocation | Int32 | AcreIntrusionAreaInfo | Gets or sets the location where duress was triggered |
| DuressUser | Int32 | AcreIntrusionAreaInfo | Gets or sets the user ID who triggered a duress alarm |
| FailToSetReason | String | AcreIntrusionAreaInfo | Gets or sets the reason the area failed to set/arm |
| LastAlarm | Nullable<DateTime> | AcreIntrusionAreaInfo | Gets or sets the timestamp of the last alarm event |
| LastAlarmAbort | Nullable<DateTime> | AcreIntrusionAreaInfo | Gets or sets the timestamp of the last alarm abort event |
| LastDuressTime | Nullable<DateTime> | AcreIntrusionAreaInfo | Gets or sets the timestamp of the last duress alarm |
| LastEarlyToSet | Nullable<DateTime> | AcreIntrusionAreaInfo | Gets or sets the timestamp when area was set earlier than scheduled |
| LastEarlyToUnset | Nullable<DateTime> | AcreIntrusionAreaInfo | Gets or sets the timestamp when area was unset earlier than scheduled |
| LastLateToSet | Nullable<DateTime> | AcreIntrusionAreaInfo | Gets or sets the timestamp when area was set later than scheduled |
| LastLateToUnset | Nullable<DateTime> | AcreIntrusionAreaInfo | Gets or sets the timestamp when area was unset later than scheduled |
| LastSetTime | Nullable<DateTime> | AcreIntrusionAreaInfo | Gets or sets the timestamp when the area was last armed/set |
| LastSetUserId | Int32 | AcreIntrusionAreaInfo | Gets or sets the user ID who last armed/set the area |
| LastSetUserName | String | AcreIntrusionAreaInfo | Gets or sets the username who last armed/set the area |
| LastUnsetTime | Nullable<DateTime> | AcreIntrusionAreaInfo | Gets or sets the timestamp when the area was last disarmed/unset |
| LastUnsetUserId | Int32 | AcreIntrusionAreaInfo | Gets or sets the user ID who last disarmed/unset the area |
| LastUnsetUserName | String | AcreIntrusionAreaInfo | Gets or sets the username who last disarmed/unset the area |
| Mode | AcreIntrusionAreaMode | AcreIntrusionAreaInfo | Gets or sets the current arming mode of the area (Unset, PartA, PartB, Fullset, or Mixed) |
| NotReadySet | Boolean | AcreIntrusionAreaInfo | Gets or sets whether the area is not ready to be set/armed |
| NotReadyUnset | Boolean | AcreIntrusionAreaInfo | Gets or sets whether the area is not ready to be unset/disarmed |
| PartsetAEnable | Boolean | AcreIntrusionAreaInfo | Gets or sets whether part-set A is enabled for this area |
| PartsetAName | String | AcreIntrusionAreaInfo | Gets or sets the name/description of part-set A |
| PartsetBEnable | Boolean | AcreIntrusionAreaInfo | Gets or sets whether part-set B is enabled for this area |
| PartsetBName | String | AcreIntrusionAreaInfo | Gets or sets the name/description of part-set B |
{
"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[]",
"AcreIntrusionId" : "Int32",
"AutosetFailReason" : "String",
"AutosetFailTime" : "Nullable\<DateTime\>",
"DuressLocation" : "Int32",
"DuressUser" : "Int32",
"FailToSetReason" : "String",
"LastAlarm" : "Nullable\<DateTime\>",
"LastAlarmAbort" : "Nullable\<DateTime\>",
"LastDuressTime" : "Nullable\<DateTime\>",
"LastEarlyToSet" : "Nullable\<DateTime\>",
"LastEarlyToUnset" : "Nullable\<DateTime\>",
"LastLateToSet" : "Nullable\<DateTime\>",
"LastLateToUnset" : "Nullable\<DateTime\>",
"LastSetTime" : "Nullable\<DateTime\>",
"LastSetUserId" : "Int32",
"LastSetUserName" : "String",
"LastUnsetTime" : "Nullable\<DateTime\>",
"LastUnsetUserId" : "Int32",
"LastUnsetUserName" : "String",
"Mode" : "[AcreIntrusionAreaMode](/object-model/acreintrusionareamode)",
"NotReadySet" : "Boolean",
"NotReadyUnset" : "Boolean",
"PartsetAEnable" : "Boolean",
"PartsetAName" : "String",
"PartsetBEnable" : "Boolean",
"PartsetBName" : "String"
}
Example in C#
// Returns: AcreIntrusionAreaInfo
var acreIntrusionAreaInfo = await client.AddAcreIntrusionAreaAsync(AcreIntrusionPanelInfo AcreIntrusionPanel, AcreIntrusionAreaInfo AcreIntrusionArea);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/acreintrusionpanels/PANEL.KEY/acreintrusionareas \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.AcreIntrusionAreaInfo, Feenics.Keep.WebApi.Model",
"CommonName":"Area_for_cURL",
"AreaNumber":1
}'
Example in C#
// Returns: nothing
await client.DeleteAcreIntrusionAreaAsync(AcreIntrusionAreaInfo AcreIntrusionArea);
Example in CURL
curl -X DELETE \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/acreintrusionpanels/PANEL.KEY/acreintrusionareas/AREA.KEY \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: IEnumerable<AcreIntrusionAreaInfo>
var acreIntrusionAreaInfo = await client.GetAcreIntrusionAreasAsync(AcreIntrusionPanelInfo AcreIntrusionPanel);
Example in CURL
curl -X GET \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/acreintrusionpanels/PANEL.KEY/acreintrusionareas \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: nothing
await client.UpdateAcreIntrusionAreaAsync(AcreIntrusionAreaInfo AcreIntrusionArea);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/acreintrusionpanels/PANEL.KEY/acreintrusionareas/AREA.KEY \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.AcreIntrusionAreaInfo, Feenics.Keep.WebApi.Model",
"Key":"AREA.KEY",
"CommonName":"Updated_Area"
}'