UpdateControllerStatusPropAsync

Sets a specific Status property on the controller. Returns (Task)

Overview of UpdateControllerStatusPropAsync goes here.

Name Description
controller The controller to update
prop Use IsTampered, IsFaulted", IsBatteryLow, IsOnline, IsUpdating
newValue true or false
reason Optional reason for change of status
logId Optional log ID for tracking the status change
occurredOn Optional timestamp for when the status change occurred

Update Controller Status Prop Async

Example in C#

// Returns: nothing
await client.UpdateControllerStatusPropAsync(ControllerInfo controller, String prop, Boolean newValue, String reason, Int64 logId, DateTime occurredOn);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/status/IsUpdating \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d 'true'