Qeasy Cloud
Get Started

汤臣倍健营销云对接打通畅捷通T+门户-查询订单表头&表体组合接口与创建销售订单接口

1 comments

汤臣倍健营销云对接打通畅捷通T+门户-查询订单表头&表体组合接口与创建销售订单接口

API数据接口打通

数据源系统:汤臣倍健营销云

汤臣倍健营销云是覆盖公域私域、线上线下的全场景的数字化营销平台。基于全触点数据构建全域标签体系,助力企业在自营平台、微信生态等全渠道上精准触达用户,自动化营销互动,实时反馈效果,真正实现营销数字化。

集成系统:畅捷通T+

畅捷通T+是一款新型互联网企业管理软件,全面满足成长型小微企业对其灵活的业务流程的管控需求,重点解决往来业务管理、订单跟踪、资金、库存等管理难题。产品支持您通过各种固定或移动设备随时迅速获取企业实时、动态的运营信息,以及随时随地,实时掌握的特性带给您全新的体验感受。

数据对接方案

系统对接前期需要通过调研公司的业务,规划出最便捷,效率最高的整体流程。通过流程我们需要建立对应的方案来吧这些流程一一的落地,轻易云集成平台开箱即用的、可视化拖、拉、拽实现接口服务编排与聚合。只需要根据指引设定好对应的参数即可启动使用。设定好源平台:汤臣倍健营销云的接口参数设置,以及设定好目标平台:畅捷通T+的映射,即可启动方案进行测试
OA与ERP单据打通

汤臣倍健营销云接口明细

  • 接口:/openapi-basesubject/order/queryOrderHead
  • 接口名称:门户-查询订单表头&表体组合
  • 接口方法:POST

请求参数

字段名称类型描述 orgId组织IDstring page页码string id订单idstring applyerId要货方idstring supplierId供货方idstring no订单号string distributionType分销类型string distributorId分销商idstring orderStatus订单状态string createDt创建时间string orderTypeCode订单类型,如普通订单、直运销售string isDeliveryFreezed是否暂停发货string nature订单分类string relatedApplyerId关联交易经销商idstring saleDistribution销售渠道string disApplyerId分销商idstring startDt订单时间(开始)string endDt订单时间(结束)string appStartDt审批时间(开始)string appEndDt审批时间(结束)string lastStartDt最后修改时间(开始)string lastEndDt最后修改时间(结束)string

响应参数

字段名称类型描述 applyerId要货方idstring supplierId供货方idstring no订单号string distributionType分销类型string distributorId分销商idstring orgId订单组织string orderStatus订单状态string createDt创建时间string contractNo合同编号string isReport是否随批报告string predictArriveDt预计到货日期string deliveryLevelCode发货优先级string orderTypeCode订单类型,如普通订单、直运销售string isDeliveryFreezed是否暂停发货string taxCode税码string areaCode区域idstring currencyCode币种string settlementModeCode结算方式string deliveryCode交货方式string isCreditManaged是否信用暂挂string salesman订单销售人员string relatedApplyerId关联交易经销商idstring 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分销商idstring 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明细Idstring details.discountMoney折扣后金额string details.quantity下单数量string details.productId产品idstring 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单据日期{{createDt}}默认系统时间 Code编码{{no}}1、T+系统单据编码。 2、此参数可空,为空时,默认按T+系统自动规则取值,若无法自动生成,则取外部系统单据编码。 ExternalCode外部编码{{no}} BusinessType业务类型15 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仓库{{orgId}} SaleDeliveryDetails.IsPresent是否赠品_function case '{{isFree}}' when '是' then 'true' else 'false' end SaleDeliveryDetails.Memo备注{{orgName}}-(from营销云系统) SaleDeliveryDetails.dataKeydataKeydto

数据对接效果

通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。
金蝶如何对接