应用数据批量添加
POST
/openApi/post/dataocean/batch/{tableId}
后端接口/数据流
请求参数
Path 参数
tableId
string
必需
Body 参数application/json
entId
string
必需
userId
string
必需
method
string
关联应用记录标识
writeMode
string
必需
data
array [object]
必需
masterInfo
object
必需
tableId
string
必需
recordId
integer
必需
actionType
string
可选
historyData
object
可选
xid
string
全局事务id
isTransactionEnd
string
全局事务是否结束
generateHistory
boolean
是否生成历史记录
senRabbitMq
boolean
是否发送消息
requestId
string
可选
idemOpen
boolean
幂等开关
idemWaitTime
integer
可选
idemHoldTime
integer
可选
示例
{
"entId": "preCeShiQiYe",
"userId": "admin_pretest",
"method": "info/jiandandfyingyong",
"writeMode": "",
"data": [
{
"zifuchuan": "batch_insert_test"
},
{
"zifuchuan": "batch_insert_test2"
}
],
"masterInfo": {
"tableId": "",
"recordId": ""
},
"actionType": "",
"historyData": {},
"isOrder": false
}
返回响应
🟢200成功
application/json
Body
msg
string
必需
result
boolean
必需
code
integer
必需
success
boolean
必需
guid
string
必需
uuid
string
必需
status
integer
必需
示例
{
"msg": "成功",
"result": true,
"code": 8010001,
"originResp": "{\"result\":true,\"msg\":\"成功\",\"code\":1000000,\"status\":200}",
"success": true,
"guid": "67b2ac3bc7e10c71",
"uuid": "67b2ac3bc7e10c71",
"status": 200
}
修改于 2024-03-08 02:19:15