MySQL和吉客云单据接口对接
MySQL和吉客云单据接口对接
接通系统:吉客云
吉客云是基于“网店管家”十五年电商ERP行业和技术积累基础上顺应产业发展需求,重新定位、全新设计推出的换代产品,从业务数字化和组织数字化两个方向出发,以构建流程的闭环为依归,致力于为企业的数字化升级提供落地工具。
对接目标平台:MySQL
MySQL是一个关系型数据库管理系统,由瑞典MySQLAB公司开发,属于Oracle旗下产品。MySQL是最流行的关系型数据库管理系统之一,在WEB应用方面,MySQL是最好的RDBMS(RelationalDatabaseManagementSystem,关系数据库管理系统)应用软件之一。
系统对接接口配置
轻易云集成平台的对接是通过一个个对应的对接方案去形成两个系统对接的连线,所以对接方案的配置极其重要,方案可以选择一键复制,轻易云有海量的对接方案可支持一键复制,复制后直接启动使用(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息。或者可以通过手工配置,配置只要确认源平台:吉客云的取数逻辑,例如什么时间取什么样的数据。即可完成配置,目标平台:MySQL,把获取的数据组装成目标系统需要的格式进行写入。
吉客云接口明细
- 接口:erp.allocate.get
- 接口名称:调拨查询
- 接口方法:POST
请求参数
| 字段 | 名称 | 类型 | 描述 |
| pageIndex | 页码(默认从0开始) | string | |
| pageSize | 每页条数(默认50) | string | |
| status | 调拨单状态(多个中间逗号隔开) | string | |
| startCreateTime | 创建时间的起始时间 | string | |
| endCreateTime | 创建时间结束时间 | string | |
| inWarehouseCode | 调入仓库编号 | string | |
| outSkuCode | 外部货品主键(支持批量 例:123,456) | string | |
| outWarehouseCode | 调出仓库编号 | string | |
| allocateNos | 调拨单号,多个中间逗号隔开 | string | |
| instatus | 入库状态 (支持批量查询,多个值逗号隔开 1=入库等待,2=部分入库,3=入库完成) | string | |
| outstatus | 出库状态(支持批量,多个值逗号隔开 1=出库等待,2=部分出库,3=出库完成) | string |
响应参数
| 字段 | 名称 | 类型 | 描述 |
| isAllocateDifferentCompany | 是否跨公司调拨(0-否 1-是) | string | |
| allocateNo | 调拨单号 | string | |
| outWarehouseId | 调出仓库id | string | |
| inWarehouseId | 调入仓库id | string | |
| outWarehouseCode | 调出仓库编号 | string | |
| intWarehouseCode | 调入仓库编号 | string | |
| outWarehouseName | 调出仓库名称 | string | |
| intWarehouseName | 调入仓库名称 | string | |
| allocateType | 调拨类型:0=同价调拨1=异价调拨 | string | |
| allocatePrice | 1=批发价,2=零售价,3=会员价 | string | |
| applyUserId | 申请人id,关联用户表 | string | |
| applyUserName | 申请人姓名 | string | |
| applyDepartId | 申请部门id | string | |
| applyDepartName | 申请人部门 | string | |
| applyDate | 申请时间 | string | |
| operator | 制单人 | string | |
| operatorId | 制单人id | string | |
| auditUserId | 审核人id | string | |
| auditUserName | 审核人姓名 | string | |
| auditDate | 审核时间(时间戳) | string | |
| status | 0=草稿1=待审核2=已审核3=已关闭 10-审核中 | string | |
| outStatus | 出库状态1=出库等待2=部分出库3=出库完成 | string | |
| inStatus | 入库状态1=入库等待2=部分入库3=入库完成 | string | |
| memo | 备注 | string | |
| goodsCount | 货品种类 | string | |
| gmtCreate | 创建时间(时间戳) | string | |
| allocatePriceType | 调拨价格类型:1=批发价,2=零售价,3=会员价 | string | |
| flagData | 标记Id集合 | string | |
| companyId | 公司id | string | |
| companyName | 公司名称 | string | |
| planOutDate | 预计出库时间(时间戳) | string | |
| planInDate | 预计入库时间(时间戳) | string | |
| stockAllocateDetailViews | 库存调拨明细 | array | |
| stockAllocateDetailViews.allocateId | 调拨单id,关联调拨单 | string | |
| stockAllocateDetailViews.skuCount | 数量 | string | |
| stockAllocateDetailViews.totalAmount | 总金额 | string | |
| stockAllocateDetailViews.allocateDetailId | 主键id | string | |
| stockAllocateDetailViews.goodsId | 货品id | string | |
| stockAllocateDetailViews.goodsName | 货品名称(冗余字段) | string | |
| stockAllocateDetailViews.skuId | skuid | string | |
| stockAllocateDetailViews.skuName | sku名称,冗余字段 | string | |
| stockAllocateDetailViews.unitName | 计量单位名称(冗余字段) | string | |
| stockAllocateDetailViews.skuPrice | 单价 | string | |
| stockAllocateDetailViews.outCount | 已出库数量 | string | |
| stockAllocateDetailViews.inCount | 已入库数量 | string | |
| stockAllocateDetailViews.isCertified | 是否正品 | string | |
| stockAllocateDetailViews.rowRemark | 备注 | string | |
| stockAllocateDetailViews.skuBarcode | 条形码 | string | |
| stockAllocateDetailViews.goodsNo | 商品编号 | string | |
| stockAllocateDetailViews.assistUnit | 辅助单位 | string | |
| stockAllocateDetailViews.outSkuCode | 外部货品主键 | string | |
| stockAllocateDetailViews.isNegativeStock | 是否允许负库存出库1-是 空或者0是否 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo | 收发货人信息 | array | |
| stockAllocateDetailViews.stockAllocateExpressInfo.id | 主键id | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.relDataNo | 关联入库申请单编号 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.sendCompanyName | 发件公司名称 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.send | 发件人 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.sendTel | 发件人电话 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.sendPhone | 发件人手机号 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.sendEmail | 发件人邮箱 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.sendCountryName | 发件人国家 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.sendProvinceName | 发件人省 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.sendCityName | 发件人市 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.sendTownName | 发件人镇,区 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.sendStreetName | 发件人街道 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.sendAddress | 发件人详细地址 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receiveCompanyName | 收件公司名称 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receive | 收件人 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receiveTel | 收件人电话 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receivePhone | 收件人手机号 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receiveEmail | 收件人邮箱 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receiveCountryName | 收件人国家 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receiveProvinceName | 收件人省 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receiveCityName | 收件人市 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receiveTownName | 收件人镇,区 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receiveStreetName | 收件人街道 | string | |
| stockAllocateDetailViews.stockAllocateExpressInfo.receiveAddress | 收件人详细地址 | string |
MySQL接口明细
- 接口:execute
- 接口名称:执行操作-v1
- 接口方法:POST
请求参数
| 字段 | 名称 | 类型 | 描述 |
| main_params | 主参数 | object | |
| main_params.bill_no | 单据编号 | string | |
| main_params.status | 状态 | string | |
| main_params.stock_org_id | 调入库存组织 | string | |
| main_params.date | 日期 | string | |
| main_params.bill_type_id | 单据类型 | string | |
| main_params.owner_type_id_head | 调入货主类型 | string | |
| main_params.owner_id_head | 调入货主?? | string | |
| main_params.transfer_type | 调拨类型 | string | |
| main_params.stock_out_org_id | 调出库存组织 | string | |
| main_params.owner_type_out_id_head | 调出货主类型 | string | |
| main_params.owner_out_id_head | 调出货主?? | string | |
| main_params.transfer_direction | 调拨方向 | string | |
| main_params.remark | 备注 | string | |
| main_params.create_time | 创建时间 | string | |
| main_params.created_by | 创建者 | string | |
| main_params.update_time | 更新时间 | string | |
| main_params.updated_by | 更新者 | string | |
| main_params.extend_params_1 | 1:1扩展参数 | array | |
| main_params.extend_params_1.lastInsertId | order_id | string | |
| main_params.extend_params_1.material_id | 物料编码 | string | |
| main_params.extend_params_1.src_stock_id | 调出仓库 | string | |
| main_params.extend_params_1.dest_stock_id | 调入仓库 | string | |
| main_params.extend_params_1.unit_id | 单位id | string | |
| main_params.extend_params_1.qty | 数量 | string | |
| main_params.extend_params_1.remark | 备注 | string | |
| main_params.extend_params_1.source_id | 源单id?? | string | |
| main_params.extend_params_1.source_detail_id | 源单明细行id?? | string | |
| main_params.extend_params_1.source_code | 源单单号?? | string | |
| main_params.extend_params_1.source_type | 源单类型?? | string | |
| main_params.extend_params_1.main_sql | 主语句 | string | |
| main_params.extend_params_1.extend_sql_1 | 1:1扩展语句 | string |
数据对接效果
通过数据集成平台可视化的快速配置调用接口打通吉客云与MySQL之间的数据接口,使得两个系统之间的对接更加快捷、稳定。轻易云数据集成平台打破信息孤岛、适配多种场景、降低运营成本、缩短开发周期、灵活调度配置是这种多系统数据打通时的特性优势。采用元数据模型驱动的低代码集成工具,基于系统预置的数据模型、映射、编排、日志、脚本等集成核心引擎,通过可视化配置,快速实现客户灵活多变的动态集成需求,让集成开发简单、执行过程可靠、问题风险可控。
Copyright Notice
The article "MySQL和吉客云单据接口对接" is original content owned by 广东轻亿云软件科技有限公司. Reposting is welcome, provided the source (including the original link) is credited in a prominent position.


