汤臣倍健营销云和畅捷通T+接口打通对接实战

源系统:汤臣倍健营销云
汤臣倍健营销云是覆盖公域私域、线上线下的全场景的数字化营销平台。基于全触点数据构建全域标签体系,助力企业在自营平台、微信生态等全渠道上精准触达用户,自动化营销互动,实时反馈效果,真正实现营销数字化。
对接目标系统:畅捷通T+
畅捷通T+适用于异地多组织、多机构对企业财务汇总的管理需求;全面支持企业对远程仓库、异地办事处的管理需求;全面满足企业财务业务一体化管理需求。
数据集成方案配置
系统对接前期需要通过调研公司的业务,规划出最便捷,效率最高的整体流程。通过流程我们需要建立对应的方案来吧这些流程一一的落地,轻易云集成平台开箱即用的、可视化拖、拉、拽实现接口服务编排与聚合。只需要根据指引设定好对应的参数即可启动使用。设定好源平台:汤臣倍健营销云的接口参数设置,以及设定好目标平台:畅捷通T+的映射,即可启动方案进行测试


汤臣倍健营销云接口明细
- 调用接口:/openapi-basesubject/order/queryOrderHead
- 接口名称:门户-查询订单表头&表体组合
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
orgId | 组织ID | string | 1db5cfee66ad4756b1af695245c23bbc,66891407ea2248668b2d72dd0fc4ca60,db57333121904356860d04ad7cd93734 |
page | 页码 | string | 1 |
id | 订单id | string | |
applyerId | 要货方id | string | |
supplierId | 供货方id | string | |
no | 订单号 | string | |
distributionType | 分销类型 | string | |
distributorId | 分销商id | string | |
orderStatus | 订单状态 | string | |
createDt | 创建时间 | string | |
orderTypeCode | 订单类型,如普通订单、直运销售 | string | |
isDeliveryFreezed | 是否暂停发货 | string | |
nature | 订单分类 | string | |
relatedApplyerId | 关联交易经销商id | string | |
saleDistribution | 销售渠道 | string | |
disApplyerId | 分销商id | string | |
startDt | 订单时间(开始) | string | |
endDt | 订单时间(结束) | string | |
appStartDt | 审批时间(开始) | string | |
appEndDt | 审批时间(结束) | string | |
lastStartDt | 最后修改时间(开始) | string | {{LAST_SYNC_TIME datetime}} |
lastEndDt | 最后修改时间(结束) | string | 2024-09-07 12:59:00 |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
applyerId | 要货方id | string | |
supplierId | 供货方id | string | |
no | 订单号 | string | |
distributionType | 分销类型 | string | |
distributorId | 分销商id | string | |
orgId | 订单组织 | string | |
orderStatus | 订单状态 | string | |
createDt | 创建时间 | string | |
contractNo | 合同编号 | string | |
isReport | 是否随批报告 | string | |
predictArriveDt | 预计到货日期 | string | |
deliveryLevelCode | 发货优先级 | string | |
orderTypeCode | 订单类型,如普通订单、直运销售 | string | |
isDeliveryFreezed | 是否暂停发货 | string | |
taxCode | 税码 | string | |
areaCode | 区域id | string | |
currencyCode | 币种 | string | |
settlementModeCode | 结算方式 | string | |
deliveryCode | 交货方式 | string | |
isCreditManaged | 是否信用暂挂 | string | |
salesman | 订单销售人员 | string | |
relatedApplyerId | 关联交易经销商id | string | |
saleDistribution | 销售渠道 | string | |
nature | 订单分类,如要货单、退货单 | string | |
actGiftQuantity | 实际审批数量 | string | |
giftQuantity | 赠品数量 | string | |
province | 省份 | string | |
city | 城市 | string | |
county | 县城 | string | |
newExchangeOrder | 是否新的积分订单绑定方式(婴童特殊要求,值为1是,没有值或0为否) | string | |
contacts | 收货联系人 | string | |
phone | 收货联系人电话 | string | |
storagePlace | 仓库归属地 | string | |
shippingAddress | 收货地址 | string | |
expectDate | 预计到达天数 | string | |
disApplyerId | 分销商id | string | |
freeGiftTotal | 免费赠品余量 | string | |
discountTotalMoney | 产品折让总额 | string | |
returnedMoney | 应退金额 | string | |
retunsOvertopMoney | 退货超额金额 | string | |
remainMoney | 折让后金额 | string | |
fineMoney | 罚金金额 | string | |
totalMoney | 总金额 | string | |
netDiscountTotalMoney | 网络品&赠品折让总额 | string | |
netDiscountCanuseMoney | 网络品(产品)使用网络品&赠品可用总额 | string | |
netDiscountMoney | 网络品(产品)实际使用网络品&赠品折让金额 | string | |
netGiftDiscountCanuseMoney | 赠品使用网络品&赠品可用总额 | string | |
netGiftDiscountMoney | 赠品实际使用网络品&赠品折让金额 | string | |
fullDiscountTotalMoney | 全品折让总额 | string | |
fullDiscountCanuseMoney | 产品使用全品可用总额 | string | |
fullDiscountMoney | 产品实际使用全品折让金额 | string | |
fullGiftDiscountCanuseMoney | 赠品使用全品可用总额 | string | |
fullGiftDiscountMoney | 赠品实际使用全品折让金额 | string | |
retunsFullyMoney | 全额退款金额 | string | |
orderContacts | 订单联系人 | string | |
orderPhone | 订单联系人电话 | string | |
orderDt | 订单时间 | string | |
approveDt | 审批时间 | string | |
lastUpdateDt | 最后更新时间 | string | |
clientAppNo | 经销商外围系统编码 | string | |
partnerName | 经销商名称 | string | |
orgName | 租户名称 | string | |
details | 明细 | array | |
details.id | 明细Id | string | |
details.discountMoney | 折扣后金额 | string | |
details.quantity | 下单数量 | string | |
details.productId | 产品id | string | |
details.productName | 产品名称 | string | |
details.productNo | 产品编码 | string | |
details.spec | 规格 | string | |
details.unitCode | 单位 | string | |
details.minUnit | 包装数 | string | |
details.basePrice | 统一价 | string | |
details.price | 供货价 | string | |
details.actQuantity | 审批数量 | string | |
details.money | 金额 | string | |
details.type | 类型 | string | |
details.isFree | 是否免费 | string | |
details.discountAmount | 折扣额 | string | |
details.discountPrice | 折扣后单价 | string | |
details.discountRate | 折扣率 | string | |
details.itemDiscountMoney | 普通行折让 | string | |
details.itemFullDiscountMoney | 全品行折让 | string | |
details.itemNetDiscountMoney | 网络品&赠品行折让 | string | |
details.easNo | 产品长编码 | string | |
details.extNo | 产品外围编码 | string | |
details.batchNum | 产品批次号 | string | |
畅捷通T+接口明细
- API:/tplus/api/v2/saleDelivery/Create
- NAME:创建销货单
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
VoucherDate | 单据日期 | {{orderDt}} | 默认系统时间 |
Code | 编码 | {{no}} | 1、T+系统单据编码。 2、此参数可空,为空时,默认按T+系统自动规则取值,若无法自动生成,则取外部系统单据编码。 |
ExternalCode | 外部编码 | {{no}} | |
BusinessType | 业务类型 | 15 | |
Warehouse | 仓库 | 001 | |
Customer | 客户 | {{clientAppNo}} | 1、客户,PartnerDTO对象,客户信息。 2、PartnerDTO对象包括如下常用属性: { "Code": ""//T+系统客户编码 } 3、非空,此编码要与T+系统客户编码一致。 |
SaleDeliveryDetails | 明细 | details | |
SaleDeliveryDetails.Inventory | 存货 | {{details.extNo}} | |
SaleDeliveryDetails.Quantity | 数量 | {{details.actQuantity}} | |
SaleDeliveryDetails.Batch | 批号 | {{details.batchNum}} | |
SaleDeliveryDetails.OrigTaxPrice | 含税价 | {{details.price}} | |
SaleDeliveryDetails.Warehouse | 仓库 | 001 | |
SaleDeliveryDetails.IsPresent | 是否赠品 | _function case '{{isFree}}' when '是' then 'true' else 'false' end | |
SaleDeliveryDetails.Memo | 备注 | {{saleDistribution}}(from汤臣营销云){{orgId}} | |
SaleDeliveryDetails.dataKey | dataKey | dto | |
数据对接价值
当企业规模逐渐增大时,作为支撑业务运营的IT建设也变得越来越重要,不过往往企业的IT建设过程中会发现某一家软件供应商基本不能完全覆盖企业所有的业务运营流程,这样的结果就是,企业上的IT系统很多很全,从ERP到HR、CRM、PDM、OA等,貌似所有的业务都覆盖到了,但实际上因为这些系统的不集成,而形成了企业很多新的信息孤岛,非常不利于企业的后续的管理和战略发展。从现今和往后的发展趋势来看,也不可避免会遇到上述问题,毕竟企业经营的多样化,并不是所有的业务都能在一个系统中完成,所以我们必须在产品架构上支持更好的与外部系统进行协同。通过轻易云集成平台统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。

