All Products
Search
Document Center

DataWorks:UpdateTableModelInfo

Last Updated:Dec 24, 2024

Modifies the information about a table, such as the table folder, level, and category.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
FirstLevelThemeIdlongYes

The ID of the first-level table folder.

101
SecondLevelThemeIdlongYes

The ID of the second-level table folder.

101
LevelIdlongYes

The table level ID.

101
TableGuidstringYes

The GUID of the table. Specify the GUID in the odps.{projectName}.{tableName} format.

odps.test.table1
LevelTypeintegerNo

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

1

Response parameters

ParameterTypeDescriptionExample
object
UpdateResultboolean

Indicates whether the request was successful.

true
RequestIdstring

The request ID.

abcde

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError messageDescription
403Forbidden.AccessAccess is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition.No permission, please authorize
429Throttling.ApiThe request for this resource has exceeded your available limit.-
429Throttling.Api.RiskThe request for this resource has exceeded your daily available limit.-
429Throttling.SystemThe DataWorks system is busy. Try again later.-
429Throttling.UserYour request is too frequent. Try again later.-
500InternalError.SystemAn internal system error occurred. Try again later.-
500InternalError.UserId.MissingAn internal system error occurred. Try again later.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history