UpdateDeviceStatusPropertiesAsync

Updates device status values attached to the Instance Scope for this folder. Supports bool? values. The old method only supported bool values, but must remain for compatibility. Returns (returns a result item for each device status update)

Overview of UpdateDeviceStatusPropertiesAsync goes here.

Name Description
folder The folder containing the device to update
deviceKey The key of the device to update
propStatusValues Dictionary of property names and their status values
logId Optional log ID for tracking the update
suppressUpdateEvent Whether to suppress update events

Update Device Status Properties Async

Example in C#

// Returns: BulkItemResult
var bulkItemResult = await client.UpdateDeviceStatusPropertiesAsync(FolderInfo folder, String deviceKey, Boolean propStatusValues, Int64 logId, Boolean suppressUpdateEvent);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/device-status/DEVICE.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'