报销单流程日志查询

说明

可以根据单据号查询到该单据的流程日志,类似流水记录。

注意事项

接口地址

/api/openapi/form/reimburse/processLog/{formCode}

请求类型

GET

请求参数

参数说明

字段名称 字段类型 是否必填 字段说明
formCode String(50) 单据号

参数样例

响应参数

响应参数说明

字段名称 字段类型 是否必填 字段说明
operatorName String[ ] 节点候选人名称
operatorEmployeeIds String[ ] 节点候选人工号
operationText String(100) 操作记录展示信息
optReason String(200) 审批理由或者评论
nextOperatorName String(100) 转交人名称,表示转交给谁
nextOperatorEmployeeIds String(100) 转交人工号
delegater String(100) 授权其他人审批的人
delegaterEmployeeId String(100) 授权人工号
processNodeSubType String(20) 节点候选人名称
processNodeSubTypeCode String(10) 节点类型编码
optTime Long 操作时间
lastAuditOperatorEmployeeId String(100) 若存在审核节点,则为最后一个审核节点的最后一个审核人的工号,否则为空
lastOperatorEmployeeId String(100) 最近一个已完成任务的操作人工号
taskName String(100) 节点名
taskCategory String(100) 节点类型
attachments AttachInput 附件列表
filename String(100) 文件名
type String(20) 文件类型
downloadUrl String(200) 下载链接
finalAuditNode boolean 审批节点是否勾选“将本节点设置为终审节点”,若勾选则返回true,否则返回false

processNodeSubType

processNodeSubType processNodeSubTypeCode
审批节点 APPROVAL
抄送节点 CC
审核节点 FINANCE_AUDIT
支付节点 CASHIER_SETTLE
外部节点 WEB_HOOK
签收等待 SIGN_WAIT
其他节点 OTHER

参数样例

  1. 正常响应参数示例
    {
    "code": "ACK",
    "message": "",
    "data": {
     "lastOperatorEmployeeId": "S01",
     "lastAuditOperatorEmployeeId": "",
     "openApiFormProcessLogs": [
       {
         "operatorName": [
           "王五"
         ],
         "operatorEmployeeIds": [
           "S01"
         ],
         "nextOperatorName": null,
         "operationText": "[王五]添加评论",
         "optReason": "单据自动调整:+2",
         "delegater": "",
         "nextOperatorEmployeeIds": null,
         "processNodeSubType": "其他节点",
         "processNodeSubTypeCode": "OTHER",
         "taskName": "",
         "taskCategory": null,
         "optTime": 1695869164287,
         "attachments":[
           {
             "filename":"xxxx.jpeg",
             "type":"image/jpeg",
             "downloadUrl":"https://oss-xxx/xxx.jepg"
           }
         ]
       },
       {
         "operatorName": null,
         "operatorEmployeeIds": null,
         "nextOperatorName": null,
         "operationText": "",
         "optReason": "",
         "delegater": "",
         "nextOperatorEmployeeIds": null,
         "processNodeSubType": "审批节点",
         "processNodeSubTypeCode": "APPROVAL",
         "taskName": "出纳支付",
         "taskCategory": "CASHIER_SETTLE",
         "optTime": 1695869164033,
         "attachments": null
       },
       {
         "operatorName": [
           "李四"
         ],
         "operatorEmployeeIds": [
           "A02"
         ],
         "nextOperatorName": null,
         "operationText": "同意",
         "optReason": "",
         "delegater": "",
         "nextOperatorEmployeeIds": null,
         "processNodeSubType": "审批节点",
         "processNodeSubTypeCode": "APPROVAL",
         "taskName": "领导审批",
         "taskCategory": "APPROVAL",
         "optTime": 1695869260866,
         "attachments": null
       },
       {
         "operatorName": [
           "张三"
         ],
         "operatorEmployeeIds": [
           "A01"
         ],
         "nextOperatorName": null,
         "operationText": "[张三]提交单据",
         "optReason": "",
         "delegater": "",
         "nextOperatorEmployeeIds": null,
         "processNodeSubType": "其他节点",
         "processNodeSubTypeCode": "OTHER",
         "taskName": "发起审批",
         "taskCategory": null,
         "optTime": 1695869160866,
         "attachments": null
       }
     ]
    },
    "errorCode": null,
    "success": true
    }
    

修改记录

2023-02-08  新增报销单流程日志接口文档
Copyright © 杭州每刻科技有限公司 www.maycur.com all right reserved,powered by Gitbook该文件修订时间: 2024-11-20 10:52:00

results matching ""

    No results matching ""

    results matching ""

      No results matching ""