单据审核通过
接口: /report/audit/agree POST JSON
请求参数
参数 | 类型 | 必须 | 默认值 | 主键 | 描述 |
---|---|---|---|---|---|
operatorEmployeeId | string | Y | 操作人工号,与每刻平台一致 | ||
businessCode | string | Y | 单据号 | ||
formType | string | Y | 单据类型,支持五种单据类型的审核通过:报销单(REIMBURSE),申请单(PRECONSUME),对公支付(CORP_REIMBURSE),对公收款(CORP_REPAYMENT),还款单(REPAYMENT) | ||
opinion | string | N | 审核意见 | ||
taskId | string | N | 当前流程节点taskId |
示例:
请求数据
{
"timestamp":1604970860778,
"data":{
"operatorEmployeeId":"123",
"businessCode":"MK1201000603",
"formType":"REIMBURSE",
"opinion":"api审核通过意见"
}
}
返回数据(成功)
{
"code": "ACK",
"message": "操作成功!",
"data": null,
"args": null,
"linkDetail": false,
"nonBizError": false
}
返回数据(失败)
{
"code": "NACK",
"message": null,
"data": {
"MK1201000603": "任务不存在"
},
"args": null,
"linkDetail": false,
"errorData": {
"MK1201000603": "任务不存在"
},
"warningData": null,
"requestErrorData": {
"operatorEmployeeId": "123",
"businessCode": "MK1201000603",
"formType": "REIMBURSE",
"opinion": "api审核通过意见",
"creditRuleCode": null,
"rejectTo": null,
"targetTaskId": null,
"backToReject": false
},
"nonBizError": false
}