文档中心 > API类目 > 五道口API

alibaba.rex.skyeye.ums.lu.query (ums通用LU信息查询)

ums通用LU信息查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
warehouse_id Number 可选 123456 仓库ID
container_code String 可选 CONTAINER001 容器号

响应参数

名称 类型 示例值 描述
result Result 结果
  • └ code
  • String
  • LU_NOT_FOUND
  • 错误码
  • data
  • Data
  • 返回数据
  • lu_detail_d_t_o_list
  • LuDetailDTOList []
  • LU明细列表
  • └ item_num
  • String
  • 2个
  • 商品数量
  • └ item_name
  • String
  • 商品A
  • 商品名称
  • └ production_date
  • String
  • 2025-01-01
  • 商品生产日期
  • └ lu_code
  • String
  • LU001
  • 子LU编号
  • └ customer_name
  • String
  • 门店A
  • 门店名称
  • └ has_print_recheck_label
  • Boolean
  • true
  • 是否透出重打复核标签按钮
  • └ warehouse_id
  • Number
  • 123456
  • 仓库ID
  • └ lu_type
  • Number
  • 1
  • LU类型
  • └ container_code
  • String
  • CONTAINER001
  • 容器编号
  • └ recheck_task_code
  • String
  • RECHECK001
  • 复核任务编号
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ message
  • String
  • LU信息不存在
  • 错误码描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaRexSkyeyeUmsLuQueryRequest req = new AlibabaRexSkyeyeUmsLuQueryRequest();
req.setWarehouseId(123456L);
req.setContainerCode("CONTAINER001");
AlibabaRexSkyeyeUmsLuQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_rex_skyeye_ums_lu_query_response>
    <result>
        <code>LU_NOT_FOUND</code>
        <data>
            <lu_detail_d_t_o_list>
                <lu_detail_d_t_o_list>
                    <item_num>2个</item_num>
                    <item_name>商品A</item_name>
                    <production_date>2025-01-01</production_date>
                    <lu_code>LU001</lu_code>
                    <customer_name>门店A</customer_name>
                </lu_detail_d_t_o_list>
            </lu_detail_d_t_o_list>
            <has_print_recheck_label>true</has_print_recheck_label>
            <warehouse_id>123456</warehouse_id>
            <lu_type>1</lu_type>
            <container_code>CONTAINER001</container_code>
            <recheck_task_code>RECHECK001</recheck_task_code>
        </data>
        <success>true</success>
        <message>LU信息不存在</message>
    </result>
</alibaba_rex_skyeye_ums_lu_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

返回
顶部