更新时间:2024-07-31 GMT+08:00
Get
功能介绍
通过填写数据实例/实体的ID,获取该数据实例/实体上的所有信息。
入参
POST http://{Endpoint}/rdm_{appID}_app/services/dynamic/api/{entityName}/get { "params": { "id": "XXXXXXXXXX" } }
其中,{Endpoint}表示数据建模引擎所在域名或IP地址,{appID}表示应用ID,{entityName}表示实体的英文名称。
出参
返回模型所有属性、直接关联的参考对象、扩展属性、分类属性、级联的数据等。
示例场景
有一个实例(People),ID为455304697733976064。
入参示例
POST http://dme.cn-north-4.huaweicloud.com/rdm_01a2b2c4764d4e00f123g345fd9baa9f_app/services/dynamic/api/People/get { "params": { "id": "455304697733976064" } }
出参示例
{ "result": "SUCCESS", "data": [ { "id": "455304697733976064", "creator": "test1 3c03e719256a427eb9277b64fcXXXXXX", "modifier": "test1 3c03e719256a427eb9277b64fcXXXXXX", "createTime": "2023-01-13T01:38:19.000+00:00", "lastUpdateTime": "2023-01-13T01:38:19.000+00:00", "rdmVersion": 1, "rdmDeleteFlag": 0, "rdmExtensionType": "People", "tenant": { "id": "-1", "creator": "xdmAdmin", "modifier": "xdmAdmin", "createTime": "2022-08-03T11:27:44.000+00:00", "lastUpdateTime": "2022-08-03T11:27:44.000+00:00", "rdmVersion": 1, "rdmDeleteFlag": 0, "rdmExtensionType": "Tenant", "tenant": null, "className": "Tenant", "name": "basicTenant", "description": "默认租户", "kiaguid": null, "securityLevel": "internal", "code": "basicTenant", "disableFlag": false, "dataSource": null }, "className": "People", "name": "李兰", "description": null, "kiaguid": null, "securityLevel": "internal", "gender": "女", "age": 18 } ], "errors": [] }
父主题: 数据实体查询接口