GetSubGroup

≥4.8.5.200315.0

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

[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

JObject Reference return sample

Return Sample
 {
    "Groups": [
      {
        "_id": null,
         "GroupName": "DemoGroup",
         "GroupDescription": "DemoGroup",
         "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": "Design@DemoTenant",
         "GroupType": "AppGroup",
         "CreateBy": null,
         "LastModifyBy": null,
         "Attribute1": "",
         "Attribute2": "",
         "Attribute3": "",
         "APIAccess": null,
         "CurrentUserID": null
       },
       {
         "_id": null,
         "GroupName": "DemoGroup1",
         "GroupDescription": "DemoGroup1",
         "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": "DemoApp1@DemoTenant",
         "GroupType": "AppGroup",
         "CreateBy": null,
         "LastModifyBy": null,
         "Attribute1": "A",
         "Attribute2": "A",
         "Attribute3": "A",
         "APIAccess": null,
         "CurrentUserID": null
       }
     ],
     "Pages": 1,
     "Rows": 3
    }
Code example
//
var GroupName="demogroup";
var PageIndex=1;
var PageSize=20;
var result=Service.GetSubGroup(GroupName,PageIndex,PageSize);
Service.ConsoleLog("GetSubGroup result",result);
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2022-08-16 10:55:23

results matching ""

    No results matching ""