全部產品
Search
文件中心

DataWorks:ListTableLevel - 查詢層級列表

更新時間:Mar 21, 2026

調用ListTableLevel查詢層級列表。不建議使用該API,後續將有新API上線覆蓋此功能。

調試

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

調試

授權資訊

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

請求參數

名稱

類型

必填

描述

樣本值

ProjectId

integer

DataWorks 工作空間的 ID。您可以進入 DataWorks 管理主控台擷取。

123

LevelType

integer

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

1

PageNum

integer

分頁查詢頁碼。預設為 1。

1

PageSize

integer

每頁顯示的條數,預設為 10 條。

10

返回參數

名稱

類型

描述

樣本值

object

返回資料。

HttpStatusCode

integer

HTTP 狀態代碼。

200

ErrorMessage

string

錯誤資訊。

The specified parameters are invalid.

RequestId

string

請求 ID。

abc

Success

boolean

是否成功查詢層級列表。

true

ErrorCode

string

錯誤碼。

1031203110005

TableLevelInfo

object

層級的資訊。

TotalCount

integer

層級的總數。

10

LevelList

array<object>

層級列表。

object

層級資訊。

LevelType

integer

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

1

Description

string

層級的描述。

層級描述

Name

string

層級的名稱。

層級1

ProjectId

integer

DataWorks 工作空間的 ID。

123

LevelId

integer

層級 ID。

123

樣本

正常返回樣本

JSON格式

{
  "HttpStatusCode": 200,
  "ErrorMessage": "The specified parameters are invalid.",
  "RequestId": "abc",
  "Success": true,
  "ErrorCode": "1031203110005\t",
  "TableLevelInfo": {
    "TotalCount": 10,
    "LevelList": [
      {
        "LevelType": 1,
        "Description": "層級描述",
        "Name": "層級1",
        "ProjectId": 123,
        "LevelId": 123
      }
    ]
  }
}

錯誤碼

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.

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

變更歷史

更多資訊,參考變更詳情