QuerySmartqPermissionByCubeId - 查看用户是否有某个智能问数数据集权限

更新时间:2025-02-21 06:02:21

查看用户是否有某个智能问数数据集权限。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
名称类型必填描述示例值
CubeIdstring

数据集 ID。

7c7223ae-****-3c744528014b
UserIdstring

用户 ID。

95c4d**************3852e202

返回参数

名称类型描述示例值
名称类型描述示例值
object
RequestIdstring

请求 ID。

617277******************ABA47E31
Resultobject

数据集基础信息。

HasPerssionboolean

当前用户是否有问数权限。

CubeIdstring

数据集 ID。

7c7223ae-****-3c744528014b
CubeNamestring

数据集名称。

test
Successboolean

是否请求成功。取值范围:

  • true:请求成功
  • false:请求失败
true

示例

正常返回示例

JSON格式

{
  "RequestId": "617277******************ABA47E31",
  "Result": {
    "HasPerssion": true,
    "CubeId": "7c7223ae-****-3c744528014b",
    "CubeName": "test"
  },
  "Success": true
}

错误码

HTTP status code错误码错误信息描述
HTTP status code错误码错误信息描述
400Internal.System.ErrorAn internal system error occurred.系统内部异常。
400User.Not.In.OrganizationThe specified user is not in the organizational unit.该用户不在组织中。
400Query.Auth.ErrorQuery is not permitted.没有查询权限。
400ApiUser.Not.ExistsThe specified user does not exist.用户不存在。
400UserRoleConfig.NotContain.FunctionThe user %s does not have permission to operate.此用户%s没有权限操作。
400RobotNl2sql.Moudle.NotPurchasePlease purchase Nl2sql module first.请先购买智能问数模块。
500Cube.Not.ExistThe Cube does not exist.数据集不存在。

访问错误中心查看更多错误码。

  • 本页导读 (0)
  • 调试
  • 授权信息
  • 请求参数
  • 返回参数
  • 示例
  • 错误码
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等