报告维度权限用户统计接口

获取拥有对应报告的权限的用户账号列表。

基本信息:

属性
API /report/ext/getUsersWithPermission
Method POST

请求参数:

字段名称 参数类型 参数说明
token String token
reportIds Array 报告id数组
projectId Number 项目id

样例输入

{
  "token": "1503575355359c4fdea8ec1683ed10edd91ae",
  "reportIds": [1234, 1235],
  "projectId": 63000
}

返回

{
    "code": 200,
    "result": {
        "1234": [
            {
                "user": {
                    "uniqueId": "youdata@corp.netease.com",
                    "nick": "有小数",
                    "id": 354
                },
                "permissions": [
                    "view",
                    "edit",
                    "copy",
                    "export",
                    "share",
                    "mail",
                    "warning",
                    "add"
                ]
            }
        ],
        "1235": [
            {
                "user": {
                    "uniqueId": "youdata1@corp.netease.com",
                    "nick": "有小数1",
                    "id": 355
                },
                "permissions": [
                    "view",
                    "edit",
                    "copy"
                ]
            }
        ]
    }
}