聚水潭·奇门对接打通轻易云集成平台订单查询接口与销售出库新增接口

来源系统:聚水潭·奇门
聚水潭SaaSERP于2014年4月上线,目前累计超过2.5万商家注册使用,成为淘宝应用服务市场ERP类目商家数和商家月订单增速最快的ERP。2014年及2015年“双十一”当天,聚水潭SaaSERP平稳、安全、顺畅的处理了近千万订单,超过了淘宝对ERP系统吞吐量极限要求的16倍,成为行业里的新标杆。截止目前,聚水潭客户已超2.5万家,其中有南极人、POVOS奔腾,恒源祥,柚子美衣,洁丽雅,FLYCO飞科,波司登,满速,欧丝璐等,并与知名电商圈“老A电商学院”达成深度合作。
写入目标:轻易云集成平台
从API服务总线层面解决企业烟囱式业务系统集成现状相互连接企业各业务系统,实现流程端到端打通,复用已有的业务系统能力,让集成架构、服务关系更清晰使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成
接口方案配置
集成方案是整个轻易云集成平台的核心,每一个集成方案代表一种业务的对接策略(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息),用户可以根据业务的不同新建多个不同规则的集成方案。比如:采购订单同步,线上销售出库同步,线下销售出库同步。一个集成方案必须要配置源系统:聚水潭·奇门,源系统 API:订单查询,目标系统:轻易云集成平台,目标系统 API销售出库新增。在新增集成方案之前需要确定两个系统的连接器都已经配置完成。


