Creates a metadata entity definition. The definition can be for a pure custom type or an extended table type.
Operation description
This operation requires DataWorks Professional Edition or a higher edition.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The type definition name. For a pure custom type, the name must match |
biz_api |
| DisplayName |
string |
Yes |
The display name. The maximum length is 32 characters. |
Business API |
| Description |
string |
No |
A description of the entity definition. |
description |
| Extend |
string |
No |
The extension mode. Valid values:
|
NONE |
| AttributeDefs |
array |
No |
A list of attribute definitions for the pure custom type. Do not specify this parameter if the |
[] |
| MetaEntityAttributeDef |
No |
An object that defines a single attribute for the entity. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
0A04C673-BEFA-5803-94E5-89E2D9F8C567 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| EntityType |
string |
The unique identifier of the created entity type. |
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.