All Products
Search
Document Center

DataWorks:ListTableLevel

Last Updated:Aug 20, 2026

Menampilkan daftar level hierarki. Operasi ini akan segera diganti. Kami menyarankan agar Anda tidak memanggil operasi ini.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

ProjectId

integer

Yes

ID ruang kerja DataWorks. Anda dapat masuk ke konsol DataWorks untuk mendapatkan ID ruang kerja.

123

LevelType

integer

Yes

Jenis level tabel. Nilai yang valid: 1 dan 2. Nilai 1 menunjukkan level logis. Nilai 2 menunjukkan level fisik.

1

PageNum

integer

No

Nomor halaman. Nilai default: 1.

1

PageSize

integer

No

Jumlah entri per halaman. Nilai default: 10.

10

Elemen respons

Element

Type

Description

Example

object

Hasil yang dikembalikan.

HttpStatusCode

integer

Kode status HTTP.

200

ErrorMessage

string

Pesan kesalahan.

The specified parameters are invalid.

RequestId

string

ID permintaan.

abc

Success

boolean

Menunjukkan apakah permintaan berhasil.

true

ErrorCode

string

Kode kesalahan.

1031203110005

TableLevelInfo

object

Informasi tentang level tabel.

TotalCount

integer

Jumlah total level tabel yang dikembalikan.

10

LevelList

array<object>

Daftar level tabel.

object

LevelType

integer

The table level type. Valid values: 1 and 2. The value 1 indicates the logical level. The value 2 indicates the physical level.

1

Description

string

The description of the table level.

层级描述

Name

string

The name of the table level.

层级1

ProjectId

integer

The ID of the DataWorks workspace.

123

LevelId

integer

The table level ID.

123

Contoh

Respons sukses

JSONformat

{
  "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
      }
    ]
  }
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

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. No permission, please authorize
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.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.