Class DownstreamStatusItem.
This is where the status of the downstream is maintained.
DownstreamStatusItem
Field | Type | Inherited from | Description |
---|---|---|---|
CommunicationMessage | String | DownstreamStatusItem | Gets or sets the communication message. |
IsOnline | Nullable<Boolean> | DownstreamStatusItem | Gets or sets a value indicating whether this device is online.Possible Values (null, true, false) |
IsPowered | Nullable<Boolean> | DownstreamStatusItem | Gets or sets a value indicating whether this device is powered.Possible Values (null, true, false) |
IsTampered | Nullable<Boolean> | DownstreamStatusItem | Gets or sets a value indicating whether this device is tampered.Possible Values (null, true, false) |
{
"CommunicationMessage" : "String",
"IsOnline" : "Nullable\<Boolean\>",
"IsPowered" : "Nullable\<Boolean\>",
"IsTampered" : "Nullable\<Boolean\>"
}
Example in C#
// Returns: nothing
await client.UpdateDownstreamStatusAsync(MercuryDownstreamInfo downstream, DownstreamStatusItem 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
}'