分期单流程日志接口

业务场景说明

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

请求方式

GET

接口地址

接口地址中的{formCode}为单据查询列表中的formCode,单据唯一标识码。

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

响应参数

参数说明

响应参数说明

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

节点类型说明

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

参数示例:

{
  "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
}

修改记录

2021-07-20:添加附件对象列表字段attachments
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 ""