Deepak Awashti

Deepak Awashti

  • NA
  • 301
  • 74.2k

How to convert Json data to datatable in mvc4 using jquery.

Jul 26 2016 6:06 AM
How to convert Json data to datatable in mvc4 using jquery.
 
 
 
 
Json Data :-
 
{"PricedItineraries":[{"AirItinerary":{"OriginDestinationOptions":{"OriginDestinationOption":[{"FlightSegment":[{"DepartureAirport":{"LocationCode":"JFK"},"ArrivalAirport":{"LocationCode":"LAX"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-7},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":366,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-27T06:00:00","ArrivalDateTime":"2016-07-27T09:06:00","FlightNumber":171,"OnTimePerformance":{"Level":9},"OperatingAirline":{"FlightNumber":171,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-4}}],"ElapsedTime":366},{"FlightSegment":[{"DepartureAirport":{"LocationCode":"LAX"},"ArrivalAirport":{"LocationCode":"JFK"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-4},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":335,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-30T12:45:00","ArrivalDateTime":"2016-07-30T21:20:00","FlightNumber":34,"OnTimePerformance":{"Level":8},"OperatingAirline":{"FlightNumber":34,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-7}}],"ElapsedTime":335}]},"DirectionInd":"Return"},"TPA_Extensions":{"ValidatingCarrier":{"Code":"AA"}},"SequenceNumber":10,"AirItineraryPricingInfo":{"PTC_FareBreakdowns":{"PTC_FareBreakdown":{"FareBasisCodes":{"FareBasisCode":[{"BookingCode":"N","DepartureAirportCode":"JFK","AvailabilityBreak":true,"ArrivalAirportCode":"LAX","content":"NA00ZNJ1"},{"BookingCode":"N","DepartureAirportCode":"LAX","AvailabilityBreak":true,"ArrivalAirportCode":"JFK","content":"NA00ZNJ1"}]},"PassengerTypeQuantity":{"Quantity":1,"Code":"ADT"},"PassengerFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","Amount":"458.20"},"Taxes":{"TotalTax":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"58.20"},"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"US1","Amount":"30.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"ZP","Amount":"8.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"AY","Amount":"11.20"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"XF","Amount":"9.00"}]},"BaseFare":{"CurrencyCode":"USD","Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}}},"FareInfos":{"FareInfo":[{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"},{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"}]},"TPA_Extensions":{"DivideInParty":{"Indicator":false}},"ItinTotalFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"458.20"},"Taxes":{"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"TOTALTAX","Amount":"58.20"}]},"BaseFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}},"TicketingInfo":{"TicketType":"eTicket"}},{"AirItinerary":{"OriginDestinationOptions":{"OriginDestinationOption":[{"FlightSegment":[{"DepartureAirport":{"LocationCode":"JFK"},"ArrivalAirport":{"LocationCode":"LAX"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-7},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":366,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-27T06:00:00","ArrivalDateTime":"2016-07-27T09:06:00","FlightNumber":171,"OnTimePerformance":{"Level":9},"OperatingAirline":{"FlightNumber":171,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-4}}],"ElapsedTime":366},{"FlightSegment":[{"DepartureAirport":{"LocationCode":"LAX"},"ArrivalAirport":{"LocationCode":"JFK"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-4},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":329,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-30T09:00:00","ArrivalDateTime":"2016-07-30T17:29:00","FlightNumber":2,"OnTimePerformance":{"Level":6},"OperatingAirline":{"FlightNumber":2,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-7}}],"ElapsedTime":329}]},"DirectionInd":"Return"},"TPA_Extensions":{"ValidatingCarrier":{"Code":"AA"}},"SequenceNumber":6,"AirItineraryPricingInfo":{"PTC_FareBreakdowns":{"PTC_FareBreakdown":{"FareBasisCodes":{"FareBasisCode":[{"BookingCode":"N","DepartureAirportCode":"JFK","AvailabilityBreak":true,"ArrivalAirportCode":"LAX","content":"NA00ZNJ1"},{"BookingCode":"N","DepartureAirportCode":"LAX","AvailabilityBreak":true,"ArrivalAirportCode":"JFK","content":"NA00ZNJ1"}]},"PassengerTypeQuantity":{"Quantity":1,"Code":"ADT"},"PassengerFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","Amount":"458.20"},"Taxes":{"TotalTax":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"58.20"},"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"US1","Amount":"30.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"ZP","Amount":"8.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"AY","Amount":"11.20"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"XF","Amount":"9.00"}]},"BaseFare":{"CurrencyCode":"USD","Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}}},"FareInfos":{"FareInfo":[{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"},{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"}]},"TPA_Extensions":{"DivideInParty":{"Indicator":false}},"ItinTotalFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"458.20"},"Taxes":{"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"TOTALTAX","Amount":"58.20"}]},"BaseFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}},"TicketingInfo":{"TicketType":"eTicket"}},{"AirItinerary":{"OriginDestinationOptions":{"OriginDestinationOption":[{"FlightSegment":[{"DepartureAirport":{"LocationCode":"JFK"},"ArrivalAirport":{"LocationCode":"LAX"},"MarketingAirline":{"Code":"AS"},"ArrivalTimeZone":{"GMTOffset":-7},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":366,"ResBookDesigCode":"Q","MarriageGrp":"O","Equipment":{"AirEquipType":321},"DepartureDateTime":"2016-07-27T06:00:00","ArrivalDateTime":"2016-07-27T09:06:00","FlightNumber":1015,"OperatingAirline":{"CompanyShortName":"AMERICAN AIRLINES","FlightNumber":171,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-4}}],"ElapsedTime":366},{"FlightSegment":[{"DepartureAirport":{"LocationCode":"LAX"},"ArrivalAirport":{"LocationCode":"JFK"},"MarketingAirline":{"Code":"AS"},"ArrivalTimeZone":{"GMTOffset":-4},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":336,"ResBookDesigCode":"Q","MarriageGrp":"O","Equipment":{"AirEquipType":321},"DepartureDateTime":"2016-07-30T08:00:00","ArrivalDateTime":"2016-07-30T16:36:00","FlightNumber":1029,"OperatingAirline":{"CompanyShortName":"AMERICAN AIRLINES","FlightNumber":82,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-7}}],"ElapsedTime":336}]},"DirectionInd":"Return"},"TPA_Extensions":{"ValidatingCarrier":{"Code":"AS"}},"SequenceNumber":3,"AirItineraryPricingInfo":{"PTC_FareBreakdowns":{"PTC_FareBreakdown":{"FareBasisCodes":{"FareBasisCode":[{"BookingCode":"Q","DepartureAirportCode":"JFK","AvailabilityBreak":true,"ArrivalAirportCode":"LAX","content":"QA00ZNJ1"},{"BookingCode":"Q","DepartureAirportCode":"LAX","AvailabilityBreak":true,"ArrivalAirportCode":"JFK","content":"QA00ZNJ1"}]},"PassengerTypeQuantity":{"Quantity":1,"Code":"ADT"},"PassengerFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","Amount":"458.20"},"Taxes":{"TotalTax":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"58.20"},"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"US1","Amount":"30.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"ZP","Amount":"8.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"AY","Amount":"11.20"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"XF","Amount":"9.00"}]},"BaseFare":{"CurrencyCode":"USD","Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}}},"FareInfos":{"FareInfo":[{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":7}},"FareReference":"Q"},{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":7}},"FareReference":"Q"}]},"TPA_Extensions":{"DivideInParty":{"Indicator":false}},"ItinTotalFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"458.20"},"Taxes":{"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"TOTALTAX","Amount":"58.20"}]},"BaseFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}},"TicketingInfo":{"TicketType":"eTicket"}},{"AirItinerary":{"OriginDestinationOptions":{"OriginDestinationOption":[{"FlightSegment":[{"DepartureAirport":{"LocationCode":"JFK"},"ArrivalAirport":{"LocationCode":"LAX"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-7},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":366,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-27T06:00:00","ArrivalDateTime":"2016-07-27T09:06:00","FlightNumber":171,"OnTimePerformance":{"Level":9},"OperatingAirline":{"FlightNumber":171,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-4}}],"ElapsedTime":366},{"FlightSegment":[{"DepartureAirport":{"LocationCode":"LAX"},"ArrivalAirport":{"LocationCode":"JFK"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-4},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":334,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-30T14:30:00","ArrivalDateTime":"2016-07-30T23:04:00","FlightNumber":32,"OnTimePerformance":{"Level":8},"OperatingAirline":{"FlightNumber":32,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-7}}],"ElapsedTime":334}]},"DirectionInd":"Return"},"TPA_Extensions":{"ValidatingCarrier":{"Code":"AA"}},"SequenceNumber":5,"AirItineraryPricingInfo":{"PTC_FareBreakdowns":{"PTC_FareBreakdown":{"FareBasisCodes":{"FareBasisCode":[{"BookingCode":"N","DepartureAirportCode":"JFK","AvailabilityBreak":true,"ArrivalAirportCode":"LAX","content":"NA00ZNJ1"},{"BookingCode":"N","DepartureAirportCode":"LAX","AvailabilityBreak":true,"ArrivalAirportCode":"JFK","content":"NA00ZNJ1"}]},"PassengerTypeQuantity":{"Quantity":1,"Code":"ADT"},"PassengerFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","Amount":"458.20"},"Taxes":{"TotalTax":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"58.20"},"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"US1","Amount":"30.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"ZP","Amount":"8.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"AY","Amount":"11.20"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"XF","Amount":"9.00"}]},"BaseFare":{"CurrencyCode":"USD","Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}}},"FareInfos":{"FareInfo":[{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"},{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"}]},"TPA_Extensions":{"DivideInParty":{"Indicator":false}},"ItinTotalFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"458.20"},"Taxes":{"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"TOTALTAX","Amount":"58.20"}]},"BaseFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}},"TicketingInfo":{"TicketType":"eTicket"}},{"AirItinerary":{"OriginDestinationOptions":{"OriginDestinationOption":[{"FlightSegment":[{"DepartureAirport":{"LocationCode":"JFK"},"ArrivalAirport":{"LocationCode":"LAX"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-7},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":366,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-27T06:00:00","ArrivalDateTime":"2016-07-27T09:06:00","FlightNumber":171,"OnTimePerformance":{"Level":9},"OperatingAirline":{"FlightNumber":171,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-4}}],"ElapsedTime":366},{"FlightSegment":[{"DepartureAirport":{"LocationCode":"LAX"},"ArrivalAirport":{"LocationCode":"JFK"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-4},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":336,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-30T08:00:00","ArrivalDateTime":"2016-07-30T16:36:00","FlightNumber":82,"OnTimePerformance":{"Level":8},"OperatingAirline":{"FlightNumber":82,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-7}}],"ElapsedTime":336}]},"DirectionInd":"Return"},"TPA_Extensions":{"ValidatingCarrier":{"Code":"AA"}},"SequenceNumber":2,"AirItineraryPricingInfo":{"PTC_FareBreakdowns":{"PTC_FareBreakdown":{"FareBasisCodes":{"FareBasisCode":[{"BookingCode":"N","DepartureAirportCode":"JFK","AvailabilityBreak":true,"ArrivalAirportCode":"LAX","content":"NA00ZNJ1"},{"BookingCode":"N","DepartureAirportCode":"LAX","AvailabilityBreak":true,"ArrivalAirportCode":"JFK","content":"NA00ZNJ1"}]},"PassengerTypeQuantity":{"Quantity":1,"Code":"ADT"},"PassengerFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","Amount":"458.20"},"Taxes":{"TotalTax":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"58.20"},"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"US1","Amount":"30.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"ZP","Amount":"8.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"AY","Amount":"11.20"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"XF","Amount":"9.00"}]},"BaseFare":{"CurrencyCode":"USD","Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}}},"FareInfos":{"FareInfo":[{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"},{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"}]},"TPA_Extensions":{"DivideInParty":{"Indicator":false}},"ItinTotalFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"458.20"},"Taxes":{"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"TOTALTAX","Amount":"58.20"}]},"BaseFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}},"TicketingInfo":{"TicketType":"eTicket"}},{"AirItinerary":{"OriginDestinationOptions":{"OriginDestinationOption":[{"FlightSegment":[{"DepartureAirport":{"LocationCode":"JFK"},"ArrivalAirport":{"LocationCode":"LAX"},"MarketingAirline":{"Code":"AS"},"ArrivalTimeZone":{"GMTOffset":-7},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":366,"ResBookDesigCode":"Q","MarriageGrp":"O","Equipment":{"AirEquipType":321},"DepartureDateTime":"2016-07-27T06:00:00","ArrivalDateTime":"2016-07-27T09:06:00","FlightNumber":1015,"OperatingAirline":{"CompanyShortName":"AMERICAN AIRLINES","FlightNumber":171,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-4}}],"ElapsedTime":366},{"FlightSegment":[{"DepartureAirport":{"LocationCode":"LAX"},"ArrivalAirport":{"LocationCode":"JFK"},"MarketingAirline":{"Code":"AS"},"ArrivalTimeZone":{"GMTOffset":-4},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":329,"ResBookDesigCode":"Q","MarriageGrp":"O","Equipment":{"AirEquipType":321},"DepartureDateTime":"2016-07-30T09:00:00","ArrivalDateTime":"2016-07-30T17:29:00","FlightNumber":1645,"OperatingAirline":{"CompanyShortName":"AMERICAN AIRLINES","FlightNumber":2,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-7}}],"ElapsedTime":329}]},"DirectionInd":"Return"},"TPA_Extensions":{"ValidatingCarrier":{"Code":"AS"}},"SequenceNumber":1,"AirItineraryPricingInfo":{"PTC_FareBreakdowns":{"PTC_FareBreakdown":{"FareBasisCodes":{"FareBasisCode":[{"BookingCode":"Q","DepartureAirportCode":"JFK","AvailabilityBreak":true,"ArrivalAirportCode":"LAX","content":"QA00ZNJ1"},{"BookingCode":"Q","DepartureAirportCode":"LAX","AvailabilityBreak":true,"ArrivalAirportCode":"JFK","content":"QA00ZNJ1"}]},"PassengerTypeQuantity":{"Quantity":1,"Code":"ADT"},"PassengerFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","Amount":"458.20"},"Taxes":{"TotalTax":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"58.20"},"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"US1","Amount":"30.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"ZP","Amount":"8.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"AY","Amount":"11.20"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"XF","Amount":"9.00"}]},"BaseFare":{"CurrencyCode":"USD","Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}}},"FareInfos":{"FareInfo":[{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":7}},"FareReference":"Q"},{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":7}},"FareReference":"Q"}]},"TPA_Extensions":{"DivideInParty":{"Indicator":false}},"ItinTotalFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"458.20"},"Taxes":{"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"TOTALTAX","Amount":"58.20"}]},"BaseFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}},"TicketingInfo":{"TicketType":"eTicket"}},{"AirItinerary":{"OriginDestinationOptions":{"OriginDestinationOption":[{"FlightSegment":[{"DepartureAirport":{"LocationCode":"JFK"},"ArrivalAirport":{"LocationCode":"LAX"},"MarketingAirline":{"Code":"AS"},"ArrivalTimeZone":{"GMTOffset":-7},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":366,"ResBookDesigCode":"Q","MarriageGrp":"O","Equipment":{"AirEquipType":321},"DepartureDateTime":"2016-07-27T06:00:00","ArrivalDateTime":"2016-07-27T09:06:00","FlightNumber":1015,"OperatingAirline":{"CompanyShortName":"AMERICAN AIRLINES","FlightNumber":171,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-4}}],"ElapsedTime":366},{"FlightSegment":[{"DepartureAirport":{"LocationCode":"LAX"},"ArrivalAirport":{"LocationCode":"JFK"},"MarketingAirline":{"Code":"AS"},"ArrivalTimeZone":{"GMTOffset":-4},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":334,"ResBookDesigCode":"Q","MarriageGrp":"O","Equipment":{"AirEquipType":321},"DepartureDateTime":"2016-07-30T06:00:00","ArrivalDateTime":"2016-07-30T14:34:00","FlightNumber":1041,"OperatingAirline":{"CompanyShortName":"AMERICAN AIRLINES","FlightNumber":292,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-7}}],"ElapsedTime":334}]},"DirectionInd":"Return"},"TPA_Extensions":{"ValidatingCarrier":{"Code":"AS"}},"SequenceNumber":4,"AirItineraryPricingInfo":{"PTC_FareBreakdowns":{"PTC_FareBreakdown":{"FareBasisCodes":{"FareBasisCode":[{"BookingCode":"Q","DepartureAirportCode":"JFK","AvailabilityBreak":true,"ArrivalAirportCode":"LAX","content":"QA00ZNJ1"},{"BookingCode":"Q","DepartureAirportCode":"LAX","AvailabilityBreak":true,"ArrivalAirportCode":"JFK","content":"QA00ZNJ1"}]},"PassengerTypeQuantity":{"Quantity":1,"Code":"ADT"},"PassengerFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","Amount":"458.20"},"Taxes":{"TotalTax":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"58.20"},"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"US1","Amount":"30.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"ZP","Amount":"8.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"AY","Amount":"11.20"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"XF","Amount":"9.00"}]},"BaseFare":{"CurrencyCode":"USD","Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}}},"FareInfos":{"FareInfo":[{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":7}},"FareReference":"Q"},{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":7}},"FareReference":"Q"}]},"TPA_Extensions":{"DivideInParty":{"Indicator":false}},"ItinTotalFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"458.20"},"Taxes":{"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"TOTALTAX","Amount":"58.20"}]},"BaseFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}},"TicketingInfo":{"TicketType":"eTicket"}},{"AirItinerary":{"OriginDestinationOptions":{"OriginDestinationOption":[{"FlightSegment":[{"DepartureAirport":{"LocationCode":"JFK"},"ArrivalAirport":{"LocationCode":"LAX"},"MarketingAirline":{"Code":"AS"},"ArrivalTimeZone":{"GMTOffset":-7},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":366,"ResBookDesigCode":"Q","MarriageGrp":"O","Equipment":{"AirEquipType":321},"DepartureDateTime":"2016-07-27T06:00:00","ArrivalDateTime":"2016-07-27T09:06:00","FlightNumber":1015,"OperatingAirline":{"CompanyShortName":"AMERICAN AIRLINES","FlightNumber":171,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-4}}],"ElapsedTime":366},{"FlightSegment":[{"DepartureAirport":{"LocationCode":"LAX"},"ArrivalAirport":{"LocationCode":"JFK"},"MarketingAirline":{"Code":"AS"},"ArrivalTimeZone":{"GMTOffset":-4},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":337,"ResBookDesigCode":"Q","MarriageGrp":"O","Equipment":{"AirEquipType":321},"DepartureDateTime":"2016-07-30T22:45:00","ArrivalDateTime":"2016-07-31T07:22:00","FlightNumber":1219,"OperatingAirline":{"CompanyShortName":"AMERICAN AIRLINES","FlightNumber":28,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-7}}],"ElapsedTime":337}]},"DirectionInd":"Return"},"TPA_Extensions":{"ValidatingCarrier":{"Code":"AS"}},"SequenceNumber":9,"AirItineraryPricingInfo":{"PTC_FareBreakdowns":{"PTC_FareBreakdown":{"FareBasisCodes":{"FareBasisCode":[{"BookingCode":"Q","DepartureAirportCode":"JFK","AvailabilityBreak":true,"ArrivalAirportCode":"LAX","content":"QA00ZNJ1"},{"BookingCode":"Q","DepartureAirportCode":"LAX","AvailabilityBreak":true,"ArrivalAirportCode":"JFK","content":"QA00ZNJ1"}]},"PassengerTypeQuantity":{"Quantity":1,"Code":"ADT"},"PassengerFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","Amount":"458.20"},"Taxes":{"TotalTax":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"58.20"},"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"US1","Amount":"30.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"ZP","Amount":"8.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"AY","Amount":"11.20"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"XF","Amount":"9.00"}]},"BaseFare":{"CurrencyCode":"USD","Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}}},"FareInfos":{"FareInfo":[{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":7}},"FareReference":"Q"},{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":7}},"FareReference":"Q"}]},"TPA_Extensions":{"DivideInParty":{"Indicator":false}},"ItinTotalFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"458.20"},"Taxes":{"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"TOTALTAX","Amount":"58.20"}]},"BaseFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}},"TicketingInfo":{"TicketType":"eTicket"}},{"AirItinerary":{"OriginDestinationOptions":{"OriginDestinationOption":[{"FlightSegment":[{"DepartureAirport":{"LocationCode":"JFK"},"ArrivalAirport":{"LocationCode":"LAX"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-7},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":366,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-27T06:00:00","ArrivalDateTime":"2016-07-27T09:06:00","FlightNumber":171,"OnTimePerformance":{"Level":9},"OperatingAirline":{"FlightNumber":171,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-4}}],"ElapsedTime":366},{"FlightSegment":[{"DepartureAirport":{"LocationCode":"LAX"},"ArrivalAirport":{"LocationCode":"JFK"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-4},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":337,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-30T22:45:00","ArrivalDateTime":"2016-07-31T07:22:00","FlightNumber":28,"OnTimePerformance":{"Level":9},"OperatingAirline":{"FlightNumber":28,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-7}}],"ElapsedTime":337}]},"DirectionInd":"Return"},"TPA_Extensions":{"ValidatingCarrier":{"Code":"AA"}},"SequenceNumber":8,"AirItineraryPricingInfo":{"PTC_FareBreakdowns":{"PTC_FareBreakdown":{"FareBasisCodes":{"FareBasisCode":[{"BookingCode":"N","DepartureAirportCode":"JFK","AvailabilityBreak":true,"ArrivalAirportCode":"LAX","content":"NA00ZNJ1"},{"BookingCode":"N","DepartureAirportCode":"LAX","AvailabilityBreak":true,"ArrivalAirportCode":"JFK","content":"NA00ZNJ1"}]},"PassengerTypeQuantity":{"Quantity":1,"Code":"ADT"},"PassengerFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","Amount":"458.20"},"Taxes":{"TotalTax":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"58.20"},"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"US1","Amount":"30.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"ZP","Amount":"8.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"AY","Amount":"11.20"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"XF","Amount":"9.00"}]},"BaseFare":{"CurrencyCode":"USD","Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}}},"FareInfos":{"FareInfo":[{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"},{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"}]},"TPA_Extensions":{"DivideInParty":{"Indicator":false}},"ItinTotalFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"458.20"},"Taxes":{"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"TOTALTAX","Amount":"58.20"}]},"BaseFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}},"TicketingInfo":{"TicketType":"eTicket"}},{"AirItinerary":{"OriginDestinationOptions":{"OriginDestinationOption":[{"FlightSegment":[{"DepartureAirport":{"LocationCode":"JFK"},"ArrivalAirport":{"LocationCode":"LAX"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-7},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":366,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-27T06:00:00","ArrivalDateTime":"2016-07-27T09:06:00","FlightNumber":171,"OnTimePerformance":{"Level":9},"OperatingAirline":{"FlightNumber":171,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-4}}],"ElapsedTime":366},{"FlightSegment":[{"DepartureAirport":{"LocationCode":"LAX"},"ArrivalAirport":{"LocationCode":"JFK"},"MarketingAirline":{"Code":"AA"},"ArrivalTimeZone":{"GMTOffset":-4},"TPA_Extensions":{"eTicket":{"Ind":true}},"StopQuantity":0,"ElapsedTime":334,"ResBookDesigCode":"N","MarriageGrp":"O","Equipment":{"AirEquipType":"32B"},"DepartureDateTime":"2016-07-30T06:00:00","ArrivalDateTime":"2016-07-30T14:34:00","FlightNumber":292,"OnTimePerformance":{"Level":9},"OperatingAirline":{"FlightNumber":292,"Code":"AA"},"DepartureTimeZone":{"GMTOffset":-7}}],"ElapsedTime":334}]},"DirectionInd":"Return"},"TPA_Extensions":{"ValidatingCarrier":{"Code":"AA"}},"SequenceNumber":7,"AirItineraryPricingInfo":{"PTC_FareBreakdowns":{"PTC_FareBreakdown":{"FareBasisCodes":{"FareBasisCode":[{"BookingCode":"N","DepartureAirportCode":"JFK","AvailabilityBreak":true,"ArrivalAirportCode":"LAX","content":"NA00ZNJ1"},{"BookingCode":"N","DepartureAirportCode":"LAX","AvailabilityBreak":true,"ArrivalAirportCode":"JFK","content":"NA00ZNJ1"}]},"PassengerTypeQuantity":{"Quantity":1,"Code":"ADT"},"PassengerFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","Amount":"458.20"},"Taxes":{"TotalTax":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"58.20"},"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"US1","Amount":"30.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"ZP","Amount":"8.00"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"AY","Amount":"11.20"},{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"XF","Amount":"9.00"}]},"BaseFare":{"CurrencyCode":"USD","Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}}},"FareInfos":{"FareInfo":[{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"},{"TPA_Extensions":{"Cabin":{"Cabin":"Y"},"SeatsRemaining":{"BelowMin":false,"Number":4}},"FareReference":"N"}]},"TPA_Extensions":{"DivideInParty":{"Indicator":false}},"ItinTotalFare":{"FareConstruction":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"TotalFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"458.20"},"Taxes":{"Tax":[{"CurrencyCode":"USD","DecimalPlaces":2,"TaxCode":"TOTALTAX","Amount":"58.20"}]},"BaseFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"},"EquivFare":{"CurrencyCode":"USD","DecimalPlaces":2,"Amount":"400.00"}}},"TicketingInfo":{"TicketType":"eTicket"}}],"ReturnDateTime":"2016-07-30","DepartureDateTime":"2016-07-27","DestinationLocation":"LAX","OriginLocation":"JFK","Links":[{"rel":"self","href":"https://api.test.sabre.com/v1/shop/flights?origin=JFK&destination=LAX&departuredate=2016-07-27&returndate=2016-07-30&onlineitinerariesonly=N&limit=10&offset=1&eticketsonly=N&sortby=totalfare&order=asc&sortby2=departuretime&order2=asc&pointofsalecountry=US"},{"rel":"linkTemplate","href":"https://api.test.sabre.com/v1/shop/flights?origin=<origin>&destination=<destination>&departuredate=<departuredate>&returndate=<returndate>&offset=<offset>&limit=<limit>&sortby=<sortby>&order=<order>&sortby2=<sortby2>&order2=<order2>&minfare=<minfare>&maxfare=<maxfare>&includedcarriers=<includedcarriers>&excludedcarriers=<excludedcarriers>&outboundflightstops=<outboundflightstops>&inboundflightstops=<inboundflightstops>&outboundstopduration=<outboundstopduration>&inboundstopduration=<inboundstopduration>&outbounddeparturewindow=<outbounddeparturewindow>&outboundarrivalwindow=<outboundarrivalwindow>&inbounddeparturewindow=<inbounddeparturewindow>&inboundarrivalwindow=<inboundarrivalwindow>&onlineitinerariesonly=<onlineitinerariesonly>&eticketsonly=<eticketsonly>&includedconnectpoints=<includedconnectpoints>&excludedconnectpoints=<excludedconnectpoints>&pointofsalecountry=<pointofsalecountry>&passengercount=<passengercount>"}]}
 
 
 
 please help me its urgent ....... 
 
 
 

Answers (5)