钉钉对接打通金蝶云星空获取审批实例详情接口与新增付款单接口

接通系统:钉钉
钉钉是阿里巴巴集团打造的企业级智能移动办公平台,是数字经济时代的企业组织协同办公和应用开发平台。钉钉将IM即时沟通、钉钉文档、钉闪会、钉盘、Teambition、OA审批、智能人事、钉工牌、工作台深度整合,打造简单、高效、安全、智能的数字化未来工作方式,助力企业的组织数字化和业务数字化。
对接目标平台:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
系统对接接口配置
集成方案是整个轻易云集成平台的核心,每一个集成方案代表一种业务的对接策略(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息),用户可以根据业务的不同新建多个不同规则的集成方案。比如:采购订单同步,线上销售出库同步,线下销售出库同步。一个集成方案必须要配置源系统:钉钉,源系统 API:获取审批实例详情,目标系统:金蝶云星空,目标系统 API新增付款单。在新增集成方案之前需要确定两个系统的连接器都已经配置完成。

钉钉接口明细
- API:topapi/processinstance/get
- NAME:获取审批实例详情
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
process_code | 审批流的唯一码 | PROC-12B1B605-2D28-43FE-80FB-13ECE6165313 | |
start_time | 审批实例开始时间。Unix时间戳,单位毫秒。 | _function ( {{LAST_SYNC_TIME}} - ( 3600 * 96) ) * 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
- 接口名称:新增付款单
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
FBillNo | 单据编号 | string | 单据编号 |
FBillTypeID | 单据类型 | string | 单据类型 |
FDATE | 业务日期 | string | 业务日期 |
FSETTLEORGID | 结算组织 | string | 100 |
FPAYORGID | 付款组织 | string | 100 |
FCURRENCYID | 币别 | string | 币别 |
FCONTACTUNITTYPE | 往来单位类型 | string | 往来单位类型 |
FCONTACTUNIT | 往来单位 | string | 往来单位 |
FRECTUNITTYPE | 收款单位类型 | string | 收款单位类型 |
FRECTUNIT | 收款单位 | string | |
FREMARK | 备注 | string | 备注 |
FSETTLECUR | 结算币别 | string | 结算币别 |
FPAYBILLENTRY | 付款单明细 | array | |
FPAYBILLENTRY.FSETTLETYPEID | 结算方式 | string | |
FPAYBILLENTRY.FPURPOSEID | 付款用途 | string | |
FPAYBILLENTRY.FPAYTOTALAMOUNTFOR | 应付金额 | string | |
FPAYBILLENTRY.FCOSTID | 费用项目 | string | |
FPAYBILLENTRY.FCOMMENT | 备注 | string | |
FPAYBILLENTRY.FOPPOSITEBANKACCOUNT | 对方银行账号 | string | |
FPAYBILLENTRY.FOPPOSITECCOUNTNAME | 对方账户名称 | string | |
FPAYBILLENTRY.FDepartment | 部门 | string | |
FPAYBILLENTRY.F_VAOJ_SQR | 申请人 | string | |
FPAYBILLENTRY.FormId | 业务对象表单Id | string | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
FPAYBILLENTRY.Operation | 执行的操作 | string | |
FPAYBILLENTRY.IsAutoSubmitAndAudit | 提交并审核 | bool | |
FPAYBILLENTRY.IsVerifyBaseDataField | 验证基础资料 | bool | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
响应参数
字段 | 名称 | 类型 | 描述 |
callBackStrategy | 回写方案 | object | |
callBackStrategy.strategyId | 方案ID | string | |
callBackStrategy.id | 审批实例ID | string | |
callBackStrategy.business_id | 审批编号 | string | |
callBackStrategy.name | 收款信息 | string | |
callBackStrategy.originator_userid | 发起人 | string | |
系统打通概况
将传统的统计分析转变为预测分析,从被动分析到主动分析,从非实时分析转变为实时分析,从结构化的数据变成多元化的数据。精准查询数据流同步状况,实时监管队列任务以及数据资产的有序管理。为业务赋能,降本增效,让企业能够更加合理的布局团队;结合业务需求实现与OA,CRM,WMS等系统之间的数据交流与同步,为企业定制自定义的数据管理方案,用技术拓展商业边界,为新业务、新部门提供成长空间。


