Get Event Filter Groups for Tree Grids
get
/api/event/FilterGroups/readForTree
Gets the event filter groups in a format suitable for tree grids.
Request
Query Parameters
-
id: integer(int32)
The event filter group ID.Example:
1
-
node: string
The node of the tree to get.Example:
root
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Match All
Show Source
-
object
SuccessfulGetOperation
The response body for a successful get operation.
-
oneOf
Nested Schema : SuccessfulGetOperation
Type:
object
The response body for a successful get operation.
Show Source
-
message: string
The response message.Example:
Loaded 1 entries
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : eventFilterGroupsReadForTreeIDResponse
Type:
Show Source
object
-
data: array
data
List of properties of the filter group from root to the given ID.
-
total: integer
The total number of results regardless of paging.Example:
2
Nested Schema : eventFilterGroupsReadForTreeNodeResponse
Type:
Show Source
object
-
data: array
data
List of children list groups.
-
total: integer
The total number of results regardless of paging.Example:
2
Nested Schema : data
Type:
array
List of properties of the filter group from root to the given ID.
Show Source
Nested Schema : items
Type:
Show Source
object
-
data: array
data
List of children filter groups.
-
depth: integer
The tree depth level.Example:
1
-
expanded: boolean
Boolean value that tree node is expanded.Example:
true
-
FilterGroupID: integer
ID of the filter group.Example:
3
-
FilterGroupName: integer
Name of the filter group.Example:
Global
-
leaf: integer
Flag to indicate if this is a filter (leaf=1) or filter group (leaf=0).Example:
0
-
Lft: integer
The mysql tree left boundary value.Example:
1
-
path: string
The full path value.Example:
/Global
-
Rgt: integer
The mysql tree right boundary value.Example:
2
Nested Schema : data
Type:
array
List of children filter groups.
Show Source
Example:
[
{
"FilterGroupID":"3",
"FilterGroupName":"Unused",
"leaf":"0",
"Lft":"4",
"Rgt":"7",
"path":"/Global/Unused",
"depth":2
}
]
Nested Schema : items
Type:
object
Nested Schema : items
Type:
Show Source
object
-
FilterGroupID: integer
Child filter group ID.Example:
5
-
FilterGroupName: string
Name of the child filter group.Example:
Oracle
-
iconCls: string
CSS class for icons.Example:
x-tree-icon-parent
-
leaf: boolean
Flag to indicate if this is a filter (leaf=true) or filter group (leaf=false).Example:
true
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object
-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
-
Array of:
object items
An error.
Nested Schema : items
Type:
object
An error.