Travelport / travelport-uapi-tutorial-c-sharp

The travelport-uapi-tutorial-c-sharp is a C# project for Universal API that will help you connect and code a standard Air availablity call and Hotel search, details, and booking flow.
34 stars 30 forks source link

airpricereq return multi pricing #190

Open rehman22 opened 4 years ago

rehman22 commented 4 years ago

`

`

in response it return multiple air pricing solution

`

Taxes returned at the FareInfo level are for informational purposes only, and may differ from those returned at the Itinerary/Passenger Type levels. OMAN AIR OMAN AIR 6UUVoSldxwhZrwzc41DPvMbKj3F8T9EyxsqPcXxP0TLGyo9xfE/RMsuWFfXVd1OAly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAy9IRW295xdJ4bHmxr88+l3zd/VTAJtvZVr8KzIfx/D/F5+DQ8239iY0JvGTK9+7ACBsdQrBZlkzapQps0aJMjdjb9LtpUE34sCIbRqMTJch6v9tEaRJgF5C/YIEuJEels0yfsi0nJPq2lqxMa88CrhJTyB5x9tYSQLWhthMb3jl/TtsOR1tktQnNTmNloLHBmntJ2SB0imvly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovA2+QKPIWaRvq6oxE1UL944DjaSte7T4ddDlN7mTMg9Nh6Hdmyx0cyPEvK+w5RrWJbYRYMwQ757LHgFiv/cQsvrs= Economy Value EcoValue With a spacious 34-inch pitch, Oman Air's Economy Class offers everything the modern traveller needs to stay connected, informed and entertained. Value Economy includes: • Changes at a fee* • Refunds at a fee* • Checked baggage 2 bag x 15kg • Hand baggage 1 bag x 7kg • Standard seating complimentary • Choice seating at a discounted fee* • Extra legroom at a discounted fee* • Inflight dining • Inflight Entertainment • Wi-Fi available on selected aircraft for a fee • Lounge services available in Muscat and Bangkok for a fee • Earn 25% of flown miles as Sindbad miles • Upgrade eligibility with Sindbad miles *Please refer to fare rules for full conditions • Please note that if the flight is operated by another airline then the onboard product or service maybe different to that described above. Upgrade to Economy Value which includes the option to refund against a fee With a spacious 34-inch pitch, Oman Air's Economy Class offers everything the modern traveller needs to stay connected, informed and entertained. Value Economy includes: • Changes at a fee* • Refunds at a fee* • Checked baggage 2 bag x 15kg • Hand baggage 1 bag x 7kg • Standard seating complimentary • Choice seating at a discounted fee* • Extra legroom at a discounted fee* • Inflight dining • Inflight Entertainment • Wi-Fi available on selected aircraft for a fee • Lounge services available in Muscat and Bangkok for a fee • Earn 25% of flown miles as Sindbad miles • Upgrade eligibility with Sindbad miles *Please refer to fare rules for full conditions • Please note that if the flight is operated by another airline then the onboard product or service maybe different to that described above. Includes the option to refund against a fee https://cdn.travelport.com/omanair/WY_general_medium_59255.jpg https://cdn.travelport.com/omanair/WY_general_large_59256.jpg Checked baggage 2x15kg Take Everything you need 2 bag x 15kg maximum. Linear dimension: 158 cm/62 in (width + height + length) per bag. Guests holding valid Gold or Silver Sindbad Cards can check in 2 bags x 25kg as their total checked baggage allowance. 2 bag x 15kg maximum. Linear dimension: 158 cm/62 in (width + height + length) per bag. Guests holding valid Gold or Silver Sindbad Cards can check in 2 bags x 25kg as their total checked baggage allowance. Checked baggage 2x15kg Y,2,15,BAG Hand Baggage 1x7kg Carry what you need 1 bag x 7kg maximum Linear dimension of 115cms (45inches) per bag 1 bag x 7kg maximum Linear dimension of 115cms (45inches) per bag Hand Baggage 1x7kg Y,1,7,CY Refund Cancelling your reservation Refund Refund Rebooking Making changes to your reservation Rebooking Rebooking Seat assignment Pre select your preferred seat in advance If the flight is operated by another airline then the options to prebook seats might be different. If the flight is operated by another airline then the options to prebook seats might be different. Seat assignment Seating Meals and beverages Economy cabin On board catering Economy Passengers Our delicious and varied menus include international and Arabic dishes, are created using only the highest quality seasonal ingredients and are designed to complement the destinations to which we fly. To accompany your inflight dining experience, we offer a range of complimentary hot and cold drinks, including freshly brewed tea and coffee. Economy Passengers Our delicious and varied menus include international and Arabic dishes, are created using only the highest quality seasonal ingredients and are designed to complement the destinations to which we fly. To accompany your inflight dining experience, we offer a range of complimentary hot and cold drinks, including freshly brewed tea and coffee. Meals and beverages Economy cabin Meals WiFi Stay connected in the air Oman Air is delighted to offer WiFi access to passengers travelling on its Airbus 330 and Boeing 787 connected fleet. Prices start as low as $10 and provider guests with ability to stay connected with friends, family and the latest news and apps. Whichever cabin you are travelling in, you can send SMS or make calls to your friends, family or colleagues with our mobile services. Log-on and check emails, message your friends, surf the web and update your social media with Oman Air’s WYFi services. Oman Air is delighted to offer WiFi access to passengers travelling on its Airbus 330 and Boeing 787 connected fleet. Prices start as low as $10 and provider guests with ability to stay connected with friends, family and the latest news and apps. Whichever cabin you are travelling in, you can send SMS or make calls to your friends, family or colleagues with our mobile services. Log-on and check emails, message your friends, surf the web and update your social media with Oman Air’s WYFi services. WiFi WiFi Frequent Flyer Miles Earn Sinbad miles Sindbad miles are your key to exciting Rewards, exclusive privileges and benefits. Fly with Oman Air to any of our worldwide destinations and earn miles. The number of miles you earn depends on your itinerary, the cabin you choose, the booking class and your Sindbad Tier. It's easy to earn miles. Just provide your Sindbad number when you make your reservation. Sindbad miles are your key to exciting Rewards, exclusive privileges and benefits. Fly with Oman Air to any of our worldwide destinations and earn miles. The number of miles you earn depends on your itinerary, the cabin you choose, the booking class and your Sindbad Tier. It's easy to earn miles. Just provide your Sindbad number when you make your reservation. Frequent Flyer Miles Miles Lounge access Somewhere quiet to work or relax Oman Air operated lounges available in Muscat, Salalah and Bangkok. Experienced customer service team. Extensive offering of snacks and full dining options Full free WIFI internet access along with access to daily international newspapers, magazines and satellite TV. Shower rooms with bath robes, towels, toiletries, shaving kits and baby changing facilities. Oman Air operated lounges available in Muscat, Salalah and Bangkok. Experienced customer service team. Extensive offering of snacks and full dining options Full free WIFI internet access along with access to daily international newspapers, magazines and satellite TV. Shower rooms with bath robes, towels, toiletries, shaving kits and baby changing facilities. Lounge access Lounges Priority services Beat the queues at the airport Priority services FastTrk KHI WY X/MCT WY DXB 72.37NVEOWPK NUC72.37END ROE148.387683 PKR3000.0 PKR3000.0 VIEWTRIP.TRAVELPORT.COM/BAGGAGEPOLICY/WY 2P BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC. UPTO33LB/15KG AND UPTO62LI/158LCM UPTO33LB/15KG AND UPTO62LI/158LCM 1P UPTO15LB/7KG AND UPTO41LI/105LCM 1P UPTO15LB/7KG AND UPTO41LI/105LCM LAST DATE TO PURCHASE TICKET: 15JUL19 FARE HAS A PLATING CARRIER RESTRICTION E-TKT REQUIRED TICKETING FEES MAY APPLY GFB10101ADT00 01NVEOWPK 0200010002#GFB200010101NADTV3033PKGS001000049996# SEAT ASSIGNMENT WY 324 - PKR6210.00 PER PASSENGER SEAT ASSIGNMENT Per Travel SEAT ASSIGNMENT SEAT ASSIGNMENT WY 611 - PKR6210.00 PER PASSENGER SEAT ASSIGNMENT Per Travel SEAT ASSIGNMENT PET IN HOLD UP TO 23KG Per Item PET IN HOLD UP TO 23KG SPORTING EQUIPMENT 32KG 330LCM Per Item SPORTING EQUIPMENT 32KG 330LCM SPORTING EQUIPMENT MEDIUM Per Item SPORTING EQUIPMENT MEDIUM MUSICAL INSTRUMENTS LARGE Per Item MUSICAL INSTRUMENTS LARGE UPTO44LB 20KG AND62LI 158LCM Per Item UPTO44LB 20KG AND62LI 158LCM UPTO70LB 32KG AND55LI 140LCM Per Item UPTO70LB 32KG AND55LI 140LCM LOUNGE ACCESS 3 HOURS Per Travel LOUNGE ACCESS 3 HOURS 6UUVoSldxwhZrwzc41DPvMbKj3F8T9EyxsqPcXxP0TLGyo9xfE/RMsuWFfXVd1OAly5qxZ3qLwOXLmrFneovA5cuasWd6i8Dly5qxZ3qLwOXLmrFneovAy9IRW295xdJ4bHmxr88+l3zd/VTAJtvZeRwAm001odmVbw5UeEt3eIVPfmHEklPW7HLsXIO9cZvXmGQkyArgb81Hb7eSEt16TvQIlbeGa6Ahf6E18cRejF6+WRr8tqYPGfvjq7WaktklQw7SJOpI9pW8vSBNa8ZUmwC02UUzMsnIkhJZxAxGBVux4pI77ZhFm8VsKs8xypev4Xvb2u1Qx+/he9va7VDH7+F729rtUMfv4Xvb2u1Qx+/he9va7VDHzQapDbCAMr/TUGWlPDKj6v0aMBFljDuP9NE5OQYAbQxYF7AK/PoNQ5oXkhU+ZAeF9wXtO9a1rEPDkggljMpblU= Economy Freedom EcoFreedom With a spacious 34-inch pitch, Oman Air's Economy Class offers everything the modern traveller needs to stay connected, informed and entertained. Freedom Economy includes: • Changes permitted • Refunds at a fee* • Checked baggage 2 bag x 15kg • Hand baggage 1 bag x 7kg • Standard seating complimentary • Choice seating free • Extra legroom seating at a discounted fee* • Inflight dining • Inflight Entertainment • Wi-Fi available on selected aircraft for a fee • Lounge services available in Muscat and Bangkok for a fee • Earn 100% of flown miles as Sindbad miles (Y) • Earn 50% of flown miles as Sindbad miles (B,H,M) • Earn 25% of flown miles as Sindbad miles (K) • Upgrade eligibility with Sindbad miles *Please refer to fare rules for full conditions • Please note that if the flight is operated by another airline then the onboard product or service maybe different to that described above. Free changes with Economy Freedom fares With a spacious 34-inch pitch, Oman Air's Economy Class offers everything the modern traveller needs to stay connected, informed and entertained. Freedom Economy includes: • Changes permitted • Refunds at a fee* • Checked baggage 2 bag x 15kg • Hand baggage 1 bag x 7kg • Standard seating complimentary • Choice seating free • Extra legroom seating at a discounted fee* • Inflight dining • Inflight Entertainment • Wi-Fi available on selected aircraft for a fee • Lounge services available in Muscat and Bangkok for a fee • Earn 100% of flown miles as Sindbad miles (Y) • Earn 50% of flown miles as Sindbad miles (B,H,M) • Earn 25% of flown miles as Sindbad miles (K) • Upgrade eligibility with Sindbad miles *Please refer to fare rules for full conditions • Please note that if the flight is operated by another airline then the onboard product or service maybe different to that described above. Includes free of charge rebooking https://cdn.travelport.com/oman/WY_general_large_55907.jpg https://cdn.travelport.com/oman/WY_general_medium_55909.jpg Checked baggage 2x15kg Take Everything you need 2 bag x 15kg maximum. Linear dimension: 158 cm/62 in (width + height + length) per bag. Guests holding valid Gold or Silver Sindbad Cards can check in 2 bags x 25kg as their total checked baggage allowance. 2 bag x 15kg maximum. Linear dimension: 158 cm/62 in (width + height + length) per bag. Guests holding valid Gold or Silver Sindbad Cards can check in 2 bags x 25kg as their total checked baggage allowance. Checked baggage 2x15kg Y,2,15,BAG Hand Baggage 1x7kg Carry what you need 1 bag x 7kg maximum Linear dimension of 115cms (45inches) per bag 1 bag x 7kg maximum Linear dimension of 115cms (45inches) per bag Hand Baggage 1x7kg Y,1,7,CY Rebooking Making changes to your reservation Rebooking Rebooking Refund Cancelling your reservation Refund Refund Seat assignment Pre select your preferred seat in advance If the flight is operated by another airline then the options to prebook seats might be different. If the flight is operated by another airline then the options to prebook seats might be different. Seat assignment Seating Meals and beverages Economy cabin On board catering Economy Passengers Our delicious and varied menus include international and Arabic dishes, are created using only the highest quality seasonal ingredients and are designed to complement the destinations to which we fly. To accompany your inflight dining experience, we offer a range of complimentary hot and cold drinks, including freshly brewed tea and coffee. Economy Passengers Our delicious and varied menus include international and Arabic dishes, are created using only the highest quality seasonal ingredients and are designed to complement the destinations to which we fly. To accompany your inflight dining experience, we offer a range of complimentary hot and cold drinks, including freshly brewed tea and coffee. Meals and beverages Economy cabin Meals WiFi Stay connected in the air Oman Air is delighted to offer WiFi access to passengers travelling on its Airbus 330 and Boeing 787 connected fleet. Prices start as low as $10 and provider guests with ability to stay connected with friends, family and the latest news and apps. Whichever cabin you are travelling in, you can send SMS or make calls to your friends, family or colleagues with our mobile services. Log-on and check emails, message your friends, surf the web and update your social media with Oman Air’s WYFi services. Oman Air is delighted to offer WiFi access to passengers travelling on its Airbus 330 and Boeing 787 connected fleet. Prices start as low as $10 and provider guests with ability to stay connected with friends, family and the latest news and apps. Whichever cabin you are travelling in, you can send SMS or make calls to your friends, family or colleagues with our mobile services. Log-on and check emails, message your friends, surf the web and update your social media with Oman Air’s WYFi services. WiFi WiFi Frequent Flyer Miles Earn Sinbad miles Sindbad miles are your key to exciting Rewards, exclusive privileges and benefits. Fly with Oman Air to any of our worldwide destinations and earn miles. The number of miles you earn depends on your itinerary, the cabin you choose, the booking class and your Sindbad Tier. It's easy to earn miles. Just provide your Sindbad number when you make your reservation. Sindbad miles are your key to exciting Rewards, exclusive privileges and benefits. Fly with Oman Air to any of our worldwide destinations and earn miles. The number of miles you earn depends on your itinerary, the cabin you choose, the booking class and your Sindbad Tier. It's easy to earn miles. Just provide your Sindbad number when you make your reservation. Frequent Flyer Miles Miles Lounge access Somewhere quiet to work or relax Oman Air operated lounges available in Muscat, Salalah and Bangkok. Experienced customer service team. Extensive offering of snacks and full dining options Full free WIFI internet access along with access to daily international newspapers, magazines and satellite TV. Shower rooms with bath robes, towels, toiletries, shaving kits and baby changing facilities. Oman Air operated lounges available in Muscat, Salalah and Bangkok. Experienced customer service team. Extensive offering of snacks and full dining options Full free WIFI internet access along with access to daily international newspapers, magazines and satellite TV. Shower rooms with bath robes, towels, toiletries, shaving kits and baby changing facilities. Lounge access Lounges Priority services Beat the queues at the airport Priority services FastTrk KHI WY X/MCT WY DXB 166.72KFEOWPK NUC166.72END ROE148.387683 0.00 0.00 VIEWTRIP.TRAVELPORT.COM/BAGGAGEPOLICY/WY 2P BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC. UPTO33LB/15KG AND UPTO62LI/158LCM UPTO33LB/15KG AND UPTO62LI/158LCM 1P UPTO15LB/7KG AND UPTO41LI/105LCM 1P UPTO15LB/7KG AND UPTO41LI/105LCM GFB10101ADT00 01KFEOWPK 0200010002#GFB200010101NADTV3033PKGS001000049996# SEAT ASSIGNMENT WY 324 - PKR6210.00 PER PASSENGER SEAT ASSIGNMENT Per Travel SEAT ASSIGNMENT SEAT ASSIGNMENT WY 611 - PKR6210.00 PER PASSENGER SEAT ASSIGNMENT Per Travel SEAT ASSIGNMENT PET IN HOLD UP TO 23KG Per Item PET IN HOLD UP TO 23KG SPORTING EQUIPMENT 32KG 330LCM Per Item SPORTING EQUIPMENT 32KG 330LCM SPORTING EQUIPMENT MEDIUM Per Item SPORTING EQUIPMENT MEDIUM MUSICAL INSTRUMENTS LARGE Per Item MUSICAL INSTRUMENTS LARGE UPTO44LB 20KG AND62LI 158LCM Per Item UPTO44LB 20KG AND62LI 158LCM UPTO70LB 32KG AND55LI 140LCM Per Item UPTO70LB 32KG AND55LI 140LCM LOUNGE ACCESS 3 HOURS Per Travel LOUNGE ACCESS 3 HOURS ` it should return that which i selected
vivekjyotipramanik commented 4 years ago

Hi rehman22,

It might return multiple AirPricingSolution, ideally we should use the lowest fare, but it is up to you and you can use any of the AirPricingSolution. Thanks.