接口配置打通金蝶云星空和聚水潭数据对接

源系统:聚水潭
聚水潭SaaSERP于2014年4月上线,目前累计超过2.5万商家注册使用,成为淘宝应用服务市场ERP类目商家数和商家月订单增速最快的ERP。2014年及2015年“双十一”当天,聚水潭SaaSERP平稳、安全、顺畅的处理了近千万订单,超过了淘宝对ERP系统吞吐量极限要求的16倍,成为行业里的新标杆。截止目前,聚水潭客户已超2.5万家,其中有南极人、POVOS奔腾,恒源祥,柚子美衣,洁丽雅,FLYCO飞科,波司登,满速,欧丝璐等,并与知名电商圈“老A电商学院”达成深度合作。
接入系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
接口方案配置
通过数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:聚水潭,并且选择对应的连接器(关于聚水潭的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的退货退款查询接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的[聚水潭][销售退货单标准新增]-v1接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。



聚水潭接口明细
- 调用接口:/open/refund/single/query
- 接口名称:退货退款查询
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
shop_id | 店铺编号 | string | |
is_offline_shop | shop_id为0且is_offline_shop为true查询线下店铺单据 | string | |
modified_begin | 修改起始时间 | string | {{LAST_SYNC_TIME datetime}} |
modified_end | 修改结束时间 | string | {{CURRENT_TIME datetime}} |
so_ids | 线上订单号 | string | |
shop_buyer_ids | 指定买家账号 | string | |
page_index | 第几页,从第一页开始,默认1 | string | 1 |
page_size | 每页多少条,默认30,最大50 | string | 50 |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
as_id | ERP售后单号 | string | |
as_date | 申请时间 | string | |
outer_as_id | 平台退货退款单号 | string | |
o_id | 内部单号 | string | |
so_id | 线上单号 | string | |
type | 售后类型 | string | |
created | 登记时间 | string | |
modified | 修改时间 | string | |
status | 状态 | string | |
shop_status | 订单对应状态 | string | |
remark | 备注 | string | |
question_type | 问题类型 | array | |
warehouse | 仓库 | string | |
refund | 退款金额 | string | |
payment | 补偿金额 | string | |
good_status | 货物状态 | string | |
node | 售后线下备注 | string | |
order_status | 原订单状态 | string | |
shop_id | 店铺编号 | string | |
logistics_company | 物流公司 | string | |
l_id | 物流单号 | string | |
wh_id | 仓库编号 | string | |
wms_co_id | 分仓编号 | string | |
confirm_date | 最后确认日期 | string | |
freight | 卖家应退运费 | string | |
drp_co_id_from | 分销商编号 | string | |
receiver_mobile | 收件人电话 | string | |
receiver_name | 收件人名称 | string | |
shop_buyer_id | 买家账号 | string | |
items | 商品列表 | array | |
items.asi_id | 售后子单号 | string | |
items.as_id | ERP售后单号 | string | |
items.sku_id | 商品编码 | string | |
items.qty | 数量 | string | |
items.price | 单价 | string | |
items.amount | 金额 | string | |
items.name | 商品名称 | string | |
items.pic | 图片地址 | string | |
items.type | 类型(退货,换货,补发) | string | |
items.properties_value | 颜色规格 | string | |
items.outer_oi_id | 子订单号 | string | |
items.sku_type | 商品类型 | string | |
items.r_qty | 实收退货数量 | string | |
items.i_id | 款式编码 | string | |
items.batchs | 批次集合 | array | |
items.batchs.batch_no | 批次号 | string | |
items.batchs.sku_id | 商品编码 | string | |
items.batchs.qty | 商品数量 | string | |
items.batchs.product_date | 批次日期 | string | |
items.batchs.supplier_id | 供应商编号 | string | |
items.batchs.supplier_name | 供应商名称 | string | |
金蝶云星空接口明细
- API:batchSave
- NAME:[聚水潭][销售退货单标准新增]-v1
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
FBillTypeID | 单据类型 | XSTHD01_SYS |
FBillNo | 单据编号 | {{as_id}} |
FSaleOrgId | 销售组织 | 104 |
FDate | 日期 | {{created}} |
FStockOrgId | 库存组织 | {{wms_co_id}} |
FRetcustId | 退货客户 | {{shop_id}} |
FSettleCurrId | 结算币别 | PRE001 |
FHeadNote | 备注 | {{as_id}} |
FEntity | 明细信息 | |
FEntity.FMaterialId | 物料编码 | {{items.i_id}} |
FEntity.FRealQty | 实退数量 | {{items.qty}} |
FEntity.FPrice | 单价 | {{items.price}} |
FEntity.FTaxPrice | 含税单价 | |
FEntity.FIsFree | 是否赠品 | _function case '{{items_price}}' when '0' then true else false end |
FEntity.FEntryTaxRate | 税率% | |
FEntity.FReturnType | 退货类型 | THLX01_SYS |
FEntity.FOwnerTypeId | 货主类型 | BD_OwnerOrg |
FEntity.FOwnerId | 货主 | {{wms_co_id}} |
FEntity.FStockId | 仓库 | {{wms_co_id}}{{wh_id}} |
FEntity.FNote | 备注 | |
FEntity.SubHeadEntity | 财务信息 | |
FEntity.SubHeadEntity.FSettleOrgId | 结算组织 | 104 |
FEntity.SubHeadEntity.FormId | 业务对象表单Id | SAL_RETURNSTOCK |
FEntity.SubHeadEntity.Operation | 执行的操作 | BatchSave |
FEntity.SubHeadEntity.IsAutoSubmitAndAudit | 提交并审核 | true |
FEntity.SubHeadEntity.IsVerifyBaseDataField | 验证基础资料 | false |
系统对接概况
通过无代码的数据集成与数据建模的智能数据管道技术,帮助企业将所有应用程序、数据库、事件和文件等数据信息提取到数据仓库中,并快速将分散的数据转化为数据集、API、自动化流程等开箱即用的数据服务。配置接口的模式对接聚水潭和金蝶云星空,使得单据无缝互通。打造企业内部数据一体化,让企业日常运营管理实现敏捷数据化运营。实现供应链业务信息流的互通,同时支持供应链数据分析流程自动化,结果推送,推进相关供应链问题优化。及时打通供应链孤岛,实现数据驱动供应链协同,进一步提升企业竞争力。
