GetPeripheralOfReaderAsync

Gets a specific peripheral type from a reader. Returns (Task)

Find a particular Perihpheral by type that is connected to a designated Reader.

Name Description
reader The reader to get the peripheral from
peripheralType The type of peripheral to retrieve (Rex, Contact, Strike, Slave)

Get Peripheral Of Reader Async

Example in C#

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

Example in CURL



           curl -X GET \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/peripherals/PERIPHERAL.TYPE \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json'