包裹侠自提柜投件记录的搜索
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| user_id | Number | 必须 | 4398046996756 | 账户ID | |
| search_text | String | 必须 | 4342 | 搜索的文本 | |
| session_code | String | 必须 | adfads | sessionCode |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| data | PostListQueryResultDto | 返回值 | |
|
|||
| is_success | Boolean | true | 成功与否标志 |
| status_code | String | error | 错误编码 |
| status_message | String | error | 错误描述 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CainiaoEndpointLockerTopPostSearchRequest req = new CainiaoEndpointLockerTopPostSearchRequest();
req.setUserId(4398046996756L);
req.setSearchText("4342");
req.setSessionCode("adfads");
CainiaoEndpointLockerTopPostSearchResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<cainiao_endpoint_locker_top_post_search_response>
<data>
<collections_not_take>
<cabinet_post_list>
<cabinet_post_list>
<collection_post_list>
<collection_post_list>
<mail_no>920298384342</mail_no>
<guest_phone>15868861909</guest_phone>
<gui_order_id>780012</gui_order_id>
<take_time>1497002174000</take_time>
<take_role>3</take_role>
<post_time>1497002163000</post_time>
<guest_address>万家花城10-2-111</guest_address>
<exceeded_hours>72</exceeded_hours>
<lg_order_code>123421</lg_order_code>
<gui_id>sss12RF3Rdfggt</gui_id>
<company_code>cabinet.cainiao.com</company_code>
</collection_post_list>
</collection_post_list>
<station_id>114425</station_id>
<gui_company_name>速递易</gui_company_name>
<total_collection_num>1</total_collection_num>
<fifth_address>[速递易]</fifth_address>
<cabinet_detail_address>临江花园23幢自行车库速递易</cabinet_detail_address>
</cabinet_post_list>
</cabinet_post_list>
<delivery_status_enum>ALREADY_TAKE</delivery_status_enum>
<total_collection_num>1</total_collection_num>
</collections_not_take>
<collections_already_take>
<cabinet_post_list>
<cabinet_post_list>
<collection_post_list>
<collection_post_list>
<mail_no>920298384342</mail_no>
<guest_phone>15868861909</guest_phone>
<gui_order_id>780012</gui_order_id>
<take_time>1497002174000</take_time>
<take_role>3</take_role>
<post_time>1497002163000</post_time>
<lg_order_code>123123</lg_order_code>
<guest_address>万家花城</guest_address>
<exceeded_hours>72</exceeded_hours>
<gui_id>sss12RF3Rdfggt</gui_id>
<company_code>cabinet.cainiao.com</company_code>
</collection_post_list>
</collection_post_list>
<station_id>114425</station_id>
<gui_company_name>速递易</gui_company_name>
<total_collection_num>1</total_collection_num>
<fifth_address>[速递易]</fifth_address>
<cabinet_detail_address>临江花园23幢自行车库速递易</cabinet_detail_address>
</cabinet_post_list>
</cabinet_post_list>
<delivery_status_enum>ALREADY_TAKE</delivery_status_enum>
<total_collection_num>1</total_collection_num>
</collections_already_take>
<collections_over_time>
<cabinet_post_list>
<cabinet_post_list>
<collection_post_list>
<collection_post_list>
<mail_no>9202983284342</mail_no>
<exceeded_hours>72</exceeded_hours>
<guest_phone>13475180712</guest_phone>
<gui_order_id>780013</gui_order_id>
<post_time>1497004296000</post_time>
<lg_order_code>12313</lg_order_code>
<take_role>2</take_role>
<take_time>1231241231</take_time>
<guest_address>万家花城</guest_address>
<gui_id>sss12RF3Rdfggt</gui_id>
<company_code>cabinet.cainiao.com</company_code>
</collection_post_list>
</collection_post_list>
<station_id>114425</station_id>
<gui_company_name>速递易</gui_company_name>
<total_collection_num>1</total_collection_num>
<fifth_address>[速递易]</fifth_address>
<cabinet_detail_address>临江花园23幢自行车库速递易</cabinet_detail_address>
</cabinet_post_list>
</cabinet_post_list>
<delivery_status_enum>OVETTIME</delivery_status_enum>
<total_collection_num>1</total_collection_num>
</collections_over_time>
<logistics_flag>true</logistics_flag>
<package_trace_detail_list>
<package_trace_detail_list>
<buyer_nick>昵称</buyer_nick>
<city>杭州</city>
<receiver_contact>12348888</receiver_contact>
<tp_name>圆通快递</tp_name>
<city_code>330011</city_code>
<standerd_desc>xxx 快件已签收</standerd_desc>
<gmt_create>2018-01-03 11:22:33</gmt_create>
<operator>李三</operator>
<mail_no>122aswqwww222</mail_no>
<tp_code>YTO</tp_code>
<operator_contact>1212xxxx3334</operator_contact>
<district>西湖区</district>
<sender_contact>153xxxx3321</sender_contact>
<action>TMS_SIGN</action>
<order_code>LP22200011</order_code>
<time>111110000</time>
<desc>xxx 已签收</desc>
</package_trace_detail_list>
</package_trace_detail_list>
</data>
<is_success>true</is_success>
<status_code>error</status_code>
<status_message>error</status_message>
</cainiao_endpoint_locker_top_post_search_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|