GetGroupByApp

≥4.8.1

接口功能

获取当前Application下的 Group

请求参数
参数 类型 必须 默认值 说明
OnlyCurrentApp bool false true 为true时仅获取当前Application的私有Group, 为false时获取tenant的共有组和当前Application的私有Group
PageIndex int true 1 页码
PageSize int true 10 每页数量

[warning] 注意

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

返回数据类型

参考返回示例

输入示例
{
    "OnlyCurrentApp":"true",//该参数是可选的
    "PageIndex":1,
    "PageSize":5
}
返回示例
{
    "StatusCode": 200,
    "Info": "Request (or process) succeeded",
    "Data": {
       "Groups": [
         {
           "_id": null,
           "GroupName": "DemoGroup",
           "GroupDescription": "",
           "ParentID": "a0dc3cc4-b16b-4922-ab60-24db8d79bb5c",
           "OrganizationCode": "DemoTenant",
           "GroupID": "22592e9a-3ccf-413e-b211-7dd2efa8bcc6",
           "CreateDate": "2019-11-14T07:33:56.42Z",
           "ActiveFlag": null,
           "ParentName": null,
           "ApplicationCode": "DemoApp@DemoTenant",
           "GroupType": "AppGroup",
           "CreateBy": null,
           "LastModifyBy": null,
           "Attribute1": "",
           "Attribute2": "",
           "Attribute3": "",
           "APIAccess": null,
           "CurrentUserID": null
         }
       ],
       "Pages": 1,
       "Rows": 1
     }
}
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:12

results matching ""

    No results matching ""