AddAcreIntrusionZoneAsync

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

Overview of AddAcreIntrusionZoneAsync goes here.

Name Description
AcreIntrusion The ACRE intrusion panel to add the zone to
areaObjectId The object ID of the area to associate the zone with
AcreIntrusionZone The ACRE intrusion zone information to add

Add Acre Intrusion Zone Async

Example in C#

// Returns: AcreIntrusionZoneInfo
var acreIntrusionZoneInfo = await client.AddAcreIntrusionZoneAsync(AcreIntrusionPanelInfo AcreIntrusion, String areaObjectId, AcreIntrusionZoneInfo AcreIntrusionZone);

Example in CURL



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