聚水潭·奇门接口明细
- API:jushuitan.order.list.query
- NAME:订单查询
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
page_index | 页码 | 1 | |
page_size | 页数 | 25 | |
start_time | 开始时间 | {{LAST_SYNC_TIME datetime}} | |
end_time | 结束时间 | {{CURRENT_TIME datetime}} | |
响应参数
接口字段 | 字段名称 | 预设值 | 描述 |
co_id | co_id | | autoFillResponse |
f_freight | f_freight | | _autoFillResponse |
f_weight | f_weight | | autoFillResponse |
free_amount | free_amount | | _autoFillResponse |
freight | freight | | autoFillResponse |
is_cod | is_cod | | _autoFillResponse |
items | items | | autoFillResponse |
items.amount | amount | | _autoFillResponse |
items.base_price | base_price | | autoFillResponse |
items.i_id | i_id | | _autoFillResponse |
items.is_gift | is_gift | | autoFillResponse |
items.is_presale | is_presale | | _autoFillResponse |
items.item_status | item_status | | autoFillResponse |
items.name | name | | _autoFillResponse |
items.oi_id | oi_id | | autoFillResponse |
items.outer_oi_id | outer_oi_id | | _autoFillResponse |
items.pic | pic | | autoFillResponse |
items.price | price | | _autoFillResponse |
items.properties_value | properties_value | | autoFillResponse |
items.qty | qty | | _autoFillResponse |
items.raw_so_id | raw_so_id | | autoFillResponse |
items.shop_i_id | shop_i_id | | _autoFillResponse |
items.shop_sku_id | shop_sku_id | | autoFillResponse |
items.sku_id | sku_id | | _autoFillResponse |
items.sku_type | sku_type | | autoFillResponse |
items.labels | labels | | _autoFillResponse |
items.modified | modified | | autoFillResponse |
items.o_id | o_id | | _autoFillResponse |
items.oaid | oaid | | autoFillResponse |
items.open_id | open_id | | _autoFillResponse |
items.order_date | order_date | | autoFillResponse |
items.order_from | order_from | | _autoFillResponse |
items.paid_amount | paid_amount | | autoFillResponse |
items.pay_amount | pay_amount | | _autoFillResponse |
items.pay_date | pay_date | | autoFillResponse |
items.pays | pays | | _autoFillResponse |
items.pays.amount | amount | | autoFillResponse |
items.pays.buyer_account | buyer_account | | _autoFillResponse |
items.pays.is_order_pay | is_order_pay | | autoFillResponse |
items.pays.outer_pay_id | outer_pay_id | | _autoFillResponse |
items.pays.pay_date | pay_date | | autoFillResponse |
items.pays.pay_id | pay_id | | _autoFillResponse |
items.pays.payment | payment | | autoFillResponse |
items.pays.status | status | | _autoFillResponse |
items.pays.question_type | question_type | | autoFillResponse |
items.pays.receiver_city | receiver_city | | _autoFillResponse |
items.pays.receiver_district | receiver_district | | autoFillResponse |
items.pays.receiver_state | receiver_state | | _autoFillResponse |
items.pays.referrer_id | referrer_id | | autoFillResponse |
items.pays.referrer_name | referrer_name | | _autoFillResponse |
items.pays.seller_flag | seller_flag | | autoFillResponse |
items.pays.send_date | send_date | | _autoFillResponse |
items.pays.shop_buyer_id | shop_buyer_id | | autoFillResponse |
items.pays.shop_id | shop_id | | _autoFillResponse |
items.pays.shop_name | shop_name | | autoFillResponse |
items.pays.shop_status | shop_status | | _autoFillResponse |
items.pays.so_id | so_id | | autoFillResponse |
items.pays.status | status | | _autoFillResponse |
items.pays.type | type | | autoFillResponse |
items.pays.weight | weight | | _autoFillResponse |
items.pays.wms_co_id | wms_co_id | | _autoFillResponse |
轻易云集成平台接口明细
- 调用接口:batchSave
- 接口名称:销售出库新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillTypeID | 单据类型 | string | DSXSCKD |
FBillNo | 单据编号 | string | {{o_id}} |
FDate | 日期 | string | {{io_date}} |
F_XC_ASSISTANT | 快递公司 | string | {{lc_id}} |
FSaleOrgId | 销售组织 | string | findCollection find F_XC_Base_Fnumber from 8ea1287e-05cd-3ce7-b0e6-4a9a7daa783e where FNumber={{shop_id}} |
FCustomerID | 客户 | string | {{shop_id}} |
FStockOrgId | 发货组织 | string | 100 |
FNote | 备注 | string | {{remark}} |
F_XC_TEXT4 | 订单标签 | string | {{labels}} |
F_XC_Text6 | 业务员 | string | {{order_staff_name}} |
FEntity | 明细信息 | array | items |
FEntity.FMaterialID | 物料编码 | string | {{items.sku_id}} |
FEntity.FRealQty | 实发数量 | string | {{items.qty}} |
FEntity.FLot | 批号 | string | {{items.batch_no}} |
FEntity.FProduceDate | 生产日期 | string | {{items.product_date}} |
FEntity.FPrice | 单价 | string | |
FEntity.FTaxPrice | 含税单价 | string | _function ({{items.sale_amount}}/{{items.calAmount}})*{{items.calPamount}}/{{items.qty}} |
FEntity.FEntryTaxRate | 税率% | string | |
FEntity.FOwnerTypeId | 货主类型 | string | BD_OwnerOrg |
FEntity.FOwnerId | 货主 | string | 100 |
FEntity.FStockID | 仓库 | string | {{wms_co_id}} |
FEntity.FEntrynote | 备注 | string | |
FEntity.FIsFree | 是否赠品 | string | function case when '{{items.sale_price}}'='0' then 'true' when LOCATE('仔细','{{remark}}')>0 then 'true' else 'false' end |
FEntity.F_XC_TEXT1 | 快递单号 | string | {{l_id}} |
FEntity.F_XC_Text | 电商单号 | string | {{raw_so_id}} |
FEntity.FEXPIRYDATE | 有效期至 | string | {{items.expiration_date}} |
FEntity.SubHeadEntity | 财务信息 | object | |
FEntity.SubHeadEntity.FSettleOrgID | 结算组织 | string | _findCollection find F_XC_Base_Fnumber from 8ea1287e-05cd-3ce7-b0e6-4a9a7daa783e where FNumber={{shop_id}} |
FEntity.SubHeadEntity.FSETTLECURRID | 结算币别 | string | PRE001 |
FEntity.SubHeadEntity.FormId | 业务对象表单Id | string | SAL_OUTSTOCK |
FEntity.SubHeadEntity.Operation | 执行的操作 | string | Save |
FEntity.SubHeadEntity.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FEntity.SubHeadEntity.IsVerifyBaseDataField | 验证基础资料 | bool | false |
FEntity.SubHeadEntity.SubSystemId | 系统模块 | string | 21 |
FEntity.SubHeadEntity.InterationFlags | 允许负库存 | string | STK_InvCheckResult |
系统对接概况
通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。
