AddPeripheralToReaderAsync

Returns (Task)

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

Name Description
reader
peripheralType
item

Add Peripheral To Reader Async

Example in C#

// Returns: PeripheralInfo
var peripheralInfo = await client.AddPeripheralToReaderAsync(MercuryReaderInfo reader, ReaderPeripheralTypes peripheralType, MercuryPeripheralInfo item);

Example in CURL



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