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

wdk.mall.laundryorder.query (洗护衣物单查询接口)

洗护衣物单查询接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
laundry_id String 必须 51 衣物单编码
biz_key String 必须 1111 appKey

响应参数

名称 类型 示例值 描述
result HMDataResult 结果
  • data
  • LaundryOrderInfoVO
  • 返回的数据
  • └ picture_set
  • String
  • [{"uid":"i1/2729958/O1CN0194vDoW2NQp1U3AsFp_!!2729958-2-hemafrontend.png","url":"//img.alicdn.com/i1/2729958/O1CN0194vDoW2NQp1U3AsFp_!!2729958-2-hemafrontend.png","imgUrl":"//img.alicdn.com/i1/2729958/O1CN0194vDoW2NQp1U3AsFp_!!2729958-2-hemafrontend.png"}]
  • 图片集合
  • └ flaw
  • String
  • [{"label": "奶黄", "value": "NAI_HUANG"}]
  • 瑕疵
  • └ biz_order_id
  • String
  • 818402306218362146
  • 交易单号
  • └ laundry_id
  • String
  • 50
  • 衣物编码
  • └ accessory
  • String
  • [{"label": "塑胶封膜", "value": "SU_JIAO_FENG_MO"}]
  • 附件
  • └ category_desc
  • String
  • 上衣
  • 类别
  • └ station_code
  • String
  • station_code
  • 服务站编码
  • └ station_name
  • String
  • station_name
  • 服务站名称
  • └ laundry_num
  • Number
  • 1
  • 实际拆包的衣物单数量
  • └ ext_info
  • String
  • ext_info
  • ext_info
  • └ success
  • Boolean
  • true
  • 调用成功
  • └ error_code
  • String
  • errorCode
  • 错误编码
  • └ message
  • String
  • OK
  • 错误提示

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WdkMallLaundryorderQueryRequest req = new WdkMallLaundryorderQueryRequest();
req.setLaundryId("51");
req.setBizKey("1111");
WdkMallLaundryorderQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<wdk_mall_laundryorder_query_response>
    <result>
        <data>
            <picture_set>[{&quot;uid&quot;:&quot;i1/2729958/O1CN0194vDoW2NQp1U3AsFp_!!2729958-2-hemafrontend.png&quot;,&quot;url&quot;:&quot;//img.alicdn.com/i1/2729958/O1CN0194vDoW2NQp1U3AsFp_!!2729958-2-hemafrontend.png&quot;,&quot;imgUrl&quot;:&quot;//img.alicdn.com/i1/2729958/O1CN0194vDoW2NQp1U3AsFp_!!2729958-2-hemafrontend.png&quot;}]</picture_set>
            <flaw>[{&quot;label&quot;: &quot;奶黄&quot;, &quot;value&quot;: &quot;NAI_HUANG&quot;}]</flaw>
            <biz_order_id>818402306218362146</biz_order_id>
            <laundry_id>50</laundry_id>
            <accessory>[{&quot;label&quot;: &quot;塑胶封膜&quot;, &quot;value&quot;: &quot;SU_JIAO_FENG_MO&quot;}]</accessory>
            <category_desc>上衣</category_desc>
            <station_code>station_code</station_code>
            <station_name>station_name</station_name>
            <laundry_num>1</laundry_num>
            <ext_info>ext_info</ext_info>
        </data>
        <success>true</success>
        <error_code>errorCode</error_code>
        <message>OK</message>
    </result>
</wdk_mall_laundryorder_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

返回
顶部