AddLocalAreaToControllerAsync

Returns (Task)

Create and register the Local Area to the designated Controller.

Name Description
controller
localArea

Add Local Area To Controller Async

Example in C#

// Returns: LocalAreaInfo
var localAreaInfo = await client.AddLocalAreaToControllerAsync(ControllerInfo controller, LocalAreaInfo localArea)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/localareas \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.LocalAreaInfo, Feenics.Keep.WebApi.Model",
                       "Index":0,
                       "IsMultipleOccupancy":false,
                       "MaximumOccupancy":0,
                       "LogCountUp":0,
                       "LogCountDown":0,
                       "IsAirLock":false,
                       "IsEnabled":false,
                       "Occupancy":0,
                       "Key":null,
                       "CommonName":null,
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'