驿站派件通过运单号查询订单详情
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| mail_no | String | 可选 | 1235614231 | 运单号 | |
| user_id | Number | 可选 | 12345 | 小件员id | |
| session_code | String | 可选 | be98a74d6fa945549c2ac2a3dd64cf07 | sessioncode |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| status_code | String | PARAMS_CANNOT_BE_NULL | 失败原因 |
| data | ProcessingOrderInfoDto | data | |
|
|||
| status_message | String | 参数不能为空 | 失败原因 |
| is_success | Boolean | true | 是否成功 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CainiaoGuoguoCourierQueryorderdetailinfobymailnoRequest req = new CainiaoGuoguoCourierQueryorderdetailinfobymailnoRequest();
req.setMailNo("1235614231");
req.setUserId(12345L);
req.setSessionCode("be98a74d6fa945549c2ac2a3dd64cf07");
CainiaoGuoguoCourierQueryorderdetailinfobymailnoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<cainiao_guoguo_courier_queryorderdetailinfobymailno_response>
<status_code>PARAMS_CANNOT_BE_NULL</status_code>
<data>
<order_id>12345678</order_id>
<sender>
<name>张三</name>
<avatar_url>http://</avatar_url>
<phone>189</phone>
<address>1</address>
<prov_name>浙江</prov_name>
<city_name>杭州</city_name>
<area_name>余杭</area_name>
<area_id>1234</area_id>
<zip_code>305000</zip_code>
<latitude>123.1</latitude>
<longitude>12.1</longitude>
<poi_name>余杭街道</poi_name>
<poi_address>余杭街道</poi_address>
<alicom_tiny_phone_no>1231</alicom_tiny_phone_no>
<tiny_phone_no_valid>false</tiny_phone_no_valid>
<box_address>乐嘉国际</box_address>
<full_address>乐嘉国际1号楼</full_address>
<is_show_icon>true</is_show_icon>
<province_id>1312</province_id>
<city_id>1</city_id>
</sender>
<receiver>
<name>李**</name>
<avatar_url>http://</avatar_url>
<phone>189****0000</phone>
<address>余杭</address>
<prov_name>浙江</prov_name>
<city_name>杭州</city_name>
<area_name>杭州</area_name>
<area_id>12</area_id>
<zip_code>100010</zip_code>
<latitude>13.1</latitude>
<longitude>123.1</longitude>
<poi_name>demo</poi_name>
<poi_address>demo</poi_address>
<alicom_tiny_phone_no>123</alicom_tiny_phone_no>
<tiny_phone_no_valid>true</tiny_phone_no_valid>
<box_address>杭州</box_address>
<full_address>杭州</full_address>
<is_show_icon>true</is_show_icon>
<province_id>省份Id</province_id>
<city_id>市Id</city_id>
</receiver>
<take_package_spend_time>41234</take_package_spend_time>
<apply_order_time>2017-11-11</apply_order_time>
<take_package_time>2017-11-11</take_package_time>
<mail_no>1234567</mail_no>
<pay_money>10</pay_money>
<pay_status>1</pay_status>
<is_open_order_bill>true</is_open_order_bill>
<show_print_mail_no>true</show_print_mail_no>
<show_update_mail_cp>true</show_update_mail_cp>
<carryout_start_time>12314435</carryout_start_time>
<carryout_end_time>23421241</carryout_end_time>
<appointment_start_time>321331</appointment_start_time>
<appointment_end_time>432421</appointment_end_time>
<sign_time>5127862891347</sign_time>
<sign_flag>2</sign_flag>
<refuse_sign_reason>联系不到消费者</refuse_sign_reason>
<order_status>1</order_status>
<status_code>INVALID</status_code>
<status_desc>0</status_desc>
<package_type>1</package_type>
<order_total_price>2</order_total_price>
<adjust_fee>3</adjust_fee>
<insurance_fee>10</insurance_fee>
<goods_weight>4</goods_weight>
<user_message_labels>无</user_message_labels>
<order_insured_value>30</order_insured_value>
<cp_icon_url>http://</cp_icon_url>
<package_cp_code>DWD</package_cp_code>
<package_cp_name_new>点我达</package_cp_name_new>
<selected_mail_cp_code>DWD</selected_mail_cp_code>
<selected_mail_cp_code_name>点我达</selected_mail_cp_code_name>
<power_template_id>1123</power_template_id>
<selected_mail_cp_code_icon>111</selected_mail_cp_code_icon>
<can_update_address>true</can_update_address>
<show_crash_pay>false</show_crash_pay>
<start_weight>12</start_weight>
<start_price>2.5</start_price>
<goods_continued_heavy>2</goods_continued_heavy>
<goods_continued_price>10.00</goods_continued_price>
<continued_heavy>50</continued_heavy>
<continued_price>3.5</continued_price>
<print_status>1</print_status>
<timeout_warning_interval>6459832497</timeout_warning_interval>
<time_type_desc>待抢单</time_type_desc>
<time_type_tag_desc>WAIT_ACCEPT_ORDER</time_type_tag_desc>
<taking_immediately_desc>预约</taking_immediately_desc>
<time_type>0</time_type>
<predict_got_date>1</predict_got_date>
<source_tag>12</source_tag>
<real_price>11</real_price>
<added_price>11</added_price>
<total_income>15</total_income>
<ungot_order_reason>有事情去不了了</ungot_order_reason>
<feedback_reason_status>1</feedback_reason_status>
<cancel_reason>联系不到消费者</cancel_reason>
<cancel_order_time>2017-11-11 09:00:00</cancel_order_time>
<show_reward>true</show_reward>
<have_reward>true</have_reward>
<amount>12</amount>
<deduct_amount>15</deduct_amount>
<deduct_coupon_amount>10</deduct_coupon_amount>
<description>补贴xxx</description>
<reward>5</reward>
<coupon_actrual_price>10</coupon_actrual_price>
<put_in_box_deadline>1</put_in_box_deadline>
<reject_package_time>2017-01-01</reject_package_time>
<reject_reason>包裹破损</reject_reason>
<reject_img_url>http://</reject_img_url>
<box_open_code>1</box_open_code>
<send_type_code>12345</send_type_code>
<send_type_desc>1</send_type_desc>
<sop_point_gained>1</sop_point_gained>
<payment_q_r_code>http://xxx.cc?id=1</payment_q_r_code>
<sender_address>123</sender_address>
<receiver_address>213</receiver_address>
<buyer_id>123456</buyer_id>
<sender_id>11234</sender_id>
<validate_status_code>INVALID</validate_status_code>
<validate_status_desc>0</validate_status_desc>
<mail_no_type>1</mail_no_type>
<source_address>乐嘉国际</source_address>
<check_page_code>331351</check_page_code>
<pay_with_hode_desc>1</pay_with_hode_desc>
<is_need_image>false</is_need_image>
<is_support_image>false</is_support_image>
<has_watched>false</has_watched>
<weight_exception>false</weight_exception>
<image_max_num>12</image_max_num>
<product_code>STA_DISPATCH</product_code>
<real_name_auth_status>0</real_name_auth_status>
<image_url_list>
<imageurl>
<url>http://</url>
</imageurl>
</image_url_list>
<exception_reason>无法联系消费者</exception_reason>
<exception_time>124234</exception_time>
<order_tags>
<ordertags>
<argb_color>11</argb_color>
<name>往日单</name>
<type>1</type>
<sub_name>自选</sub_name>
</ordertags>
</order_tags>
<transfer_courier_name>1234567</transfer_courier_name>
</data>
<status_message>参数不能为空</status_message>
<is_success>true</is_success>
</cainiao_guoguo_courier_queryorderdetailinfobymailno_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|