AddAcreIntrusionDoorAsync

Adds a new ACRE intrusion door to the specified panel and associates it with an area and zone. Returns (Task)

Overview of AddAcreIntrusionDoorAsync goes here.

Name Description
AcreIntrusionPanel The ACRE intrusion panel to add the door to
areaObjectId The object ID of the area to associate the door with
zoneObjectId The object ID of the zone to associate the door with
AcreIntrusionDoor The ACRE intrusion door information to add

Add Acre Intrusion Door Async

Example in C#

// Returns: AcreIntrusionDoorInfo
var acreIntrusionDoorInfo = await client.AddAcreIntrusionDoorAsync(AcreIntrusionPanelInfo AcreIntrusionPanel, String areaObjectId, String zoneObjectId, AcreIntrusionDoorInfo AcreIntrusionDoor);

Example in CURL



           curl -X POST \
               'https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/acreintrusionpanels/PANEL.KEY/acreintrusionDoors?areaObjectId=AREA.KEY&zoneObjectId=ZONE.KEY' \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.AcreIntrusionDoorInfo, Feenics.Keep.WebApi.Model",
                       "CommonName":"Door_for_cURL",
                       "DoorNumber":1
                   }'