Returns (Task)
Set the Status of the designated Peripheral.
Name | Description |
---|---|
peripheral | |
status |
Example in C#
// Returns: nothing
await client.UpdatePeripheralStatusAsync(MercuryPeripheralInfo peripheral, PeripheralStatusItem status);
Example in CURL
curl -X PUT \
https://keepapi.feenicshosting.com/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"}'