AddDoorAsync

Add a new door to a folder Returns (Task.)

Overview of AddDoorAsync goes here.

Name Description
folder The folder to add the door to
item The door information

Add Door Async

Example in C#

// Returns: DoorInfo
var doorInfo = await client.AddDoorAsync(FolderInfo folder, DoorInfo item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/doors \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                   "$type": "Feenics.Keep.WebApi.Model.DoorInfo, Feenics.Keep.WebApi.Model",
                   "CommonName": "Main Entrance",
                   "InFolderKey": "INSTANCE.KEY"
               }'