商旅机票航班列表接口,用于分销询价
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 | 
|---|---|---|---|---|---|
| param_flight_search_list_r_q | BtripFlightSearchListRq | 可选 | 机票搜索入参 | ||
| 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 
| 名称 | 类型 | 示例值 | 描述 | 
|---|---|---|---|
| result | HisvResult | 响应结果 | |
| 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripBtripFlightDistributionFlightlistRequest req = new AlitripBtripFlightDistributionFlightlistRequest();
AlitripBtripFlightDistributionFlightlistRequest.BtripFlightSearchListRq obj1 = new AlitripBtripFlightDistributionFlightlistRequest.BtripFlightSearchListRq();
obj1.setAirlineCode("CA");
obj1.setArrCityCode("HGH");
obj1.setArrCityName("杭州");
obj1.setArrDate("2021-07-28");
obj1.setCabinClass("1");
obj1.setDepCityCode("BJS");
obj1.setDepCityName("北京");
obj1.setDepDate("2021-07-21");
obj1.setIgnoredShopNames("1,2");
obj1.setPassengerNum("1");
obj1.setShopNames("3,4");
obj1.setSubChannel("jianhang001");
List<AlitripBtripFlightDistributionFlightlistRequest.TravelerInfo> list3 = new ArrayList<AlitripBtripFlightDistributionFlightlistRequest.TravelerInfo>();
AlitripBtripFlightDistributionFlightlistRequest.TravelerInfo obj4 = new AlitripBtripFlightDistributionFlightlistRequest.TravelerInfo();
list3.add(obj4);
obj4.setCertNo("124325125");
obj4.setCertType("ID_CARD");
obj4.setName("张三");
obj4.setUserId("64782341");
obj1.setTravelerList(list3);
obj1.setTripType("0");
obj1.setFlightNo("CA1706");
obj1.setTransferFlightNo("demo");
obj1.setNeedMultiClassRice(false);
obj1.setIsvName("demo");
req.setParamFlightSearchListRQ(obj1);
AlitripBtripFlightDistributionFlightlistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
                <alitrip_btrip_flight_distribution_flightlist_response>
    <result>
        <module>
            <flight_list>
                <flight_info_dto>
                    <airline_info>
                        <airline_code>MU</airline_code>
                        <airline_name>demo</airline_name>
                        <airline_simple_name>demo</airline_simple_name>
                    </airline_info>
                    <arr_airport_info>
                        <airport_code>HGH</airport_code>
                        <airport_name>萧山国际机场</airport_name>
                        <terminal>--</terminal>
                    </arr_airport_info>
                    <build_price>5000</build_price>
                    <cabin>V</cabin>
                    <cabin_class>2</cabin_class>
                    <carrier_airline>上航</carrier_airline>
                    <carrier_no>FM9158</carrier_no>
                    <class_rule>[]</class_rule>
                    <dep_airport_info>
                        <airport_code>PKX</airport_code>
                        <airport_name>大兴国际机场</airport_name>
                        <terminal>--</terminal>
                    </dep_airport_info>
                    <dep_city_code>BJS</dep_city_code>
                    <dep_date>1626906000000</dep_date>
                    <flight_no>MU8471</flight_no>
                    <flight_rule_list>
                        <flight_rule>
                            <baggage_info>demo</baggage_info>
                            <change_rule>
                                <able>true</able>
                                <detail_list>
                                    <time_node_do>
                                        <title>demo</title>
                                        <content>demo</content>
                                        <time_stamp>0</time_stamp>
                                        <time_type>demo</time_type>
                                        <cost>0</cost>
                                        <cost_percent>0</cost_percent>
                                    </time_node_do>
                                </detail_list>
                            </change_rule>
                            <extra>demo</extra>
                            <refund_rule>
                                <able>true</able>
                                <detail_list>
                                    <time_node_do>
                                        <title>demo</title>
                                        <content>demo</content>
                                        <time_stamp>0</time_stamp>
                                        <time_type>demo</time_type>
                                        <cost>0</cost>
                                        <cost_percent>0</cost_percent>
                                    </time_node_do>
                                </detail_list>
                            </refund_rule>
                            <tuigaiqian_info>demo</tuigaiqian_info>
                            <sign_rule>
                                <able>true</able>
                                <detail_list>
                                    <time_node_do>
                                        <title>demo</title>
                                        <content>demo</content>
                                        <time_stamp>0</time_stamp>
                                        <time_type>demo</time_type>
                                        <cost>0</cost>
                                        <cost_percent>0</cost_percent>
                                    </time_node_do>
                                </detail_list>
                            </sign_rule>
                            <upgrade_rule>
                                <able>true</able>
                                <detail_list>
                                    <time_node_do>
                                        <title>demo</title>
                                        <content>demo</content>
                                        <time_stamp>0</time_stamp>
                                        <time_type>demo</time_type>
                                        <cost>0</cost>
                                        <cost_percent>0</cost_percent>
                                    </time_node_do>
                                </detail_list>
                            </upgrade_rule>
                        </flight_rule>
                    </flight_rule_list>
                    <invoice_type>2</invoice_type>
                    <is_share>true</is_share>
                    <is_stop>false</is_stop>
                    <is_transfer>false</is_transfer>
                    <memo>demo</memo>
                    <oil_price>0</oil_price>
                    <promotion_price>demo</promotion_price>
                    <remained_seat_count>A</remained_seat_count>
                    <secret_params>6_1340038573_2_21347904427</secret_params>
                    <segment_number>00</segment_number>
                    <stop_arr_time>demo</stop_arr_time>
                    <stop_city>demo</stop_city>
                    <stop_dep_time>demo</stop_dep_time>
                    <ticket_price>68000</ticket_price>
                    <total_price>73000</total_price>
                    <trip_type>0</trip_type>
                    <arr_date>1626906000000</arr_date>
                    <discount>45</discount>
                    <meal_desc>正餐</meal_desc>
                    <product_type_desc>标准产品</product_type_desc>
                    <transfer_info>
                        <transfer_flight_no>demo</transfer_flight_no>
                        <transfer_arr_date>2021-07-28</transfer_arr_date>
                        <transfer_dep_date>2021-07-28</transfer_dep_date>
                        <transfer_arr_airport_info>
                            <airport_code>demo</airport_code>
                            <airport_name>demo</airport_name>
                            <terminal>demo</terminal>
                        </transfer_arr_airport_info>
                        <transfer_dep_airport_info>
                            <airport_code>demo</airport_code>
                            <airport_name>demo</airport_name>
                            <terminal>demo</terminal>
                        </transfer_dep_airport_info>
                        <transfer_airline_info>
                            <airline_code>demo</airline_code>
                            <airline_name>demo</airline_name>
                            <airline_simple_name>demo</airline_simple_name>
                        </transfer_airline_info>
                        <transfer_flight_rule_list>
                            <flight_rule>
                                <baggage_info>demo</baggage_info>
                                <change_rule>
                                    <able>true</able>
                                    <detail_list>
                                        <time_node_d_o>
                                            <title>demo</title>
                                            <content>demo</content>
                                            <time_stamp>0</time_stamp>
                                            <time_type>demo</time_type>
                                            <cost>0</cost>
                                            <cost_percent>0</cost_percent>
                                        </time_node_d_o>
                                    </detail_list>
                                </change_rule>
                                <extra>demo</extra>
                                <tuigaiqian_info>demo</tuigaiqian_info>
                                <refund_rule>
                                    <able>true</able>
                                    <detail_list>
                                        <time_node_d_o>
                                            <title>demo</title>
                                            <content>demo</content>
                                            <time_stamp>0</time_stamp>
                                            <time_type>demo</time_type>
                                            <cost>0</cost>
                                            <cost_percent>0</cost_percent>
                                        </time_node_d_o>
                                    </detail_list>
                                </refund_rule>
                                <sign_rule>
                                    <able>true</able>
                                    <detail_list>
                                        <time_node_d_o>
                                            <title>demo</title>
                                            <content>demo</content>
                                            <time_stamp>0</time_stamp>
                                            <time_type>demo</time_type>
                                            <cost>0</cost>
                                            <cost_percent>0</cost_percent>
                                        </time_node_d_o>
                                    </detail_list>
                                </sign_rule>
                                <upgrade_rule>
                                    <able>true</able>
                                    <detail_list>
                                        <time_node_d_o>
                                            <title>demo</title>
                                            <content>demo</content>
                                            <time_stamp>0</time_stamp>
                                            <time_type>demo</time_type>
                                            <cost>0</cost>
                                            <cost_percent>0</cost_percent>
                                        </time_node_d_o>
                                    </detail_list>
                                </upgrade_rule>
                            </flight_rule>
                        </transfer_flight_rule_list>
                        <flight_size>demo</flight_size>
                        <flight_type>demo</flight_type>
                    </transfer_info>
                    <cabin_info_list>
                        <multi_cabin_class_info>
                            <price>1810</price>
                            <ticket_price>1810</ticket_price>
                            <remained_seat_count>demo</remained_seat_count>
                            <cabin>demo</cabin>
                            <class_name>demo</class_name>
                            <cabin_class>demo</cabin_class>
                            <cabin_class_name>demo</cabin_class_name>
                            <discount>demo</discount>
                            <promotion_price>demo</promotion_price>
                            <memo>demo</memo>
                            <order_params>demo</order_params>
                            <class_rule>demo</class_rule>
                            <flight_rule_list>
                                <flight_rule>
                                    <tuigaiqian_info>demo</tuigaiqian_info>
                                    <baggage_info>demo</baggage_info>
                                    <extra>demo</extra>
                                    <change_rule>
                                        <able>true</able>
                                        <detail_list>
                                            <time_node_d_o>
                                                <title>demo</title>
                                                <content>demo</content>
                                                <time_stamp>0</time_stamp>
                                                <time_type>demo</time_type>
                                                <cost>0</cost>
                                                <cost_percent>0</cost_percent>
                                            </time_node_d_o>
                                        </detail_list>
                                    </change_rule>
                                    <refund_rule>
                                        <able>true</able>
                                        <detail_list>
                                            <time_node_d_o>
                                                <title>demo</title>
                                                <content>demo</content>
                                                <time_stamp>0</time_stamp>
                                                <time_type>demo</time_type>
                                                <cost>0</cost>
                                                <cost_percent>0</cost_percent>
                                            </time_node_d_o>
                                        </detail_list>
                                    </refund_rule>
                                    <sign_rule>
                                        <able>true</able>
                                        <detail_list>
                                            <time_node_d_o>
                                                <title>demo</title>
                                                <content>demo</content>
                                                <time_stamp>0</time_stamp>
                                                <time_type>demo</time_type>
                                                <cost>0</cost>
                                                <cost_percent>0</cost_percent>
                                            </time_node_d_o>
                                        </detail_list>
                                    </sign_rule>
                                    <upgrade_rule>
                                        <able>true</able>
                                        <detail_list>
                                            <time_node_d_o>
                                                <title>demo</title>
                                                <content>demo</content>
                                                <time_stamp>0</time_stamp>
                                                <time_type>demo</time_type>
                                                <cost>0</cost>
                                                <cost_percent>0</cost_percent>
                                            </time_node_d_o>
                                        </detail_list>
                                    </upgrade_rule>
                                </flight_rule>
                            </flight_rule_list>
                            <product_type>demo</product_type>
                            <invoice_type>demo</invoice_type>
                            <is_protocol>true</is_protocol>
                            <product_type_desc>非标准产品</product_type_desc>
                            <child_cabin>Y</child_cabin>
                            <oil_price>2000</oil_price>
                            <build_price>5000</build_price>
                            <total_price>9000</total_price>
                        </multi_cabin_class_info>
                    </cabin_info_list>
                    <is_protocol>false</is_protocol>
                    <price>9900</price>
                    <flight_size>demo</flight_size>
                    <flight_type>demo</flight_type>
                </flight_info_dto>
            </flight_list>
            <is_replace_pnr>true</is_replace_pnr>
        </module>
        <result_code>0</result_code>
        <result_msg>demo</result_msg>
        <success>true</success>
    </result>
</alitrip_btrip_flight_distribution_flightlist_response>
                    <error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>
                    | 错误码 | 错误描述 | 解决方案 | 
|---|