UpdateEmbeddedStatus接口用于查更改报表的嵌入状态,开通嵌入、或者关闭嵌入。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 | 
|---|---|---|---|---|
| Action | String | 是 | UpdateEmbeddedStatus | 
                               要执行的操作。取值:UpdateEmbeddedStatus。  | 
                           
                        
| ThirdPartAuthFlag | Boolean | 是 | true | 
                               是否开通作品的嵌入功能。取值范围: 
  | 
                           
                        
| WorksId | String | 是 | 897ce25e-f993-4abd-af84-d13c5610**** | 
                               作品ID。 
  | 
                           
                        
返回数据
| 名称 | 类型 | 示例值 | 描述 | 
|---|---|---|---|
| RequestId | String | D787E1A3-A93C-424A-B626-C2B05DF8D885 | 
                               请求ID。  | 
                           
                        
| Result | Integer | 1 | 
                               开通或关闭的作品数。  | 
                           
                        
| Success | Boolean | true | 
                               是否请求成功。取值范围: 
  | 
                           
                        
示例
请求示例
http(s)://quickbi-public.aliyuncs.com/?Action=UpdateEmbeddedStatus
&ThirdPartAuthFlag=true
&WorksId=897ce25e-f993-4abd-af84-d13c5610****
&<公共请求参数>
                  正常返回示例
XML格式
                  
<RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>
<Success>true</Success>
<Result>1</Result>
                  JSON格式
                  
{"RequestId":"D787E1A3-A93C-424A-B626-C2B05DF8D885","Success":"true","Result":"1"}
                  错误码
| HttpCode | 错误码 | 错误信息 | 描述 | 
|---|---|---|---|
| 500 | Instance.Expired | Your instance has expired. | 您的购买实例已经过期。 | 
| 500 | Instance.Not.Exist | The specified instance does not exist. | 暂未匹配到您的购买实例。 | 
| 500 | Access.Forbidden | Access forbidden. Your instance version or access key is not allowed to call the API operation. | 访问被禁止,您的实例版本或者 AccessKey不允许调用该 API。 | 
| 500 | Invalid.Organization | The specified organizational unit does not exist. | 该组织不存在。 | 
| 500 | User.Not.In.Organization | The specified user is not in the organizational unit. | 该用户不在组织中。 | 
| 500 | Invalid.Parameter.Error | The parameter is invalid:%s. | 无效参数%s。 | 
| 500 | Auth3Rd.Over.MaxQuota | You have reached the maximum number of reports that can be shared. Please upgrade the configurations or remove some reports first. | 授权报表已达上限,请升级配置或删除其它报表再授权。 | 
| 500 | Resource.NotBelongTo.CurrentOrganization | The resource does not belong to the current organization. | 该资源不属于当前组织。 | 
| 500 | Internal.System.Error | An internal system error occurred. | 系统内部异常。 | 
访问错误中心查看更多错误码。