调用外部OA通知服务

2018-06-19  本文已影响0人  longlongo

外调参数说明

字段 上级字段 类型 字段名 备注说明
encryptParams String 外调参数加密
calloutParams Map 外调参数(具体对象信息如下)
entCode calloutParams String 企业编号
formCode calloutParams String 单据号
formDataCode calloutParams String 单据内码
formType calloutParams String 单据类型 PRECONSUME 消费申请;
REIMBURSE 普通报销;CORP_REIMBURSE 对公报销;CORP_CONTRACT 采购合同;CORP_REPAYMENT对公收款;REPAYMENT还款端
formSubType calloutParams String 单据小类 企业自定义的
submitter calloutParams String 提交人 提交人工号
reason calloutParams String 审批意见
procInsId calloutParams String 流程任务ID
eventScenario calloutParams String 事件场景 APPROVAL 审批;
CASHIER_SETTLE 结算;
FINANCE_AUDIT 审核
taskId calloutParams String 任务号
taskActionType calloutParams String 任务类型 PROCESSING 待处理;
COMPLETED 完成
taskAssignee calloutParams List<String> 任务待处理人 工号,(组下工号列表)
eventTime calloutParams Long 事件发生时间
allocationCode calloutParams String 节点代码

调用返回参数示例

{
    "encryptParams": "cTK/UK/bRPAFP5Dnqz7vQmuZHXlAsSqvBRo5H8Yb1MbvF/82Zzzy/T2pOmicOsvE6zvs/IBZBCh2\r\nRjoSzK0c/WNRC2VddxJHcMn+HnN9y4JN5azorhREmtrpMt9FfXu9fvJ73OCAabnC2RUOtVNY8zGZ\r\n6AEwF8snH3Aa9aX3ls3FHJCwUQZd9IuhbDGgQOdEyhIb3LayI78lFkhYLMyFy4uBE37wpSb3q8Jp\r\nsrb+u0SONpf+pEsTpnLlECt9gdWoI4vawAFbS1qhMEHo+OLGtMN2ZN8C7F2gJSvlfeAqIC9eLf7U\r\ngQraMAvHO3hamBClWy/LixHn5uoH1rSaQ3IBAL1Gf5kyJIKj/jl5xCAwmHfT0kTa5xbW2Q+mOVa/\r\nSr3Zxl+qePLS1Z/wxZYwfs4+h4JFBpyULRH1ld6XN/JNFgBzHK819NJTKHcxfwDuU0sa3pPBkGXx\r\na1A=",
    "calloutParams": {
        "entCode": "EC16040611HZCQGW",
        "eventScenario": "APPROVAL",
        "eventTime": 1528809459919,
        "formCode": "PTBX18044302",
        "formSubType": "普通报销",
        "formType": "REIMBURSE",
        "procInsId": "22e1f2e0-6e42-11e8-a640-8c8590cd20da",
        "reason": "",
        "submitter": "008",
        "taskActionType": "COMPLETED",
        "taskAssignee": [
            "008"
        ],
        "taskId": "23bc9b93-6e42-11e8-a640-8c8590cd20da"
    }
}
上一篇下一篇

猜你喜欢

热点阅读