批量编辑仪表板的小Q问数状态。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
POST HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DashboardIds |
string |
是 |
仪表板 ID 数组,多个以英文逗号分隔。 重要 要求 size<=50 |
asda,sadaf |
| Status |
integer |
是 |
状态标识,0 为关闭 1 为开启。 |
0 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
46e537a5**** |
| Result |
array |
失败的仪表板 ID 列表。 |
|
|
string |
仪表板 ID。 |
ccd3428c-****-****-a608-26bae29dffee |
|
| Success |
boolean |
是否请求成功。取值范围:
|
true |
示例
正常返回示例
JSON格式
{
"RequestId": "46e537a5****",
"Result": [
"ccd3428c-****-****-a608-26bae29dffee"
],
"Success": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 297 | Invalid.Parameter | You must specify the parameter. | 参数不能为空 |
| 400 | Internal.System.Error | An internal system error occurred. | 系统内部异常。 |
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | 无效参数%s。 |
| 400 | RobotNl2sql.Moudle.NotPurchase | Please purchase Nl2sql module first. | 请先购买智能问数模块。 |
| 400 | ApiUser.Not.Exists | The specified user does not exist. | 用户不存在。 |
| 400 | Parameter.Error | The input parameter is invalid. | 输入参数无效。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?