テーブルの階層レベルを一覧表示します。この操作は、近日中に置き換えられる予定です。呼び出さないことを推奨します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ProjectId |
integer |
必須 |
DataWorks ワークスペースの ID です。DataWorks コンソールにログインして、ワークスペース ID を取得できます。 |
123 |
| LevelType |
integer |
必須 |
テーブルレベルの種別です。有効な値は 1 および 2 です。1 は論理レベルを、2 は物理レベルを表します。 |
1 |
| PageNum |
integer |
任意 |
ページ番号です。デフォルト値は 1 です。 |
1 |
| PageSize |
integer |
任意 |
1 ページあたりの件数です。デフォルト値は 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 は論理レベルを、2 は物理レベルを表します。 |
1 |
| Description |
string |
テーブルレベルの説明です。 |
层级描述 |
| Name |
string |
テーブルレベルの名前です。 |
层级1 |
| ProjectId |
integer |
DataWorks ワークスペースの ID です。 |
123 |
| LevelId |
integer |
テーブルレベルの ID です。 |
123 |
例
成功レスポンス
JSONJSON
{
"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 ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。