All Products
Search
Document Center

DataWorks:CreateTableLevel

Last Updated:Oct 17, 2024

Creates a table level. This operation will be replaced soon. We recommend that you do not call this operation.

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
ProjectIdlongYes

The DataWorks workspace ID.

123
LevelTypeintegerYes

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
NamestringYes

The name of the table level.

The description of the table level.
DescriptionstringNo

The description of the table level.

The HTTP status code returned.

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

HttpStatusCodeinteger

The HTTP status code.

200
RequestIdstring

The request ID.

The error message returned.
ErrorMessagestring

The error message.

The specified parameters are invalid.
ErrorCodestring

The error code.

1031203110005
Successboolean

Indicates whether the request was successful.

true
LevelIdlong

The table level ID.

123

Examples

Sample success responses

JSONformat

{
  "HttpStatusCode": 200,
  "RequestId": "The error message returned.\n",
  "ErrorMessage": "The specified parameters are invalid.",
  "ErrorCode": "1031203110005",
  "Success": true,
  "LevelId": 123
}

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