UpdatePeripheralStatusAsync

Updates the status of a peripheral. Returns (True if the Status was updated, False if it was skipped (same as current value))

Set the Status of the designated Peripheral.

Name Description
peripheral The peripheral to update status for
status The status information to update

Update Peripheral Status Async

Example in C#

// Returns: Boolean
var item = await client.UpdatePeripheralStatusAsync(MercuryPeripheralInfo peripheral, PeripheralStatusItem status);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/peripherals/Status \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{"$type":"Feenics.Keep.WebApi.Model.PeripheralStatusItem, Feenics.Keep.WebApi.Model"}'