飞猪酒店分销订单详请接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
order_base_req | OrderBaseReq | 必须 | 订单详情请求参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
error_msg | String | 订单查询失败 | 错误信息 |
result | OrderInfoDetail | 订单详情数据 | |
|
|||
error_resp_code | Number | 301 | 错误码 |
code4_dev | String | 301 | 提供给开发的错误码 |
msg_for_dev | String | Test error | 提供给开发的错误信息 |
is_success | Boolean | true | 是否请求成功 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); XhotelOrderDistributionDetailRequest req = new XhotelOrderDistributionDetailRequest(); XhotelOrderDistributionDetailRequest.OrderBaseReq obj1 = new XhotelOrderDistributionDetailRequest.OrderBaseReq(); obj1.setDisOrderId("1564651"); obj1.setDistributor("hello"); obj1.setFliggyOrderId(3037649439744395500L); req.setOrderBaseReq(obj1); XhotelOrderDistributionDetailResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<xhotel_order_distribution_detail_response> <error_msg>订单查询失败</error_msg> <result> <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> <order_xitem_info>酒+X</order_xitem_info> </result> <error_resp_code>301</error_resp_code> <code4_dev>301</code4_dev> <msg_for_dev>Test error</msg_for_dev> <is_success>true</is_success> </xhotel_order_distribution_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>
错误码 | 错误描述 | 解决方案 |
---|