UpdateDownstreamStatusAsync

Updates the status of a Mercury downstream device. Returns (True if the Status was updated, False if it was skipped (same as current value)) Updates the status of an ASC downstream device. Returns (Task) Updates the status of an ASSA ABLOY DSR downstream device. Returns (Task)

Adjust the status of the designated Downstream.

Name Description
downstream The Mercury downstream device to update status for
status The status information to update
downstream The ASC downstream device to update status for
status The status information to update
downstream The ASSA ABLOY DSR downstream device to update status for
status The status information to update

Update Downstream Status Async

Example in C#

// Returns: Boolean
var item = await client.UpdateDownstreamStatusAsync(MercuryDownstreamInfo downstream, DownstreamStatusItem status);

Update Downstream Status Async

Example in C#

// Returns: nothing
await client.UpdateDownstreamStatusAsync(AscDownstreamInfo downstream, AscDownstreamStatusItem status);

Update Downstream Status Async

Example in C#

// Returns: nothing
await client.UpdateDownstreamStatusAsync(AssaAbloyDsrInfo downstream, AssaAbloyDsrStatusItem status);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/downstream/DOWNSTREAM.KEY/status \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.DownstreamStatusItem, Feenics.Keep.WebApi.Model",
                       "IsOnline":null,
                       "CommunicationMessage":null,
                       "IsPowered":null,
                       "IsTampered":null
                   }'
            

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/downstream/DOWNSTREAM.KEY/status \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.AscDownstreamStatusItem, Feenics.Keep.WebApi.Model",
                       "IsOnline":null,
                       "CommunicationMessage":null,
                       "IsPowered":null,
                       "IsTampered":null
                   }'
            

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/downstream/DOWNSTREAM.KEY/status \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.AssaAbloyDsrStatusItem, Feenics.Keep.WebApi.Model",
                       "IsOnline":null,
                       "CommunicationMessage":null,
                       "IsPowered":null,
                       "IsTampered":null
                   }'