InputStatusItem

Class InputStatusItem.

This is the status of a peripheral input item.

InputStatusItem Properties

DeviceStatusItem -> PeripheralStatusItem -> InputStatusItem

InputStatusItem -> AscInputStatusItem

Field Type Inherited from Description
ConcurrencyVersion Nullable<Int64> DeviceStatusItem Concurrency version for optimistic concurrency control.
DisplayLevel String DeviceStatusItem Gets or sets the display level for this item, typically used to indicate visual priority, severity, or categorization in the user interface (e.g., Info, Warning, Critical).
DisplayStatus String DeviceStatusItem Gets or sets the display-friendly status text for the device. This is typically used for UI representation and may differ from internal status codes. [BsonIgnoreIfDefault] to avoid reading the value.
Key String DeviceStatusItem Device ID of the device hosting the status. This is provided to link the status to the device.
LastUpdated Nullable<DateTime> DeviceStatusItem Last update time in UTC. If null, the current time will be used.
LogId Nullable<Int64> DeviceStatusItem The log ID is provided by the smart controller (AUP devices) with every log event. So if the device status is being updated as part of processing a log event, the log ID can be used to correlate the status update with the original log event and gives the order of events. (Don’t override the status with an older logId.)
FaultMessage String InputStatusItem Gets or sets the fault message.
IsActivated Nullable<Boolean> InputStatusItem Gets or sets a value indicating whether this instance is activated.Possible Values (null, true, false)
IsFaulted Nullable<Boolean> InputStatusItem Gets or sets a value indicating whether this instance is faulted.Possible Values (null, true, false)
IsMasked Nullable<Boolean> InputStatusItem Gets or sets a value indicating whether this item is masked.Possible Values (null, false, true)

JSON Structure of InputStatusItem

{
   "ConcurrencyVersion"	:	"Nullable\<Int64\>",
   "DisplayLevel"	:	"String",
   "DisplayStatus"	:	"String",
   "Key"	:	"String",
   "LastUpdated"	:	"Nullable\<DateTime\>",
   "LogId"	:	"Nullable\<Int64\>",
   "FaultMessage"	:	"String",
   "IsActivated"	:	"Nullable\<Boolean\>",
   "IsFaulted"	:	"Nullable\<Boolean\>",
   "IsMasked"	:	"Nullable\<Boolean\>"
}

Update Input Status Async

Example in C#

// Returns: nothing
await client.UpdateInputStatusAsync(InputInfo input, InputStatusItem status);

Example in CURL



           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/inputs/INPUT.KEY/status \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.InputStatusItem, Feenics.Keep.WebApi.Model"
                   }'