注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 阿里健康&一树-孔雀翎WMS

qimen.alibaba.health.ys.cep.wms.land.apply (阿里健康孔雀翎WMS出入库(带批号批次))

地采申请同步同步到博大接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
password String 必须 xxx 密码
username String 必须 sign1230 用户名
api String 必须 api 接口
data Data [] 必须
  • 最大列表长度:999
  • 参数
    • └ billNo
    • String
    • 必须
    • xxx
    • 单据号
    • └ supplyCode
    • String
    • 必须
    • xxx
    • 供应商编号
    • └ customerCode
    • String
    • 必须
    • xxx
    • 客户编码(门店编码)
    • └ detailNo
    • String
    • 必须
    • xxx
    • 细单编号
    • └ price
    • String
    • 必须
    • 1
    • 单价
    • └ quantity
    • String
    • 必须
    • 2
    • 数量
    • └ amount
    • String
    • 必须
    • 3
    • 总价
    • └ costPrice
    • String
    • 必须
    • 3
    • 不含税单价
    • └ costAmount
    • String
    • 必须
    • 2
    • 不含税总价
    • └ diffAmount
    • String
    • 必须
    • 3
    • 总金额差额
    • └ batchNo
    • String
    • 必须
    • xxx
    • 批次号
    • └ lotNo
    • String
    • 必须
    • xxx
    • 批号
    • └ validDate
    • String
    • 必须
    • xxx
    • 有效期
    • └ prodDate
    • String
    • 必须
    • xxx
    • 生成日期
    • └ goodsCode
    • String
    • 必须
    • xxx
    • 商品编码
    • └ goodsName
    • String
    • 可选
    • xxx
    • 商品名称
    • └ taxRate
    • String
    • 必须
    • 1
    • 税率
    • └ goodsSpec
    • String
    • 可选
    • xxx
    • 规格
    • └ prodAddr
    • String
    • 可选
    • xxx
    • 产地
    • └ factoryName
    • String
    • 可选
    • xxx
    • 生产单位
    • └ payRule
    • String
    • 必须
    • 1
    • 付款规则
    • └ accountingPeriodDays
    • Number
    • 可选
    • 1
    • 账期天数
    • └ billType
    • Number
    • 必须
    • 1
    • 50:采购;51:退货
    wms_id String 必须 xxx wms编码

    响应参数

    名称 类型 示例值 描述
    success Boolean true 是否成功
    err_msg String 返回失败信息 1
    err_code String 99 1

    请求示例

    {"password":"xxx","data":[{"amount":"3","batchNo":"xxx","quantity":"2","validDate":"xxx","billType":1,"costPrice":"3","customerCode":"xxx","costAmount":"2","diffAmount":"3","factoryName":"xxx","supplyCode":"xxx","goodsSpec":"xxx","accountingPeriodDays":1,"prodDate":"xxx","taxRate":"1","lotNo":"xxx","payRule":"1","price":"1","detailNo":"xxx","goodsCode":"xxx","prodAddr":"xxx","billNo":"xxx","goodsName":"xxx"}],"api":"api","wms_id":"xxx","username":"sign1230"}

    响应示例

    {
        "success":true,
        "err_msg":"返回失败信息",
        "err_code":"99"
    }

    验签示例

    {"success":"不等于true","err_msg":"Illegal request","err_code":"sign-check-failure"}

    错误码解释

    错误码 错误描述 解决方案
    response-body-parse-error

    API工具

    FAQ

    返回
    顶部