AddAreaAssignmentInfoAsync

Creates a new area assignment in the specified folder. Returns (Task)

Create an Area Assignment in the designated Folder.

Name Description
folder The folder where the area assignment will be created
item The area assignment information to create

Add Area Assignment Info Async

Example in C#

// Returns: AreaAssignmentInfo
var areaAssignmentInfo = await client.AddAreaAssignmentInfoAsync(FolderInfo folder, AreaAssignmentInfo item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/areaassignments \
                -H 'Authorization: Bearer TOKEN_GOES_HERE'
                -H 'Content-Type: application/json' \
                -d '{
                       "$type":"Feenics.Keep.WebApi.Model.AreaAssignmentInfo, Feenics.Keep.WebApi.Model",
                       "Key":null,
                       "CommonName":"AreaAssignmentFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'