All Products
Search
Document Center

DataWorks:CreateTableTheme

Last Updated:Oct 17, 2024

Creates a table theme. 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
LevelintegerYes

The level of the table theme. Valid values: 1 and 2. The value 1 indicates the first level. The value 2 indicates the second level.

1
NamestringYes

The name of the table theme.

test
ParentIdlongNo

The ID of the level of the parent table theme.

122

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

HttpStatusCodeinteger

The HTTP status code.

200
RequestIdstring

The request ID.

ABCd
ErrorMessagestring

The error message.

success
ErrorCodestring

The error code.

0
Successboolean

Indicates whether the request was successful.

true
ThemeIdlong

The table theme ID.

123

Examples

Sample success responses

JSONformat

{
  "HttpStatusCode": 200,
  "RequestId": "ABCd",
  "ErrorMessage": "success",
  "ErrorCode": "0",
  "Success": true,
  "ThemeId": 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