Move or Copy Event Filters to a Different Group
put
/api/event/FilterGroups/updateFilters
Moves or copies event filters to a different group. To move, specify a source group in SourceFilterGroupID. To copy, do not specify a source group.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
Filters: array
Filters
List of Filters IDs
-
id: integer
The destination event filter group ID.Example:
3
-
SourceFilterGroupID: integer
The source event filter group ID. To move devices, specify an ID. To copy devices, do not use this parameter.
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Match All
Show Source
-
object
SuccessfulUpdateOperation
The response body for a successful update operation.
-
object
type
Nested Schema : SuccessfulUpdateOperation
Type:
object
The response body for a successful update operation.
Show Source
-
message: string
The response message.Example:
Updated record
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : type
Type:
Show Source
object
-
data: array
data
The destination event filter group with the moved or copied event filters.
Nested Schema : data
Type:
array
The destination event filter group with the moved or copied event filters.
Show Source
Nested Schema : eventFilterGroupsUpdateMove
Type:
Show Source
object
-
FilterGroupID: integer
Filter Group IDExample:
1
-
FilterGroupName: string
Filter Group NameExample:
Global
-
Filters: array
Filters
Array of filters belonging to the filter group.
-
OwnerUserGroupID: integer
Chosen user group ownerExample:
0
-
OwnerUserID: integer
The ID of the user that owns the event filter group. This can never be an externally-authenticated transient user. 0 means it is public to all users in the owning group.Example:
0
-
ParentFilterGroupID:
ParentFilterGroupID
FilterGroupID of Parent Group, can be "root" or an int.
-
RestrictionFilter: string
Restriction filterExample:
Nested Schema : Filters
Type:
array
Array of filters belonging to the filter group.
Show Source
Example:
[
{
"FilterID":"1",
"FilterName":"All Events"
},
{
"FilterID":"2",
"FilterName":"Syslogs"
}
]
Nested Schema : ParentFilterGroupID
FilterGroupID of Parent Group, can be "root" or an int.
Match One Schema
Show Source
Example:
1
Nested Schema : items
Type:
Show Source
object
-
FilterID: integer
Filter IDExample:
1
-
FilterName: string
Filter NameExample:
All Events
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.