全部產品
Search
文件中心

DataWorks:UpdateTableModelInfo

更新時間:Oct 09, 2026

修改表的主題、層級和物理分類等資訊。

調試

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

調試

授權資訊

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

請求參數

名稱

類型

必填

描述

樣本值

FirstLevelThemeId

integer

否

一級主題 ID。

呼叫時至少需要提供 FirstLevelThemeId、SecondLevelThemeId、LevelId、LevelType 中的一項,介面才會執行實際更新;僅提供 TableGuid 時可能回傳成功但不更新任何內容。

101

SecondLevelThemeId

integer

否

二級主題 ID。

101

LevelId

integer

否

層級 ID。

101

TableGuid

string

是

資料表的唯一標識,格式為 odps.{projectName}.{tableName}。

odps.test.table1

LevelType

integer

否

層級類型,包括 1(邏輯層級)和 2(物理層級)。

1

返回參數

名稱

類型

描述

樣本值

object

UpdateResult

boolean

表是否更新成功。

true

RequestId

string

請求 ID。

abcde

樣本

正常返回樣本

JSON格式

{
  "UpdateResult": true,
  "RequestId": "abcde"
}

錯誤碼

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.Api.Risk The request for this resource has exceeded your daily available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

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

變更歷史

更多資訊,參考變更詳情。