Get a User Group by ID
get
/api/AAA/UserGroups/{id}
Gets the user group that matches the specified ID.
Request
Path Parameters
-
id(required): integer(int32)
The user group ID.Example:
1
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.
-
object
type
Nested Schema : SuccessfulGetOperation
Type:
objectThe 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 : AAAUserGroupsRead
Type:
objectUser group details.
Show Source
-
Preferences: array
Preferences
The user group preferences.
-
Properties: array
Properties
The user group properties.
-
RoleID: integer
The role ID.Example:
1 -
RoleName: string
The role name.Example:
Administrator -
UserGroupID: integer
The user group ID.Example:
1 -
UserGroupName: string
The user group name.Example:
Administrators -
Users: array
Users
The users in the group.
Nested Schema : Preferences
Type:
arrayThe user group preferences.
Show Source
-
Array of:
object items
A preference.
Nested Schema : items
Type:
objectA preference.
Show Source
-
Description: string
The description of the preference.Example:
Default pagination setting for grid views (default 1000) -
Override: integer
Whether the preference is unlocked (0) to allow users to override the group preference or locked (1) to prevent users from overriding it.Example:
0 -
PreferenceID: integer
The preference ID.Example:
2 -
PreferenceName: string
The preference name.Example:
PageSize -
PreferenceValue: integer
The preference value.Example:
1000
Nested Schema : items
Type:
Show Source
object-
Description: string
The description of the property.Example:
Restricts device navigation and device-related data viewing to only devices within the specified Device Group and any sub groups -
PropertyID: integer
The property ID.Example:
1 -
PropertyName: string
The property name.Example:
RestrictiveDeviceGroupID -
PropertyValue: integer
The property value.Example:
1
Nested Schema : items
Type:
Show Source
object-
UserID: integer
The user ID.Example:
1065 -
UserName: string
The user name.Example:
Operator
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:
arrayThe list of errors reported. Validation errors will be keyed by record field.
Show Source
-
Array of:
object items
An error.
Nested Schema : items
Type:
objectAn error.