調用UpdateTableLevel更新層級。不建議使用該API,後續將有新API上線覆蓋此功能。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ProjectId |
integer |
是 |
DataWorks 工作空間的 ID。 |
123 |
| LevelType |
integer |
否 |
層級的類型,包括 1(邏輯層級)和 2(物理層級)。 |
1 |
| Name |
string |
否 |
層級的名稱。 |
層級名稱 |
| Description |
string |
否 |
層級的描述。 |
層級描述 |
| LevelId |
integer |
是 |
需要更新的層級 ID。您可以通過 ListLevel 擷取。 |
123 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回資料。 |
||
| HttpStatusCode |
integer |
HTTP 狀態代碼。 |
200 |
| RequestId |
string |
請求 ID。 |
abcde |
| ErrorMessage |
string |
錯誤訊息。 |
The specified parameters are invalid. |
| UpdateResult |
boolean |
是否成功返回結果。 |
true |
| ErrorCode |
string |
錯誤碼。 |
1031203110005 |
| Success |
boolean |
是否成功更新層級。 |
true |
樣本
正常返回樣本
JSON格式
{
"HttpStatusCode": 200,
"RequestId": "abcde",
"ErrorMessage": "The specified parameters are invalid.",
"UpdateResult": true,
"ErrorCode": "1031203110005",
"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.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. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。