調用CreateBusiness,建立資料開發(DataStudio)的商務程序。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
dataworks:* |
create |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ProjectId |
integer |
否 |
DataWorks 工作空間的 ID,您可以登入 DataWorks 控制台,進入工作空間管理頁面查看 ID。 |
10000 |
| ProjectIdentifier |
string |
否 |
DataWorks 工作空間的唯一識別碼(即工作空間名稱)。您可以登入 DataWorks 控制台,進入工作空間配置頁面查看名稱。 該參數與 projectId 參數二者必須設定其一,以確定本次 API 呼叫操作的 DataWorks 專案。 |
dw_project |
| BusinessName |
string |
是 |
商務程序名稱,同一個專案空間下的商務程序名稱必須唯一。 |
My business process |
| Description |
string |
否 |
商務程序的描述資訊。 |
This is a business process created through an interface. |
| Owner |
string |
否 |
商務程序對應責任人的阿里雲帳號 ID。您可以登入 DataWorks 控制台,滑鼠移至上方至頂部功能表列右側的帳戶圖片,查看帳號 ID。如果該參數為空白,則預設使用調用者的阿里雲帳號 ID。 |
1000000000001 |
| UseType |
string |
否 |
商務程序所屬的功能模組。取值如下:
|
NORMAL |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| HttpStatusCode |
integer |
HTTP 狀態代碼。 |
200 |
| RequestId |
string |
本次調用的唯一 ID。出現錯誤後,您可以根據該 ID 排查問題。 |
0000-ABCD-EFG**** |
| ErrorMessage |
string |
錯誤資訊。 |
The connection does not exist. |
| Success |
boolean |
調用是否成功。 |
true |
| ErrorCode |
string |
錯誤碼。 |
Invalid.Tenant.ConnectionNotExists |
| BusinessId |
integer |
商務程序 ID。 |
100001 |
樣本
正常返回樣本
JSON格式
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG****",
"ErrorMessage": "The connection does not exist.",
"Success": true,
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"BusinessId": 100001
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | 沒有許可權,請授權 |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。