汤臣倍健营销云和时空智友接口打通对接实战

对接源平台:汤臣倍健营销云
汤臣倍健营销云融合集团资源与能力,实现线上线下渠道联通双赢,其全链路数字营销范本和思路可供全行业操盘手参考。汤臣倍健在危机之中创新机的企业“进化论”,打造全链路渠道营销中台
对接目标平台:时空智友
时空智友是北京时空智友科技有限公司旗下品牌。北京时空智友科技有限公司(以下简称智友科技),成立于2011年6月,是注册于北京海淀中关村西区的一家高科技技术服务企业。公司的理念是用数据服务于“智慧的城市”,帮助商业用户成为数据城市的结点,与整个城市的商业数据流融会贯通。随着互联网的深入发展,网络的普及,人们的协同工作变得越来越便捷,无国界,无边界,无时间界限,公司面向流通领域,全面提供具有云应用的软件产品
配置集成方案
通过可视化界面的拖、拉、拽即可轻松快速构建数据集成流程,将汤臣倍健营销云、时空智友之间接口数据联通,支持数据在线预览、数据集成流程全过程调试,Web界面追踪调试日志等功能。 平台兼具实时数据处理和数据集成分发功能,用户通过可视化的拖、拽即可完成数据处理逻辑,将数据加工处理后分发到下游业务系统或其他异构存储中。


汤臣倍健营销云接口明细
- 接口:/erp/api/order/query/saleReturnOrder
- 接口名称:查询下级退货入库订单接口
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
beginTime | 开始时间 | string |
pageSize | 每页条数 | string |
number | 系统订单号 | string |
tenantId | 经销商id | string |
endTime | 结束时间 | string |
status | 订单状态 | string |
timeType | 时间段标志 | string |
yxyNumber | 营销云销售订单号 | string |
pageNo | 页码 | string |
响应参数
字段 | 名称 | 类型 | 描述 |
number | 下级退货入库单号 | string | |
othernumber | 原始单号 | string | 营销云单号 |
opertime | 业务日期 | string | |
approverId | 审批人id | string | |
linknumber | 关联订单号 | string | 关联的源单号 |
organName | 客户名 | string | |
organid | 客户id | string | |
contacts | 发货人 | string | |
phone | 发货电话 | string | |
shippingAddress | 发货地址 | string | |
sourceBillType | 来源订单类型 | string | 211:下级退货订单 |
status | 订单状态 | string | 0:未审核,1:已审核(已出库) |
subtype | 单据类型 | string | 212:下级退货入库单 |
tenantName | 公司名称 | string | |
type | 出入库类型 | string | -1:扣减库存,1:增加库存,0:不加不减 |
version | 版本号 | string | |
itemList | 商品列表 | array | |
itemList.id | 明细行id | string | |
itemList.tenantId | 公司id | string | |
itemList.createtime | 创建时间 | string | |
itemList.updateTime | 更新时间 | string | |
itemList.remark | 备注 | string | |
itemList.headerid | 订单id | string | |
itemList.depotName | 仓库名 | string | |
itemList.depotNo | 仓库编号 | string | |
itemList.depotid | 仓库id | string | |
itemList.materialName | 产品名称 | string | |
itemList.materialNumber | 产品编码 | string | |
itemList.materialid | 产品id | string | |
itemList.lot | 批次 | string | |
itemList.mfg | 生产日期 | string | |
itemList.exp | 到期日期 | string | |
itemList.opernumber | 下单数量 | string | 真实出库数量 |
itemList.basicnumber | 基础数量 | string | |
itemList.taxrate | 税率 | string | |
itemList.taxunitprice | 含税单价 | string | |
itemList.taxlastmoney | 价税合计 | string | |
itemList.extMaterialNo | 外围系统产品编码 | string | |
itemList.helpCode | 产品助记码 | string | 如:AA010302 |
itemList.extCusCode | 外围系统客户编码 | string | 如果在营销云有维护就有该字段 |
时空智友接口明细
- 接口:/formservice?service=OMSService.storageIn
- 接口名称:新增入库信息(ifPurIn)
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
taskType | 数据类型 | string |
valDate | 效期 | string |
confirmDate | 审核时间 | string |
businessCode | 单位编号 | string |
whid | 物流中心 | string |
Isdone | 已完成 | string |
transMode | 运输方式 | string |
ownerId | 货主编码 | string |
num | 数量 | string |
Remark1 | 明细备注 | string |
songhts | 送货天数 | string |
caozyname | 制单人 | string |
dates | 制单日期 | string |
createTime | 创建时间 | string |
rebillsn | 销售订单行号 | string |
remark | 备注 | string |
sendaddress | 发货地点 | string |
ShipFrom | 起运时间 | string |
GCategory | 品种类型 | string |
produceDate | 生产日期 | string |
Khx_spid | 安泰嘉美商品id | string |
carrier | 承运单位 | string |
piece | 件数 | string |
billcode | 订单号 | string |
confirmMan | 审核人 | string |
rebillcode | 对应采购单号 | string |
SterilCode | 灭菌批号 | string |
ontime | 制单时间 | string |
billFlag | 是否扫描发票 | string |
orgId | 组织机构编码 | string |
batchCode | 批号 | string |
goodsId | 商品编号 | string |
Clientcode | 客户编号 | string |
taxPrice | 采购价 | string |
taxAmount | 含税金额 | string |
businessId | 单位ID | string |
orderFlag | 订单类型 | string |
billsn | 定单行号 | string |
数据对接效果
全面管控企业的API资产,梳理现有业务系统的API。实现API文档的统一管理,建立API的上线、下线、监控的统一管理体系。API低代码开发平台能够实现低代码或零代码一键发布API服务,很好地解决企业用户上面的问题。轻易云应用集成主要解决已有应用系统的无序蔓延现象,减少各业务系统间的维护成本,减少各应用系统的操作系统、开发语言、访问协议、通信技术多而杂、整合难度大的问题,将企业数据平滑对接,减少信息竖井。

