Как получить данные json в список с помощью кода C#
как получить данные json в список с помощью кода c#..
моя проблема в том ,
я вызываю api, а затем возвращаю данные json, но эти данные не преобразуются в код c# и список отображения, поэтому , пожалуйста, предоставьте код в convert JSON data to c# code
мои данные json :-
{ "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": 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": 1, "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": 7 } }, "FareReference": "N" }, { "TPA_Extensions": { "Cabin": { "Cabin": "Y" }, "SeatsRemaining": { "BelowMin": false, "Number": 7 } }, "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": 6, "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-30T17:00:00", "ArrivalDateTime": "2016-07-31T01:37:00", "FlightNumber": 1837, "OperatingAirline": { "CompanyShortName": "AMERICAN AIRLINES", "FlightNumber": 180, "Code": "AA" }, "DepartureTimeZone": { "GMTOffset": -7 } }], "ElapsedTime": 337 }] }, "DirectionInd": "Return" }, "TPA_Extensions": { "ValidatingCarrier": { "Code": "AS" } }, "SequenceNumber": 10, "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": 335, "ResBookDesigCode": "Q", "MarriageGrp": "O", "Equipment": { "AirEquipType": 321 }, "DepartureDateTime": "2016-07-30T15:30:00", "ArrivalDateTime": "2016-07-31T00:05:00", "FlightNumber": 1779, "OperatingAirline": { "CompanyShortName": "AMERICAN AIRLINES", "FlightNumber": 22, "Code": "AA" }, "DepartureTimeZone": { "GMTOffset": -7 } }], "ElapsedTime": 335 }] }, "DirectionInd": "Return" }, "TPA_Extensions": { "ValidatingCarrier": { "Code": "AS" } }, "SequenceNumber": 8, "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": 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": 2, "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": 338, "ResBookDesigCode": "Q", "MarriageGrp": "O", "Equipment": { "AirEquipType": 321 }, "DepartureDateTime": "2016-07-30T21:15:00", "ArrivalDateTime": "2016-07-31T05:53:00", "FlightNumber": 1749, "OperatingAirline": { "CompanyShortName": "AMERICAN AIRLINES", "FlightNumber": 10, "Code": "AA" }, "DepartureTimeZone": { "GMTOffset": -7 } }], "ElapsedTime": 338 }] }, "DirectionInd": "Return" }, "TPA_Extensions": { "ValidatingCarrier": { "Code": "AS" } }, "SequenceNumber": 7, "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": 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": 3, "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": 7 } }, "FareReference": "N" }, { "TPA_Extensions": { "Cabin": { "Cabin": "Y" }, "SeatsRemaining": { "BelowMin": false, "Number": 7 } }, "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": 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": 5, "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-30T14:30:00", "ArrivalDateTime": "2016-07-30T23:04:00", "FlightNumber": 1794, "OperatingAirline": { "CompanyShortName": "AMERICAN AIRLINES", "FlightNumber": 32, "Code": "AA" }, "DepartureTimeZone": { "GMTOffset": -7 } }], "ElapsedTime": 334 }] }, "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" } }], "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>" }] }
Что я уже пробовал:
код класса моделей :-
public class DepartureAirport { public string LocationCode { get; set; } } public class ArrivalAirport { public string LocationCode { get; set; } } public class MarketingAirline { public string Code { get; set; } } public class ArrivalTimeZone { public int GMTOffset { get; set; } } public class ETicket { public bool Ind { get; set; } } public class TPAExtensions { public ETicket eTicket { get; set; } } public class Equipment { public object AirEquipType { get; set; } } public class OnTimePerformance { public int Level { get; set; } } public class OperatingAirline { public int FlightNumber { get; set; } public string Code { get; set; } public string CompanyShortName { get; set; } } public class DepartureTimeZone { public int GMTOffset { get; set; } } public class FlightSegment { public DepartureAirport DepartureAirport { get; set; } public ArrivalAirport ArrivalAirport { get; set; } public MarketingAirline MarketingAirline { get; set; } public ArrivalTimeZone ArrivalTimeZone { get; set; } public TPAExtensions TPA_Extensions { get; set; } public int StopQuantity { get; set; } public int ElapsedTime { get; set; } public string ResBookDesigCode { get; set; } public string MarriageGrp { get; set; } public Equipment Equipment { get; set; } public string DepartureDateTime { get; set; } public string ArrivalDateTime { get; set; } public int FlightNumber { get; set; } public OnTimePerformance OnTimePerformance { get; set; } public OperatingAirline OperatingAirline { get; set; } public DepartureTimeZone DepartureTimeZone { get; set; } } public class OriginDestinationOption { public List<flightsegment> FlightSegment { get; set; } public int ElapsedTime { get; set; } } public class OriginDestinationOptions { public List<origindestinationoption> OriginDestinationOption { get; set; } } public class AirItinerary { public OriginDestinationOptions OriginDestinationOptions { get; set; } public string DirectionInd { get; set; } } public class ValidatingCarrier { public string Code { get; set; } } public class TPAExtensions2 { public ValidatingCarrier ValidatingCarrier { get; set; } } public class FareBasisCode { public string BookingCode { get; set; } public string DepartureAirportCode { get; set; } public bool AvailabilityBreak { get; set; } public string ArrivalAirportCode { get; set; } public string content { get; set; } } public class FareBasisCodes { public List<farebasiscode> FareBasisCode { get; set; } } public class PassengerTypeQuantity { public int Quantity { get; set; } public string Code { get; set; } } public class FareConstruction { public string CurrencyCode { get; set; } public int DecimalPlaces { get; set; } public string Amount { get; set; } } public class TotalFare { public string CurrencyCode { get; set; } public string Amount { get; set; } } public class TotalTax { public string CurrencyCode { get; set; } public int DecimalPlaces { get; set; } public string Amount { get; set; } } public class Tax { public string CurrencyCode { get; set; } public int DecimalPlaces { get; set; } public string TaxCode { get; set; } public string Amount { get; set; } } public class Taxes { public TotalTax TotalTax { get; set; } public List<tax> Tax { get; set; } } public class BaseFare { public string CurrencyCode { get; set; } public string Amount { get; set; } } public class EquivFare { public string CurrencyCode { get; set; } public int DecimalPlaces { get; set; } public string Amount { get; set; } } public class PassengerFare { public FareConstruction FareConstruction { get; set; } public TotalFare TotalFare { get; set; } public Taxes Taxes { get; set; } public BaseFare BaseFare { get; set; } public EquivFare EquivFare { get; set; } } public class PTCFareBreakdown { public FareBasisCodes FareBasisCodes { get; set; } public PassengerTypeQuantity PassengerTypeQuantity { get; set; } public PassengerFare PassengerFare { get; set; } } public class PTCFareBreakdowns { public PTCFareBreakdown PTC_FareBreakdown { get; set; } } public class Cabin { public string Cabin { get; set; } } public class SeatsRemaining { public bool BelowMin { get; set; } public int Number { get; set; } } public class TPAExtensions3 { public Cabin Cabin { get; set; } public SeatsRemaining SeatsRemaining { get; set; } } public class FareInfo { public TPAExtensions3 TPA_Extensions { get; set; } public string FareReference { get; set; } } public class FareInfos { public List<fareinfo> FareInfo { get; set; } } public class DivideInParty { public bool Indicator { get; set; } } public class TPAExtensions4 { public DivideInParty DivideInParty { get; set; } } public class FareConstruction2 { public string CurrencyCode { get; set; } public int DecimalPlaces { get; set; } public string Amount { get; set; } } public class TotalFare2 { public string CurrencyCode { get; set; } public int DecimalPlaces { get; set; } public string Amount { get; set; } } public class Tax2 { public string CurrencyCode { get; set; } public int DecimalPlaces { get; set; } public string TaxCode { get; set; } public string Amount { get; set; } } public class Taxes2 { public List<tax2> Tax { get; set; } } public class BaseFare2 { public string CurrencyCode { get; set; } public int DecimalPlaces { get; set; } public string Amount { get; set; } } public class EquivFare2 { public string CurrencyCode { get; set; } public int DecimalPlaces { get; set; } public string Amount { get; set; } } public class ItinTotalFare { public FareConstruction2 FareConstruction { get; set; } public TotalFare2 TotalFare { get; set; } public Taxes2 Taxes { get; set; } public BaseFare2 BaseFare { get; set; } public EquivFare2 EquivFare { get; set; } } public class AirItineraryPricingInfo { public PTCFareBreakdowns PTC_FareBreakdowns { get; set; } public FareInfos FareInfos { get; set; } public TPAExtensions4 TPA_Extensions { get; set; } public ItinTotalFare ItinTotalFare { get; set; } } public class TicketingInfo { public string TicketType { get; set; } } public class PricedItinerary { public AirItinerary AirItinerary { get; set; } public TPAExtensions2 TPA_Extensions { get; set; } public int SequenceNumber { get; set; } public AirItineraryPricingInfo AirItineraryPricingInfo { get; set; } public TicketingInfo TicketingInfo { get; set; } } public class Link { public string rel { get; set; } public string href { get; set; } } public class RootObject { public List<priceditinerary> PricedItineraries { get; set; } public string ReturnDateTime { get; set; } public string DepartureDateTime { get; set; } public string DestinationLocation { get; set; } public string OriginLocation { get; set; } public List<Link> Links { get; set; } }
Suvendu Shekhar Giri
Слава богу, наконец-то я добрался до конца документа :
Richard MacCutchan
Пожалуйста, не просто сбрасывайте груз неформатированного кода и не ждите, что кто-то исправит его за вас. Пожалуйста, используйте Улучшить вопрос ссылка выше и отредактируйте свой вопрос, удалив весь код (включая большую часть JSON), который не имеет отношения к проблеме. Также, пожалуйста, используйте теги <pre>/pre> вокруг вашего кода, чтобы он был правильно отформатирован.
Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Сообщите нам точную проблему или исключение.