{"action":"opened","issue":{"url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial/issues/196","repository_url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial","labels_url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial/issues/196/comments","events_url":"https://api.github.com/repos/Travelport/travelport-uapi-tutorial/issues/196/events","html_url":"https://github.com/Travelport/travelport-uapi-tutorial/issues/196","id":188832850,"number":196,"title":"How to get Flight information and price simultaneously","user":{"login":"IdrisHanafi","id":14638987,"avatar_url":"https://avatars.githubusercontent.com/u/14638987?v=3","gravatar_id":"","url":"https://api.github.com/users/IdrisHanafi","html_url":"https://github.com/IdrisHanafi","followers_url":"https://api.github.com/users/IdrisHanafi/followers","following_url":"https://api.github.com/users/IdrisHanafi/following{/other_user}","gists_url":"https://api.github.com/users/IdrisHanafi/gists{/gist_id}","starred_url":"https://api.github.com/users/IdrisHanafi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IdrisHanafi/subscriptions","organizations_url":"https://api.github.com/users/IdrisHanafi/orgs","repos_url":"https://api.github.com/users/IdrisHanafi/repos","events_url":"https://api.github.com/users/IdrisHanafi/events{/privacy}","received_events_url":"https://api.github.com/users/IdrisHanafi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-11T19:31:10Z","updated_at":"2016-11-11T19:31:10Z","closed_at":null,"body":"I am new to SOAP requests and the API and I got stuck in finding a way to get a response for a flight and the corresponding price for the flight. Currently, I can get the flight informations and the price but they are not done simultaneously.\r\nFor example, my XML requests below is: \r\n```\r\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <air:AvailabilitySearchReq TraceId=\"trace\" AuthorizedBy=\"user\" TargetBranch=\"P7017176\" xmlns:air=\"http://www.travelport.com/schema/air_v32_0\" xmlns:com=\"http://www.travelport.com/schema/common_v32_0\">\r\n         <com:BillingPointOfSaleInfo OriginApplication=\"UAPI\"/>\r\n         <air:SearchAirLeg>\r\n            <air:SearchOrigin>\r\n               <com:Airport Code=\"DTW\"/>\r\n            </air:SearchOrigin>\r\n            <air:SearchDestination>\r\n               <com:Airport Code=\"EDI\"/>\r\n            </air:SearchDestination>\r\n            <air:SearchDepTime PreferredTime=\"2016-12-12\">\r\n            </air:SearchDepTime>\r\n         </air:SearchAirLeg>\r\n      </air:AvailabilitySearchReq>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>\r\n```\r\n\r\nThe XML returns the flights information but not the prices for each flight. I have to then run another SOAP request to get the price for each flights using:\r\n```\r\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">\r\n<soapenv:Header/>\r\n<soapenv:Body>\r\n<air:AirPriceReq xmlns:air=\"http://www.travelport.com/schema/air_v34_0\" AuthorizedBy=\"user\" TargetBranch=\"P7017176\" TraceId=\"trace\">\r\n<com:BillingPointOfSaleInfo xmlns:com=\"http://www.travelport.com/schema/common_v34_0\" OriginApplication=\"UAPI\"/>\r\n<air:AirItinerary>\r\n<air:AirSegment ArrivalTime=\"2016-12-12T19:05:00.000-05:00\" AvailabilityDisplayType=\"General\" \r\nAvailabilitySource=\"S\" Carrier=\"UA\" ChangeOfPlane=\"false\" DepartureTime=\"2016-12-12T17:15:00.000-05:00\" Destination=\"EWR\" \r\nETicketability=\"Yes\" Equipment=\"E70\" FlightNumber=\"3541\" FlightTime=\"110\" Group=\"0\" Key=\"07gzsg3R2BKAXzomBAAAAA==\" \r\nLinkAvailability=\"true\" Origin=\"DTW\" ParticipantLevel=\"Secure Sell\" \r\nPolledAvailabilityOption=\"Polled avail used\" ProviderCode=\"1G\" TravelTime=\"560\"/>\r\n</air:AirItinerary>\r\n<com:SearchPassenger xmlns:com=\"http://www.travelport.com/schema/common_v34_0\" BookingTravelerRef=\"07gzsg3R2BKAWzomBAAAAA==\" Code=\"ADT\"/>\r\n<air:AirPricingCommand CabinClass=\"Business\"/>\r\n</air:AirPriceReq>\r\n</soapenv:Body>\r\n</soapenv:Envelope>\r\n```\r\n\r\nIs there a way so that I can get both the flight information and price at the same time?\r\nThanks!\r\n"}}
{"actor":{"display_login":"IdrisHanafi"}}