感谢您的反馈!
飞猪酒店分销订单详请接口
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| hotel_order_detail_request | HotelOrderDetailRequest | 必须 | 订单详情请求参数 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| model | HotelOrderDetailResponse | 订单详情数据 | |
|
|||
| is_success | Boolean | true | 是否请求成功 |
| result_code | String | 200 | 结果码 |
| result_message | String | 接口超时 | 错误信息 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaFliggyXhotelDetailRequest req = new AlibabaFliggyXhotelDetailRequest();
AlibabaFliggyXhotelDetailRequest.HotelOrderDetailRequest obj1 = new AlibabaFliggyXhotelDetailRequest.HotelOrderDetailRequest();
obj1.setDisOrderId("1564651");
obj1.setDistributor("hello");
obj1.setFliggyOrderId(3037649439744395500L);
obj1.setPromoteAppKey(1234L);
obj1.setPromotionPositionId(1234L);
obj1.setActivityId("sht");
req.setHotelOrderDetailRequest(obj1);
AlibabaFliggyXhotelDetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_fliggy_xhotel_detail_response>
<model>
<order_base_info>
<fliggy_order_id>3037649439744395500</fliggy_order_id>
<dis_order_id>456123156</dis_order_id>
<order_status>1</order_status>
<order_status_desc>未付款</order_status_desc>
<order_create_date>2020-01-01 00:00:00</order_create_date>
<contact_name>言五</contact_name>
<contact_phone>13000000000</contact_phone>
<daily_info_list>
<daily_info>
<date>2022-11-17 00:00:00</date>
<price>82000</price>
<foreign_price>245</foreign_price>
<cny_price>82000</cny_price>
</daily_info>
</daily_info_list>
<discount_fee>1000</discount_fee>
<platform_promotion_amt>1000</platform_promotion_amt>
<total_actual_price>80000</total_actual_price>
<total_room_price>82000</total_room_price>
<currency_rate>6.23</currency_rate>
<settle_currency_code>6.23</settle_currency_code>
<buyer_real_refund>82000</buyer_real_refund>
<hour_room>false</hour_room>
<supplier>taobao</supplier>
<is_checked_in>false</is_checked_in>
<free_cancel_time_in_n_min>2020-01-01 00:00:00</free_cancel_time_in_n_min>
</order_base_info>
<order_fulfill_info>
<late_arrive_time>2022-11-17 00:00:00</late_arrive_time>
<check_in>2022-11-17 00:00:00</check_in>
<check_out>2022-11-18 00:00:00</check_out>
<order_guest_list>
<hotel_order_guest>
<name>言五</name>
</hotel_order_guest>
</order_guest_list>
<room_number>1</room_number>
<nights>1</nights>
<invoice_status>1</invoice_status>
<invoice_status_desc>待开票</invoice_status_desc>
<check_in_time>15:00</check_in_time>
<check_out_time>18:00</check_out_time>
<hourage>3</hourage>
<out_confirm_code>165416</out_confirm_code>
<member_right_do>
<fzlm_compensate_for_expensiveness>false</fzlm_compensate_for_expensiveness>
</member_right_do>
</order_fulfill_info>
<room_info>
<room_name>大床房</room_name>
</room_info>
<hotel_info>
<hotel_name>酒店名称</hotel_name>
<shid>156465</shid>
<seller_id>156165</seller_id>
<hotel_address>酒店测试地址</hotel_address>
<hotel_tel>+86-566-2083333</hotel_tel>
<longitude>11.11</longitude>
<latitude>11.11</latitude>
</hotel_info>
<open_id>20881234</open_id>
<link_url>https://outfliggys.m.taobao.com/app/trip/rx-hotel-order-detail/pages/index?</link_url>
</model>
<is_success>true</is_success>
<result_code>200</result_code>
<result_message>接口超时</result_message>
</alibaba_fliggy_xhotel_detail_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|