商旅机票改签航班询价
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| param_btrip_flight_modify_flight_info_rq | BtripFlightModifyFlightInfoRq | 可选 | 改签询价入参 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | HisvResult | 响应结果 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripBtripFlightDistributionChangeNewqueryRequest req = new AlitripBtripFlightDistributionChangeNewqueryRequest();
AlitripBtripFlightDistributionChangeNewqueryRequest.BtripFlightModifyFlightInfoRq obj1 = new AlitripBtripFlightDistributionChangeNewqueryRequest.BtripFlightModifyFlightInfoRq();
obj1.setDisOrderId("jianhang123");
obj1.setModifyFlightNo("Ck1231");
obj1.setModifyDepartDate("2021-01-01 10:10:00");
obj1.setDepCity("BJS");
obj1.setArrCity("HGH");
obj1.setIsVoluntary(1L);
obj1.setSubChannel("jianhang");
obj1.setSupplierCode("fliggy");
obj1.setSessionId("demo");
req.setParamBtripFlightModifyFlightInfoRq(obj1);
AlitripBtripFlightDistributionChangeNewqueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());
<alitrip_btrip_flight_distribution_change_newquery_response>
<result>
<module>
<flight_info_list>
<flight_info_d_t_o>
<flight_no>CK1232</flight_no>
<airline_info>
<airline_code>MU</airline_code>
<airline_name>demo</airline_name>
<airline_simple_name>demo</airline_simple_name>
</airline_info>
<dep_airport_info>
<airport_code>HGH</airport_code>
<airport_name>萧山国际机场</airport_name>
<terminal>--</terminal>
</dep_airport_info>
<arr_airport_info>
<airport_code>PKX</airport_code>
<airport_name>大兴国际机场</airport_name>
<terminal>--</terminal>
</arr_airport_info>
<is_share>true</is_share>
<carrier_no>CK1241</carrier_no>
<carrier_airline>demo</carrier_airline>
<lowest_cabin_price>
<modify_price>
<passenger_type>1</passenger_type>
<upgrade_fee>demo</upgrade_fee>
<upgrade_price>demo</upgrade_price>
<change_payment_price>demo</change_payment_price>
</modify_price>
</lowest_cabin_price>
<lowest_cabin_num>1</lowest_cabin_num>
<lowest_cabin>Y</lowest_cabin>
<lowest_cabin_class>Y</lowest_cabin_class>
<cabin_list>
<cabin_info>
<modify_price_list>
<modify_price>
<passenger_type>1</passenger_type>
<upgrade_fee>demo</upgrade_fee>
<upgrade_price>demo</upgrade_price>
<change_payment_price>demo</change_payment_price>
</modify_price>
</modify_price_list>
<left_num>1</left_num>
<cabin>demo</cabin>
<cabin_class>demo</cabin_class>
<cabin_desc>demo</cabin_desc>
<child_cabin>80</child_cabin>
<ota_itemid>demo</ota_itemid>
<change_ota_item_rule_rq>
<refund_details>
<change_ota_item_rule_r_q>
<title>退票规则</title>
<table_head>去程 北京-上海</table_head>
<type>0</type>
<index>0</index>
<refund_sub_items>
<refund_sub_item>
<title>特殊说明</title>
<ptc>0</ptc>
<content>如允许改期的客票在变更时产生票价差价,需加收差价费用,换开后客票提交退票,已收取的变更手续费不退。改期后提交退票,客票自填开之日起,一年内必须开始旅行,自首次旅行开始之日起,一年内运输有效;客票全部未使用的,则从填开客票之日起,一年内有效。</content>
<is_struct>false</is_struct>
<refund_sub_contents>
<refund_sub_content>
<fee_range>费用范围</fee_range>
<fee_desc>费用描述</fee_desc>
<style>前端样式</style>
</refund_sub_content>
</refund_sub_contents>
</refund_sub_item>
</refund_sub_items>
<extra_contents>
<refund_sub_item>
<title>备注题目</title>
<content>费用描述</content>
<icon>头像</icon>
</refund_sub_item>
</extra_contents>
</change_ota_item_rule_r_q>
</refund_details>
<change_details>
<refund_detail_show_v_o>
<title>退票规则/同舱改期规则/行李规则"</title>
<table_head>去程 北京-上海</table_head>
<type>1</type>
<index>0</index>
<refund_sub_items>
<refund_sub_item>
<title>特殊说明</title>
<ptc>0</ptc>
<content>如允许改期的客票在变更时产生票价差价,需加收差价费用,换开后客票提交退票,已收取的变更手续费不退。改期后提交退票,客票自填开之日起,一年内必须开始旅行,自首次旅行开始之日起,一年内运输有效;客票全部未使用的,则从填开客票之日起,一年内有效。</content>
<is_struct>false</is_struct>
<refund_sub_contents>
<refund_sub_content>
<fee_range>费用范围</fee_range>
<fee_desc>费用描述</fee_desc>
<style>前端样式</style>
</refund_sub_content>
</refund_sub_contents>
</refund_sub_item>
</refund_sub_items>
<extra_contents>
<refund_sub_item>
<title>备注题目</title>
<content>费用描述</content>
<icon>头像</icon>
</refund_sub_item>
</extra_contents>
</refund_detail_show_v_o>
</change_details>
<baggage_details>
<refund_detail_show_v_o>
<title>退票规则/同舱改期规则/行李规则</title>
<table_head>去程 北京-上海</table_head>
<type>1</type>
<index>1</index>
<baggage_sub_items>
<baggage_sub_item>
<title>成人/儿童/备注/说明</title>
<ptc>ADT</ptc>
<content>demo</content>
<is_struct>true</is_struct>
<baggage_sub_contents>
<baggage_sub_content>
<icon>链接</icon>
<sub_title>托运/手提</sub_title>
<baggage_desc>每人2件,每件20公斤,体积不可超过20*30*40厘米</baggage_desc>
<style>0</style>
</baggage_sub_content>
</baggage_sub_contents>
<baggage_sub_content_visualizes>
<baggage_sub_content_visualize>
<sub_title>子标题</sub_title>
<baggage_sub_content_type>1</baggage_sub_content_type>
<is_highlight>true</is_highlight>
<image_d_o>
<image>链接</image>
<largest>最大数量</largest>
<middle>中间</middle>
<smallest>最低</smallest>
</image_d_o>
<description>
<string>
<icon>demo</icon>
<image>demo</image>
<title>手提行李说明</title>
<desc>您可以随身携带上飞机客舱内的行李物品,由旅客自行负责保管。具体尺寸、重量、类型等以各航空公司规定为准</desc>
</string>
</description>
</baggage_sub_content_visualize>
</baggage_sub_content_visualizes>
</baggage_sub_item>
</baggage_sub_items>
<tips>
<logo>https://gw.alicdn.com/imgextra/i1/O1CN019zl3WZ22fNLxzx2cR_!!6000000007147-2-tps-125-45.png</logo>
<tips_desc>各个尺寸的行李箱有多大</tips_desc>
<tips_image>https://gw.alicdn.com/imgextra/i3/O1CN01rJxjw61f3bXNHAmlk_!!6000000003951-2-tps-1050-675.png</tips_image>
</tips>
</refund_detail_show_v_o>
</baggage_details>
</change_ota_item_rule_rq>
</cabin_info>
</cabin_list>
<modify_flight_dep_date>2021-08-01</modify_flight_dep_date>
<modify_flight_dep_time>2021-08-01 00:00:00</modify_flight_dep_time>
<modify_flight_arr_time>2021-08-01 00:00:00</modify_flight_arr_time>
<session_id>demo</session_id>
</flight_info_d_t_o>
</flight_info_list>
</module>
<result_code>01</result_code>
<result_msg>demo</result_msg>
<success>true</success>
</result>
</alitrip_btrip_flight_distribution_change_newquery_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|