Returns (Task)
Adjust the status of the designated Downstream.
Name | Description |
---|---|
downstream | |
status |
Example in C#
// Returns: nothing
await client.UpdateDownstreamStatusAsync(MercuryDownstreamInfo downstream, DownstreamStatusItem status);
Example in CURL
curl -X PUT \
https://keepapi.feenicshosting.com/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
}'