GetSubGroup

≥4.6

Interface Function

Acquire sub-group under specified group.

Request Parameter
Parameter Type Remarks
GroupName String Specify group name
PageIndex int Page number
PageSize int Page size
WithSubGroupUser bool Whether to include user of sub-group, true by default.

[warning] Note

To control interface performance and return data volumn, the interface limits PageSize to a maximum of 100. The interface returns 100 pieces of data if the maximum value is exceeded.

Return Data Type

Reference return sample

Input Sample
{
    "GroupName":"DemoGroup",
    "PageIndex":1,
    "PageSize":5
}
Return Sample
{
  "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 ""