为用户提供酒店订单的详细信息查询能力
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
tenant_key | String | 可选 | 123 | 租户标识 | |
token | String | 可选 | 1213 | 用户登录标识 | |
order_id | String | 可选 | 123 | 订单号 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Response | 默认描述 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripMerchantGalaxyOrderQueryRequest req = new AlitripMerchantGalaxyOrderQueryRequest(); req.setTenantKey("123"); req.setToken("1213"); req.setOrderId("123"); AlitripMerchantGalaxyOrderQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<alitrip_merchant_galaxy_order_query_response> <result> <success></success> <error_code></error_code> <content> <hotel_phone></hotel_phone> <person_num></person_num> <breakfast_type></breakfast_type> <room_picture></room_picture> <payment_date></payment_date> <order_code></order_code> <lat></lat> <lon></lon> <contact_email></contact_email> <contact_phone></contact_phone> <contact_first_name></contact_first_name> <contact_last_name></contact_last_name> <days></days> <check_out_date></check_out_date> <check_in_date></check_in_date> <room_number></room_number> <rp_name></rp_name> <room_detail_dto> <room_facilities> <room_properties_dto> <value></value> <sub_type></sub_type> </room_properties_dto> </room_facilities> <max_check_in_number></max_check_in_number> <bed_type_desc></bed_type_desc> <room_area></room_area> <room_name></room_name> <hotel_name></hotel_name> <picture_list> <string></string> </picture_list> <bed_type_icon></bed_type_icon> <area_icon></area_icon> <max_occupancy_icon></max_occupancy_icon> </room_detail_dto> <max_check_in_number></max_check_in_number> <bed_type_desc></bed_type_desc> <room_area></room_area> <room_name></room_name> <hotel_name></hotel_name> <price_detail_dto> <total_price></total_price> <total_tax></total_tax> <total_room_price></total_room_price> <daily_prices> <daily_price> <really_price></really_price> <date></date> </daily_price> </daily_prices> <currency></currency> <days></days> <room_num></room_num> </price_detail_dto> <currency></currency> <total_price></total_price> <pay_type></pay_type> <cancel_dec></cancel_dec> <cancel_rule></cancel_rule> <pay_remain_time></pay_remain_time> <order_status></order_status> <outer_room_id></outer_room_id> <hotel_id></hotel_id> <out_rate_id></out_rate_id> <hotel_address></hotel_address> <refund_cost_amount></refund_cost_amount> <adult_number></adult_number> <children_number></children_number> <guest_by_room_dtos> <guest_by_room_dto> <contact_first_name></contact_first_name> <contact_last_name></contact_last_name> <roomer_number></roomer_number> <adult_roomer_number></adult_roomer_number> <child_roomer_number></child_roomer_number> <child_ages> <number></number> </child_ages> </guest_by_room_dto> </guest_by_room_dtos> <order_status_desc></order_status_desc> <payment_channel></payment_channel> <pms_code></pms_code> </content> <error_msg></error_msg> </result> </alitrip_merchant_galaxy_order_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>
错误码 | 错误描述 | 解决方案 |
---|