Retrieves the details of a custom entity definition.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EntityType |
string |
Yes |
The entity type. The value must match the regular expression |
custom_entity-customer_api |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
C636A747-7E4E-594D-94CD-2B4F8A9A9A63 |
| Success |
boolean |
Indicates whether the request succeeded. |
true |
| MetaEntityDef | MetaEntityDef |
The custom entity definition. |
Examples
Success response
JSON format
{
"RequestId": "C636A747-7E4E-594D-94CD-2B4F8A9A9A63",
"Success": true,
"MetaEntityDef": {
"Name": "biz_api",
"EntityType": "custom_entity-biz_api",
"DisplayName": "业务API",
"Description": "test",
"AttributeDefs": [
{
"Name": "apiCode",
"DisplayName": "API编码",
"Type": "STRING",
"IsOptional": true,
"SearchFilterEnabled": false,
"DisplayEnabled": true,
"AllowedValues": [
"LABEL_1"
],
"Description": "层级描述"
}
],
"Extend": "NONE",
"CreateTime": 1780553640613,
"ModifyTime": 1780553640613
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
该文章对您有帮助吗?