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

文档中心 > API类目 > 阿里健康API

alibaba.alihealth.brand.wms.inbound.query (阿里健康-星图-自营-供应链-仓内作业-入库作业-入库复核)

阿里健康-星图-自营-供应链-仓内作业-入库作业-入库复核

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param BrandOrderExternalReq 必须 系统自动生成
  • └ page_num
  • Number
  • 必须
  • 1
  • 页号
  • └ page_size
  • Number
  • 必须
  • 20
  • 页大小
  • └ brand_ids
  • String []
  • 必须
  • ["123","234"]
  • 品牌id列表
  • └ start_date
  • String
  • 必须
  • 20240701
  • 开始时间
  • └ end_date
  • String
  • 必须
  • 20240701
  • 结束时间
  • └ item_ids
  • String []
  • 可选
  • ["123","234"]
  • 货品id列表

响应参数

名称 类型 示例值 描述
result PagedResult 返回的分页信息
  • data_list
  • BrandWmsInboundRecheckDfRes []
  • 数据列表
  • └ inbound_date
  • String
  • 2022-10-10
  • 入单时间
  • └ inbound_type
  • String
  • 调拨入库
  • 入库类型:调拨入库/采购入库/2C销退入库/2B销退入库
  • └ store_name
  • String
  • 华南仓
  • 入库仓库
  • └ sc_item_source
  • String
  • 货品来源:采购入库为供应商名称;调拨入库为空;2B销退入库为空;2C销退入库为空
  • └ sc_item_id
  • String
  • 9892384009
  • 货品ID
  • └ basic_unit
  • String
  • 1
  • 单位
  • └ received_qty
  • Number
  • 100
  • 入库数量
  • └ lot_no
  • String
  • sn112
  • 入库批号
  • └ produce_date
  • String
  • 2022-10-10
  • 生产日期
  • └ expiry_date
  • String
  • 2022-10-10
  • 有效期至
  • └ bar_code
  • String
  • 999
  • 货品条码
  • └ sc_item_name
  • String
  • SN1111111
  • 货品名称
  • └ spec
  • String
  • spec
  • 货品规格
  • └ brand_id
  • String
  • 999
  • 品牌ID
  • └ brand_name
  • String
  • 999
  • 品牌名称
  • └ manufacturer
  • String
  • 999
  • 生产厂家
  • └ purchase_ou
  • String
  • test
  • 业务主体
  • └ error_message
  • String
  • error
  • 错误信息
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ total_count
  • Number
  • 12
  • 总条数
  • └ page_index
  • Number
  • 1
  • 页号
  • └ total_page
  • Number
  • 1
  • 总页数
  • └ error_code
  • String
  • 500
  • 错误码
  • └ current_page
  • Number
  • 1
  • 当前页号
  • └ page_size
  • Number
  • 20
  • 每页显示的条数
  • └ error_detail_msg
  • String
  • error msg
  • 详细错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthBrandWmsInboundQueryRequest req = new AlibabaAlihealthBrandWmsInboundQueryRequest();
AlibabaAlihealthBrandWmsInboundQueryRequest.BrandOrderExternalReq obj1 = new AlibabaAlihealthBrandWmsInboundQueryRequest.BrandOrderExternalReq();
obj1.setPageNum(1L);
obj1.setPageSize(20L);
obj1.setBrandIds(""123","234"");
obj1.setStartDate("20240701");
obj1.setEndDate("20240701");
obj1.setItemIds(""123","234"");
req.setParam(obj1);
AlibabaAlihealthBrandWmsInboundQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_brand_wms_inbound_query_response>
    <result>
        <data_list>
            <brand_wms_inbound_recheck_df_res>
                <inbound_date>2022-10-10</inbound_date>
                <inbound_type>调拨入库</inbound_type>
                <store_name>华南仓</store_name>
                <sc_item_source>空</sc_item_source>
                <sc_item_id>9892384009</sc_item_id>
                <basic_unit>1</basic_unit>
                <received_qty>100</received_qty>
                <lot_no>sn112</lot_no>
                <produce_date>2022-10-10</produce_date>
                <expiry_date>2022-10-10</expiry_date>
                <bar_code>999</bar_code>
                <sc_item_name>SN1111111</sc_item_name>
                <spec>spec</spec>
                <brand_id>999</brand_id>
                <brand_name>999</brand_name>
                <manufacturer>999</manufacturer>
                <purchase_ou>test</purchase_ou>
            </brand_wms_inbound_recheck_df_res>
        </data_list>
        <error_message>error</error_message>
        <success>true</success>
        <total_count>12</total_count>
        <page_index>1</page_index>
        <total_page>1</total_page>
        <error_code>500</error_code>
        <current_page>1</current_page>
        <page_size>20</page_size>
        <error_detail_msg>error msg</error_detail_msg>
    </result>
</alibaba_alihealth_brand_wms_inbound_query_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部