- API 查询表单详情
查询自己定义的表单详情返回服务器错误麻烦看下问题出在哪里
我测试基础域DM下的 其它接口也都是返回500错误信息
先:curl --location --request POST ‘https://c2.xinheyun.com/api/public/metadata-app/v2/data/query/search’
–header ‘Cookie: _tea_utm_cache_1229=undefined; _abfpc=b08d4144a066e884e8f13188011c96ce458d61b9_2.0; cna=03fc30a205bdee86dd678d5882d15aab; NEWCORE_USER_LANG=zh-CN; temporaryAccount=1781165672684; TOKEN=619A07BE70C462ADEFCDEF1A23B3DEF7; STAFF_ID=10104970; TENANT_ID=80fce870-f424-474b-923e-1f4dde0f5b31; BUSINESS=2; SESSION=ZjQ0YzM4MTktYTAyOC00NjI5LTk3NzYtMzM2YjBiMzEwM2Ux; VERSION=; VERSION=’
–header ‘User-Agent: Apifox/1.0.0 (https://apifox.com)’
–header ‘Content-Type: application/json’
–header ‘Accept: /’
–header ‘Host: c2.xinheyun.com’
–header ‘Connection: keep-alive’
–data-raw ‘{
“templateApiName”: “template_irIfl”,
“filter”: {
“code”: “TS58-20260421-054”
}
}’ 查到data.list[*].id 随后 获取到的id 放到下面 dataId内:curl --location --request POST ‘https://c2.xinheyun.com/api/metadata-app/v2/data/query/details’
–header ‘Cookie: _tea_utm_cache_1229=undefined; _abfpc=b08d4144a066e884e8f13188011c96ce458d61b9_2.0; cna=03fc30a205bdee86dd678d5882d15aab; NEWCORE_USER_LANG=zh-CN; temporaryAccount=1781165672684; TOKEN=619A07BE70C462ADEFCDEF1A23B3DEF7; STAFF_ID=10104970; TENANT_ID=80fce870-f424-474b-923e-1f4dde0f5b31; BUSINESS=2; SESSION=ZjQ0YzM4MTktYTAyOC00NjI5LTk3NzYtMzM2YjBiMzEwM2Ux; VERSION=; VERSION=’
–header ‘User-Agent: Apifox/1.0.0 (https://apifox.com)’
–header ‘Content-Type: application/json’
–header ‘Accept: /’
–header ‘Host: c2.xinheyun.com’
–header ‘Connection: keep-alive’
–data-raw '{
“body”: {
“templateApiName”: “template_irIfl”,
“dataIds”: [“6a2a5ccd71f5f95b7bda898d”, “6a2a5ccc1719711f7cb4eacc”,“6a2a5ccb27800d336ef525a3”]
}
}’





