All Products
Search
Document Center

Quick BI:QueryUserGroupListByParentId

Last Updated:Jan 23, 2025

You can this operation to obtain information about child user groups under a specified parent user group.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ParentUserGroupIdstringYes

The ID of the parent user group.

  • If you enter the ID of the parent user group, you can obtain the information of the child user group under this ID.
  • If you enter -1, you can obtain the sub-user group information under the root directory.
3d2c23d4-2b41-4af8-a1f5-f6390f32****

Response parameters

ParameterTypeDescriptionExample
object
Successboolean

Indicates whether the request is successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
RequestIdstring

The ID of the request.

72B19D61-B37A-5C7A-9389-0856CD7935B3
Resultarray<object>

The information about the sub-user group.

Dataobject
IdentifiedPathstring

Directory level of the sub-user group.

2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****
ModifiedTimestring

The time when the sub-user group was last modified.

2020-11-16 15:49:08
CreateUserstring

The creator of the sub-user group. The UserID of the Quick BI is used instead of the UID of Alibaba Cloud.

136516262323****
CreateTimestring

The time when the sub-user group was created.

2020-10-30 10:03:09
UserGroupIdstring

The ID of the sub-user group.

f5eeb52e-d9c2-4a8b-80e3-47ab55c2****
UserGroupNamestring

The name of the sub-user group.

popapi test group
ModifyUserstring

The user who modified the subgroup. The UserID of the Quick BI is used instead of the UID of Alibaba Cloud.

136516262323****
ParentUserGroupIdstring

The ID of the parent user group.

3d2c23d4-2b41-4af8-a1f5-f6390f32****
UserGroupDescriptionstring

The description of the sub-user group.

User Group for Testing

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "RequestId": "72B19D61-B37A-5C7A-9389-0856CD7935B3",
  "Result": [
    {
      "IdentifiedPath": "2fe4fbd8-588f-489a-b3e1-e92c7af0****/3d2c23d4-2b41-4af8-a1f5-f6390f32****/f5eeb52e-d9c2-4a8b-80e3-47ab55c2****",
      "ModifiedTime": "2020-11-16 15:49:08",
      "CreateUser": "136516262323****",
      "CreateTime": "2020-10-30 10:03:09",
      "UserGroupId": "f5eeb52e-d9c2-4a8b-80e3-47ab55c2****",
      "UserGroupName": "popapi test group\n",
      "ModifyUser": "136516262323****",
      "ParentUserGroupId": "3d2c23d4-2b41-4af8-a1f5-f6390f32****",
      "UserGroupDescription": "User Group for Testing\n"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400Instance.ExpiredYour instance has expired.Your instance has expired.
400Instance.Not.ExistThe specified instance does not exist.The specified instance does not exist.
400Access.ForbiddenAccess forbidden. Your instance version or access key is not allowed to call the API operation.-
400Invalid.OrganizationThe specified organizational unit does not exist.The specified organizational unit does not exist.
400User.Not.In.OrganizationThe specified user is not in the organizational unit.The specified user is not in the organizational unit.
400Invalid.Parameter.ErrorThe parameter is invalid:%s.invalid parameter: ${0}.
400UserGroup.NotIn.OrganizationThe user group is not in the current organization.Usergroup is not belong to current organization.
400Usergroup.Not.ExistThe user group does not exist.The user group does not exist.
400Internal.System.ErrorAn internal system error occurred.An internal system error occurred.
400Invalid.ParameterAn error occurred while verifying parameters.An error occurred while verifying parameters.
400Invalid.Param.ErrorThe parameter is invalid.The parameter is invalid.
400Invalid.User.AdminYou are not an administrator of this organization.Only organization administrators can perform this operation.
400System.Param.EmptyYou must specify the %s parameter.You must specify the %s parameter.
400UserInfo.ErrorThe personal information is invalid.The personal information is invalid.
400ApiUser.Not.ExistsThe specified user does not exist.The specified user does not exist.

For a list of error codes, visit the Service error codes.