- 公共功能
- 登录注册
- 工作区
- 邀请成员
- 通讯录(用户、部门、角色)
- 应用包
- 应用分组
- 应用
- 工作台
- 应用设置(表单引擎,流程引擎,拓展设置,应用发布)
- 应用展现层
- 公式
- 个人中心
- 企业管理
- 开放平台
- 官方网站
- 子管理员
- 报表
- 门户
- 购买相关
- OCR
- 代码生成
- 数据导入
- 流程测试
- 考勤
- 农业大屏
- 应用模板商城
- 应用包上线配置
- study
- 站内信
- sand测试流程测试模板
- 测试接口
- 响水大屏
- tplus
- 协办
- 费用 管控
- 首页相关内容
- pm
- 水产养殖
- 应用商城
- 联系我们
- 图零后台管理
- 知识库
- doris相关
- Ai后台管理
- CRM二
- 自建应用设置
- EHR二期
- APP应用测试
- 未命名接口GET
- 数据上报GET
修改节点数据
开发中
PUT
/flowNode/update
暂无描述
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
appId
string
应用id
version
integer
版本号
config
object
设置内容
flowNodeId
string
节点id
flowNodeName
string
节点名称
nodeType
integer
必需
childNode
object
子节点
dealConfig
object
处理人部分设置
fieldAuth
array [object {10}]
字段权限
basicConfig
object
基础设置
advancedConfig
object
高级设置
robotConfig
object
机器人设置
webhookConfig
object
必需
conditionNodes
null
条件分支
conditionSort
integer
分支优先级排序
judges
null
判断条件
deleted
boolean
必需
示例
{ "appId": "744", "version": 199, "config": { "flowNodeId": "669e8777-f683-4db7-bc89-5c7136cb82c6", "flowNodeName": "申请人", "nodeType": 8, "childNode": { "flowNodeId": "23b4f904-dce0-46b1-9188-367bea5bd04c", "flowNodeName": "子分支", "nodeType": 6, "childNode": { "flowNodeId": "f27a06f7-be79-4cbc-809d-c091fd1cd184", "flowNodeName": "Robot-自动添加数据", "nodeType": 4, "childNode": null, "dealConfig": { "applyType": 1, "forceLogin": false, "dealUsers": { "user": [], "department": [], "role": [], "dynamic": [ { "fid": "createBy", "fieldName": "申请人", "dynamicType": 1 } ], "includeSubDepartment": false }, "chargeType": 1, "auditType": 1, "stepConfig": { "stepStartUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false }, "endType": 1, "dynamicEndLevel": 1, "specifiedEndLevel": 1, "deduplication": true, "agentApproval": false, "multiLeaderType": 1 }, "emptyUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false } }, "fieldAuth": null, "basicConfig": { "needPassword": false, "applyPassword": "", "applyNum": 0, "applyNumLimit": false, "canImport": false, "canRevoke": false, "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": false, "btnText": { "submit": "", "transfer": "", "approve": "", "reject": "", "revert": "" }, "isStay": false, "showUrge": false, "canReapply": true }, "advancedConfig": { "dataSource": {}, "showChart": true, "chartConfig": { "chartIds": null, "limitType": 1 }, "printTpl": null, "submitCheckType": 1, "submitCheckConditions": null, "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": null, "robotType": 1, "judge": [], "relatedAppId": 950, "relatedAppName": "请假加班流水", "addRelation": [ { "fid": "US0mFJiVd9pRHFq5xk91H", "fieldName": "日期", "typeId": 5, "judgeType": 1, "judgeValue": { "value": "", "id": null, "userId": 0, "otherInfo": "", "
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.tolink.cloud/flowNode/update' \ --header 'Content-Type: application/json' \ --data-raw '{ "appId": "744", "version": 199, "config": { "flowNodeId": "669e8777-f683-4db7-bc89-5c7136cb82c6", "flowNodeName": "申请人", "nodeType": 8, "childNode": { "flowNodeId": "23b4f904-dce0-46b1-9188-367bea5bd04c", "flowNodeName": "子分支", "nodeType": 6, "childNode": { "flowNodeId": "f27a06f7-be79-4cbc-809d-c091fd1cd184", "flowNodeName": "Robot-自动添加数据", "nodeType": 4, "childNode": null, "dealConfig": { "applyType": 1, "forceLogin": false, "dealUsers": { "user": [], "department": [], "role": [], "dynamic": [ { "fid": "createBy", "fieldName": "申请人", "dynamicType": 1 } ], "includeSubDepartment": false }, "chargeType": 1, "auditType": 1, "stepConfig": { "stepStartUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false }, "endType": 1, "dynamicEndLevel": 1, "specifiedEndLevel": 1, "deduplication": true, "agentApproval": false, "multiLeaderType": 1 }, "emptyUsers": { "user": [], "department": [], "role": [], "dynamic": [], "includeSubDepartment": false } }, "fieldAuth": null, "basicConfig": { "needPassword": false, "applyPassword": "", "applyNum": 0, "applyNumLimit": false, "canImport": false, "canRevoke": false, "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": false, "btnText": { "submit": "", "transfer": "", "approve": "", "reject": "", "revert": "" }, "isStay": false, "showUrge": false, "canReapply": true }, "advancedConfig": { "dataSource": {}, "showChart": true, "chartConfig": { "chartIds": null, "limitType": 1 }, "printTpl": null, "submitCheckType": 1, "submitCheckConditions": null, "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": null, "robotType": 1, "judge": [], "relatedAppId": 950, "relatedAppName": "请假加班流水", "addRelation": [ { "fid": "US0mFJiVd9pRHFq5xk91H", "fieldName": "日期", "typeId": 5, "judgeType": 1, "judgeValue": {
返回响应
🟢200成功
application/json
Body
code
integer
示例:-
data
object
返回数据
flowNodeId
integer
节点id
flowNodeName
string
节点名称
nodeType
integer
必需
childNode
null
子节点
dealConfig
object
处理人部分设置
fieldAuth
array [object {9}]
字段权限
basicConfig
object
基础设置
advancedConfig
object
高级设置
robotConfig
object
机器人设置
hookConfig
object
webhook设置
conditionNodes
null
条件分支数组
conditionSort
integer
示例:1
judges
array [array]
判断条件
msg
string
返回文字描述
示例
{
"code": 0,
"data": {
"flowNodeId": 6,
"flowNodeName": "robot-2",
"nodeType": 4,
"childNode": null,
"dealConfig": {
"applyType": 1,
"forceLogin": false,
"dealUsers": {
"user": [
{
"id": 0,
"name": "",
"mobile": "",
"avatar": ""
}
],
"department": [
{
"id": 22,
"icon": "",
"name": ""
}
],
"role": [
{
"id": 5,
"icon": "",
"name": ""
}
],
"dynamic": [
{
"fid": "createBy",
"fieldName": "申请人",
"dynamicType": 1
}
],
"includeSubDepartment": true
},
"chargeType": 2,
"auditType": 1,
"stepConfig": {
"stepStartUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [
{
"fid": "",
"fieldName": "",
"dynamicType": 1
}
],
"includeSubDepartment": false
},
"endType": 1,
"dynamicEndLevel": 2,
"specifiedEndLevel": 2,
"deduplication": false,
"multiLeaderType": 1
},
"emptyUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
}
},
"fieldAuth": [
{
"fid": "us-rMzyLYCuiOQ1JMCTxt",
"label": "",
"auth": 3,
"addRow": false,
"beingFold": false,
"deleteRow": false,
"editRow": false,
"shrink": false,
"subFields": null
}
],
"basicConfig": {
"needPassword": false,
"applyPassword": "",
"applyNum": 1,
"applyNumLimit": false,
"canImport": false,
"canRevoke": false,
"canRevert": false,
"revertConfig": {
"recommitType": 1,
"scopeType": 1,
"revertScope": [
{
"flowNodeId": 0,
"flowNodeName": ""
}
]
},
"collectWechat": false,
"showLog": false,
"showRobotLog": false,
"feedback": false,
"canTransfer": false,
"transferConfig": {
"transferType": 1,
"transferUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
}
},
"canReject": false,
"canComment": false,
"canCustomizeBtn": false,
"btnText": {
"submit": "",
"transfer": "",
"approve": "",
"reject": "",
"revert": ""
}
},
"advancedConfig": {
"dataSource": {},
"showChart": false,
"chartConfig": {
"chartIds": null,
"limitType": 1
},
"printTpl": null,
"submitCheckType": 2,
"submitCheckConditions": [
{
"formula": "SUM(#cid_0ICLTqqSFIlMsOTTQRzsN$,2)>22",
"message": "写的不对,重来"
}
],
"canSign": false,
"multiDeal": false,
"canOnlinePay": false,
"onlinePayConfig": {
"payMethod": "",
"payAmountFid": "",
"payContentFid": ""
},
"showPayInfo": false,
"timeoutStatus": true,
"timeoutConfig": {
"triggerType": 1,
"triggerCompareUnit": 3,
"triggerTime": 1,
"triggerFid": "",
"triggerCompareType": "",
"triggerNoticeTime": "",
"triggerNoticeUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
},
"autoCommit": false,
"canWarning": false,
"warningTimeUnit": 1,
"warningTime": 1,
"warningNoticeUsers": {
"user": [],
"department": [],
"role": [],
"dynamic": [],
"includeSubDepartment": false
}
}
},
"robotConfig": {
"robotType": 1,
"judge": [
[
{
"fid": "number",
"fieldName": "编号",
"typeId": 1,
"judgeType": 1,
"judgeValue": {
"value": "于高衡",
"id": "18",
"userId": 0,
"otherInfo": "123.png",
"values": null
},
"matchType": null,
"judgeFieldDetail": {
"id": "number",
"value": "编号"
}
}
]
],
"relatedAppId": 2,
"relatedAppName": "应用名称",
"addRelation": [
{
"fid": "number",
"fieldName": "编号",
"typeId": 1,
"judgeType": 1,
"judgeValue": {
"value": "于高衡",
"id": "18",
"userId": 0,
"otherInfo": "123.png",
"values": null
},
"matchType": null,
"judgeFieldDetail": {
"id": "number",
"value": "编号"
}
}
],
"updateRelation": [
{
"fid": "number",
"fieldName": "编号",
"typeId": 1,
"judgeType": 1,
"judgeValue": {
"value": "于高衡",
"id": "18",
"userId": 0,
"otherInfo": "123.png",
"values": null
},
"matchType": null,
"judgeFieldDetail": {
"id": "number",
"value": "编号"
}
}
],
"updateMissAdd": true
},
"hookConfig": {},
"conditionNodes": null,
"conditionSort": 1,
"judges": [
[
{
"fid": "number",
"fieldName": "编号",
"typeId": 1,
"judgeType": 1,
"judgeValue": {
"value": "于高衡",
"id": "18",
"userId": 0,
"otherInfo": "123.png",
"values": null
},
"matchType": null,
"judgeFieldDetail": {
"id": "number",
"value": "编号"
}
}
]
]
},
"msg": "success"
}
🟢200错误
修改于 2023-06-08 08:07:06