All Products
Search
Document Center

DataWorks:GetMetaEntityDef

Last Updated:Jun 11, 2026

Mengambil detail definisi entitas kustom.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

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-[A-Za-z0-9_]+|[A-Za-z0-9_]+-(?:database|table|column))$.

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.