Mengambil detail definisi entitas kustom.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| EntityType |
string |
Yes |
Jenis entitas. Nilai harus cocok dengan ekspresi reguler |
custom_entity-customer_api |
Elemen respons
|
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. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C636A747-7E4E-594D-94CD-2B4F8A9A9A63",
"Success": true,
"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
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.