Get Event Filter Fields

get

/api/event/Events/readFields

Gets the event filter fields. They come from either EventDisplayColumns for a particular display or from the Alarm table for all displays.

Request

Query Parameters
  • Optionally disables event list value conversions. It defaults to the value saved in the display.
    Example:
    0
  • Option indicates which list of fields to return - the standard list of the most frequently used fields, or all fields Allowed Values: - standard - advanced
    Example:
    standard
  • The display ID. If no ID is provided, it defaults to the DefaultDisplayID.
    Example:
    1002

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : data
Type: array
The list of event filter fields.
Show Source
Example:
[
    {
        "Field":"EventID",
        "Type":"Number",
        "Null":"NO",
        "Key":"PRI",
        "Default":"",
        "Extra":"auto_increment",
        "ColumnName":"EventID",
        "Expression":"Number",
        "FieldDescription":"EventID - Number"
    },
    {
        "Field":"Node",
        "Type":"String",
        "Null":"NO",
        "Key":"MUL",
        "Default":"",
        "Extra":" ",
        "ColumnName":"Device",
        "Expression":"String",
        "FieldDescription":"Node - String"
    },
    {
        "Field":"EventType",
        "Type":"String",
        "Null":"NO",
        "Key":"MUL",
        "Default":" ",
        "Extra":" ",
        "ColumnName":"Event Type",
        "Expression":"String",
        "FieldDescription":"EventType - String"
    },
    {
        "Field":"Summary",
        "Type":"String",
        "Null":"NO",
        "Key":" ",
        "Default":" ",
        "Extra":" ",
        "ColumnName":"Event Text",
        "Expression":"String",
        "FieldDescription":"Summary - String"
    },
    {
        "Field":"Count",
        "Type":"Number",
        "Null":"NO",
        "Key":" ",
        "Default":" ",
        "Extra":" ",
        "ColumnName":"Count",
        "Expression":"Number",
        "FieldDescription":"Count - Number"
    },
    {
        "Field":"FirstReported",
        "Type":"DateTime",
        "Null":"NO",
        "Key":" ",
        "Default":" ",
        "Extra":" ",
        "ColumnName":"First Occurred",
        "Expression":"String",
        "FieldDescription":"FirstReported - DateTime"
    },
    {
        "Field":"LastReported",
        "Type":"DateTime",
        "Null":"NO",
        "Key":" ",
        "Default":" ",
        "Extra":" ",
        "ColumnName":"Last Occurred",
        "Expression":"String",
        "FieldDescription":"LastReported - DateTime"
    },
    {
        "Field":"LastChanged",
        "Type":"DateTime",
        "Null":"NO",
        "Key":" ",
        "Default":" ",
        "Extra":" ",
        "ColumnName":"Last Changed",
        "Expression":"String",
        "FieldDescription":"LastChanged - DateTime"
    }
]
Nested Schema : eventEventsReadFields
Type: object
Show Source

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top