AddPeripheralToDownStreamAsync

Returns (Task)

Create a Mercury Peripheral device that is connected to the designated Downstream.

Name Description
downstream
item

Add Peripheral To Down Stream Async

Example in C#

// Returns: T
var item = await client.AddPeripheralToDownStreamAsync<T>(DownstreamInfo downstream, T item)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/downstream/DOWNSTREAM.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
                   }'