- ERP/OMS
- 电商平台
- 京东
- 拼多多
- 抖音
- 财务系统
- 内部办公
- 定制系统
十月稻田定制
POST
october/rice/field
最后修改时间:2024-08-09 10:32:28
请求参数
Body 参数application/json
method
string
应用类型
tableName
string
用于解析数据后存储
bizParam
string
业务参数
isPage
boolean
是否分页
arrayField
string
数组字段
pageRule
number
分页规则
customKey
string | null
自定义业务参数
isTermination
boolean
异常是否终止
frequency
number | null
限流
database
string
用于确定存储数据库
onlyRead
boolean
只读模式
validKeys
array[string] | null
自定义取数字段
示例
{
"method": "xxxxx",
"tableName": "xxxx",
"bizParam": "{}",
"isPage": false,
"arrayField": "$.data.arrays",
"pageRule": 1,
"customKey": "{}",
"isTermination": true,
"frequency": 600,
"database": "xxxxx",
"onlyRead": false,
"validKeys": [
"wp[L2XF"
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://172.168.28.12:9099/daq/october/rice/field' \
--header 'Content-Type: application/json' \
--data-raw '{
"method": "xxxxx",
"tableName": "xxxx",
"bizParam": "{}",
"isPage": false,
"arrayField": "$.data.arrays",
"pageRule": 1,
"customKey": "{}",
"isTermination": true,
"frequency": 600,
"database": "xxxxx",
"onlyRead": false,
"validKeys": [
"wp[L2XF"
]
}'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
data
object
返回数据
requestTotal
integer
请求到数据总条数
sqlTotal
integer
生成sql总条数
successSqlTotal
integer
成功写 入总条数
traceId
string
traceId
示例
{
"code": 0,
"data": {
"requestTotal": 0,
"sqlTotal": 0,
"successSqlTotal": 0
},
"traceId": "string"
}