Creates a metadata entity definition, including custom types and extended table types.
Operation description
DataWorks Professional Edition or a more advanced edition is required.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:CreateMetaEntityDef |
create |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the type definition. Custom types must match |
biz_api |
| DisplayName |
string |
Yes |
The display name, up to 32 characters. |
Business API |
| Description |
string |
No |
The description. |
description |
| Extend |
string |
No |
The extension mode. Valid values:
Valid values:
|
TABLE |
| AttributeDefs |
array |
No |
The attribute definition list for custom entities. This parameter cannot be specified when extend is set to TABLE. |
[] |
| MetaEntityAttributeDef |
No |
The attribute definition. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
0A04C673-BEFA-5803-94E5-89E2D9F8C567 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| EntityType |
string |
The entity type after creation. |
custom_entity-biz_api |
Examples
Success response
JSON format
{
"RequestId": "0A04C673-BEFA-5803-94E5-89E2D9F8C567",
"Success": true,
"EntityType": "custom_entity-biz_api"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.