从管易云到MySQL通过接口配置打通数据

接入系统:管易云
金蝶管易云是金蝶集团旗下以电商和新零售为核心业务的子公司,公司于2008年成立,拥有从事电商及新零售业务相关专业知识工作者超过1000人。为伊利、网易有道、东阿阿胶、金龙鱼、海康、科大讯飞等超过110000家企业客户提供专业服务,用户数超过100万人。金蝶管易云与淘宝、天猫、京东、拼多多、抖音等超过150+主流电商平台建立合作关系。
对接目标平台:MySQL
MySQL是一个关系型数据库管理系统,由瑞典MySQLAB公司开发,属于Oracle旗下产品。MySQL是最流行的关系型数据库管理系统之一,在WEB应用方面,MySQL是最好的RDBMS(RelationalDatabaseManagementSystem,关系数据库管理系统)应用软件之一。
接口方案配置
异构系统具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。那么对接就需要根据接口配置对应的规则,例如取数就要根据查询接口获取管易云的数据,并且根据对应的条件进行取数,目标系统就必须根据目标系统的格式,以及获取的数据进行加工处理后进行写入到MySQL中。轻易云集成平台的可视化配置轻松实现。


管易云接口明细
- 接口:gy.erp.items.get
- 接口名称:商品查询
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
start_date | 修改时间开始段 | string | |
end_date | 修改时间结束段 | string | |
code | 商品代码 | string | |
page_size | 分页大小 | string | 默认为10 |
page_no | 页号 | string | 默认1 |
响应参数
字段 | 名称 | 类型 | 描述 |
create_date | 创建时间 | string | |
modify_date | 修改时间 | string | |
combine | 是否为组合商品 | string | |
del | 是否已停用 | string | |
length | 长 | string | |
width | 宽 | string | |
height | 高 | string | |
simple_name | 商品简称 | string | |
category_code | 分类代码 | string | |
category_name | 分类名称 | string | |
supplier_code | 供应商代码 | string | |
item_unit_code | 商品单位代码 | string | |
item_unit_name | 商品单位名称 | string | |
pic_url | 图片地址 | string | |
shelf_life | 保质期 | string | |
warning_days | 预警天数 | string | |
combine_items | 组合明细 | string | |
custom_attr | 自定义属性 | string | |
item_add_attribute | 商品附加属性 | string | |
item_brand_code | 品牌代码 | string | |
item_brand_name | 品牌名称 | string | |
skus | sku | array | |
skus.id | 规格ID | string | |
skus.code | 规格代码 | string | |
skus.name | 规格名称 | string | |
skus.note | 备注 | string | |
skus.weight | 重量 | string | |
skus.volume | 体积 | string | |
skus.package_point | 打包积分 | string | |
skus.sales_point | 销售积分 | string | |
skus.sales_price | 标准售价 | string | |
skus.purchase_price | 标准进价 | string | |
skus.agent_price | 代理售价 | string | |
skus.cost_price | 成本价 | string | |
skus.stock_status_code | 库存状态代码 | string | |
skus.tax_no | 税号 | string | |
skus.tax_rate | 税率 | string | |
skus.origin_area | 原产地 | string | |
skus.supplier_outerid | 供应商货号 | string | |
skus.bar_code | 商品条码 | string | |
MySQL接口明细
- 接口:execute
- 接口名称:EXECUTE语句
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
header | 表头 | object | |
header.no | 编码 | string | |
header.name | 名称 | string | |
header.brand | 品牌字表 | object | |
header.brand.inserted_id | 主表主键ID | string | |
header.brand.name | 品牌 | string | |
header.brand.custom_attr | 定制属性 | array | |
header.brand.custom_attr.inserted_id | 主表主键ID | string | |
header.brand.custom_attr.color | 颜色 | string | |
header.brand.custom_attr.insert | insert | object | |
header.brand.custom_attr.insert.header | 插入表头 | string | |
header.brand.custom_attr.insert.brand | 插入品牌 | string | |
header.brand.custom_attr.insert.custom_attr | 定制属性 | string | |
header.brand.custom_attr.insert.update | update | object | |
header.brand.custom_attr.insert.delete | delete | object | |
header.brand.custom_attr.insert.execute | execute | object | |
系统集成总览
从API服务总线层面解决企业烟囱式业务系统集成现状 相互连接企业各业务系统,实现流程端到端打通,复用已有的业务系统能力,让集成架构、服务关系更清晰 使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。
