AddPeripheralToControllerAsync

Adds a peripheral to a controller Returns (Task)

Overview of AddPeripheralToControllerAsync goes here.

Name Description
controller The controller to add the peripheral to
item The peripheral information to create

Add Peripheral To Controller Async

Example in C#

// Returns: T
var item = await client.AddPeripheralToControllerAsync<T>(ControllerInfo controller, T item);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/peripherals \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.MercuryPeripheralInfo, Feenics.Keep.WebApi.Model",
                       "ControllerIndex":0,
                       "SioNumber":0,
                       "SioIndex":0,
                       "ControllerKey":null,
                       "ControllerCommonName":null,
                       "ControllerHref":null,
                       "Status":null,
                       "BacnetReadOnly":null,
                       "Key":null,
                       "CommonName":"PeripheralExampleFor_cUrl",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'