全部產品
Search
文件中心

Quick BI:CreateWorkspace - 建立工作空間

更新時間:Nov 20, 2025

建立工作空間。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

POST  HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

WorkspaceName

string

工作空間名稱。

test

WorkspaceDescription

string

工作空間備忘。

test

UseComment

boolean

工作空間建立資料集是否使用表備忘,預設:true。

true

AllowShare

boolean

工作空間報表是否允許分享,預設:true。

true

AllowPublish

boolean

工作空間報表是否允許公開,預設:true。

true

AllowViewAll

boolean

工作空間是否是協同模式,預設:true。

true

DefaultShareToAll

boolean

工作空間作品是否預設授權工作空間所有人可查看,預設:false。

false

OnlyAdminCreateDatasource

boolean

工作空間資料源是否僅管理員可建立,預設 false。

false

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

請求 ID。

685072****************4e79e718f

Result

string

工作空間 ID。

12423twfasva********

Success

boolean

是否請求成功。取值範圍:

  • true:請求成功

  • false:請求失敗

true

樣本

正常返回樣本

JSON格式

{
  "RequestId": "685072****************4e79e718f",
  "Result": "12423twfasva********",
  "Success": true
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 Internal.System.Error An internal system error occurred. 系統內部異常。
400 CreateWorkspace.Exceeds.Limits The number of create workspace exceeds the maximum number limit:%s. 建立工作空間超過了最大數量限制:%s。
400 UserRoleConfig.NotContain.Function The user %s does not have permission to operate. 此使用者%s沒有許可權操作。
400 Duplicate.WorkSpaceName.Error There is already a workspace with the same name %s, please rename it before saving. 已經存在同名工作空間“%s”,請修改名稱後再儲存。
400 Transfer.Not.Allowed Transfer to users with lower space permissions is not allowed. 不允許轉移給更低空間許可權的使用者。
400 Transfer.TargetUser.NotExist The new owner does not exist. Please ensure that the target user has logged on to the system. 轉讓目標使用者不存在,請確保目標使用者登入過當前系統。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情