应用单表数据添加
POST
/openApi/post/datacenter/{tableId}
后端接口/数据流
请求参数
Path 参数
tableId
string
必需
Body 参数application/json
entId
string
企业id
userId
string
用户id
method
string
关联应用记录标识
data
object
业务字段数据
masterInfo
object
必需
tableId
string
必需
recordId
integer
必需
actionType
string
批量写入
historyData
object
历史数据
writeMode
string
可选
示例
{
"entId": "preCeShiQiYe",
"userId": "admin_pretest",
"method": "info/jiandandfyingyong",
"data": {
"zifuchuan": "test"
},
"masterInfo": {
"tableId": "",
"recordId": ""
},
"actionType": "",
"historyData": {}
}
返回响应
🟢200成功
application/json
Body
msg
string
必需
result
object
必需
recordId
integer
必需
owner
string
必需
curruntHistoryId
integer
必需
data
object
必需
previousHistoryId
null
必需
modifiedMethod
string
必需
code
integer
必需
success
boolean
必需
guid
string
必需
uuid
string
必需
status
integer
必需
示例
{
"msg": "成功",
"result": {
"recordId": 15,
"owner": "admin_pretest",
"curruntHistoryId": 7528506,
"data": {
"owner": "admin_pretest",
"zifuchuan": "test",
"app_key": "",
"disable": 0,
"modifier": "admin_pretest",
"created_at": "2022-03-30 15:22:06",
"app_extend_key": "",
"shuzi": "",
"id": 15,
"modified_method": "info/jiandandfyingyong",
"last_modified": "2022-03-30 15:22:06"
},
"previousHistoryId": null,
"modifiedMethod": "info/jiandandfyingyong"
},
"code": 8010001,
"originResp": "{\"result\":{\"recordId\":15,\"owner\":\"admin_pretest\",\"curruntHistoryId\":7528506,\"data\":{\"owner\":\"admin_pretest\",\"zifuchuan\":\"test\",\"app_key\":\"\",\"disable\":0,\"modifier\":\"admin_pretest\",\"created_at\":\"2022-03-30 15:22:06\",\"app_extend_key\":\"\",\"shuzi\":\"\",\"id\":15,\"modified_method\":\"info/jiandandfyingyong\",\"last_modified\":\"2022-03-30 15:22:06\"},\"modifiedMethod\":\"info/jiandandfyingyong\"},\"msg\":\"成功\",\"code\":1000000,\"status\":200}",
"success": true,
"guid": "d18a9d3c2aa552ff",
"uuid": "d18a9d3c2aa552ff",
"status": 200
}
修改于 2023-05-11 09:03:08