更改报表的嵌入状态,开通嵌入、或者关闭嵌入。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
quickbi-public:UpdateEmbeddedStatus |
update |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| WorksId |
string |
是 |
作品 ID。
|
897ce25e-f993-4abd-af84-d13c5610**** |
| ThirdPartAuthFlag |
boolean |
是 |
是否开通作品的嵌入功能。取值范围:
|
true |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
integer |
开通或关闭的作品数。 |
1 |
| Success |
boolean |
是否请求成功。取值范围:
|
true |
示例
正常返回示例
JSON格式
{
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": 1,
"Success": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Auth3Rd.Over.MaxQuota | You have reached the maximum number of reports that can be shared. Please upgrade the configurations or remove some reports first. | 授权报表已达上限,请升级配置或删除其它报表再授权。 |
| 400 | Resource.NotBelongTo.CurrentOrganization | The resource does not belong to the current organization. | 该资源不属于当前组织。 |
| 400 | Report.NotExist.Error | This work does not exist. It may have been deleted. Work ID is %s. | 作品不存在,可能已经被删除。作品ID:%s。 |
| 400 | NoPermissionTo.Operate.Object | You are not authorized to operate the objects. | 您无权操作这些对象。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?