UpdateDeviceStatusesAsync

Updates device status values attached to the Instance Scope for this folder. Returns (returns a result item for each device status update)

Overview of UpdateDeviceStatusesAsync goes here.

Name Description
folder The folder containing the devices to update
statusItems The device status items to update
suppressUpdateEvent Whether to suppress update events
occurredOn Optional timestamp for when the status change occurred

Update Device Statuses Async

Example in C#

// Returns: BulkResultInfo
var bulkResultInfo = await client.UpdateDeviceStatusesAsync(FolderInfo folder, DeviceStatusItem statusItems, Boolean suppressUpdateEvent, DateTime occurredOn);

Example in CURL



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