All Products
Search
Document Center

DataWorks:ListTableLevel

Last Updated:Nov 21, 2024

Queries a list of table levels. 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 ID of the DataWorks workspace. You can log on to the DataWorks console to obtain the workspace ID.

123
LevelTypeintegerYes

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

1
PageNumintegerNo

The page number. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Default value: 10.

10

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

HttpStatusCodeinteger

The HTTP status code.

200
ErrorMessagestring

The error message.

The specified parameters are invalid.
RequestIdstring

The request ID.

abc
Successboolean

Indicates whether the request was successful.

true
ErrorCodestring

The error code.

1031203110005
TableLevelInfoobject

The information about the table levels.

TotalCountlong

The total number of table levels returned.

10
LevelListarray<object>

The list of table levels.

LevelListobject
LevelTypeinteger

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

1
Descriptionstring

The description of the table level.

test
Namestring

The name of the table level.

test
ProjectIdlong

The ID of the DataWorks workspace.

123
LevelIdlong

The table level ID.

123

Examples

Sample success responses

JSONformat

{
  "HttpStatusCode": 200,
  "ErrorMessage": "The specified parameters are invalid.",
  "RequestId": "abc",
  "Success": true,
  "ErrorCode": "1031203110005\t",
  "TableLevelInfo": {
    "TotalCount": 10,
    "LevelList": [
      {
        "LevelType": 1,
        "Description": "test",
        "Name": "test",
        "ProjectId": 123,
        "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