GetSubGroup

≥4.6

接口功能

获取指定 Group 下的子级 Group

请求参数
参数 类型 说明
GroupName String 指定 Group 名称
PageIndex int 页码
PageSize int 每页数量
WithSubGroupUser bool 是否包含子组中的用户,默认true

[warning] 注意

为控制接口性能及返回数据量,本接口限制 PageSize 最大值为 100。超过最大值接口会强制返回100条数据。

返回数据类型

参考返回示例

输入示例
{
    "GroupName":"DemoGroup",
    "PageIndex":1,
    "PageSize":5
}
返回示例
{
  "StatusCode": 200,
  "Info": "Request (or process) succeeded",
  "Data": {
    "Groups": [
      {
        "_id": null,
        "GroupName": "DemoGroup",
        "GroupDescription": "123",
        "ParentID": "a0dc3cc4-b16b-4922-ab60-24db8d79bb5c",
        "OrganizationCode": "DemoTenant",
        "GroupID": "5af1459c-6eb0-4315-9d68-71847c57f35a",
        "CreateDate": "2019-01-28T02:08:36.038Z",
        "ActiveFlag": null,
        "ParentName": null,
        "ApplicationCode": null,
        "GroupType": "MasterGroup",
        "CreateBy": null,
        "LastModifyBy": null,
        "Attribute1": null,
        "Attribute2": null,
        "Attribute3": null,
        "APIAccess": null,
        "CurrentUserID": null
      },
      {
        "_id": null,
        "GroupName": "DESIGN TEAM",
        "GroupDescription": "DESIGN TEAM",
        "ParentID": "a0dc3cc4-b16b-4922-ab60-24db8d79bb5c",
        "OrganizationCode": "DemoTenant",
        "GroupID": "b7ae4346-b934-40ad-986f-d6ed8e826601",
        "CreateDate": "2019-03-08T01:06:16.544Z",
        "ActiveFlag": null,
        "ParentName": null,
        "ApplicationCode": "DemoApp@DemoTenant",
        "GroupType": "AppGroup",
        "CreateBy": null,
        "LastModifyBy": null,
        "Attribute1": "",
        "Attribute2": "",
        "Attribute3": "",
        "APIAccess": null,
        "CurrentUserID": null
      },
      {
        "_id": null,
        "GroupName": "A",
        "GroupDescription": "A",
        "ParentID": "a0dc3cc4-b16b-4922-ab60-24db8d79bb5c",
        "OrganizationCode": "DemoTenant",
        "GroupID": "dbb0dd47-b8de-4203-8469-0f72a42d945c",
        "CreateDate": "2019-03-18T09:41:23.476Z",
        "ActiveFlag": null,
        "ParentName": null,
        "ApplicationCode": "DemoApp@DemoTenant",
        "GroupType": "AppGroup",
        "CreateBy": null,
        "LastModifyBy": null,
        "Attribute1": "A",
        "Attribute2": "A",
        "Attribute3": "A",
        "APIAccess": null,
        "CurrentUserID": null
      }
    ],
    "Pages": 1,
    "Rows": 3
  }
}
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:12

results matching ""

    No results matching ""