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

接入系统:钉钉
钉钉(DingTalk)是阿里巴巴集团打造的企业级智能移动办公平台,是数字经济时代的企业组织协同办公和应用开发平台。钉钉将IM即时沟通、钉钉文档、钉闪会、钉盘、Teambition、OA审批、智能人事、钉工牌、工作台深度整合,打造简单、高效、安全、智能的数字化未来工作方式,助力企业的组织数字化和业务数字化,实现企业管理“人、财、物、事、产、供、销、存”的全链路数字化。
接入系统:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
系统对接接口配置
通过可视化界面的拖、拉、拽即可轻松快速构建数据集成流程,将钉钉、金蝶云星空之间接口数据联通,支持数据在线预览、数据集成流程全过程调试,Web界面追踪调试日志等功能。 平台兼具实时数据处理和数据集成分发功能,用户通过可视化的拖、拽即可完成数据处理逻辑,将数据加工处理后分发到下游业务系统或其他异构存储中。



钉钉接口明细
- 接口:topapi/processinstance/get
- 接口名称:获取审批实例详情
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
cursor | 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值。 | string |
start_time | 审批实例开始时间。Unix时间戳,单位毫秒。 | string |
end_time | 审批实例结束时间,Unix时间戳,单位毫秒 | string |
size | 分页参数,每页大小,最多传20。 | string |
process_code | 审批流的唯一码 | 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 |
金蝶云星空接口明细
- API:batchSave
- NAME:新增付款单
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
FBillNo | 单据编号 | {{extend.business_id}} |
FBillTypeID | 单据类型 | FKDLX04_SYS |
FDATE | 业务日期 | {{extend.create_time}} |
FSETTLEORGID | 结算组织 | findCollection find Number from 723e2cb6-f80f-3823-8b4f-6e98b9713ba3 where Name={{费用归属项目}} |
FPAYORGID | 付款组织 | _findCollection find Number from 723e2cb6-f80f-3823-8b4f-6e98b9713ba3 where Name={{费用归属项目}} |
FCURRENCYID | 币别 | PRE001 |
FCONTACTUNITTYPE | 往来单位类型 | BD_Department |
FCONTACTUNIT | 往来单位 | findCollection find Number from 400f56e7-e846-35e5-9017-c28fd7303fb0 where Name={{费用归属部门}} |
FRECTUNITTYPE | 收款单位类型 | BD_Department |
FRECTUNIT | 收款单位 | _findCollection find Number from 400f56e7-e846-35e5-9017-c28fd7303fb0 where Name={{费用归属部门}} |
FREMARK | 备注 | {{title}}&{{项目报销类型}}&{{报销明细.费用明细}}--{{报销明细.费用发生日期}} |
FSETTLECUR | 结算币别 | PRE001 |
FPAYBILLENTRY | 付款单明细 | |
FPAYBILLENTRY.FSETTLETYPEID | 结算方式 | {{付款方式}} |
FPAYBILLENTRY.FPURPOSEID | 付款用途 | SFKYT002 |
FPAYBILLENTRY.FPAYTOTALAMOUNTFOR | 应付金额 | {{报销明细.0.报销金额(元)}} |
FPAYBILLENTRY.FCOSTID | 费用项目 | findCollection find FNumber from b02f1e34-b500-3075-8b14-08fec61d08a4 where FName={{项目报销类型}} |
FPAYBILLENTRY.FCOMMENT | 备注 | {{报销明细.费用明细}} |
FPAYBILLENTRY.FOPPOSITEBANKACCOUNT | 对方银行账号 | _function CASE LOCATE('ALIPAY_ACCOUNT','{{收款账户.identityType}}') WHEN 0 THEN '{{收款账户.cardNo}}' ELSE '{{收款账户.logonId}}' END |
FPAYBILLENTRY.FOPPOSITECCOUNTNAME | 对方账户名称 | {{收款账户.name}} |
FPAYBILLENTRY.FDepartment | 部门 | _findCollection find Number from 400f56e7-e846-35e5-9017-c28fd7303fb0 where Name={{费用归属部门}} |
FPAYBILLENTRY.FormId | 业务对象表单Id | AP_PAYBILL |
FPAYBILLENTRY.Operation | 执行的操作 | BatchSave |
FPAYBILLENTRY.IsAutoSubmitAndAudit | 提交并审核 | false |
FPAYBILLENTRY.IsVerifyBaseDataField | 验证基础资料 | false |
响应参数
接口字段 | 名称 | 预设值 |
callBackStrategy | 回写方案 | |
callBackStrategy.strategyId | 方案ID | eee23ce9-d281-35dd-a699-5844e3317ac7 |
callBackStrategy.id | 审批实例ID | {{id}} |
callBackStrategy.business_id | 审批编号 | {{extend.business_id}} |
callBackStrategy.name | 收款信息 | {{收款信息.name}} |
系统打通概况
通过无代码的数据集成与数据建模的智能数据管道技术,帮助企业将所有应用程序、数据库、事件和文件等数据信息提取到数据仓库中,并快速将分散的数据转化为数据集、API、自动化流程等开箱即用的数据服务。配置接口的模式对接钉钉和金蝶云星空,使得单据无缝互通。打造企业内部数据一体化,让企业日常运营管理实现敏捷数据化运营。实现供应链业务信息流的互通,同时支持供应链数据分析流程自动化,结果推送,推进相关供应链问题优化。及时打通供应链孤岛,实现数据驱动供应链协同,进一步提升企业竞争力。

