从汤臣倍健营销云到畅捷通T+通过接口配置打通数据

数据源系统:汤臣倍健营销云
汤臣倍健营销云是覆盖公域私域、线上线下的全场景的数字化营销平台。基于全触点数据构建全域标签体系,助力企业在自营平台、微信生态等全渠道上精准触达用户,自动化营销互动,实时反馈效果,真正实现营销数字化。
对接系统:畅捷通T+
畅捷通T+是一款新型互联网企业管理软件,全面满足成长型小微企业对其灵活的业务流程的管控需求,重点解决往来业务管理、订单跟踪、资金、库存等管理难题。产品支持您通过各种固定或移动设备随时迅速获取企业实时、动态的运营信息,以及随时随地,实时掌握的特性带给您全新的体验感受。
接口方案配置
通过轻易云系统数据集成平台新增创建集成方案,通过轻易云的方案市场可以一键复制,并且可以借鉴其他的方案配置完成方案制作,方案制作只需要两步,第一步先确定好对应的数据来源;源系统:汤臣倍健营销云接口:查询盘点单明细通过请求调度者配置对应的请求参数即可获取到对应的数据。目标系统:畅捷通T+接口:创建其他出库单,通过写入调度者匹配获取到的数据和写入的映射关系,即可自动生成符合目标系统:畅捷通T+写入的数据自动产生写入队列,通过运行概况,系统会自动帮你诊断方案的运行情况。实时监控到方案的运行情况

汤臣倍健营销云接口明细
- 接口:/erp/api/order/query/stocktakingOrder
- 接口名称:查询盘点单明细
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
tenantId | 经销商id | string | 经销商id(必填,营销云id)如:34cc4109705e4c058b7b3b0352e57d31 |
number | 盘点单号 | string | 如:PDD0000000293,传此参数时,其他时间状态等条件无效 |
beginTime | 开始时间 | string | timeType为空或者0,基于创建时间查询,timeType为1,基于更新时间查询,格式:0000-00-00或0000-00-00 00:00:00,如果不传单号此字段必填 |
endTime | 结束时间 | string | timeType为空或者0,基于创建时间查询,timeType为1,基于更新时间查询,格式:0000-00-00或0000-00-00 00:00:00,如果不传单号此字段必填 |
pageNo | 页码 | string | 默认1 |
pageSize | 每页条数 | string | 默认30 |
timeType | 时间段标志 | string | 查询时间段标识,0:创建时间(默认),1:最后更新时间 |
响应参数
字段 | 名称 | 类型 | 描述 |
number | 盘点单单号 | string | |
task_id | 关联盘点任务id | string | |
linknumber | 仓库id | string | 关联订单号 |
bill_type | 单据类型 | string | 盘点单:400 |
diff_ratio | 差异控制比例 | string | |
stock_process_status | 盘点单状态 | string | |
stock_process_msg | 盘点单状态信息 | string | |
status | 状态 | string | |
store_status | 锁状态 | string | |
device_id | 设备id | string | |
version | 版本号 | string | |
lastUpdateTime | 更新时间 | string | |
has_diff | 是否存在差异 | string | -1:N/A,0:不存在(默认) 1:存在,2:已发送差异 |
stock_type | 0:单品,1:全品 | string | |
remark | 差异备注信息 | string | |
difference_sum | 全品总数量 | string | |
itemList | 商品列表 | array | |
itemList.id | 明细行id | string | |
itemList.tenantId | 公司id | string | |
itemList.tenantName | 公司名称 | string | |
itemList.createtime | 创建时间 | string | |
itemList.deleteFlag | 是否已删除 | string | 0:否,1:是 |
itemList.headerid | 盘点单id | string | |
itemList.materialId | 产品id | string | |
itemList.materialName | 产品名称 | string | |
itemList.materialNumber | 产品编码 | string | |
itemList.helpcode | 助记码 | string | |
itemList.lot | 批次 | string | |
itemList.mfg | 生产日期 | string | |
itemList.exp | 到期日期 | string | |
itemList.depotid | 仓库id | string | |
itemList.depotNo | 仓库编号 | string | |
itemList.depotName | 仓库名称 | string | |
itemList.stock_num | 盘点数量 | string | |
itemList.store_num | 账面数量 | string | |
itemList.diff_num | 差异数量 | string | |
itemList.diff_rate | 差异比例 | string | 差异比例,1->100% |
itemList.diff_type | 差异类型 | string | YES, 库存校验通过;NOT_EXIST, 库存信息不存在;NUM_ERR”, 库存信息不存在; |
itemList.pda_detail_id | pda明细id | string | |
itemList.verdue_flag | 是否过期标识 | string | |
itemList.updateTime | 更新时间 | string | |
itemList.extMaterialNo | 外围系统产品编码 | string | |
畅捷通T+接口明细
- API:/tplus/api/v2/otherDispatch/Create
- NAME:创建其他出库单
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
ExternalCode | 外部单据号 | | 外部单据号,后台做唯一性检查。用于防止重复提交,和外系统数据对应。 |
VoucherType | 单据类型 | ST1024 | 单据类型。默认值{Code:"ST1024"} |
VoucherDate | 单据日期 | | |
BusiType | 业务类型 | 13 | 业务类型编码。取值范围: 13--其他 14--其他退库 |
RdStyle | 出库类别 | | |
Warehouse | 仓库信息 | | |
Department | 部门信息 | | |
Clerk | 经手人信息 | | |
RDRecordDetails | 单据明细信息 | | |
RDRecordDetails.Inventory | 存货信息(物料) | | |
RDRecordDetails.Project | 项目信息 | | |
RDRecordDetails.ExpiryDate | 失效日期 | | 失效日期,可不录,选项批号自动带出时,带出该值。如果已录批号,存货启用有效期管理,不能为空 |
RDRecordDetails.InvLocation | 货位信息 | | |
RDRecordDetails.Batch | 批号 | | 批号,可不录,有批号自动带出时,带出,并且带出相关信息 |
RDRecordDetails.BoxNumber | 箱号 | | |
RDRecordDetails.BaseQuantity | 主计量单位数量 | | |
RDRecordDetails.SubQuantity | 辅助计量单位数量 | | 辅助计量单位数量,浮动计量时不能为空 |
RDRecordDetails.code | 单据编码 | | |
RDRecordDetails.dataKey | dataKey | dto | |
系统数据对接
使用全界面可视化配置集成流,快速应对企业的集成需求使得汤臣倍健营销云与畅捷通T+之间的数据接口一站式的快速集成能力,构建企业数据通道,解决数据孤岛问题。快速构建企业元数据标准、主数据标准、业财数据标准,完成数据的采集、统一、分发、清洗、归集等,帮助企业建立高质量的数据中台。目前轻易云平台已经支持300+系统,同时具备快速适配新系统的能力,集成海量接口数据。无论是对接ERP还是MES、OA、CRM、WMS、OMS等等系统,都可以通过接口相互集成。

