{
"body": {
"templateApiName": "template_lwyhT", // 表单ApiName
"dataIds": [
"63fddbfc132a4c3e88b973cf"
], // 数据ID
"join": {
"joinTables": { // 子表,有多少子表就放多少个ApiName
"template_Z6F5g": {},
"template_AbCdE": {},
"template_aBcDe": {}
},
"flat": "false" // 子表数据是否展开,查详情这个场景下,固定填false
}
}
}
curl --location --request POST '/api/metadata-app/v2/data/query/details' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"templateApiName": "template_lwyhT", // 表单ApiName
"dataIds": [
"63fddbfc132a4c3e88b973cf"
], // 数据ID
"join": {
"joinTables": { // 子表,有多少子表就放多少个ApiName
"template_Z6F5g": {},
"template_AbCdE": {},
"template_aBcDe": {}
},
"flat": "false" // 子表数据是否展开,查详情这个场景下,固定填false
}
}
}'
{
"code": 200,
"message": "ok",
"data": {
"isAuthority": true,
"data": [
{
"updatedTime": 1677581308980,
"code": "2023022818482800031759",
"updatedBy": {
"id": "10044388"
},
"field_BHCTX__c": "做了一些事情",
"auditor": {
"id": "10044388"
},
"audit_status": "已审核",
"version": 1,
"audit_time": 1677581308953,
"createdBy": {
"code": "N258",
"gender": "保密",
"emergencyContactNumber": "",
"workingCondition": "在职",
"active": "开启",
"employeeId": "N258",
"emergencyContactPerson": "",
"staffQrLink": "https://c2.xinheyun.com/qr?p=2&m=6&staffId=10044388",
"phone": "18521092048",
"name": "刘伟",
"comment": "",
"id": "10044388",
"position": "后端",
"departments": [
{
"id": "0"
}
],
"department": "",
"employedDate": 1647964800000,
"invitationCode": "94696148",
"homeAddress": "家庭地址"
},
"createdTime": 1677581308651,
"id": "63fddbfc132a4c3e88b973cf",
"field_qUxw2__c": "准备做一些事情",
"field_PXgDc__c": [
{
"code": "N258",
"gender": "保密",
"emergencyContactNumber": "",
"workingCondition": "在职",
"active": "开启",
"employeeId": "N258",
"emergencyContactPerson": "",
"staffQrLink": "https://c2.xinheyun.com/qr?p=2&m=6&staffId=10044388",
"phone": "18521092048",
"name": "刘伟",
"comment": "",
"id": "10044388",
"position": "后端",
"departments": [
{
"id": "0"
}
],
"department": "",
"employedDate": 1647964800000,
"invitationCode": "94696148",
"homeAddress": "家庭地址"
}
]
}
]
}
}