AddDoorGroupAsync

Creates a new door group in the specified folder. Returns (Task)

Overview of AddDoorGroupAsync goes here.

Name Description
folder The folder where the door group will be created
item The door group information to create

Add Door Group Async

Example in C#

// Returns: DoorGroupInfo
var doorGroupInfo = await client.AddDoorGroupAsync(FolderInfo folder, DoorGroupInfo item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/doorgroups \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.DoorGroupInfo, Feenics.Keep.WebApi.Model",
                       "CommonName":"DoorGroup_for_cURL",
                       "Notes":"Created via API"
                   }'