Mengambil detail entitas kustom.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
ID entitas. |
custom_entity-customer_api:api_001 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
0A04C673-BEFA-5803-94E5-89E2D9F8C567 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| MetaEntity | MetaEntity |
Objek entitas kustom. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0A04C673-BEFA-5803-94E5-89E2D9F8C567",
"Success": true,
"MetaEntity": {
"Id": "custom_entity-customer_api:api_001",
"EntityType": "custom_entity-customer_api",
"Name": "api_001",
"Comment": "",
"OwnerId": "",
"CustomAttributes": {
"key": [
"张三"
]
},
"MetaEntityDef": {
"Name": "customer_api",
"EntityType": "custom_entity-customer_api",
"DisplayName": "",
"Description": "",
"AttributeDefs": [
{
"Name": "apiCode",
"DisplayName": "API编码",
"Type": "STRING",
"IsOptional": true,
"SearchFilterEnabled": false,
"DisplayEnabled": true,
"AllowedValues": [
"LABEL_1"
],
"Description": "层级描述"
}
],
"Extend": "NONE",
"CreateTime": 0,
"ModifyTime": 0
},
"CreateTime": 0,
"ModifyTime": 0,
"Attributes": {
"key": ""
}
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.