- 公共功能
- 登录注册
- 工作区
- 邀请成员
- 通讯录(用户、 部门、角色)
- 应用包
- 应用分组
- 应用
- 工作台
- 应用设置(表单引擎,流程引擎,拓展设置,应用发布)
- 应用展现层
- 公式
- 个人中心
- 企业管理
- 开放平台
- 官方网站
- 子管理员
- 报表
- 门户
- 购买相关
- OCR
- 代码生成
- 数据导入
- 流程测试
- 项目管理项目分类和项目编号处理GET
- 项目预算申请->项目编号处理GET
- 取出管理数据底座项目名字关联出来的列表数据GET
- 置空项目管理GET
- 处理T+已经存在的项目编号GET
- 处理没数据底座名字没关联出数据的项目GET
- 置空正式项目GET
- 返显正式项目GET
- 置空项目预算申请GET
- 处理项目预算申请GET
- 置空预立项GET
- 处理预立项反显示GET
- 流程模拟POST
- 差旅报销POST
- 费用报销POST
- 客户立项申请POST
- 研发项目立项申请POST
- 业务招待费申请POST
- 用章申请POST
- 加班单POST
- 供应商立项申请POST
- 采购核价审批单POST
- 付款单POST
- 初始化流程测试POST
- 初始化应用POST
- 销假单新POST
- 滨海数据同步POST
- 滨海大屏同步脚本GET
- 处理日志记录表POST
- 处理apply数据表加字段POST
- 处理station_apply表加字段POST
- 考勤
- 农业大屏
- 应用模板商城
- 应用包上线配置
- study
- 站内信
- sand测试流程测试模板
- 测试接口
- 响水大屏
- tplus
- 协办
- 费用管控
- 首页相关内容
- pm
- 水产养殖
- 应用商城
- 联系我们
- 图零后台管理
- 知识库
- doris相关
- Ai后台管理
- CRM二
- 自建应用设置
- EHR二期
- APP应用测试
- 未命名接口GET
- 数据上报GET
流程模拟
开发中
POST
/flowNode/test/start
暂无描述
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
object {0}
示例
{
"appId": 744,
"data": [
{
"fid": "8LmUqK87vz5oxyAv565mI",
"typeId": 30,
"value": {
"value": "JB2023042500080",
"id": null,
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": null
},
{
"fid": "applicant",
"typeId": 31,
"value": {
"value": "尹为星",
"id": 688,
"userId": 688,
"otherInfo": "",
"values": [
688
]
},
"values": [
{
"value": "尹为星",
"id": 688,
"userId": 688,
"otherInfo": "",
"values": null
}
],
"options": null,
"tableValues": null
},
{
"fid": "-ha5cOI4kwM5aPQVLUnEr",
"typeId": 1,
"value": {
"value": "江苏立卓信息技术有限公司",
"id": "3",
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": []
},
{
"fid": "Zgf5c_y-QD1n74WsDYILE",
"typeId": 23,
"value": {
"value": "后端组",
"id": null,
"userId": 0,
"otherInfo": "",
"values": [
681
]
},
"values": [
{
"value": "后端组",
"id": 681,
"userId": 681,
"otherInfo": "",
"values": null
}
],
"options": [
{
"optId": "",
"value": "",
"useLimit": 0,
"useCount": 0,
"linkFids": null,
"imageUrl": ""
}
],
"tableValues": null
},
{
"fid": "JI2WFoPhsEUEyQxL0tjnI",
"typeId": 1,
"value": {
"value": "后端开发工程师",
"id": "46",
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": []
},
{
"fid": "KIFm85IWVvj9YRbXSzaJw",
"typeId": 5,
"value": {
"value": "2023-04-25 00:00",
"id": null,
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": null
},
{
"fid": "SHMVSgtqeZWnQy1RE4V_S",
"typeId": 5,
"value": {
"value": "2023-04-25 20:00",
"id": null,
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": null
},
{
"fid": "7JERIsPJASmLQQtzg2gyf",
"typeId": 3,
"value": {
"value": "2",
"id": null,
"userId": 0,
"otherInfo": "",
"values": null
},
"values": [],
"options": null,
"tableValues": null
},
{
"fid": "kA32uW9lz0QqBcCeEl5k9",
"typeId": 1,
"value": {
"value": "测试",
"id": null,
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": null
}
],
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.tolink.cloud/flowNode/test/start' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": 744,
"data": [
{
"fid": "8LmUqK87vz5oxyAv565mI",
"typeId": 30,
"value": {
"value": "JB2023042500080",
"id": null,
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": null
},
{
"fid": "applicant",
"typeId": 31,
"value": {
"value": "尹为星",
"id": 688,
"userId": 688,
"otherInfo": "",
"values": [
688
]
},
"values": [
{
"value": "尹为星",
"id": 688,
"userId": 688,
"otherInfo": "",
"values": null
}
],
"options": null,
"tableValues": null
},
{
"fid": "-ha5cOI4kwM5aPQVLUnEr",
"typeId": 1,
"value": {
"value": "江苏立卓信息技术有限公司",
"id": "3",
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": []
},
{
"fid": "Zgf5c_y-QD1n74WsDYILE",
"typeId": 23,
"value": {
"value": "后端组",
"id": null,
"userId": 0,
"otherInfo": "",
"values": [
681
]
},
"values": [
{
"value": "后端组",
"id": 681,
"userId": 681,
"otherInfo": "",
"values": null
}
],
"options": [
{
"optId": "",
"value": "",
"useLimit": 0,
"useCount": 0,
"linkFids": null,
"imageUrl": ""
}
],
"tableValues": null
},
{
"fid": "JI2WFoPhsEUEyQxL0tjnI",
"typeId": 1,
"value": {
"value": "后端开发工程师",
"id": "46",
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": []
},
{
"fid": "KIFm85IWVvj9YRbXSzaJw",
"typeId": 5,
"value": {
"value": "2023-04-25 00:00",
"id": null,
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": null
},
{
"fid": "SHMVSgtqeZWnQy1RE4V_S",
"typeId": 5,
"value": {
"value": "2023-04-25 20:00",
"id": null,
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": null
},
{
"fid": "7JERIsPJASmLQQtzg2gyf",
"typeId": 3,
"value": {
"value": "2",
"id": null,
"userId": 0,
"otherInfo": "",
"values": null
},
"values": [],
"options": null,
"tableValues": null
},
{
"fid": "kA32uW9lz0QqBcCeEl5k9",
"typeId": 1,
"value": {
"value": "测试",
"id": null,
"userId": 0,
"otherInfo": "",
"values": []
},
"values": [],
"options": null,
"tableValues": null
}
],
}'
返回响应
🟢200成功
application/json
Body
code
integer
示例:0
data
object
示例:-
flows
array [object {8}]
测试流程列表
result
boolean
示例:true
msg
string
必需
示例
{
"code": 0,
"data": {
"flows": [
{
"appId": 760,
"nodeType": 8,
"name": "申请人",
"nodeId": "c992d84b-5cad-4baa-b83e-25c9c817b3e7",
"config": {
"flowNodeId": "c992d84b-5cad-4baa-b83e-25c9c817b3e7",
"flowNodeName": "申请人",
"nodeType": 8,
"childNode": null,
"dealConfig": {
"applyType": 1,
"forceLogin": false,
"dealUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
},
"chargeType": 1,
"auditType": 1,
"stepConfig": {
"stepStartUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
},
"endType": 1,
"dynamicEndLevel": 1,
"specifiedEndLevel": 1,
"deduplication": false,
"agentApproval": false,
"multiLeaderType": 1
},
"emptyUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
}
},
"fieldAuth": [
{
"fid": "number",
"label": "编号",
"auth": 2,
"addRow": true,
"beingFold": false,
"deleteRow": true,
"editRow": true,
"shrink": false,
"subFields": null,
"typeId": 0
}
],
"basicConfig": {
"needPassword": false,
"applyPassword": "",
"applyNum": 0,
"applyNumLimit": false,
"canImport": true,
"canRevoke": true,
"canRevert": false,
"revertConfig": {
"recommitType": 1,
"scopeType": 1,
"revertScope": null
},
"collectWechat": false,
"showLog": true,
"showRobotLog": false,
"feedback": true,
"canTransfer": true,
"canAssistTransfer": false,
"transferConfig": {
"transferType": 1,
"transferUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
}
},
"transferAssistConfig": {
"transferType": null,
"transferUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
}
},
"canReject": true,
"canComment": true,
"canCustomizeBtn": true,
"btnText": {
"submit": "",
"transfer": "",
"approve": "",
"reject": "",
"revert": ""
},
"isStay": false,
"showUrge": false,
"canReapply": false
},
"advancedConfig": {
"dataSource": {},
"showChart": true,
"chartConfig": {
"chartIds": null,
"limitType": 1
},
"printTpl": null,
"submitCheckType": 2,
"submitCheckConditions": [],
"canSign": false,
"multiDeal": false,
"canOnlinePay": false,
"onlinePayConfig": {
"payMethod": "",
"payAmountFid": "",
"payContentFid": ""
},
"showPayInfo": false,
"timeoutStatus": false,
"timeoutConfig": {
"triggerType": 1,
"triggerCompareUnit": 1,
"triggerTime": 0,
"triggerFid": "",
"triggerCompareType": 1,
"triggerNoticeTime": "",
"triggerNoticeUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
},
"autoCommit": false,
"canWarning": false,
"warningTimeUnit": 1,
"warningTime": 0,
"warningNoticeUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
}
}
},
"robotConfig": {
"conditionHasSub": false,
"ruleHasSub": 0,
"robotType": 0,
"judge": [],
"relatedAppId": null,
"relatedAppName": "",
"addRelation": [],
"updateRelation": [],
"updateMissAdd": false
},
"webhookConfig": {
"method": "",
"url": "",
"header": null,
"reqData": null,
"updateRelation": null
},
"conditionNodes": null,
"conditionSort": 0,
"judges": null,
"deleted": false
},
"dealType": 1,
"currentUsers": null,
"err": ""
}
],
"result": true
},
"msg": "success"
}
🟢200错误