1 请求地址
Request Method:POST
Request URL:{http}://{ip}:{port}/{lczServer}/oapi/lczCloudForm/dataQuery/pageQuery
2 请求体参数
{
"header": {
"authId":"用户凭证,用于接口权限认证",
"targetVolume":"所属应用",
"privilege_type":"认证类型",
"validateVariants":"认证参数",
"v":"加密传参"
},
"requestBody": {
"currentPage": 0, //当前页码
"fieldNames": [
"string"
],
"fileName": "string",
"orders": [
{
"fieldName": "string",
"order": "string"
}
],
"pageSize":0, //分页行数
"wheres": [
{
"fieldName": "string",
"op": "string",
"vals": [
"string"
]
}
]
}
}参数名 |
类型 |
说明 |
|---|---|---|
| authId | string | 用户凭证,用于接口权限认证 注意:因v7.5.1版本平台改为JWT身份验证机制,本参数作废。 |
| lczticket | string | 【v7.5.1版本新增】访问报表的票据凭证,可通过调用乐创者平的的访问票据凭证接口获取。 注意:lczticket只能使用一次,每次请求报表访问都要重新获取。该参数必须从url上传递,如,body传入无效 |
| targetVolume | string | 所属应用的内部名称 |
| fileNames | string[] | 请求查询的多个表单名称 |
| fileName | string[] | 请求查询的单个表单名称 |
| orders | Obejct[] | 字段排序对象列表 |
| wheres | Obejct[] | 查询条件对象列表(多个条件之间是且的关系) |
op
IN
fieldName in (参数值,参数值 ....)
NIN
fieldName not in (参数值,参数值 ....)
LIKE
fieldName like (%参数值%)
NLIKE
fieldName not like (%参数值%)
NULL
fieldName is null
NNULL
fieldName not null
BETWEEN
fieldName between 参数值1 and 参数值2
EQ
fieldName = 参数值
GT
fieldName > 参数值
LT
fieldName < 参数值
NEQ
fieldName != 参数值
LEQ
fieldName <= 参数值
GEQ
fieldName >= 参数值4 响应体
成功响应体格式如下:
{
"content": {
"currentPage": 0, //当前页
"pageSize": 0, //总页数
"total": 0, //总条数
"datas": [{
"${fieldName1}": "",
"${fieldName2}": 0,
"${tableName1}": [{
"${fieldName3}": "",
"${fieldName4}": 0
}],
"${tableName2}": [{
"${fieldName5}": "",
"${fieldName6}": 0
}]
}]
},
"success": true
}${fieldName}: 用户要查询的字段名称
${tableName}: 子表名称
失败响应体格式如下:
{
"code": "string", //错误码
"msg": "string", //错误信息
"success": false
}作者:柳杨 创建时间:2023-08-08 15:53
最后编辑:fanchengliang 更新时间:2026-03-23 20:41
最后编辑:fanchengliang 更新时间:2026-03-23 20:41
———— 本文档对您有帮助吗?或有错误,恳请 反馈 ————
