从钉钉到金蝶云星空通过接口集成数据

对接系统钉钉
钉钉(DingTalk)是阿里巴巴集团专为中国企业打造的免费沟通和协同的多端平台,提供PC版,Web版和手机版,有考勤打卡、签到、审批、日志、公告、钉盘、钉邮等强大功能。
目标系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
配置集成方案
通过数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:钉钉,并且选择对应的连接器(关于钉钉的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的获取审批实例详情接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的[标准][付款申请单新增]-v1接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。



钉钉接口明细
- API:topapi/processinstance/get
- NAME:获取审批实例详情
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
process_code | 审批流的唯一码 | PROC-BB90A28C-0800-4F37-A972-E23EA258CA09 | |
start_time | 审批实例开始时间。Unix时间戳,单位毫秒。 | _function ({{LAST_SYNC_TIME}}-(3600 * 24))* 1000 | |
end_time | 审批实例结束时间,Unix时间戳,单位毫秒 | {{CURRENT_TIME}}000 | |
size | 分页参数,每页大小,最多传20。 | 20 | |
cursor | 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值。 | | |
响应参数
接口字段 | 字段名称 | 预设值 | 描述 |
费用归属项目 | 费用归属项目 | | autoFillResponse |
报销类别 | 报销类别 | | _autoFillResponse |
TextNote_7L0ZKXODKW40 | TextNote_7L0ZKXODKW40 | | autoFillResponse |
行政报销类型 | 行政报销类型 | | _autoFillResponse |
项目报销类型 | 项目报销类型 | | autoFillResponse |
报销明细 | 报销明细 | | _autoFillResponse |
报销明细.费用发生日期 | 费用发生日期 | | autoFillResponse |
报销明细.报销金额(元) | 报销金额(元) | | _autoFillResponse |
报销明细.费用明细 | 费用明细 | | autoFillResponse |
报销明细.项目费用明细 | 项目费用明细 | | _autoFillResponse |
报销明细.项目费用明细.componentName | componentName | | autoFillResponse |
报销明细.项目费用明细.componentType | componentType | | _autoFillResponse |
报销明细.项目费用明细.props | props | | autoFillResponse |
报销明细.项目费用明细.总金额 | 总金额 | | _autoFillResponse |
报销明细.项目费用明细.关联审批单 | 关联审批单 | | autoFillResponse |
报销明细.项目费用明细.TextNote-KDE5B2G3 | TextNote-KDE5B2G3 | | _autoFillResponse |
报销明细.项目费用明细.电子发票 | 电子发票 | | autoFillResponse |
报销明细.项目费用明细.收款账号 | 收款账号 | | _autoFillResponse |
报销明细.项目费用明细.公司帐号付款(如需公司帐号付款请选择) | 公司帐号付款(如需公司帐号付款请选择) | | autoFillResponse |
报销明细.项目费用明细.报销凭证拍照上传 | 报销凭证拍照上传 | | _autoFillResponse |
报销明细.项目费用明细.附件 | 附件 | | autoFillResponse |
报销明细.项目费用明细.id | id | | _autoFillResponse |
报销明细.项目费用明细.title | title | | autoFillResponse |
报销明细.项目费用明细.extend | extend | | _autoFillResponse |
报销明细.项目费用明细.extend.create_time | create_time | | autoFillResponse |
报销明细.项目费用明细.extend.finish_time | finish_time | | _autoFillResponse |
报销明细.项目费用明细.extend.originator_userid | originator_userid | | autoFillResponse |
报销明细.项目费用明细.extend.originator_dept_id | originator_dept_id | | _autoFillResponse |
报销明细.项目费用明细.extend.status | status | | autoFillResponse |
报销明细.项目费用明细.extend.result | result | | _autoFillResponse |
报销明细.项目费用明细.extend.business_id | business_id | | autoFillResponse |
报销明细.项目费用明细.extend.originator_dept_name | originator_dept_name | | _autoFillResponse |
报销明细.项目费用明细.extend.biz_action | biz_action | | _autoFillResponse |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:[标准][付款申请单新增]-v1
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FID | 单据编号 | string | _findCollection find FID from f51027d3-8cfb-38e3-a878-a07730472b1c where FBillNo={{单据编号}} |
F_VAOJ_TDD | 是否同步钉钉 | string | 已同步 |
FormId | 业务对象表单Id | string | CN_PAYAPPLY |
Operation | 执行的操作 | string | BatchSave |
IsAutoSubmitAndAudit | 提交并审核 | bool | false |
IsVerifyBaseDataField | 验证基础资料 | bool | false |
NeedUpDateFields | NeedUpDateFields | string | F_VAOJ_TDD |
数据对接效果
大部分的企业都可能只用一套系统组织架构复杂,业务流程繁琐,内部同时有OA系统、BI系统、ERP系统......且各个系统都需要独立登陆,造成IT部门数据监管困难!如何在同一套中台系统上关联多管理系统呢?系统集成平台,就可以无缝集成各个业务系统,主数不统一、交易数据来回导出导入、业务融合等问题。通过轻易云系统集成平台完美结合:打破企业内部数据孤岛,无需繁琐的处理工序,与数据集成服务完美结合,让数据真正通起来。 资源互补:汇集各种行业解决方案,资源互补,企业管理融合提升。让对接开箱即用的、可视化拖、拉、拽实现接口服务编排与聚合。
