感谢您的反馈!
飞猪-菲住联盟迁移,商家查询订单详情
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| company_id | Number | 可选 | 1001 | 公司id | |
| order_id | Number | 可选 | 12312321 | 订单号 | |
| trace_id | String | 可选 | 213121 | 日志链路id |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | QueryHotelOrderDetailResponse | 服务出参 | 系统自动生成 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripFuturehotelHaorderHotelorderDetailRequest req = new AlitripFuturehotelHaorderHotelorderDetailRequest();
req.setCompanyId(1001L);
req.setOrderId(12312321L);
req.setTraceId("213121");
AlitripFuturehotelHaorderHotelorderDetailResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alitrip_futurehotel_haorder_hotelorder_detail_response>
<result>
<fh_code>200</fh_code>
<fh_msg>成功</fh_msg>
<fh_success>true</fh_success>
<order_detail>
<order_info>
<activity_name>天天特惠</activity_name>
<cancel_policy>免费取消</cancel_policy>
<checkin_date>Mon Jun 07 16:41:02 CST 2021</checkin_date>
<checkout_date>Mon Jun 07 16:41:02 CST 2021</checkout_date>
<confirm_time>Mon Jun 07 16:41:02 CST 2021</confirm_time>
<contact_email>xxx@163.com</contact_email>
<contact_name>张三</contact_name>
<contact_phone>13888888888</contact_phone>
<contract_type>1</contract_type>
<credit_advance_payment_flag>true</credit_advance_payment_flag>
<day_price_info>[{"basePrice":5900,"breakFast":0,"day":"2020-12-28","price":6400}]</day_price_info>
<end_time>Mon Jun 07 16:41:02 CST 2021</end_time>
<gmt_create>Mon Jun 07 16:41:02 CST 2021</gmt_create>
<has_break_fast>1</has_break_fast>
<hotel_benefits>
<hotel_benefits_vo>
<equity_id>1001</equity_id>
<equity_name>会员折扣</equity_name>
</hotel_benefits_vo>
</hotel_benefits>
<hotel_id>1001</hotel_id>
<hotel_name>如家酒店</hotel_name>
<id>213123</id>
<member_flag>true</member_flag>
<member_promotion_type>1</member_promotion_type>
<memo>用户备注</memo>
<nights>1</nights>
<occupancy>1</occupancy>
<oper_xiaoer>张三</oper_xiaoer>
<order_cancel_info>行程取消</order_cancel_info>
<order_source_type>4</order_source_type>
<order_source_type_str>飞猪</order_source_type_str>
<order_type>1</order_type>
<other_fee>100</other_fee>
<out_order_id>43242141</out_order_id>
<pay_channel_str>支付宝</pay_channel_str>
<pay_status>1</pay_status>
<pay_time>Mon Jun 07 16:41:02 CST 2021</pay_time>
<payment>1000</payment>
<price_mode_desc>底价模式</price_mode_desc>
<promotionamt>1000</promotionamt>
<refund_doc>退订文案</refund_doc>
<refund_flag>1</refund_flag>
<refund_policy_type_str>随时退</refund_policy_type_str>
<refund_status>1</refund_status>
<room_id>1001</room_id>
<room_name>大床房</room_name>
<room_number>1</room_number>
<show_acitivity_discount_amount>100</show_acitivity_discount_amount>
<show_merchant_promotion_amout>100</show_merchant_promotion_amout>
<show_other_fee>100</show_other_fee>
<show_payment>100</show_payment>
<show_platform_member_amount>100</show_platform_member_amount>
<show_promotionamt>100</show_promotionamt>
<show_settle_price>100</show_settle_price>
<show_total_room_price>1000</show_total_room_price>
<status>6</status>
<status_str>已完成</status_str>
<sub_status>1</sub_status>
<sub_status_info>已完成</sub_status_info>
<total_room_price>1000</total_room_price>
<trade_no>21321312312</trade_no>
<type>1</type>
<type_str>预付</type_str>
</order_info>
<refund_order_info>
<refund_amount>100</refund_amount>
<refund_doc>退订文案</refund_doc>
<refund_fee>100</refund_fee>
<refund_policy_type_str>随时退</refund_policy_type_str>
<refund_reason>行程取消</refund_reason>
<refund_reason_type_str>前台价格更优惠</refund_reason_type_str>
<refund_success_time>Mon Jun 07 16:41:02 CST 2021</refund_success_time>
<show_refund_amount>1000</show_refund_amount>
<status>3</status>
</refund_order_info>
</order_detail>
</result>
</alitrip_futurehotel_haorder_hotelorder_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>
| 错误码 | 错误描述 | 解决方案 |
|---|