【商旅】杭州市政府机票交易流水接口查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
rq | OpenApiZzdSearchRq | 可选 | 入参对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | HisvResultSupport | result | 出参 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBtripOpenSupplychainFlightTradeRequest req = new AlitripBtripOpenSupplychainFlightTradeRequest(); AlitripBtripOpenSupplychainFlightTradeRequest.OpenApiZzdSearchRq obj1 = new AlitripBtripOpenSupplychainFlightTradeRequest.OpenApiZzdSearchRq(); obj1.setThirdpartCorpId("testcorpid"); obj1.setOrderId(122222L); obj1.setEndDate("2021-04-01 00:00:00"); obj1.setPageSize(100L); obj1.setUserId("testuserId"); obj1.setApplyId(212321L); obj1.setPage(1L); obj1.setTradeId("290903890000"); obj1.setStartDate("2021-04-01 00:00:00"); req.setRq(obj1); AlitripBtripOpenSupplychainFlightTradeResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<alitrip_btrip_open_supplychain_flight_trade_response> <result> <success>true</success> <module_list> <open_api_zzd_flight_order_rs> <trade_id>898798787</trade_id> <trade_type>1</trade_type> <trade_action>676556576767</trade_action> <order_id>ijidhdihihi</order_id> <corp_id>sdfghgfd</corp_id> <thirdpart_corp_id>dkjkjksjk</thirdpart_corp_id> <user_id>testuser</user_id> <user_nick>testusernikc</user_nick> <depart_name>阿里商旅</depart_name> <apply_id>232323</apply_id> <third_part_apply_id>teststsss</third_part_apply_id> <apply_title>审批单</apply_title> <status>5</status> <gmt_create>2021-04-01 00:00:00</gmt_create> <gmt_modified>2021-04-01 00:00:00</gmt_modified> <pay_type>0</pay_type> <settle_type>1</settle_type> <amount>1000</amount> <corp_amount>500</corp_amount> <personal_amount>500</personal_amount> <refund_fee>400</refund_fee> <refund_service_fee>500</refund_service_fee> <service_fee>2</service_fee> <currency>CNY</currency> <approver>测试员工</approver> <settlement_batch_no>dsfsd202104</settlement_batch_no> <travel_standard_amount>40000</travel_standard_amount> <invoice_id>34343</invoice_id> <invoice_title>测试发票抬头</invoice_title> <project_code>ceshiproject</project_code> <project_title>测试项目名称</project_title> <thirdpart_itinerary_id>ddffff</thirdpart_itinerary_id> <itinerary_no>dddss</itinerary_no> <cost_center_list> <cost_center_do> <cost_center_id>wewwer</cost_center_id> <cost_center_title>成本中心</cost_center_title> <cost_center_number>dgsg-ss</cost_center_number> <third_cost_center_id>test-cost-center</third_cost_center_id> </cost_center_do> </cost_center_list> <client_infodos> <client_info_do> <user_id>2342344421</user_id> <user_name>测试用户</user_name> </client_info_do> </client_infodos> <change_fee>100</change_fee> <change_service_fee>50</change_service_fee> <delivery_fee>5000</delivery_fee> <insurance_fee>20</insurance_fee> <ticket_count>2</ticket_count> <passenger_count>1</passenger_count> <ticketdos> <open_ticket_do> <ticket_no>uuoojnmll</ticket_no> <is_changed>true</is_changed> <origin_ticket_no>3242342342</origin_ticket_no> <flight_no>wwxdx</flight_no> <airline_company>南航</airline_company> <airline_code>NH</airline_code> <dep_time>2021-04-01 00:00:00</dep_time> <arr_time>2021-04-01 00:00:00</arr_time> <dep_city_name>北京</dep_city_name> <arr_city_name>杭州</arr_city_name> <dep_airport>BJ</dep_airport> <arr_airport>HZ</arr_airport> <dep_airport_name>北京机场</dep_airport_name> <arr_airport_name>萧山机场</arr_airport_name> <cabin>N</cabin> <cabinclass>经济舱</cabinclass> <ticket_price>100</ticket_price> <discount>0.98</discount> <insurance_fee>10</insurance_fee> <oil>10</oil> <build>10</build> <currency>CNY</currency> <itinerary_num>21312312</itinerary_num> <passenger_name>测试人员</passenger_name> <insure_no>ewrwrwerefd</insure_no> <insure_status>1</insure_status> <insure_name>测试人员</insure_name> <ride_time>100</ride_time> </open_ticket_do> </ticketdos> <change_charge_fee>10000</change_charge_fee> <refund_charge_fee>10000</refund_charge_fee> <is_changed>true</is_changed> <is_refund>true</is_refund> </open_api_zzd_flight_order_rs> </module_list> <result_code>0</result_code> <result_msg>成功</result_msg> </result> </alitrip_btrip_open_supplychain_flight_trade_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|