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

接通系统:钉钉
钉钉(DingTalk)是阿里巴巴集团专为中国企业打造的免费沟通和协同的多端平台,提供PC版,Web版和手机版,有考勤打卡、签到、审批、日志、公告、钉盘、钉邮等强大功能。
接通系统:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
数据集成方案配置
集成方案是整个轻易云集成平台的核心,每一个集成方案代表一种业务的对接策略(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息),用户可以根据业务的不同新建多个不同规则的集成方案。比如:采购订单同步,线上销售出库同步,线下销售出库同步。一个集成方案必须要配置源系统:钉钉,源系统 API:获取审批实例详情,目标系统:金蝶云星空,目标系统 API新增付款单。在新增集成方案之前需要确定两个系统的连接器都已经配置完成。轻易云数据集成中台提供快速与各种业务系统进行连接的能力,可以将软件接口上线到平台轻松实现数百款应用软件的数据互通。也可以将轻易云的集成能力嵌入到您的软件系统中,将数百款软件的集成能力变成您产品的功能与卖点,扩展额外收入,提升客户成交率,成交金额与满意度。



钉钉接口明细
- 接口:topapi/processinstance/get
- 接口名称:获取审批实例详情
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
start_time | 审批实例开始时间。Unix时间戳,单位毫秒。 | string |
size | 分页参数,每页大小,最多传20。 | string |
process_code | 审批流的唯一码 | string |
cursor | 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值。 | string |
end_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 |
金蝶云星空接口明细
- 调用接口:Draft
- 接口名称:新增付款单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillNo | 单据编号 | string | {{extend.business_id}} |
FBillTypeID | 单据类型 | string | FKDLX04_SYS |
FDATE | 业务日期 | string | {{extend.create_time}} |
FSETTLEORGID | 结算组织 | string | {{费用归属项目}} |
FPAYORGID | 付款组织 | string | {{费用归属项目}} |
FCURRENCYID | 币别 | string | PRE001 |
FCONTACTUNITTYPE | 往来单位类型 | string | BD_Department |
FCONTACTUNIT | 往来单位 | string | findCollection find Number from 400f56e7-e846-35e5-9017-c28fd7303fb0 where Name={{费用归属部门}} |
FRECTUNITTYPE | 收款单位类型 | string | BD_Department |
FRECTUNIT | 收款单位 | string | _findCollection find Number from 400f56e7-e846-35e5-9017-c28fd7303fb0 where Name={{费用归属部门}} |
FREMARK | 备注 | string | {{title}}&{{项目报销类型}}&{{报销明细.费用明细}} |
FSETTLECUR | 结算币别 | string | PRE001 |
FPAYBILLENTRY | 付款单明细 | array | |
FPAYBILLENTRY.FSETTLETYPEID | 结算方式 | string | {{付款方式}} |
FPAYBILLENTRY.FPURPOSEID | 付款用途 | string | SFKYT002 |
FPAYBILLENTRY.FPAYTOTALAMOUNTFOR | 应付金额 | string | {{报销明细.报销金额(元)}} |
FPAYBILLENTRY.FCOSTID | 费用项目 | string | findCollection find FNumber from b02f1e34-b500-3075-8b14-08fec61d08a4 where FName={{项目报销类型}} |
FPAYBILLENTRY.FCOMMENT | 备注 | string | {{报销明细.费用明细}} |
FPAYBILLENTRY.FOPPOSITEBANKACCOUNT | 对方银行账号 | string | {{收款信息.cardNo}} |
FPAYBILLENTRY.FOPPOSITECCOUNTNAME | 对方账户名称 | string | {{收款信息.name}} |
FPAYBILLENTRY.FDepartment | 部门 | string | _findCollection find Number from 400f56e7-e846-35e5-9017-c28fd7303fb0 where Name={{费用归属部门}} |
FPAYBILLENTRY.FormId | 业务对象表单Id | string | AP_PAYBILL |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
callBackStrategy | 回写方案 | object | |
callBackStrategy.strategyId | 方案ID | string | a9138482-05d7-36b8-a20e-2f3bdb3f90fb |
callBackStrategy.id | 审批实例ID | string | {{id}} |
callBackStrategy.business_id | 审批编号 | string | {{extend.business_id}} |
callBackStrategy.name | 收款信息 | string | {{收款信息.name}} |
callBackStrategy.originator_userid | 发起人 | string | {{extend.originator_userid}} |
系统数据集成价值
全面支持数据集成操作可视化、拖拽流式开发,无代码完成多套异构系统集成,降低使用门槛,提升交付速度。特别是在面向钉钉、金蝶云星空间API接口集成时,通过对API的设计、创建、测试、部署、集成、管理、运维、下线等全生命周期管理,帮助企业洞察运营状况,进一步优化流程,提高企业商业价值。基于Web图形界面,通过拖拽、连接、配置完成流程设计,数据整合和集成,高效打通业务系统,通过面向运营的统计报表,直观查看API各项指标,实现对全局和项目层级双维度的监控管理。再通过轻易云数据集成中台通过统一门户注册管理,将业务以API的方式对外开放,实现业务创新、能力输出。
