金蝶云星空与钉钉对接集成获取审批实例详情连通新增付款单(钉钉报销【项目报销类】->金蝶付款单【奥康】拉取数据)

对接系统:钉钉
钉钉(DingTalk)是阿里巴巴集团打造的企业级智能移动办公平台,是数字经济时代的企业组织协同办公和应用开发平台。钉钉将IM即时沟通、钉钉文档、钉闪会、钉盘、Teambition、OA审批、智能人事、钉工牌、工作台深度整合,打造简单、高效、安全、智能的数字化未来工作方式,助力企业的组织数字化和业务数字化,实现企业管理“人、财、物、事、产、供、销、存”的全链路数字化。
对接目标系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
数据集成方案配置
通过数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:钉钉,并且选择对应的连接器(关于钉钉的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的获取审批实例详情接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的新增付款单接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。

钉钉接口明细
- 接口:topapi/processinstance/get
- 接口名称:获取审批实例详情
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
end_time | 审批实例结束时间,Unix时间戳,单位毫秒 | string |
size | 分页参数,每页大小,最多传20。 | string |
cursor | 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值。 | string |
process_code | 审批流的唯一码 | string |
start_time | 审批实例开始时间。Unix时间戳,单位毫秒。 | string |
响应参数
字段 | 名称 | 类型 | 描述 |
费用归属项目 | 费用归属项目 | string | autoFillResponse |
报销类别 | 报销类别 | string | _autoFillResponse |
TextNote_7L0ZKXODKW40 | TextNote_7L0ZKXODKW40 | string | autoFillResponse |
行政报销类型 | 行政报销类型 | string | _autoFillResponse |
项目报销类型 | 项目报销类型 | string | autoFillResponse |
报销明细 | 报销明细 | array | _autoFillResponse |
报销明细.费用发生日期 | 费用发生日期 | string | autoFillResponse |
报销明细.报销金额(元) | 报销金额(元) | string | _autoFillResponse |
报销明细.费用明细 | 费用明细 | string | autoFillResponse |
报销明细.项目费用明细 | 项目费用明细 | array | _autoFillResponse |
报销明细.项目费用明细.componentName | componentName | string | autoFillResponse |
报销明细.项目费用明细.componentType | componentType | string | _autoFillResponse |
报销明细.项目费用明细.props | props | string | autoFillResponse |
报销明细.项目费用明细.总金额 | 总金额 | string | _autoFillResponse |
报销明细.项目费用明细.关联审批单 | 关联审批单 | string | autoFillResponse |
报销明细.项目费用明细.TextNote-KDE5B2G3 | TextNote-KDE5B2G3 | string | _autoFillResponse |
报销明细.项目费用明细.电子发票 | 电子发票 | string | autoFillResponse |
报销明细.项目费用明细.收款账号 | 收款账号 | string | _autoFillResponse |
报销明细.项目费用明细.公司帐号付款(如需公司帐号付款请选择) | 公司帐号付款(如需公司帐号付款请选择) | string | autoFillResponse |
报销明细.项目费用明细.报销凭证拍照上传 | 报销凭证拍照上传 | string | _autoFillResponse |
报销明细.项目费用明细.附件 | 附件 | string | autoFillResponse |
报销明细.项目费用明细.id | id | string | _autoFillResponse |
报销明细.项目费用明细.title | title | string | autoFillResponse |
报销明细.项目费用明细.extend | extend | object | _autoFillResponse |
报销明细.项目费用明细.extend.create_time | create_time | string | autoFillResponse |
报销明细.项目费用明细.extend.finish_time | finish_time | string | _autoFillResponse |
报销明细.项目费用明细.extend.originator_userid | originator_userid | string | autoFillResponse |
报销明细.项目费用明细.extend.originator_dept_id | originator_dept_id | string | _autoFillResponse |
报销明细.项目费用明细.extend.status | status | string | autoFillResponse |
报销明细.项目费用明细.extend.result | result | string | _autoFillResponse |
报销明细.项目费用明细.extend.business_id | business_id | string | autoFillResponse |
报销明细.项目费用明细.extend.originator_dept_name | originator_dept_name | string | _autoFillResponse |
报销明细.项目费用明细.extend.biz_action | biz_action | string | _autoFillResponse |
金蝶云星空接口明细
- 接口:batchSave
- 接口名称:新增付款单
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
FPAYBILLENTRY.FOPPOSITECCOUNTNAME | 对方账户名称 | string |
FPAYBILLENTRY.IsVerifyBaseDataField | 验证基础资料 | bool |
FREMARK | 备注 | string |
FRECTUNIT | 收款单位 | string |
FPAYBILLENTRY.FCOMMENT | 备注 | string |
FSETTLEORGID | 结算组织 | string |
FPAYBILLENTRY.FPAYTOTALAMOUNTFOR | 应付金额 | string |
FRECTUNITTYPE | 收款单位类型 | string |
FPAYBILLENTRY.FPURPOSEID | 付款用途 | string |
FPAYORGID | 付款组织 | string |
FPAYBILLENTRY.FCOSTID | 费用项目 | string |
FCONTACTUNITTYPE | 往来单位类型 | string |
FPAYBILLENTRY.Operation | 执行的操作 | string |
FSETTLECUR | 结算币别 | string |
FPAYBILLENTRY.FSETTLETYPEID | 结算方式 | string |
FCONTACTUNIT | 往来单位 | string |
FBillNo | 单据编号 | string |
FCURRENCYID | 币别 | string |
FPAYBILLENTRY.FDepartment | 部门 | string |
FPAYBILLENTRY.FOPPOSITEBANKACCOUNT | 对方银行账号 | string |
FPAYBILLENTRY.FormId | 业务对象表单Id | string |
FBillTypeID | 单据类型 | string |
FPAYBILLENTRY.IsAutoSubmitAndAudit | 提交并审核 | bool |
FDATE | 业务日期 | string |
FPAYBILLENTRY | 付款单明细 | array |
响应参数
字段 | 名称 | 类型 | 描述 |
callBackStrategy | 回写方案 | object | |
callBackStrategy.strategyId | 方案ID | string | |
callBackStrategy.id | 审批实例ID | string | |
callBackStrategy.business_id | 审批编号 | string | |
callBackStrategy.name | 收款信息 | string | |
callBackStrategy.originator_userid | 发起人 | string | |
数据对接效果
从API服务总线层面解决企业烟囱式业务系统集成现状 相互连接企业各业务系统,实现流程端到端打通,复用已有的业务系统能力,让集成架构、服务关系更清晰 使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。

