接口说明
接口名称:批量转办(特权人进行转办)
接口地址:{app项目域名+转发路径}/v1/app/openapi/workflow/batchApproveProcess
请求方式: POST JSON
入参说明
参数 | 描述 | 类型 | 可否为空 | 备注说明 |
---|---|---|---|---|
approveCode | 操作编码 | 字符串(String) | 不可为空 | 固定 admin_commission |
classId | 表单id | 字符串(String) | 不可为空 | obj_class表的id |
formInstanceId | 单据id | 字符串(String) | 不可为空 | 业务表中的单据id |
nodeCode | 当前操作节点编码 | 字符串(String) | 不可为空 | |
fromAccount | 原处理人域账号 | 字符串(String) | 不可为空 | |
toAccount | 新处理人域账号 | 字符串(String) | 不可为空 | |
approveName | 操作名称 | 字符串(String) | 允许为空 | |
fromUserName | 原处理人姓名 | 字符串(String) | 允许为空 | |
toUserName | 新处理人姓名 | 字符串(String) | 允许为空 | 用于在审批记录显示 |
comment | 审核意见 | 字符串(String) | 允许为空 | 在审批记录中显示 |
请求头
参数 | 描述 | 类型 | 可否为空 | 备注说明 |
---|---|---|---|---|
x-auth-token | 用户jwt | 字符串(String) | 不可为空 | 操作记录上会作为操作人展示 |
x-app-id | 应用id | 字符串(String) | 不可为空 | obj_application表id |
x-tenant-id | 租户id | 字符串(String) | 不可为空 | obj_application表tenant_id |
请求参数例子
[
{
"fromAccount":"keliming",
"toAccount": "yeduanwang",
"comment": "同意",
"toUserName": "叶端旺",
"approveCode": "admin_commission",
"approveName": "转办",
"classId": "7a0583f09f564008b0bea63f232d55ae",
"formInstanceId": "3e45da89a05848e3870ed6c7b97b620a",
"nodeCode": "n_sys_suspend"
}
]
返回信息
参数 | 描述 | 类型 | 可否为空 | 备注说明 |
---|---|---|---|---|
status | 返回状态 | 字符串 | 不为空 | 0:成功 其他:失败 |
success | 业务成功标识 | (boolean) | 不为空 | true:成功 false:失败 |
result | 返回信息 | 字符串(String) | 可能为空 | 提示信息 |
示例:
{
"status": "0",
"message": "success",
"data": {
"success": true,
"result": null,
"status": null
}
}
作者:叶端旺 创建时间:2024-12-10 12:15
最后编辑:叶端旺 更新时间:2025-05-12 18:04
最后编辑:叶端旺 更新时间:2025-05-12 18:04