All Products
Search
Document Center

DataWorks:GetMetaEntity

Last Updated:Jun 11, 2026

Mengambil detail 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

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.