全部產品
Search
文件中心

DataWorks:EstablishRelationTableToBusiness - 匯入表至商務程序

更新時間:Mar 21, 2026

相當於在資料開發頁面按右鍵商務程序,選擇匯入表的操作。

調試

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

調試

授權資訊

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

請求參數

名稱

類型

必填

描述

樣本值

ProjectId

integer

DataWorks 工作空間的 ID,您可以單擊頁面右上方的小扳手表徵圖,進入工作空間管理頁面查看。

10000

ProjectIdentifier

string

DataWorks 工作空間的唯一識別碼,即資料開發頁面頂部切換工作空間處的英文標識。

該參數與 ProjectId 參數二者必須設定其一,以確定本次 API 呼叫操作的 DataWorks 工作空間。

dw

BusinessId

string

商務程序的 ID,您可以使用 ListBusiness 擷取對應商務程序的 ID。

1000001

TableGuid

string

表的 UUID,您可以通過 SearchMetaTables 擷取對應表的 UUID。

odps.dw_project.tb1

FolderId

string

檔案夾的 ID,您可以使用 GetFolder 或者 ListFolders 擷取對應檔案夾的 ID。

2eb6f9****

返回參數

名稱

類型

描述

樣本值

object

HttpStatusCode

integer

HTTP 狀態代碼。

200

ErrorMessage

string

錯誤資訊。

The connection does not exist.

RequestId

string

本次調用的唯一 ID。出現錯誤後,您可以根據該 ID 排查問題。

0000-ABCD-EFG

ErrorCode

string

錯誤碼。

Invalid.Tenant.ConnectionNotExists

Success

boolean

調用是否成功。

true

樣本

正常返回樣本

JSON格式

{
  "HttpStatusCode": 200,
  "ErrorMessage": "The connection does not exist.",
  "RequestId": "0000-ABCD-EFG",
  "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
  "Success": true
}

錯誤碼

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.

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

變更歷史

更多資訊,參考變更詳情