- 状态码
- 接口书 写说明
- 版本变更说明
- 后端接口
- 业务流程
- 流程从表数据(添加|更新)POST
- 流程从表数据删除POST
- 获取应用扩展配置GET
- 模板打印导出(DF)POST
- 流程作废POST
- 获取流程列表(list结构)POST
- 流程恢复POST
- 超管修改流程主表数据POST
- 流程从表数据更新(只支持单条更新)POST
- 流程从表数据添加(支持单条或多条数据)POST
- 获取流程实例各种办理人POST
- 流程抄送POST
- 流程取回POST
- 流程中断POST
- 流程回退POST
- 流程中断POST
- 流程回退POST
- 流程取回POST
- 流程抄送POST
- 根据流程实例id获取待办节点信 息POST
- 流程 - 取消委托POST
- 流程 - 委托POST
- 流程 - 拒绝委托POST
- 流程 - 接受委托POST
- 流程发起(提交第一步,存草稿)POST
- 流程定义获取接口POST
- 流程执行实例查询接口POST
- 获取多个应用待办简略listPOST
- 获取流程从表数据列表POST
- 删除某个流程实例POST
- 流程恢复POST
- 刷新同步POST
- 提交流程POST
- 流程作废POST
- 查看单个流程详情POST
- 获取实例列表总数POST
- 获取流程列表POST
- 获取流程数据-从表单条数据详情POST
- 数据流
- 文件存储
- 消息服务
- 用户与角色
- 启聊
- 租户服务
- 通用接口
- 门户
- IOT
- 前端接口
获取流程列表(list结构)
POST
/openservice/php/app/openworkflow/getListNew
/openservice/php/app/openworkflow/getListNew
后端接口/业务流程
请求参数
Query 参数
entId
string
操作企业id
示例值:
apiceshiqiye
userId
string
当前操作人
示例值:
apitest
Body 参数application/json
appId
string
应用id
condition
object
条件组
tableId
string
表id
searchFields
object
查询字段
pageNum
integer
第几页
pageSize
integer
每页数量
order
object
排序
loginUserId
string
指定用户id
entId
string
指定企业id
示例
{
"entId": "ceshiQiye",
"pageSize": 10,
"pageNum": 1,
"condition": {
"groups": [
{
"type": "AND",
"conditions": [
{
"symbol": "unequal",
"type": "string",
"field": "gongzuobiaoti",
"value": "测试代办列表",
"table": "gongzuoxietong"
}
]
}
],
"type": "AND"
},
"appId": "GongZuoXieTong",
"tableId": "gongzuoxietong",
"searchFields": {
"all": "all",
"gongzuobiaoti": "gongzuobiaoti"
},
"loginUserId": "WMS",
"order": [
{
"type": "asc",
"field": "gongzuobiaoti"
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/openservice/php/app/openworkflow/getListNew' \
--header 'Content-Type: application/json' \
--data-raw '{
"entId": "ceshiQiye",
"pageSize": 10,
"pageNum": 1,
"condition": {
"groups": [
{
"type": "AND",
"conditions": [
{
"symbol": "unequal",
"type": "string",
"field": "gongzuobiaoti",
"value": "测试代办列表",
"table": "gongzuoxietong"
}
]
}
],
"type": "AND"
},
"appId": "GongZuoXieTong",
"tableId": "gongzuoxietong",
"searchFields": {
"all": "all",
"gongzuobiaoti": "gongzuobiaoti"
},
"loginUserId": "WMS",
"order": [
{
"type": "asc",
"field": "gongzuobiaoti"
}
]
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
result
array [object]
可选
code
integer
必需
success
boolean
必需
guid
string
必需
uuid
string
必需
status
integer
必需
示例
{
"code": 1000000,
"success": true,
"guid": "d86e60663e6e2290",
"uuid": "d86e60663e6e2290",
"status": 200,
"msg": "",
"result": [
{
"_id": {
"$id": "65123cfe17662407b4095555"
},
"wfcndongm_modifier": "ApiTest",
"wfcndongm_mainshuzi": 11,
"wfcndongm_mainjingweidu": {
"province": "江苏省",
"city": "南京市",
"streetNumber": "",
"street": "",
"district": "南京市",
"x": 118.767413,
"y": 32.041544,
"mark": "江苏省南京市"
},
"wfcndongm_created_at": "2023-09-26 10:07:57",
"wfcndongm_shuzijingdu": "",
"wfcndongm_jieshushijian": "",
"wfcndongm_a1cndongsourceusedkon": "",
"wfcndongm_mainfujian": "[]",
"wfcndongm_app_extend_key": "",
"wfcndongm_dfshujuyuanyinyong": "main_字符串11",
"wfcndongm_id": 9,
"wfcndongm_modified_method": "workflow/wfcndong/500037/WorkNode_1",
"wfcndongm_last_modified": "2023-09-26 10:09:14",
"wfcndongm_owner": "ApiTest",
"wfcndongm_maindanxuan": "选项1",
"wfcndongm_mainzuzhijiagou": "{\"displayValue\":\"应用设计组-测试工程师-张宗超w\",\"real\":{\"blacklist\":{},\"orgs\":{\"zhangzongchao\":{\"parent_id\":\"74\",\"Type\":\"member\",\"id\":\"zhangzongchao\"}}},\"appointId\":\"74\"}",
"wfcndongm_maindiqu": "北京市 市辖区 东城区",
"wfcndongm_shujuyuanbianhao": "",
"wfcndongm_mainbianhao": "177214",
"wfcndongm_mainwenben": "",
"wfcndongm_mainyonghuxinxi": "{\"displayValue\":\"企业管理员\",\"real\":{\"blacklist\":{},\"orgs\":{\"ApiTest\":{\"parent_id\":\"2\",\"id\":\"ApiTest\",\"Type\":\"member\"}}},\"appointId\":\"2\"}",
"wfcndongm_a1asa5": "",
"wfcndongm_congbiaohe": 0,
"wfcndongm_mainzifuchuan": "2023年09月26日10:07:52",
"wfcndongm_app_key": "workflow/500037",
"wfcndongm_feqi6": "",
"wfcndongm_mainriqishijian": "2023-09-26 10:09:14",
"wfcndongm_disable": 0,
"wfcndongm_bianhao2": "00030",
"wfcndongm_dierjiediankexie": "",
"wfcndongm_fujianyinyong": "[]",
"wfcndongm_a1an66": "",
"wfcndongm_abc90": "",
"wfcndongm_mainduoxuan": [
"A",
"B",
"C"
],
"wfcndongm_method": 500037,
"instance_id": 500037,
"app_id": "wfcndong",
"agent_handlers": [],
"created_at": "2023-09-26 10:07:43",
"created_by": "ApiTest",
"current_nodes": [
"WorkNode_1"
],
"definition_title": "wfcndong应用",
"status": "draft",
"update_at": "2023-09-26 10:07:58",
"version_id": 268
}
]
}
修改于 2024-12-26 03:29:29