新接口: https://docs.cvte.com/docs/tzdoc_v2/tzdoc_v2-1g3vrlaju3lt1
1. 总述
栏目 |
说明 |
备注 |
请求方式 |
POST |
|
请求数据格式 |
JSON |
|
返回接口格式 |
JSON |
|
接口域名 |
查看低代码后端app服务负载均衡配置 |
|
接口地址 |
/v1/app/form/{classApi} |
|
鉴权方式 |
IAC/JWT |
建议JWT |
1.1 请求头信息
参数名 |
数据类型 |
是否必填 |
说明 |
备注 |
x-app-id |
String |
是 |
应用ID |
也可以放入路径参数中 |
x-tenant-id |
String |
是 |
租户ID |
也可以放入路径参数中 |
2. 入参说明
路径参数
参数名 |
数据类型 |
是否必填 |
说明 |
备注 |
classApi |
String |
是 |
表单分类ID或者表单分类编码 |
|
ObjFormDataReq entityDTO
参数名 |
数据类型 |
是否必填 |
说明 |
备注 |
dataVersion |
DataVersionDTO |
否 |
数据版本 |
|
allObjAttrItemMap |
Map<String, ObjFormDataAttrDTO> |
否 |
表单主表所有字段值 |
用于事件快捷取值 |
objAttrItemList |
List< ObjFormDataAttrDTO> |
是 |
属性清单 |
|
bizList |
Map<String, List<Map<String, Object>>> |
否 |
明细表数据 |
|
2.1 ObjFormDataAttrDTO 属性对象
参数名 |
数据类型 |
是否必填 |
说明 |
备注 |
attrId |
String |
是 |
属性ID |
|
apiName |
String |
否 |
属性API |
ID和API二选其一 |
attrValue |
Object |
是 |
属性值 |
真实值 |
2.2 Map<String, List<Map<String, Object>>> 明细表数据
参数名 |
数据类型 |
是否必填 |
说明 |
备注 |
key |
String |
是 |
明细表名 |
即明细表APINAME |
value |
List<Map<String, Object>> |
是 |
所有行数据 |
|
Map<String, Object> |
Map<String, Object> |
是 |
行数据 |
字段API和真实值 |
2.3 入参示例
{
"objAttrItemList": [
{
"attrId": "96e51f1255044044a2f49d336d50f5dc",
"attrValue": "8b1e0657316c42e0b18a9af3f05a2d28"
},
{
"attrId": "7e8907076b6348d4af68fe010862c846",
"attrValue": "ff5d03251fd64242a1e9ffbbdc88bdac"
},
{
"attrId": "9f5cbadd51434e25bef8b73b127a0788",
"attrValue": "cd2f6f21a1ad4faab26884d5dcc32386"
},
{
"attrId": "fdbfd12ae2e44077804262edf4e388b4",
"attrValue": "f2b17010794f4d1bae4bdbbf2e1a0426"
},
{
"attrId": "e881fade23f743438cc4c8526e86b4eb",
"attrValue": "SERIAL_NUMBER"
},
{
"attrId": "33d0c53de0504900a4296ee8fabfb2af",
"attrValue": "0012daf15e2a4eebb1bca88eca958504"
},
{
"attrId": "1cf0bb9e8fd4496280fefb10a1a50da2",
"attrValue": "C001"
},
{
"attrId": "7150f5b53b17437da48462fc951388ac",
"attrValue": "SZ"
},
{
"attrId": "0a09000455bb4d69986d7f1349c90776",
"attrValue": "chenweibin@cvte.com"
},
{
"attrId": "e8ddaa547e5841ebb4024d13ecbb790d",
"attrValue": "额鹅鹅鹅"
}
],
"allObjAttrItemMap": {
"SALES_USER": {
"attrValue": "8b1e0657316c42e0b18a9af3f05a2d28"
},
"BU_OID": {
"attrValue": "ff5d03251fd64242a1e9ffbbdc88bdac"
},
"CORP_OID": {
"attrValue": "cd2f6f21a1ad4faab26884d5dcc32386"
},
"DEPT_OID": {
"attrValue": "f2b17010794f4d1bae4bdbbf2e1a0426"
},
"APPLY_CODE": {
"attrValue": "SERIAL_NUMBER"
},
"OM_USER": {
"attrValue": "0012daf15e2a4eebb1bca88eca958504"
},
"CRT_USER": {
"attrValue": ""
},
"CRT_TIME": {
"attrValue": ""
},
"HEADER_STATUS": {
"attrValue": "C001"
},
"CORP_EBS_INV_CODE": {
"attrValue": "SZ"
},
"SALES_EMAIL": {
"attrValue": "chenweibin@cvte.com"
},
"REMARK": {
"attrValue": "额鹅鹅鹅"
}
},
"bizList": {
"LCM_APPLY_HEADER_DETAIL": []
},
"id": null,
"classId": "ed61dcaaf42142c088aeb76e6de0a2c6"
}
3. 出参说明
3.1 出参对象RestResponse
参数名 |
数据类型 |
是否必填 |
说明 |
备注 |
status |
String |
是 |
状态码 |
|
message |
String |
是 |
状态信息 |
|
data |
ObjFormDataDTO |
是 |
表单对象 |
|
3.2 出参示例
{
"httpStatus": 200,
"status": "0",
"message": "success",
"data": {
"pagination": null,
"content": {
"id": "9ab22749245f4b088df8d197a71552fe",
"classId": "ed61dcaaf42142c088aeb76e6de0a2c6",
"classApiName": "LCM_APPLY_HEADER",
"isReversed": "0",
"objAttrItemList": [
{
"attrId": "96e51f1255044044a2f49d336d50f5dc",
"attrType": "SEARCH",
"apiName": "SALES_USER",
"attrValue": "8b1e0657316c42e0b18a9af3f05a2d28",
"oldAttrValue": null
},
{
"attrId": "7e8907076b6348d4af68fe010862c846",
"attrType": "SEARCH",
"apiName": "BU_OID",
"attrValue": "ff5d03251fd64242a1e9ffbbdc88bdac",
"oldAttrValue": null
},
{
"attrId": "9f5cbadd51434e25bef8b73b127a0788",
"attrType": "SEARCH",
"apiName": "CORP_OID",
"attrValue": "cd2f6f21a1ad4faab26884d5dcc32386",
"oldAttrValue": null
},
{
"attrId": "fdbfd12ae2e44077804262edf4e388b4",
"attrType": "SEARCH",
"apiName": "DEPT_OID",
"attrValue": "f2b17010794f4d1bae4bdbbf2e1a0426",
"oldAttrValue": null
},
{
"attrId": "e881fade23f743438cc4c8526e86b4eb",
"attrType": "SERIAL_NUMBER",
"apiName": "APPLY_CODE",
"attrValue": "SZAG-23032800039",
"oldAttrValue": null
},
{
"attrId": "33d0c53de0504900a4296ee8fabfb2af",
"attrType": "SEARCH",
"apiName": "OM_USER",
"attrValue": "0012daf15e2a4eebb1bca88eca958504",
"oldAttrValue": null
},
{
"attrId": "1cf0bb9e8fd4496280fefb10a1a50da2",
"attrType": "SELECT",
"apiName": "HEADER_STATUS",
"attrValue": "C001",
"oldAttrValue": null
},
{
"attrId": "7150f5b53b17437da48462fc951388ac",
"attrType": "TEXT",
"apiName": "CORP_EBS_INV_CODE",
"attrValue": "SZ",
"oldAttrValue": null
},
{
"attrId": "0a09000455bb4d69986d7f1349c90776",
"attrType": "TEXT",
"apiName": "SALES_EMAIL",
"attrValue": "chenweibin@cvte.com",
"oldAttrValue": null
},
{
"attrId": "e8ddaa547e5841ebb4024d13ecbb790d",
"attrType": "TEXTAREA",
"apiName": "REMARK",
"attrValue": "额鹅鹅鹅",
"oldAttrValue": null
}
],
"allObjAttrItemMap": {
"CRT_TIME": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "",
"oldAttrValue": null
},
"CRT_USER": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "",
"oldAttrValue": null
},
"BU_OID": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "ff5d03251fd64242a1e9ffbbdc88bdac",
"oldAttrValue": null
},
"SALES_USER": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "8b1e0657316c42e0b18a9af3f05a2d28",
"oldAttrValue": null
},
"APPLY_CODE": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "SERIAL_NUMBER",
"oldAttrValue": null
},
"CORP_OID": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "cd2f6f21a1ad4faab26884d5dcc32386",
"oldAttrValue": null
},
"CORP_EBS_INV_CODE": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "SZ",
"oldAttrValue": null
},
"HEADER_STATUS": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "C001",
"oldAttrValue": null
},
"SALES_EMAIL": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "chenweibin@cvte.com",
"oldAttrValue": null
},
"OM_USER": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "0012daf15e2a4eebb1bca88eca958504",
"oldAttrValue": null
},
"DEPT_OID": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "f2b17010794f4d1bae4bdbbf2e1a0426",
"oldAttrValue": null
},
"REMARK": {
"attrId": null,
"attrType": null,
"apiName": null,
"attrValue": "额鹅鹅鹅",
"oldAttrValue": null
}
},
"bizList": {
"LCM_APPLY_HEADER_DETAIL": []
},
"bizDataList": [
{
"tableName": "LCM_APPLY_HEADER_DETAIL",
"parentId": null,
"addDataType": "relation",
"relyClassId": "77e228f0f1df43718703c717981096c0",
"dataUrl": null,
"viewType": "normalTable",
"isReversed": "0",
"dataList": []
}
],
"dataVersion": {
"isDataVersionOn": "1",
"form": null,
"table": null,
"mainFormDataVersion": null
},
"attr01": null
}
}
}
作者:叶端旺 创建时间:2023-03-28 14:49
最后编辑:叶端旺 更新时间:2024-12-11 10:09