酒店联系人
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| hid | Number | 可选 | 1922987554 |
|
酒店id |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | TopResultSet | result | result |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripHotelEbookingHotelContactInfosQueryRequest req = new AlitripHotelEbookingHotelContactInfosQueryRequest(); req.setHid(1922987554L); AlitripHotelEbookingHotelContactInfosQueryResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<alitrip_hotel_ebooking_hotel_contact_infos_query_response>
<result>
<error>error</error>
<error_code>demo</error_code>
<error_msg>demo</error_msg>
<first_result>
<dept_finances>
<hotel_contact_do>
<email>1</email>
<mobile>1</mobile>
<name>1</name>
<tel>1</tel>
<dept_id>1</dept_id>
</hotel_contact_do>
</dept_finances>
<dept_its>
<hotel_contact_do>
<email>1</email>
<mobile>1</mobile>
<name>1</name>
<tel>1</tel>
<dept_id>1</dept_id>
</hotel_contact_do>
</dept_its>
<dept_managers>
<hotel_contact_do>
<email>1</email>
<mobile>1</mobile>
<name>1</name>
<tel>1</tel>
<dept_id>1</dept_id>
</hotel_contact_do>
</dept_managers>
<dept_receptions>
<hotel_contact_do>
<email>1</email>
<mobile>1</mobile>
<name>1</name>
<tel>1</tel>
<dept_id>1</dept_id>
</hotel_contact_do>
</dept_receptions>
<dept_reserves>
<hotel_contact_do>
<email>1</email>
<mobile>1</mobile>
<name>1</name>
<tel>1</tel>
<dept_id>1</dept_id>
</hotel_contact_do>
</dept_reserves>
<dept_sales>
<hotel_contact_do>
<email>1</email>
<mobile>1</mobile>
<name>1</name>
<tel>1</tel>
<dept_id>1</dept_id>
</hotel_contact_do>
</dept_sales>
<gmt_create>1</gmt_create>
<gmt_modified>1</gmt_modified>
<hid>1</hid>
<hotel_name>1</hotel_name>
<id>1</id>
<is_valid>1</is_valid>
<memo>1</memo>
<notify_ivr>
<statue>1</statue>
<detail_d_o_s>
<hotel_notify_detail_do>
<dept>1</dept>
<end_hour>1</end_hour>
<is_all_day>1</is_all_day>
<mobile>1</mobile>
<start_hour>1</start_hour>
<tel>1</tel>
</hotel_notify_detail_do>
</detail_d_o_s>
</notify_ivr>
<seller_id>1</seller_id>
<seller_nick>1</seller_nick>
<vendor>1</vendor>
</first_result>
<has_next>1</has_next>
<results>
<string>1</string>
</results>
<success>false</success>
<total_results>1</total_results>
<warn_message>1</warn_message>
</result>
</alitrip_hotel_ebooking_hotel_contact_infos_query_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|