Advanced Calendar Search

The Advanced Calendar Search API returns the lowest published fares and flight itineraries for a given city pair.

In detail: the API uses the Travel Insight engine to retrieve up to 192 days of shopped fare data for a given city pair and length of stay available in the Sabre® cache. The API returns up to 200 lead fares (either nonstop or overall, whichever is lowest) with the corresponding flight itinerary and fare breakdown for each lead fare.

Multiple search preferences are available to sort and filter results, including the ability to:

  • limit flight options to online itineraries only, include/exclude carriers and specify particular days of the week;
  • specify multiple lengths of stay, a maximum number of stops;
  • connecting-flight time or a departure/arrival time window on each flight leg.

API Information

Target Audience
Sabre Travel Network
Current Version
v4.3.0
Authentication
Sessionless Token
Methods/Endpoints
POST v4.3.0/shop/calendar/flights HTTP/1.1

Ready to try the APIs?

Ready to get your hands dirty?

 Register Try the APIs

Ready to launch?

Ready to step up to the production level service? We're standing by to fit you for your spacesuit.

Request Production Key

GET v4.3.0/shop/calendar/flights/{requestid} HTTP/1.1

The Pagination Request endpoint has a required requestid URI variable which retrieves the set of tagged elements associated with a given request ID. A RequestID is returned for the tagged element data set when enabletagging=true is used in a previous Advanced Calendar Search API request.

GET v4.3.0/shop/calendar/flights/tags/{tagid} HTTP/1.1

The Tag ID Lookup endpoint has a required tagid URI variable which retrieves the tagged element for a given tag ID. Any valid Tag ID can be substituted for {tagid}. A TagID is returned with each tagged element when enabletagging=true used in a previous Advanced Calendar Search API request.

Business use cases

Specify weekday travel dates

You could use this API to feature one way/roundtrip, weekday flight options within a given month. For example, to search for flight options that depart in February on Thursdays and Fridays departing from San Francisco to Dallas - Fort Worth, use airport code "SFO" (San Francisco International) for origin and "DFW" (Dallas/Fort Worth International) for destination. The response will be flight itineraries departing only on Thursdays and Fridays in the month of February from "SFO" to "DFW."

Define the number of options to return per date pair

You could use this API to feature a maximum number of flight options per date pair, e.g., 20 date pairs with a maximum of 10 options per date pair. The response will be the 200 most inexpensive itineraries across the date range and with no pair receiving more than 20 itineraries.

Resources

Request

Query parameters

pointofsalecountry
string, optional
2-letter ISO 3166 country code
Retrieves data specific to a given point of sale country
Default value: US
Sample value: pointofsalecountry=DE
See usage notes: for more information on point of sale and supported point of sale countries.
view
string, optional
The response view definition
Only one value accepted
Sample values:
  • view=IF_ITIN_TOTAL_PRICE – a Sabre response view that excludes numerous response paths for the InstaFlights Search API
  • view=BFM_ITIN_TOTAL_PRICE – a Sabre response view that excludes numerous response paths for the Bargain Finder Max API
Valid values: see the Response View Lookup API for a list of Sabre response views. To create a custom response view, define the response paths to include or exclude using the Custom Response View API, then pass the view as a filter in the request URI, e.g., view=NOWARNINGS to format the response.
enabletagging
boolean, optional
Returns a RequestID for the element data set and stores in the Sabre cache:
  • The request ID can be used to make "paginated" calls (using limit and offset) via the Pagination Request URL
Returns a TagID for each element and stores in the Sabre cache:
Default value: false - does not return or store elements for subsequent calls to the Sabre cache
Valid values:
  • enabletagging=true - returns and stores elements for subsequent calls to the Sabre cache.
  • enabletagging=false - does not return or store elements for subsequent calls to the Sabre cache. If the default value of enabletagging=false is used, then the quantity specified in RequestType.Name will be returned.
limit
string or number, optional
The number of elements to retrieve per request
Default value: 50 (elements per request)
Sample value: limit=10
Maximum value: none (a value of limit=none retrieves all available elements)
Note: if limit is specified in the Pagination Request URL, then enabletagging=true must have been specified in the initial Advanced Calendar Search API request.
See usage notes: for sample scenarios to paginate elements for a given request ID with limit and offset parameters.
offset
number, optional
The starting position in the list of all elements that meet the query criteria
Default value: 1
Sample value: offset=10
Note: if offset is specified in the Pagination Request URL, then enabletagging=true must have been specified in the initial Advanced Calendar Search API request.
See usage notes: for sample scenarios to paginate elements for a given request ID with limit and offset parameters.

Request parameters

OTA_AirLowFareSearchRQ.POS.Source.PseudoCityCode
required
The customer PCC
OTA_AirLowFareSearchRQ.POS.Source.RequestorID.CompanyName.Code
required
The company code
Valid value: TN
OTA_AirLowFareSearchRQ.TPA_Extensions.IntelliSellTransaction.RequestType.Name
required
The type of request
Specifies the number of options returned for one-way, round-trip, single/double open jaw, and multi-destination trips with less than three legs
Valid value: ADC1000

Request headers

Content-Type
required
Valid value: Content-Type: application/json
Accept-Encoding
optional
To reduce network latency for large responses, request a compressed response. Include the "Accept-Encoding" HTTP header field in the request.
Valid value: Accept-Encoding: gzip

Response

RequestID
string
The request ID that corresponds to the element data set
A request ID is returned when enabletagging=true is used in a previous Advanced Calendar Search API request
The request ID can be used to make "paginated" calls (using limit and offset) via the Pagination Request URL
Note: request IDs have a finite lifetime of 30 minutes. Expiration values are subject to change without notice. 404 Not Found is returned if a given request ID is not found or expired.
TagID
string
The tag ID for the respective element
A tag ID is returned when enabletagging=true is used in a previous Advanced Calendar Search API request
The tag ID can be used to retrieve an element from the Tag ID Lookup URL
Note: tag IDs have a finite lifetime of 30 minutes. Expiration values are subject to change without notice. 404 Not Found is returned if a given tag ID is not found or expired.
Page
object
Returns associated "pagination" information:
  • Size, number
  • TotalTags, number
  • Offset, number
Size
number
The number of elements returned on the current page
TotalTags
number
The total number of tags cached from the initial request
Offset
number
Returns the value specified in offset
prevResults

object

Retrieves a previous set of elements in the request

The prevResults link is included when a request specifies a value for offset that is not 1. For API requests that support the offset and limit parameters, the prevResults link retrieves the previous set of response data. To calculate an offset, the API subtracts the value in limit from the offset in the current request.

nextResults

object

Retrieves the next set of elements in the request

In API requests that support the offset and limit parameters, a nextResults link is included. The nextResults link retrieves the next set of response data. To calculate an offset, the API adds the value in limit to the offset in the current request. When data is no longer available, the nextResults link is excluded, for example, no more published fares are available for retrieval for a given request.

Overall response links

Links
array
self
object
Returns the URL of the request that generated the response
paginatedRequestLinkTemplate
Formats an API request with placeholders to retrieve the element data set associated with a given request ID
tagLookupLinkTemplate
Formats an API request with placeholders to retrieve the element associated with a given tag ID
linkTemplate
Formats an API request with placeholders for required and optional query parameters

Examples: request and response

Download Examples

Requests and responses for this service are long, so these examples are simple. However, we have lots more examples that you can download.

Sample request

This example request demonstrates a simple circle trip.

POST https://api.sabre.com/v4.3.0/shop/calendar/flights
{
  "OTA_AirLowFareSearchRQ" : {
    "Target" : "Production",
    "Version" : "4.3.0",
    "POS" : {
      "Source" : [ {
        "PseudoCityCode" : "PCC",
        "RequestorID" : {
          "Type" : "0.AAA.X",
          "ID" : "REQ.ID",
          "CompanyName" : {
            "Code" : "TN"
          }
        }
      } ]
    },
    "OriginDestinationInformation" : [ {
      "RPH" : "1",
      "DepartureDates" : {
        "DaysRange" : [ {
          "FromDate" : "2018-04-07",
          "ToDate" : "2018-05-07"
        } ]
      },
      "OriginLocation" : {
        "LocationCode" : "JFK"
      },
      "DestinationLocation" : {
        "LocationCode" : "LAX"
      },
      "TPA_Extensions" : {
        "SegmentType" : {
          "Code" : "O"
        }
      }
    }, {
      "RPH" : "2",
      "DepartureDates" : {
        "LengthOfStayRange" : [ {
          "MinDays" : 5,
          "MaxDays" : 10
        } ]
      },
      "OriginLocation" : {
        "LocationCode" : "LAX"
      },
      "DestinationLocation" : {
        "LocationCode" : "JFK"
      },
      "TPA_Extensions" : {
        "SegmentType" : {
          "Code" : "O"
        }
      }
    } ],
    "TravelPreferences" : {
      "TPA_Extensions" : { }
    },
    "TravelerInfoSummary" : {
      "SeatsRequested" : [ 1 ],
      "AirTravelerAvail" : [ {
        "PassengerTypeQuantity" : [ {
          "Code" : "ADT",
          "Quantity" : 1
        } ]
      } ],
      "PriceRequestInformation" : {
        "TPA_Extensions" : { }
      }
    },
    "TPA_Extensions" : {
      "IntelliSellTransaction" : {
        "Debug" : false,
        "RequestType" : {
          "Name" : "ADC1000"
        },
        "SabreAth" : {
          "Value" : "",
          "BinarySecToken" : "",
          "ConversationID" : ""
        }
      }
    }
  }
}

Sample response

{
  "OTA_AirLowFareSearchRS" : {
    "PricedItinCount" : 9,
    "BrandedOneWayItinCount" : 0,
    "SimpleOneWayItinCount" : 0,
    "DepartedItinCount" : 0,
    "SoldOutItinCount" : 0,
    "AvailableItinCount" : 0,
    "Version" : "4.3.0",
    "Success" : { },
    "Warnings" : {
      "Warning" : [ {
        "Type" : "WORKERTHREAD",
        "ShortText" : "4500575996882051010",
        "Code" : "TRANSACTIONID",
        "MessageClass" : "I"
      }, {
        "Type" : "SERVER",
        "ShortText" : "27034",
        "Code" : "ICCHLI100",
        "MessageClass" : "I"
      }, {
        "Type" : "DEFAULT",
        "ShortText" : "55617",
        "Code" : "RULEID",
        "MessageClass" : "I"
      } ]
    },
    "PricedItineraries" : {
      "PricedItinerary" : [ {
        "SequenceNumber" : 1,
        "AirItinerary" : {
          "DirectionInd" : "Return",
          "OriginDestinationOptions" : {
            "OriginDestinationOption" : [ {
              "ElapsedTime" : 382,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-11T07:00:00",
                "ArrivalDateTime" : "2018-04-11T10:22:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1399",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 382,
                "DepartureAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1399"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "82"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2475
                  }
                }
              } ]
            }, {
              "ElapsedTime" : 574,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-18T17:25:00",
                "ArrivalDateTime" : "2018-04-18T18:33:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1480",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 68,
                "DepartureAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1480"
                },
                "Equipment" : [ {
                  "AirEquipType" : "321"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "91"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 236
                  }
                }
              }, {
                "DepartureDateTime" : "2018-04-18T22:00:00",
                "ArrivalDateTime" : "2018-04-19T05:59:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1260",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 299,
                "DepartureAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1260"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "92"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2248
                  }
                }
              } ]
            } ]
          }
        },
        "AirItineraryPricingInfo" : [ {
          "PricingSource" : "PUBCS1",
          "PricingSubSource" : "BCH",
          "FareReturned" : true,
          "CachedItin" : true,
          "CachePartition" : "USPUBLIC",
          "CachePartitionPriority" : 0,
          "CacheVersion" : "4.25",
          "TimeToLive" : 13828,
          "ItinTotalFare" : {
            "BaseFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "FareConstruction" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "EquivFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "Taxes" : {
              "Tax" : [ {
                "TaxCode" : "TOTALTAX",
                "Amount" : 54.81,
                "CurrencyCode" : "USD",
                "DecimalPlaces" : 2
              } ]
            },
            "TotalFare" : {
              "Amount" : 288.29,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            }
          },
          "PTC_FareBreakdowns" : {
            "PTC_FareBreakdown" : [ {
              "PassengerTypeQuantity" : {
                "Code" : "ADT",
                "Quantity" : 1
              },
              "FareBasisCodes" : {
                "FareBasisCode" : [ {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "JFK",
                  "ArrivalAirportCode" : "LAX",
                  "FareComponentBeginAirport" : "JFK",
                  "FareComponentEndAirport" : "LAX",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVUVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAX",
                  "ArrivalAirportCode" : "LAS",
                  "FareComponentBeginAirport" : "LAX",
                  "FareComponentEndAirport" : "LAS",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVXTVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAS",
                  "ArrivalAirportCode" : "JFK",
                  "FareComponentBeginAirport" : "LAS",
                  "FareComponentEndAirport" : "JFK",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RV7TXVN5"
                } ]
              },
              "PassengerFare" : {
                "BaseFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD"
                },
                "FareConstruction" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "EquivFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "Taxes" : {
                  "Tax" : [ {
                    "TaxCode" : "AY",
                    "Amount" : 11.2,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "XF",
                    "Amount" : 13.5,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "ZP",
                    "Amount" : 12.6,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "US1",
                    "Amount" : 17.51,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  } ],
                  "TotalTax" : {
                    "Amount" : 54.81,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  }
                },
                "TotalFare" : {
                  "Amount" : 288.29,
                  "CurrencyCode" : "USD"
                }
              },
              "Endorsements" : {
                "NonRefundableIndicator" : true
              },
              "FareInfos" : {
                "FareInfo" : [ {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                } ]
              }
            } ]
          },
          "FareInfos" : {
            "FareInfo" : [ {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            } ]
          },
          "TPA_Extensions" : {
            "DivideInParty" : {
              "Indicator" : false
            },
            "ValidatingCarrier" : [ {
              "SettlementMethod" : "ARC",
              "NewVcxProcess" : true,
              "Default" : {
                "Code" : "AS"
              }
            } ]
          }
        } ],
        "TicketingInfo" : {
          "TicketType" : "eTicket",
          "ValidInterline" : "Yes"
        },
        "TPA_Extensions" : {
          "ValidatingCarrier" : {
            "Code" : "AS"
          }
        }
      }, {
        "SequenceNumber" : 2,
        "AirItinerary" : {
          "DirectionInd" : "Return",
          "OriginDestinationOptions" : {
            "OriginDestinationOption" : [ {
              "ElapsedTime" : 382,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-11T07:00:00",
                "ArrivalDateTime" : "2018-04-11T10:22:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1399",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 382,
                "DepartureAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1399"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "82"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2475
                  }
                }
              } ]
            }, {
              "ElapsedTime" : 434,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-18T19:45:00",
                "ArrivalDateTime" : "2018-04-18T20:51:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1490",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 66,
                "DepartureAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1490"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "87"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 236
                  }
                }
              }, {
                "DepartureDateTime" : "2018-04-18T22:00:00",
                "ArrivalDateTime" : "2018-04-19T05:59:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1260",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 299,
                "DepartureAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1260"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "92"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2248
                  }
                }
              } ]
            } ]
          }
        },
        "AirItineraryPricingInfo" : [ {
          "PricingSource" : "PUBCS1",
          "PricingSubSource" : "BCH",
          "FareReturned" : true,
          "CachedItin" : true,
          "CachePartition" : "USPUBLIC",
          "CachePartitionPriority" : 0,
          "CacheVersion" : "4.25",
          "TimeToLive" : 13828,
          "ItinTotalFare" : {
            "BaseFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "FareConstruction" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "EquivFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "Taxes" : {
              "Tax" : [ {
                "TaxCode" : "TOTALTAX",
                "Amount" : 54.81,
                "CurrencyCode" : "USD",
                "DecimalPlaces" : 2
              } ]
            },
            "TotalFare" : {
              "Amount" : 288.29,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            }
          },
          "PTC_FareBreakdowns" : {
            "PTC_FareBreakdown" : [ {
              "PassengerTypeQuantity" : {
                "Code" : "ADT",
                "Quantity" : 1
              },
              "FareBasisCodes" : {
                "FareBasisCode" : [ {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "JFK",
                  "ArrivalAirportCode" : "LAX",
                  "FareComponentBeginAirport" : "JFK",
                  "FareComponentEndAirport" : "LAX",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVUVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAX",
                  "ArrivalAirportCode" : "LAS",
                  "FareComponentBeginAirport" : "LAX",
                  "FareComponentEndAirport" : "LAS",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVXTVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAS",
                  "ArrivalAirportCode" : "JFK",
                  "FareComponentBeginAirport" : "LAS",
                  "FareComponentEndAirport" : "JFK",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RV7TXVN5"
                } ]
              },
              "PassengerFare" : {
                "BaseFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD"
                },
                "FareConstruction" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "EquivFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "Taxes" : {
                  "Tax" : [ {
                    "TaxCode" : "AY",
                    "Amount" : 11.2,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "XF",
                    "Amount" : 13.5,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "ZP",
                    "Amount" : 12.6,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "US1",
                    "Amount" : 17.51,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  } ],
                  "TotalTax" : {
                    "Amount" : 54.81,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  }
                },
                "TotalFare" : {
                  "Amount" : 288.29,
                  "CurrencyCode" : "USD"
                }
              },
              "Endorsements" : {
                "NonRefundableIndicator" : true
              },
              "FareInfos" : {
                "FareInfo" : [ {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                } ]
              }
            } ]
          },
          "FareInfos" : {
            "FareInfo" : [ {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            } ]
          },
          "TPA_Extensions" : {
            "DivideInParty" : {
              "Indicator" : false
            },
            "ValidatingCarrier" : [ {
              "SettlementMethod" : "ARC",
              "NewVcxProcess" : true,
              "Default" : {
                "Code" : "AS"
              }
            } ]
          }
        } ],
        "TicketingInfo" : {
          "TicketType" : "eTicket",
          "ValidInterline" : "Yes"
        },
        "TPA_Extensions" : {
          "ValidatingCarrier" : {
            "Code" : "AS"
          }
        }
      }, {
        "SequenceNumber" : 3,
        "AirItinerary" : {
          "DirectionInd" : "Return",
          "OriginDestinationOptions" : {
            "OriginDestinationOption" : [ {
              "ElapsedTime" : 386,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-11T09:15:00",
                "ArrivalDateTime" : "2018-04-11T12:41:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1407",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 386,
                "DepartureAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1407"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "77"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2475
                  }
                }
              } ]
            }, {
              "ElapsedTime" : 574,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-18T17:25:00",
                "ArrivalDateTime" : "2018-04-18T18:33:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1480",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 68,
                "DepartureAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1480"
                },
                "Equipment" : [ {
                  "AirEquipType" : "321"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "91"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 236
                  }
                }
              }, {
                "DepartureDateTime" : "2018-04-18T22:00:00",
                "ArrivalDateTime" : "2018-04-19T05:59:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1260",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 299,
                "DepartureAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1260"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "92"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2248
                  }
                }
              } ]
            } ]
          }
        },
        "AirItineraryPricingInfo" : [ {
          "PricingSource" : "PUBCS1",
          "PricingSubSource" : "BCH",
          "FareReturned" : true,
          "CachedItin" : true,
          "CachePartition" : "USPUBLIC",
          "CachePartitionPriority" : 0,
          "CacheVersion" : "4.25",
          "TimeToLive" : 13828,
          "ItinTotalFare" : {
            "BaseFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "FareConstruction" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "EquivFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "Taxes" : {
              "Tax" : [ {
                "TaxCode" : "TOTALTAX",
                "Amount" : 54.81,
                "CurrencyCode" : "USD",
                "DecimalPlaces" : 2
              } ]
            },
            "TotalFare" : {
              "Amount" : 288.29,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            }
          },
          "PTC_FareBreakdowns" : {
            "PTC_FareBreakdown" : [ {
              "PassengerTypeQuantity" : {
                "Code" : "ADT",
                "Quantity" : 1
              },
              "FareBasisCodes" : {
                "FareBasisCode" : [ {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "JFK",
                  "ArrivalAirportCode" : "LAX",
                  "FareComponentBeginAirport" : "JFK",
                  "FareComponentEndAirport" : "LAX",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVUVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAX",
                  "ArrivalAirportCode" : "LAS",
                  "FareComponentBeginAirport" : "LAX",
                  "FareComponentEndAirport" : "LAS",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVXTVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAS",
                  "ArrivalAirportCode" : "JFK",
                  "FareComponentBeginAirport" : "LAS",
                  "FareComponentEndAirport" : "JFK",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RV7TXVN5"
                } ]
              },
              "PassengerFare" : {
                "BaseFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD"
                },
                "FareConstruction" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "EquivFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "Taxes" : {
                  "Tax" : [ {
                    "TaxCode" : "AY",
                    "Amount" : 11.2,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "XF",
                    "Amount" : 13.5,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "ZP",
                    "Amount" : 12.6,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "US1",
                    "Amount" : 17.51,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  } ],
                  "TotalTax" : {
                    "Amount" : 54.81,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  }
                },
                "TotalFare" : {
                  "Amount" : 288.29,
                  "CurrencyCode" : "USD"
                }
              },
              "Endorsements" : {
                "NonRefundableIndicator" : true
              },
              "FareInfos" : {
                "FareInfo" : [ {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                } ]
              }
            } ]
          },
          "FareInfos" : {
            "FareInfo" : [ {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            } ]
          },
          "TPA_Extensions" : {
            "DivideInParty" : {
              "Indicator" : false
            },
            "ValidatingCarrier" : [ {
              "SettlementMethod" : "ARC",
              "NewVcxProcess" : true,
              "Default" : {
                "Code" : "AS"
              }
            } ]
          }
        } ],
        "TicketingInfo" : {
          "TicketType" : "eTicket",
          "ValidInterline" : "Yes"
        },
        "TPA_Extensions" : {
          "ValidatingCarrier" : {
            "Code" : "AS"
          }
        }
      }, {
        "SequenceNumber" : 4,
        "AirItinerary" : {
          "DirectionInd" : "Return",
          "OriginDestinationOptions" : {
            "OriginDestinationOption" : [ {
              "ElapsedTime" : 381,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-11T11:30:00",
                "ArrivalDateTime" : "2018-04-11T14:51:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1409",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 381,
                "DepartureAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1409"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "67"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2475
                  }
                }
              } ]
            }, {
              "ElapsedTime" : 574,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-18T17:25:00",
                "ArrivalDateTime" : "2018-04-18T18:33:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1480",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 68,
                "DepartureAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1480"
                },
                "Equipment" : [ {
                  "AirEquipType" : "321"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "91"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 236
                  }
                }
              }, {
                "DepartureDateTime" : "2018-04-18T22:00:00",
                "ArrivalDateTime" : "2018-04-19T05:59:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1260",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 299,
                "DepartureAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1260"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "92"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2248
                  }
                }
              } ]
            } ]
          }
        },
        "AirItineraryPricingInfo" : [ {
          "PricingSource" : "PUBCS1",
          "PricingSubSource" : "BCH",
          "FareReturned" : true,
          "CachedItin" : true,
          "CachePartition" : "USPUBLIC",
          "CachePartitionPriority" : 0,
          "CacheVersion" : "4.25",
          "TimeToLive" : 13828,
          "ItinTotalFare" : {
            "BaseFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "FareConstruction" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "EquivFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "Taxes" : {
              "Tax" : [ {
                "TaxCode" : "TOTALTAX",
                "Amount" : 54.81,
                "CurrencyCode" : "USD",
                "DecimalPlaces" : 2
              } ]
            },
            "TotalFare" : {
              "Amount" : 288.29,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            }
          },
          "PTC_FareBreakdowns" : {
            "PTC_FareBreakdown" : [ {
              "PassengerTypeQuantity" : {
                "Code" : "ADT",
                "Quantity" : 1
              },
              "FareBasisCodes" : {
                "FareBasisCode" : [ {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "JFK",
                  "ArrivalAirportCode" : "LAX",
                  "FareComponentBeginAirport" : "JFK",
                  "FareComponentEndAirport" : "LAX",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVUVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAX",
                  "ArrivalAirportCode" : "LAS",
                  "FareComponentBeginAirport" : "LAX",
                  "FareComponentEndAirport" : "LAS",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVXTVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAS",
                  "ArrivalAirportCode" : "JFK",
                  "FareComponentBeginAirport" : "LAS",
                  "FareComponentEndAirport" : "JFK",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RV7TXVN5"
                } ]
              },
              "PassengerFare" : {
                "BaseFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD"
                },
                "FareConstruction" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "EquivFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "Taxes" : {
                  "Tax" : [ {
                    "TaxCode" : "AY",
                    "Amount" : 11.2,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "XF",
                    "Amount" : 13.5,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "ZP",
                    "Amount" : 12.6,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "US1",
                    "Amount" : 17.51,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  } ],
                  "TotalTax" : {
                    "Amount" : 54.81,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  }
                },
                "TotalFare" : {
                  "Amount" : 288.29,
                  "CurrencyCode" : "USD"
                }
              },
              "Endorsements" : {
                "NonRefundableIndicator" : true
              },
              "FareInfos" : {
                "FareInfo" : [ {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                } ]
              }
            } ]
          },
          "FareInfos" : {
            "FareInfo" : [ {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            } ]
          },
          "TPA_Extensions" : {
            "DivideInParty" : {
              "Indicator" : false
            },
            "ValidatingCarrier" : [ {
              "SettlementMethod" : "ARC",
              "NewVcxProcess" : true,
              "Default" : {
                "Code" : "AS"
              }
            } ]
          }
        } ],
        "TicketingInfo" : {
          "TicketType" : "eTicket",
          "ValidInterline" : "Yes"
        },
        "TPA_Extensions" : {
          "ValidatingCarrier" : {
            "Code" : "AS"
          }
        }
      }, {
        "SequenceNumber" : 5,
        "AirItinerary" : {
          "DirectionInd" : "Return",
          "OriginDestinationOptions" : {
            "OriginDestinationOption" : [ {
              "ElapsedTime" : 381,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-11T11:30:00",
                "ArrivalDateTime" : "2018-04-11T14:51:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1409",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 381,
                "DepartureAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1409"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "67"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2475
                  }
                }
              } ]
            }, {
              "ElapsedTime" : 434,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-18T19:45:00",
                "ArrivalDateTime" : "2018-04-18T20:51:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1490",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 66,
                "DepartureAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1490"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "87"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 236
                  }
                }
              }, {
                "DepartureDateTime" : "2018-04-18T22:00:00",
                "ArrivalDateTime" : "2018-04-19T05:59:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1260",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 299,
                "DepartureAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1260"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "92"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2248
                  }
                }
              } ]
            } ]
          }
        },
        "AirItineraryPricingInfo" : [ {
          "PricingSource" : "PUBCS1",
          "PricingSubSource" : "BCH",
          "FareReturned" : true,
          "CachedItin" : true,
          "CachePartition" : "USPUBLIC",
          "CachePartitionPriority" : 0,
          "CacheVersion" : "4.25",
          "TimeToLive" : 13828,
          "ItinTotalFare" : {
            "BaseFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "FareConstruction" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "EquivFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "Taxes" : {
              "Tax" : [ {
                "TaxCode" : "TOTALTAX",
                "Amount" : 54.81,
                "CurrencyCode" : "USD",
                "DecimalPlaces" : 2
              } ]
            },
            "TotalFare" : {
              "Amount" : 288.29,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            }
          },
          "PTC_FareBreakdowns" : {
            "PTC_FareBreakdown" : [ {
              "PassengerTypeQuantity" : {
                "Code" : "ADT",
                "Quantity" : 1
              },
              "FareBasisCodes" : {
                "FareBasisCode" : [ {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "JFK",
                  "ArrivalAirportCode" : "LAX",
                  "FareComponentBeginAirport" : "JFK",
                  "FareComponentEndAirport" : "LAX",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVUVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAX",
                  "ArrivalAirportCode" : "LAS",
                  "FareComponentBeginAirport" : "LAX",
                  "FareComponentEndAirport" : "LAS",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVXTVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAS",
                  "ArrivalAirportCode" : "JFK",
                  "FareComponentBeginAirport" : "LAS",
                  "FareComponentEndAirport" : "JFK",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RV7TXVN5"
                } ]
              },
              "PassengerFare" : {
                "BaseFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD"
                },
                "FareConstruction" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "EquivFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "Taxes" : {
                  "Tax" : [ {
                    "TaxCode" : "AY",
                    "Amount" : 11.2,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "XF",
                    "Amount" : 13.5,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "ZP",
                    "Amount" : 12.6,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "US1",
                    "Amount" : 17.51,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  } ],
                  "TotalTax" : {
                    "Amount" : 54.81,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  }
                },
                "TotalFare" : {
                  "Amount" : 288.29,
                  "CurrencyCode" : "USD"
                }
              },
              "Endorsements" : {
                "NonRefundableIndicator" : true
              },
              "FareInfos" : {
                "FareInfo" : [ {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                } ]
              }
            } ]
          },
          "FareInfos" : {
            "FareInfo" : [ {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            } ]
          },
          "TPA_Extensions" : {
            "DivideInParty" : {
              "Indicator" : false
            },
            "ValidatingCarrier" : [ {
              "SettlementMethod" : "ARC",
              "NewVcxProcess" : true,
              "Default" : {
                "Code" : "AS"
              }
            } ]
          }
        } ],
        "TicketingInfo" : {
          "TicketType" : "eTicket",
          "ValidInterline" : "Yes"
        },
        "TPA_Extensions" : {
          "ValidatingCarrier" : {
            "Code" : "AS"
          }
        }
      }, {
        "SequenceNumber" : 6,
        "AirItinerary" : {
          "DirectionInd" : "Return",
          "OriginDestinationOptions" : {
            "OriginDestinationOption" : [ {
              "ElapsedTime" : 384,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-11T13:00:00",
                "ArrivalDateTime" : "2018-04-11T16:24:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1411",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 384,
                "DepartureAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1411"
                },
                "Equipment" : [ {
                  "AirEquipType" : "321"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "80"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2475
                  }
                }
              } ]
            }, {
              "ElapsedTime" : 574,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-18T17:25:00",
                "ArrivalDateTime" : "2018-04-18T18:33:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1480",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 68,
                "DepartureAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1480"
                },
                "Equipment" : [ {
                  "AirEquipType" : "321"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "91"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 236
                  }
                }
              }, {
                "DepartureDateTime" : "2018-04-18T22:00:00",
                "ArrivalDateTime" : "2018-04-19T05:59:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1260",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 299,
                "DepartureAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1260"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "92"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2248
                  }
                }
              } ]
            } ]
          }
        },
        "AirItineraryPricingInfo" : [ {
          "PricingSource" : "PUBCS1",
          "PricingSubSource" : "BCH",
          "FareReturned" : true,
          "CachedItin" : true,
          "CachePartition" : "USPUBLIC",
          "CachePartitionPriority" : 0,
          "CacheVersion" : "4.25",
          "TimeToLive" : 13828,
          "ItinTotalFare" : {
            "BaseFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "FareConstruction" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "EquivFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "Taxes" : {
              "Tax" : [ {
                "TaxCode" : "TOTALTAX",
                "Amount" : 54.81,
                "CurrencyCode" : "USD",
                "DecimalPlaces" : 2
              } ]
            },
            "TotalFare" : {
              "Amount" : 288.29,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            }
          },
          "PTC_FareBreakdowns" : {
            "PTC_FareBreakdown" : [ {
              "PassengerTypeQuantity" : {
                "Code" : "ADT",
                "Quantity" : 1
              },
              "FareBasisCodes" : {
                "FareBasisCode" : [ {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "JFK",
                  "ArrivalAirportCode" : "LAX",
                  "FareComponentBeginAirport" : "JFK",
                  "FareComponentEndAirport" : "LAX",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVUVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAX",
                  "ArrivalAirportCode" : "LAS",
                  "FareComponentBeginAirport" : "LAX",
                  "FareComponentEndAirport" : "LAS",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVXTVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAS",
                  "ArrivalAirportCode" : "JFK",
                  "FareComponentBeginAirport" : "LAS",
                  "FareComponentEndAirport" : "JFK",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RV7TXVN5"
                } ]
              },
              "PassengerFare" : {
                "BaseFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD"
                },
                "FareConstruction" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "EquivFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "Taxes" : {
                  "Tax" : [ {
                    "TaxCode" : "AY",
                    "Amount" : 11.2,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "XF",
                    "Amount" : 13.5,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "ZP",
                    "Amount" : 12.6,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "US1",
                    "Amount" : 17.51,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  } ],
                  "TotalTax" : {
                    "Amount" : 54.81,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  }
                },
                "TotalFare" : {
                  "Amount" : 288.29,
                  "CurrencyCode" : "USD"
                }
              },
              "Endorsements" : {
                "NonRefundableIndicator" : true
              },
              "FareInfos" : {
                "FareInfo" : [ {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                } ]
              }
            } ]
          },
          "FareInfos" : {
            "FareInfo" : [ {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            } ]
          },
          "TPA_Extensions" : {
            "DivideInParty" : {
              "Indicator" : false
            },
            "ValidatingCarrier" : [ {
              "SettlementMethod" : "ARC",
              "NewVcxProcess" : true,
              "Default" : {
                "Code" : "AS"
              }
            } ]
          }
        } ],
        "TicketingInfo" : {
          "TicketType" : "eTicket",
          "ValidInterline" : "Yes"
        },
        "TPA_Extensions" : {
          "ValidatingCarrier" : {
            "Code" : "AS"
          }
        }
      }, {
        "SequenceNumber" : 7,
        "AirItinerary" : {
          "DirectionInd" : "Return",
          "OriginDestinationOptions" : {
            "OriginDestinationOption" : [ {
              "ElapsedTime" : 385,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-11T16:45:00",
                "ArrivalDateTime" : "2018-04-11T20:10:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1413",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 385,
                "DepartureAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1413"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "80"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2475
                  }
                }
              } ]
            }, {
              "ElapsedTime" : 574,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-18T17:25:00",
                "ArrivalDateTime" : "2018-04-18T18:33:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1480",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 68,
                "DepartureAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1480"
                },
                "Equipment" : [ {
                  "AirEquipType" : "321"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "91"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 236
                  }
                }
              }, {
                "DepartureDateTime" : "2018-04-18T22:00:00",
                "ArrivalDateTime" : "2018-04-19T05:59:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1260",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 299,
                "DepartureAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1260"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "92"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2248
                  }
                }
              } ]
            } ]
          }
        },
        "AirItineraryPricingInfo" : [ {
          "PricingSource" : "PUBCS1",
          "PricingSubSource" : "BCH",
          "FareReturned" : true,
          "CachedItin" : true,
          "CachePartition" : "USPUBLIC",
          "CachePartitionPriority" : 0,
          "CacheVersion" : "4.25",
          "TimeToLive" : 13828,
          "ItinTotalFare" : {
            "BaseFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "FareConstruction" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "EquivFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "Taxes" : {
              "Tax" : [ {
                "TaxCode" : "TOTALTAX",
                "Amount" : 54.81,
                "CurrencyCode" : "USD",
                "DecimalPlaces" : 2
              } ]
            },
            "TotalFare" : {
              "Amount" : 288.29,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            }
          },
          "PTC_FareBreakdowns" : {
            "PTC_FareBreakdown" : [ {
              "PassengerTypeQuantity" : {
                "Code" : "ADT",
                "Quantity" : 1
              },
              "FareBasisCodes" : {
                "FareBasisCode" : [ {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "JFK",
                  "ArrivalAirportCode" : "LAX",
                  "FareComponentBeginAirport" : "JFK",
                  "FareComponentEndAirport" : "LAX",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVUVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAX",
                  "ArrivalAirportCode" : "LAS",
                  "FareComponentBeginAirport" : "LAX",
                  "FareComponentEndAirport" : "LAS",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVXTVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAS",
                  "ArrivalAirportCode" : "JFK",
                  "FareComponentBeginAirport" : "LAS",
                  "FareComponentEndAirport" : "JFK",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RV7TXVN5"
                } ]
              },
              "PassengerFare" : {
                "BaseFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD"
                },
                "FareConstruction" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "EquivFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "Taxes" : {
                  "Tax" : [ {
                    "TaxCode" : "AY",
                    "Amount" : 11.2,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "XF",
                    "Amount" : 13.5,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "ZP",
                    "Amount" : 12.6,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "US1",
                    "Amount" : 17.51,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  } ],
                  "TotalTax" : {
                    "Amount" : 54.81,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  }
                },
                "TotalFare" : {
                  "Amount" : 288.29,
                  "CurrencyCode" : "USD"
                }
              },
              "Endorsements" : {
                "NonRefundableIndicator" : true
              },
              "FareInfos" : {
                "FareInfo" : [ {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                } ]
              }
            } ]
          },
          "FareInfos" : {
            "FareInfo" : [ {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            } ]
          },
          "TPA_Extensions" : {
            "DivideInParty" : {
              "Indicator" : false
            },
            "ValidatingCarrier" : [ {
              "SettlementMethod" : "ARC",
              "NewVcxProcess" : true,
              "Default" : {
                "Code" : "AS"
              }
            } ]
          }
        } ],
        "TicketingInfo" : {
          "TicketType" : "eTicket",
          "ValidInterline" : "Yes"
        },
        "TPA_Extensions" : {
          "ValidatingCarrier" : {
            "Code" : "AS"
          }
        }
      }, {
        "SequenceNumber" : 8,
        "AirItinerary" : {
          "DirectionInd" : "Return",
          "OriginDestinationOptions" : {
            "OriginDestinationOption" : [ {
              "ElapsedTime" : 385,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-11T16:45:00",
                "ArrivalDateTime" : "2018-04-11T20:10:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1413",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 385,
                "DepartureAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1413"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "80"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2475
                  }
                }
              } ]
            }, {
              "ElapsedTime" : 434,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-18T19:45:00",
                "ArrivalDateTime" : "2018-04-18T20:51:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1490",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 66,
                "DepartureAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1490"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "87"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 236
                  }
                }
              }, {
                "DepartureDateTime" : "2018-04-18T22:00:00",
                "ArrivalDateTime" : "2018-04-19T05:59:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1260",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 299,
                "DepartureAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1260"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "92"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2248
                  }
                }
              } ]
            } ]
          }
        },
        "AirItineraryPricingInfo" : [ {
          "PricingSource" : "PUBCS1",
          "PricingSubSource" : "BCH",
          "FareReturned" : true,
          "CachedItin" : true,
          "CachePartition" : "USPUBLIC",
          "CachePartitionPriority" : 0,
          "CacheVersion" : "4.25",
          "TimeToLive" : 13828,
          "ItinTotalFare" : {
            "BaseFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "FareConstruction" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "EquivFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "Taxes" : {
              "Tax" : [ {
                "TaxCode" : "TOTALTAX",
                "Amount" : 54.81,
                "CurrencyCode" : "USD",
                "DecimalPlaces" : 2
              } ]
            },
            "TotalFare" : {
              "Amount" : 288.29,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            }
          },
          "PTC_FareBreakdowns" : {
            "PTC_FareBreakdown" : [ {
              "PassengerTypeQuantity" : {
                "Code" : "ADT",
                "Quantity" : 1
              },
              "FareBasisCodes" : {
                "FareBasisCode" : [ {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "JFK",
                  "ArrivalAirportCode" : "LAX",
                  "FareComponentBeginAirport" : "JFK",
                  "FareComponentEndAirport" : "LAX",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVUVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAX",
                  "ArrivalAirportCode" : "LAS",
                  "FareComponentBeginAirport" : "LAX",
                  "FareComponentEndAirport" : "LAS",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVXTVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAS",
                  "ArrivalAirportCode" : "JFK",
                  "FareComponentBeginAirport" : "LAS",
                  "FareComponentEndAirport" : "JFK",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RV7TXVN5"
                } ]
              },
              "PassengerFare" : {
                "BaseFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD"
                },
                "FareConstruction" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "EquivFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "Taxes" : {
                  "Tax" : [ {
                    "TaxCode" : "AY",
                    "Amount" : 11.2,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "XF",
                    "Amount" : 13.5,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "ZP",
                    "Amount" : 12.6,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "US1",
                    "Amount" : 17.51,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  } ],
                  "TotalTax" : {
                    "Amount" : 54.81,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  }
                },
                "TotalFare" : {
                  "Amount" : 288.29,
                  "CurrencyCode" : "USD"
                }
              },
              "Endorsements" : {
                "NonRefundableIndicator" : true
              },
              "FareInfos" : {
                "FareInfo" : [ {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                } ]
              }
            } ]
          },
          "FareInfos" : {
            "FareInfo" : [ {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            } ]
          },
          "TPA_Extensions" : {
            "DivideInParty" : {
              "Indicator" : false
            },
            "ValidatingCarrier" : [ {
              "SettlementMethod" : "ARC",
              "NewVcxProcess" : true,
              "Default" : {
                "Code" : "AS"
              }
            } ]
          }
        } ],
        "TicketingInfo" : {
          "TicketType" : "eTicket",
          "ValidInterline" : "Yes"
        },
        "TPA_Extensions" : {
          "ValidatingCarrier" : {
            "Code" : "AS"
          }
        }
      }, {
        "SequenceNumber" : 9,
        "AirItinerary" : {
          "DirectionInd" : "Return",
          "OriginDestinationOptions" : {
            "OriginDestinationOption" : [ {
              "ElapsedTime" : 396,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-11T20:25:00",
                "ArrivalDateTime" : "2018-04-12T00:01:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1415",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 396,
                "DepartureAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1415"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "61"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2475
                  }
                }
              } ]
            }, {
              "ElapsedTime" : 574,
              "FlightSegment" : [ {
                "DepartureDateTime" : "2018-04-18T17:25:00",
                "ArrivalDateTime" : "2018-04-18T18:33:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1480",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 68,
                "DepartureAirport" : {
                  "LocationCode" : "LAX",
                  "TerminalID" : "6"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1480"
                },
                "Equipment" : [ {
                  "AirEquipType" : "321"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "91"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 236
                  }
                }
              }, {
                "DepartureDateTime" : "2018-04-18T22:00:00",
                "ArrivalDateTime" : "2018-04-19T05:59:00",
                "StopQuantity" : 0,
                "FlightNumber" : "1260",
                "ResBookDesigCode" : "R",
                "ElapsedTime" : 299,
                "DepartureAirport" : {
                  "LocationCode" : "LAS",
                  "TerminalID" : "3"
                },
                "ArrivalAirport" : {
                  "LocationCode" : "JFK",
                  "TerminalID" : "7"
                },
                "OperatingAirline" : {
                  "CompanyShortName" : "VIRGIN AMERICA",
                  "Code" : "VX",
                  "FlightNumber" : "1260"
                },
                "Equipment" : [ {
                  "AirEquipType" : "320"
                } ],
                "MarketingAirline" : {
                  "Code" : "AS"
                },
                "MarriageGrp" : "O",
                "DepartureTimeZone" : {
                  "GMTOffset" : -7.0
                },
                "ArrivalTimeZone" : {
                  "GMTOffset" : -4.0
                },
                "OnTimePerformance" : {
                  "Percentage" : "92"
                },
                "TPA_Extensions" : {
                  "eTicket" : {
                    "Ind" : true
                  },
                  "Mileage" : {
                    "Amount" : 2248
                  }
                }
              } ]
            } ]
          }
        },
        "AirItineraryPricingInfo" : [ {
          "PricingSource" : "PUBCS1",
          "PricingSubSource" : "BCH",
          "FareReturned" : true,
          "CachedItin" : true,
          "CachePartition" : "USPUBLIC",
          "CachePartitionPriority" : 0,
          "CacheVersion" : "4.25",
          "TimeToLive" : 13828,
          "ItinTotalFare" : {
            "BaseFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "FareConstruction" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "EquivFare" : {
              "Amount" : 233.48,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            },
            "Taxes" : {
              "Tax" : [ {
                "TaxCode" : "TOTALTAX",
                "Amount" : 54.81,
                "CurrencyCode" : "USD",
                "DecimalPlaces" : 2
              } ]
            },
            "TotalFare" : {
              "Amount" : 288.29,
              "CurrencyCode" : "USD",
              "DecimalPlaces" : 2
            }
          },
          "PTC_FareBreakdowns" : {
            "PTC_FareBreakdown" : [ {
              "PassengerTypeQuantity" : {
                "Code" : "ADT",
                "Quantity" : 1
              },
              "FareBasisCodes" : {
                "FareBasisCode" : [ {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "JFK",
                  "ArrivalAirportCode" : "LAX",
                  "FareComponentBeginAirport" : "JFK",
                  "FareComponentEndAirport" : "LAX",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVUVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAX",
                  "ArrivalAirportCode" : "LAS",
                  "FareComponentBeginAirport" : "LAX",
                  "FareComponentEndAirport" : "LAS",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RVXTVN5"
                }, {
                  "BookingCode" : "R",
                  "AvailabilityBreak" : true,
                  "DepartureAirportCode" : "LAS",
                  "ArrivalAirportCode" : "JFK",
                  "FareComponentBeginAirport" : "LAS",
                  "FareComponentEndAirport" : "JFK",
                  "FareComponentVendorCode" : "ATP",
                  "GovCarrier" : "AS",
                  "content" : "RV7TXVN5"
                } ]
              },
              "PassengerFare" : {
                "BaseFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD"
                },
                "FareConstruction" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "EquivFare" : {
                  "Amount" : 233.48,
                  "CurrencyCode" : "USD",
                  "DecimalPlaces" : 2
                },
                "Taxes" : {
                  "Tax" : [ {
                    "TaxCode" : "AY",
                    "Amount" : 11.2,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "XF",
                    "Amount" : 13.5,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "ZP",
                    "Amount" : 12.6,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 1
                  }, {
                    "TaxCode" : "US1",
                    "Amount" : 17.51,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  } ],
                  "TotalTax" : {
                    "Amount" : 54.81,
                    "CurrencyCode" : "USD",
                    "DecimalPlaces" : 2
                  }
                },
                "TotalFare" : {
                  "Amount" : 288.29,
                  "CurrencyCode" : "USD"
                }
              },
              "Endorsements" : {
                "NonRefundableIndicator" : true
              },
              "FareInfos" : {
                "FareInfo" : [ {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                }, {
                  "FareReference" : "R",
                  "TPA_Extensions" : {
                    "SeatsRemaining" : {
                      "Number" : 4,
                      "BelowMin" : false
                    },
                    "Cabin" : {
                      "Cabin" : "Y"
                    }
                  }
                } ]
              }
            } ]
          },
          "FareInfos" : {
            "FareInfo" : [ {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            }, {
              "FareReference" : "R",
              "TPA_Extensions" : {
                "SeatsRemaining" : {
                  "Number" : 4,
                  "BelowMin" : false
                },
                "Cabin" : {
                  "Cabin" : "Y"
                }
              }
            } ]
          },
          "TPA_Extensions" : {
            "DivideInParty" : {
              "Indicator" : false
            },
            "ValidatingCarrier" : [ {
              "SettlementMethod" : "ARC",
              "NewVcxProcess" : true,
              "Default" : {
                "Code" : "AS"
              }
            } ]
          }
        } ],
        "TicketingInfo" : {
          "TicketType" : "eTicket",
          "ValidInterline" : "Yes"
        },
        "TPA_Extensions" : {
          "ValidatingCarrier" : {
            "Code" : "AS"
          }
        }
      } ]
    }
  },
  "Links" : [ {
    "rel" : "self",
    "href" : "https://api.sabre.com/v4.3.0/shop/calendar/flights"
  }, {
    "rel" : "linkTemplate",
    "href" : "https://api.sabre.com//shop/calendar/flights?limit=&offset=&enabletagging="
  } ]
}

Additional examples for view, limit, tagging, pagination or pointofsalecountry parameter

Request

This example demonstrates a request to return a response that is formatted using a Sabre default response view.

https://api.sabre.com/v4.3.0/shop/calendar/flights?limit=1&enabletagging=true&view=BFM_ITIN_BASE_TAX_TOTAL_PRICE
{
  "OTA_AirLowFareSearchRQ": {

    "OriginDestinationInformation": [{
      "DepartureDateTime": "2016-08-20T00:00:00",
      "DestinationLocation": {
        "LocationCode": "DFW"
      },
      "OriginLocation": {
        "LocationCode": "LAX"
      },
      "RPH": "1"
    }, {
      "DepartureDateTime": "2016-08-21T00:00:00",
      "DestinationLocation": {
        "LocationCode": "LAX"
      },
      "OriginLocation": {
        "LocationCode": "DFW"
      },
      "RPH": "2"
    }],
    "POS": {
      "Source": [{
        "PseudoCityCode": "PCC",
        "RequestorID": {
          "CompanyName": {
            "Code": "TN"
          },
          "ID": "REQ.ID",
          "Type": "0.AAA.X"
        }
      }]
    },
    "TPA_Extensions": {
      "IntelliSellTransaction": {
        "RequestType": {
          "Name": "ADC1000"
        }
      }
    },
    "TravelPreferences": {
      "TPA_Extensions": {
        "NumTrips": {
          "Number": 1
        }
      }
    },

    "TravelerInfoSummary": {
      "AirTravelerAvail": [{
        "PassengerTypeQuantity": [{
          "Code": "ADT",
          "Quantity": 1
        }]

      }]
    }
  }
}

Response

{
  "OTA_AirLowFareSearchRS": {
    "PricedItineraries": {
      "PricedItinerary": [{
        "SequenceNumber": 1,
        "AirItinerary": {
          "OriginDestinationOptions": {
            "OriginDestinationOption": [{
              "FlightSegment": [{
                "DepartureDateTime": "2016-08-20T14:06:00",
                "ArrivalDateTime": "2016-08-20T19:13:00",
                "StopQuantity": 0,
                "FlightNumber": "2462",
                "DepartureAirport": {
                  "LocationCode": "LAX",
                  "TerminalID": " 0",
                  "content": ""
                },
                "ArrivalAirport": {
                  "LocationCode": "DFW",
                  "TerminalID": " 0",
                  "content": ""
                },
                "MarketingAirline": {
                  "Code": "AA",
                  "content": ""
                }
              }]
            }, {
              "FlightSegment": [{
                "DepartureDateTime": "2016-08-21T08:56:00",
                "ArrivalDateTime": "2016-08-21T10:19:00",
                "StopQuantity": 0,
                "FlightNumber": "2410",
                "DepartureAirport": {
                  "LocationCode": "DFW",
                  "TerminalID": " 0",
                  "content": ""
                },
                "ArrivalAirport": {
                  "LocationCode": "LAX",
                  "TerminalID": " 0",
                  "content": ""
                },
                "MarketingAirline": {
                  "Code": "AA",
                  "content": ""
                }
              }]
            }]
          }
        },
        "AirItineraryPricingInfo": [{
          "FareReturned": true,
          "ItinTotalFare": {
            "BaseFare": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "FareConstruction": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "EquivFare": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "Taxes": {
              "Tax": [{
                "TaxCode": "TOTALTAX",
                "Amount": 33.22,
                "CurrencyCode": "USD",
                "DecimalPlaces": 2,
                "content": ""
              }]
            },
            "TotalFare": {
              "Amount": 100.2,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            }
          }
        }]
      }]
    }
  },
  "RequestID": "BFM~ad54e66c-d703-4f73-b766-9212380c51c0",
  "Page": {
    "Size": 1,
    "TotalTags": 1,
    "Offset": 1
  },
  "Links": [{
    "rel": "self",
    "href": "https://api.sabre.com/v4.3.0/shop/calendar/flights?limit=1&enabletagging=true&view=BFM_ITIN_BASE_TAX_TOTAL_PRICE"
  }, {
    "rel": "linkTemplate",
    "href": "https://api.sabre.com/<version>/shop/calendar/flights?limit=<limit>&offset=<offset>&enabletagging=<enabletagging>"
  }, {
    "rel": "tagLookupLinkTemplate",
    "href": "https://api.sabre.com/<version>/shop/calendar/flights/tags/<tagid>"
  }, {
    "rel": "paginatedRequestLinkTemplate",
    "href": "https://api.sabre.com/<version>/shop/calendar/flights/<requestid>?limit=<limit>&offset=<offset>"
  }]
}

Request

This example demonstrates a request to return tag and request IDs using enabletagging=true, and a limit of 1.

https://api.sabre.com/v4.3.0/shop/calendar/flights?limit=1&enabletagging=true
{
  "OTA_AirLowFareSearchRQ": {

    "OriginDestinationInformation": [{
      "DepartureDateTime": "2016-08-20T00:00:00",
      "DestinationLocation": {
        "LocationCode": "DFW"
      },
      "OriginLocation": {
        "LocationCode": "LAX"
      },
      "RPH": "1"
    }, {
      "DepartureDateTime": "2016-08-21T00:00:00",
      "DestinationLocation": {
        "LocationCode": "LAX"
      },
      "OriginLocation": {
        "LocationCode": "DFW"
      },
      "RPH": "2"
    }],
    "POS": {
      "Source": [{
        "PseudoCityCode": "PCC",
        "RequestorID": {
          "CompanyName": {
            "Code": "TN"
          },
          "ID": "REQ.ID",
          "Type": "0.AAA.X"
        }
      }]
    },
    "TPA_Extensions": {
      "IntelliSellTransaction": {
        "RequestType": {
          "Name": "ADC1000"
        }
      }
    },
    "TravelPreferences": {
      "TPA_Extensions": {
        "NumTrips": {
          "Number": 1
        }
      }
    },

    "TravelerInfoSummary": {
      "AirTravelerAvail": [{
        "PassengerTypeQuantity": [{
          "Code": "ADT",
          "Quantity": 1
        }]

      }]
    }
  }
}

Response

{
  "OTA_AirLowFareSearchRS": {
    "PricedItineraries": {
      "PricedItinerary": [{
        "SequenceNumber": 1,
        "AirItinerary": {
          "DirectionInd": "Return",
          "OriginDestinationOptions": {
            "OriginDestinationOption": [{
              "ElapsedTime": 187,
              "FlightSegment": [{
                "DepartureDateTime": "2016-08-20T14:06:00",
                "ArrivalDateTime": "2016-08-20T19:13:00",
                "StopQuantity": 0,
                "FlightNumber": "2462",
                "ResBookDesigCode": "O",
                "ElapsedTime": 187,
                "DepartureAirport": {
                  "LocationCode": "LAX",
                  "TerminalID": " 0",
                  "content": ""
                },
                "ArrivalAirport": {
                  "LocationCode": "DFW",
                  "TerminalID": " 0",
                  "content": ""
                },
                "OperatingAirline": {
                  "Code": "AA",
                  "FlightNumber": "2462",
                  "content": ""
                },
                "Equipment": [{
                  "AirEquipType": "777",
                  "content": ""
                }],
                "MarketingAirline": {
                  "Code": "AA",
                  "content": ""
                },
                "MarriageGrp": "O",
                "DepartureTimeZone": {
                  "GMTOffset": -7
                },
                "ArrivalTimeZone": {
                  "GMTOffset": -5
                },
                "OnTimePerformance": {
                  "Level": "4"
                },
                "TPA_Extensions": {
                  "eTicket": {
                    "Ind": true
                  }
                }
              }]
            }, {
              "ElapsedTime": 203,
              "FlightSegment": [{
                "DepartureDateTime": "2016-08-21T08:56:00",
                "ArrivalDateTime": "2016-08-21T10:19:00",
                "StopQuantity": 0,
                "FlightNumber": "2410",
                "ResBookDesigCode": "O",
                "ElapsedTime": 203,
                "DepartureAirport": {
                  "LocationCode": "DFW",
                  "TerminalID": " 0",
                  "content": ""
                },
                "ArrivalAirport": {
                  "LocationCode": "LAX",
                  "TerminalID": " 0",
                  "content": ""
                },
                "OperatingAirline": {
                  "Code": "AA",
                  "FlightNumber": "2410",
                  "content": ""
                },
                "Equipment": [{
                  "AirEquipType": "757",
                  "content": ""
                }],
                "MarketingAirline": {
                  "Code": "AA",
                  "content": ""
                },
                "MarriageGrp": "O",
                "DepartureTimeZone": {
                  "GMTOffset": -5
                },
                "ArrivalTimeZone": {
                  "GMTOffset": -7
                },
                "OnTimePerformance": {
                  "Level": "6"
                },
                "TPA_Extensions": {
                  "eTicket": {
                    "Ind": true
                  }
                }
              }]
            }]
          }
        },
        "AirItineraryPricingInfo": [{
          "PricingSource": "PUBCS1",
          "PricingSubSource": "BCH",
          "FareReturned": true,
          "ItinTotalFare": {
            "BaseFare": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "FareConstruction": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "EquivFare": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "Taxes": {
              "Tax": [{
                "TaxCode": "TOTALTAX",
                "Amount": 33.22,
                "CurrencyCode": "USD",
                "DecimalPlaces": 2,
                "content": ""
              }]
            },
            "TotalFare": {
              "Amount": 100.2,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            }
          },
          "PTC_FareBreakdowns": {
            "PTC_FareBreakdown": [{
              "PassengerTypeQuantity": {
                "Code": "ADT",
                "Quantity": 1
              },
              "FareBasisCodes": {
                "FareBasisCode": [{
                  "BookingCode": "O",
                  "AvailabilityBreak": true,
                  "DepartureAirportCode": "LAX",
                  "ArrivalAirportCode": "DFW",
                  "FareComponentBeginAirport": "LAX",
                  "FareComponentEndAirport": "DFW",
                  "content": "OA14ZSL3"
                }, {
                  "BookingCode": "O",
                  "AvailabilityBreak": true,
                  "DepartureAirportCode": "DFW",
                  "ArrivalAirportCode": "LAX",
                  "FareComponentBeginAirport": "DFW",
                  "FareComponentEndAirport": "LAX",
                  "content": "OA14ZSL3"
                }]
              },
              "PassengerFare": {
                "BaseFare": {
                  "Amount": 66.98,
                  "CurrencyCode": "USD"
                },
                "FareConstruction": {
                  "Amount": 66.98,
                  "CurrencyCode": "USD",
                  "DecimalPlaces": 2
                },
                "EquivFare": {
                  "Amount": 66.98,
                  "CurrencyCode": "USD",
                  "DecimalPlaces": 2
                },
                "Taxes": {
                  "Tax": [{
                    "TaxCode": "US1",
                    "Amount": 5.02,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }, {
                    "TaxCode": "ZP",
                    "Amount": 8,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }, {
                    "TaxCode": "AY",
                    "Amount": 11.2,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }, {
                    "TaxCode": "XF",
                    "Amount": 9,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }],
                  "TotalTax": {
                    "Amount": 33.22,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2
                  }
                },
                "TotalFare": {
                  "Amount": 100.2,
                  "CurrencyCode": "USD"
                }
              },
              "FareInfos": {
                "FareInfo": [{
                  "FareReference": "O",
                  "TPA_Extensions": {
                    "SeatsRemaining": {
                      "Number": 5,
                      "BelowMin": false
                    },
                    "Cabin": {
                      "Cabin": "Y"
                    }
                  }
                }, {
                  "FareReference": "O",
                  "TPA_Extensions": {
                    "SeatsRemaining": {
                      "Number": 5,
                      "BelowMin": false
                    },
                    "Cabin": {
                      "Cabin": "Y"
                    }
                  }
                }]
              }
            }]
          },
          "FareInfos": {
            "FareInfo": [{
              "FareReference": "O",
              "TPA_Extensions": {
                "SeatsRemaining": {
                  "Number": 5,
                  "BelowMin": false
                },
                "Cabin": {
                  "Cabin": "Y"
                }
              }
            }, {
              "FareReference": "O",
              "TPA_Extensions": {
                "SeatsRemaining": {
                  "Number": 5,
                  "BelowMin": false
                },
                "Cabin": {
                  "Cabin": "Y"
                }
              }
            }]
          },
          "TPA_Extensions": {
            "DivideInParty": {
              "Indicator": false
            },
            "ValidatingCarrier": [{
              "SettlementMethod": "ARC",
              "NewVcxProcess": true,
              "Default": "AA"
            }]
          }
        }],
        "TicketingInfo": {
          "TicketType": "eTicket"
        },
        "TPA_Extensions": {
          "ValidatingCarrier": {
            "Code": "AA"
          },
          "TagID": "BFM~f431e366-1caf-4741-b231-143e77e11555~1"
        }
      }]
    }
  },
  "RequestID": "BFM~f431e366-1caf-4741-b231-143e77e11555",
  "Page": {
    "Size": 1,
    "TotalTags": 251,
    "Offset": 1
  },
  "Links": [{
    "rel": "self",
    "href": "https://api.sabre.com/v4.3.0/shop/calendar/flights?limit=1&enabletagging=true"
  }, {
    "rel": "linkTemplate",
    "href": "https://api.sabre.com/<version>/shop/calendar/flights?limit=<limit>&offset=<offset>&enabletagging=<enabletagging>"
  }, {
    "rel": "tagLookupLinkTemplate",
    "href": "https://api.sabre.com/<version>/shop/calendar/flights/tags/<tagid>"
  }, {
    "rel": "paginatedRequestLinkTemplate",
    "href": "https://api.sabre.com/<version>/shop/calendar/flights/<requestid>?limit=<limit>&offset=<offset>"
  }]
}

Request

This example demonstrates a request for a detailed itinerary from the Tag ID Lookup URL.

https://api.sabre.com/v4.3.0/shop/calendar/flights/tags/BFM~f431e366-1caf-4741-b231-143e77e11555~1
{
  "OTA_AirLowFareSearchRQ": {

    "OriginDestinationInformation": [{
      "DepartureDateTime": "2016-08-20T00:00:00",
      "DestinationLocation": {
        "LocationCode": "DFW"
      },
      "OriginLocation": {
        "LocationCode": "LAX"
      },
      "RPH": "1"
    }, {
      "DepartureDateTime": "2016-08-21T00:00:00",
      "DestinationLocation": {
        "LocationCode": "LAX"
      },
      "OriginLocation": {
        "LocationCode": "DFW"
      },
      "RPH": "2"
    }],
    "POS": {
      "Source": [{
        "PseudoCityCode": "PCC",
        "RequestorID": {
          "CompanyName": {
            "Code": "TN"
          },
          "ID": "REQ.ID",
          "Type": "0.AAA.X"
        }
      }]
    },
    "TPA_Extensions": {
      "IntelliSellTransaction": {
        "RequestType": {
          "Name": "ADC1000"
        }
      }
    },
    "TravelPreferences": {
      "TPA_Extensions": {
        "NumTrips": {
          "Number": 1
        }
      }
    },

    "TravelerInfoSummary": {
      "AirTravelerAvail": [{
        "PassengerTypeQuantity": [{
          "Code": "ADT",
          "Quantity": 1
        }]

      }]
    }
  }
}

Response

{
  "SequenceNumber": 1,
  "AirItinerary": {
    "DirectionInd": "Return",
    "OriginDestinationOptions": {
      "OriginDestinationOption": [{
        "ElapsedTime": 187,
        "FlightSegment": [{
          "DepartureDateTime": "2016-08-20T14:06:00",
          "ArrivalDateTime": "2016-08-20T19:13:00",
          "StopQuantity": 0,
          "FlightNumber": "2462",
          "ResBookDesigCode": "O",
          "ElapsedTime": 187,
          "DepartureAirport": {
            "LocationCode": "LAX",
            "TerminalID": " 0",
            "content": ""
          },
          "ArrivalAirport": {
            "LocationCode": "DFW",
            "TerminalID": " 0",
            "content": ""
          },
          "OperatingAirline": {
            "Code": "AA",
            "FlightNumber": "2462",
            "content": ""
          },
          "Equipment": [{
            "AirEquipType": "777",
            "content": ""
          }],
          "MarketingAirline": {
            "Code": "AA",
            "content": ""
          },
          "MarriageGrp": "O",
          "DepartureTimeZone": {
            "GMTOffset": -7
          },
          "ArrivalTimeZone": {
            "GMTOffset": -5
          },
          "OnTimePerformance": {
            "Level": "4"
          },
          "TPA_Extensions": {
            "eTicket": {
              "Ind": true
            }
          }
        }]
      }, {
        "ElapsedTime": 203,
        "FlightSegment": [{
          "DepartureDateTime": "2016-08-21T08:56:00",
          "ArrivalDateTime": "2016-08-21T10:19:00",
          "StopQuantity": 0,
          "FlightNumber": "2410",
          "ResBookDesigCode": "O",
          "ElapsedTime": 203,
          "DepartureAirport": {
            "LocationCode": "DFW",
            "TerminalID": " 0",
            "content": ""
          },
          "ArrivalAirport": {
            "LocationCode": "LAX",
            "TerminalID": " 0",
            "content": ""
          },
          "OperatingAirline": {
            "Code": "AA",
            "FlightNumber": "2410",
            "content": ""
          },
          "Equipment": [{
            "AirEquipType": "757",
            "content": ""
          }],
          "MarketingAirline": {
            "Code": "AA",
            "content": ""
          },
          "MarriageGrp": "O",
          "DepartureTimeZone": {
            "GMTOffset": -5
          },
          "ArrivalTimeZone": {
            "GMTOffset": -7
          },
          "OnTimePerformance": {
            "Level": "6"
          },
          "TPA_Extensions": {
            "eTicket": {
              "Ind": true
            }
          }
        }]
      }]
    }
  },
  "AirItineraryPricingInfo": [{
    "PricingSource": "PUBCS1",
    "PricingSubSource": "BCH",
    "FareReturned": true,
    "ItinTotalFare": {
      "BaseFare": {
        "Amount": 66.98,
        "CurrencyCode": "USD",
        "DecimalPlaces": 2
      },
      "FareConstruction": {
        "Amount": 66.98,
        "CurrencyCode": "USD",
        "DecimalPlaces": 2
      },
      "EquivFare": {
        "Amount": 66.98,
        "CurrencyCode": "USD",
        "DecimalPlaces": 2
      },
      "Taxes": {
        "Tax": [{
          "TaxCode": "TOTALTAX",
          "Amount": 33.22,
          "CurrencyCode": "USD",
          "DecimalPlaces": 2,
          "content": ""
        }]
      },
      "TotalFare": {
        "Amount": 100.2,
        "CurrencyCode": "USD",
        "DecimalPlaces": 2
      }
    },
    "PTC_FareBreakdowns": {
      "PTC_FareBreakdown": [{
        "PassengerTypeQuantity": {
          "Code": "ADT",
          "Quantity": 1
        },
        "FareBasisCodes": {
          "FareBasisCode": [{
            "BookingCode": "O",
            "AvailabilityBreak": true,
            "DepartureAirportCode": "LAX",
            "ArrivalAirportCode": "DFW",
            "FareComponentBeginAirport": "LAX",
            "FareComponentEndAirport": "DFW",
            "content": "OA14ZSL3"
          }, {
            "BookingCode": "O",
            "AvailabilityBreak": true,
            "DepartureAirportCode": "DFW",
            "ArrivalAirportCode": "LAX",
            "FareComponentBeginAirport": "DFW",
            "FareComponentEndAirport": "LAX",
            "content": "OA14ZSL3"
          }]
        },
        "PassengerFare": {
          "BaseFare": {
            "Amount": 66.98,
            "CurrencyCode": "USD"
          },
          "FareConstruction": {
            "Amount": 66.98,
            "CurrencyCode": "USD",
            "DecimalPlaces": 2
          },
          "EquivFare": {
            "Amount": 66.98,
            "CurrencyCode": "USD",
            "DecimalPlaces": 2
          },
          "Taxes": {
            "Tax": [{
              "TaxCode": "US1",
              "Amount": 5.02,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2,
              "content": ""
            }, {
              "TaxCode": "ZP",
              "Amount": 8,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2,
              "content": ""
            }, {
              "TaxCode": "AY",
              "Amount": 11.2,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2,
              "content": ""
            }, {
              "TaxCode": "XF",
              "Amount": 9,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2,
              "content": ""
            }],
            "TotalTax": {
              "Amount": 33.22,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            }
          },
          "TotalFare": {
            "Amount": 100.2,
            "CurrencyCode": "USD"
          }
        },
        "FareInfos": {
          "FareInfo": [{
            "FareReference": "O",
            "TPA_Extensions": {
              "SeatsRemaining": {
                "Number": 5,
                "BelowMin": false
              },
              "Cabin": {
                "Cabin": "Y"
              }
            }
          }, {
            "FareReference": "O",
            "TPA_Extensions": {
              "SeatsRemaining": {
                "Number": 5,
                "BelowMin": false
              },
              "Cabin": {
                "Cabin": "Y"
              }
            }
          }]
        }
      }]
    },
    "FareInfos": {
      "FareInfo": [{
        "FareReference": "O",
        "TPA_Extensions": {
          "SeatsRemaining": {
            "Number": 5,
            "BelowMin": false
          },
          "Cabin": {
            "Cabin": "Y"
          }
        }
      }, {
        "FareReference": "O",
        "TPA_Extensions": {
          "SeatsRemaining": {
            "Number": 5,
            "BelowMin": false
          },
          "Cabin": {
            "Cabin": "Y"
          }
        }
      }]
    },
    "TPA_Extensions": {
      "DivideInParty": {
        "Indicator": false
      },
      "ValidatingCarrier": [{
        "SettlementMethod": "ARC",
        "NewVcxProcess": true,
        "Default": "AA"
      }]
    }
  }],
  "TicketingInfo": {
    "TicketType": "eTicket"
  },
  "TPA_Extensions": {
    "ValidatingCarrier": {
      "Code": "AA"
    },
    "TagID": "BFM~f431e366-1caf-4741-b231-143e77e11555~1"
  },
  "Links": [{
    "rel": "self",
    "href": "https://api.sabre.com/v4.3.0/shop/calendar/flights/tags/BFM~f431e366-1caf-4741-b231-143e77e11555~1"
  }, {
    "rel": "linkTemplate",
    "href": "https://api.sabre.com/<version>/shop/calendar/flights/tags/<tagid>"
  }]
}

Request

This example demonstrates a "pagination" request from the Pagination Request URL.

https://api.sabre.com/v4.3.0/shop/calendar/flights/BFM~f431e366-1caf-4741-b231-143e77e11555?limit=2
{
  "OTA_AirLowFareSearchRQ": {

    "OriginDestinationInformation": [{
      "DepartureDateTime": "2016-08-20T00:00:00",
      "DestinationLocation": {
        "LocationCode": "DFW"
      },
      "OriginLocation": {
        "LocationCode": "LAX"
      },
      "RPH": "1"
    }, {
      "DepartureDateTime": "2016-08-21T00:00:00",
      "DestinationLocation": {
        "LocationCode": "LAX"
      },
      "OriginLocation": {
        "LocationCode": "DFW"
      },
      "RPH": "2"
    }],
    "POS": {
      "Source": [{
        "PseudoCityCode": "PCC",
        "RequestorID": {
          "CompanyName": {
            "Code": "TN"
          },
          "ID": "REQ.ID",
          "Type": "0.AAA.X"
        }
      }]
    },
    "TPA_Extensions": {
      "IntelliSellTransaction": {
        "RequestType": {
          "Name": "ADC1000"
        }
      }
    },
    "TravelPreferences": {
      "TPA_Extensions": {
        "NumTrips": {
          "Number": 1
        }
      }
    },

    "TravelerInfoSummary": {
      "AirTravelerAvail": [{
        "PassengerTypeQuantity": [{
          "Code": "ADT",
          "Quantity": 1
        }]

      }]
    }
  }
}

Response

{
  "OTA_AirLowFareSearchRS": {
    "PricedItineraries": {
      "PricedItinerary": [{
        "SequenceNumber": 1,
        "AirItinerary": {
          "DirectionInd": "Return",
          "OriginDestinationOptions": {
            "OriginDestinationOption": [{
              "ElapsedTime": 187,
              "FlightSegment": [{
                "DepartureDateTime": "2016-08-20T14:06:00",
                "ArrivalDateTime": "2016-08-20T19:13:00",
                "StopQuantity": 0,
                "FlightNumber": "2462",
                "ResBookDesigCode": "O",
                "ElapsedTime": 187,
                "DepartureAirport": {
                  "LocationCode": "LAX",
                  "TerminalID": " 0",
                  "content": ""
                },
                "ArrivalAirport": {
                  "LocationCode": "DFW",
                  "TerminalID": " 0",
                  "content": ""
                },
                "OperatingAirline": {
                  "Code": "AA",
                  "FlightNumber": "2462",
                  "content": ""
                },
                "Equipment": [{
                  "AirEquipType": "777",
                  "content": ""
                }],
                "MarketingAirline": {
                  "Code": "AA",
                  "content": ""
                },
                "MarriageGrp": "O",
                "DepartureTimeZone": {
                  "GMTOffset": -7
                },
                "ArrivalTimeZone": {
                  "GMTOffset": -5
                },
                "OnTimePerformance": {
                  "Level": "4"
                },
                "TPA_Extensions": {
                  "eTicket": {
                    "Ind": true
                  }
                }
              }]
            }, {
              "ElapsedTime": 203,
              "FlightSegment": [{
                "DepartureDateTime": "2016-08-21T08:56:00",
                "ArrivalDateTime": "2016-08-21T10:19:00",
                "StopQuantity": 0,
                "FlightNumber": "2410",
                "ResBookDesigCode": "O",
                "ElapsedTime": 203,
                "DepartureAirport": {
                  "LocationCode": "DFW",
                  "TerminalID": " 0",
                  "content": ""
                },
                "ArrivalAirport": {
                  "LocationCode": "LAX",
                  "TerminalID": " 0",
                  "content": ""
                },
                "OperatingAirline": {
                  "Code": "AA",
                  "FlightNumber": "2410",
                  "content": ""
                },
                "Equipment": [{
                  "AirEquipType": "757",
                  "content": ""
                }],
                "MarketingAirline": {
                  "Code": "AA",
                  "content": ""
                },
                "MarriageGrp": "O",
                "DepartureTimeZone": {
                  "GMTOffset": -5
                },
                "ArrivalTimeZone": {
                  "GMTOffset": -7
                },
                "OnTimePerformance": {
                  "Level": "6"
                },
                "TPA_Extensions": {
                  "eTicket": {
                    "Ind": true
                  }
                }
              }]
            }]
          }
        },
        "AirItineraryPricingInfo": [{
          "PricingSource": "PUBCS1",
          "PricingSubSource": "BCH",
          "FareReturned": true,
          "ItinTotalFare": {
            "BaseFare": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "FareConstruction": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "EquivFare": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "Taxes": {
              "Tax": [{
                "TaxCode": "TOTALTAX",
                "Amount": 33.22,
                "CurrencyCode": "USD",
                "DecimalPlaces": 2,
                "content": ""
              }]
            },
            "TotalFare": {
              "Amount": 100.2,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            }
          },
          "PTC_FareBreakdowns": {
            "PTC_FareBreakdown": [{
              "PassengerTypeQuantity": {
                "Code": "ADT",
                "Quantity": 1
              },
              "FareBasisCodes": {
                "FareBasisCode": [{
                  "BookingCode": "O",
                  "AvailabilityBreak": true,
                  "DepartureAirportCode": "LAX",
                  "ArrivalAirportCode": "DFW",
                  "FareComponentBeginAirport": "LAX",
                  "FareComponentEndAirport": "DFW",
                  "content": "OA14ZSL3"
                }, {
                  "BookingCode": "O",
                  "AvailabilityBreak": true,
                  "DepartureAirportCode": "DFW",
                  "ArrivalAirportCode": "LAX",
                  "FareComponentBeginAirport": "DFW",
                  "FareComponentEndAirport": "LAX",
                  "content": "OA14ZSL3"
                }]
              },
              "PassengerFare": {
                "BaseFare": {
                  "Amount": 66.98,
                  "CurrencyCode": "USD"
                },
                "FareConstruction": {
                  "Amount": 66.98,
                  "CurrencyCode": "USD",
                  "DecimalPlaces": 2
                },
                "EquivFare": {
                  "Amount": 66.98,
                  "CurrencyCode": "USD",
                  "DecimalPlaces": 2
                },
                "Taxes": {
                  "Tax": [{
                    "TaxCode": "US1",
                    "Amount": 5.02,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }, {
                    "TaxCode": "ZP",
                    "Amount": 8,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }, {
                    "TaxCode": "AY",
                    "Amount": 11.2,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }, {
                    "TaxCode": "XF",
                    "Amount": 9,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }],
                  "TotalTax": {
                    "Amount": 33.22,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2
                  }
                },
                "TotalFare": {
                  "Amount": 100.2,
                  "CurrencyCode": "USD"
                }
              },
              "FareInfos": {
                "FareInfo": [{
                  "FareReference": "O",
                  "TPA_Extensions": {
                    "SeatsRemaining": {
                      "Number": 5,
                      "BelowMin": false
                    },
                    "Cabin": {
                      "Cabin": "Y"
                    }
                  }
                }, {
                  "FareReference": "O",
                  "TPA_Extensions": {
                    "SeatsRemaining": {
                      "Number": 5,
                      "BelowMin": false
                    },
                    "Cabin": {
                      "Cabin": "Y"
                    }
                  }
                }]
              }
            }]
          },
          "FareInfos": {
            "FareInfo": [{
              "FareReference": "O",
              "TPA_Extensions": {
                "SeatsRemaining": {
                  "Number": 5,
                  "BelowMin": false
                },
                "Cabin": {
                  "Cabin": "Y"
                }
              }
            }, {
              "FareReference": "O",
              "TPA_Extensions": {
                "SeatsRemaining": {
                  "Number": 5,
                  "BelowMin": false
                },
                "Cabin": {
                  "Cabin": "Y"
                }
              }
            }]
          },
          "TPA_Extensions": {
            "DivideInParty": {
              "Indicator": false
            },
            "ValidatingCarrier": [{
              "SettlementMethod": "ARC",
              "NewVcxProcess": true,
              "Default": "AA"
            }]
          }
        }],
        "TicketingInfo": {
          "TicketType": "eTicket"
        },
        "TPA_Extensions": {
          "ValidatingCarrier": {
            "Code": "AA"
          },
          "TagID": "BFM~f431e366-1caf-4741-b231-143e77e11555~1"
        }
      }, {
        "SequenceNumber": 2,
        "AirItinerary": {
          "DirectionInd": "Return",
          "OriginDestinationOptions": {
            "OriginDestinationOption": [{
              "ElapsedTime": 193,
              "FlightSegment": [{
                "DepartureDateTime": "2016-08-20T06:58:00",
                "ArrivalDateTime": "2016-08-20T12:11:00",
                "StopQuantity": 0,
                "FlightNumber": "2453",
                "ResBookDesigCode": "O",
                "ElapsedTime": 193,
                "DepartureAirport": {
                  "LocationCode": "LAX",
                  "TerminalID": " 0",
                  "content": ""
                },
                "ArrivalAirport": {
                  "LocationCode": "DFW",
                  "TerminalID": " 0",
                  "content": ""
                },
                "OperatingAirline": {
                  "Code": "AA",
                  "FlightNumber": "2453",
                  "content": ""
                },
                "Equipment": [{
                  "AirEquipType": "738",
                  "content": ""
                }],
                "MarketingAirline": {
                  "Code": "AA",
                  "content": ""
                },
                "MarriageGrp": "O",
                "DepartureTimeZone": {
                  "GMTOffset": -7
                },
                "ArrivalTimeZone": {
                  "GMTOffset": -5
                },
                "OnTimePerformance": {
                  "Level": "8"
                },
                "TPA_Extensions": {
                  "eTicket": {
                    "Ind": true
                  }
                }
              }]
            }, {
              "ElapsedTime": 202,
              "FlightSegment": [{
                "DepartureDateTime": "2016-08-21T14:43:00",
                "ArrivalDateTime": "2016-08-21T16:05:00",
                "StopQuantity": 0,
                "FlightNumber": "2479",
                "ResBookDesigCode": "O",
                "ElapsedTime": 202,
                "DepartureAirport": {
                  "LocationCode": "DFW",
                  "TerminalID": " 0",
                  "content": ""
                },
                "ArrivalAirport": {
                  "LocationCode": "LAX",
                  "TerminalID": " 0",
                  "content": ""
                },
                "OperatingAirline": {
                  "Code": "AA",
                  "FlightNumber": "2479",
                  "content": ""
                },
                "Equipment": [{
                  "AirEquipType": "32B",
                  "content": ""
                }],
                "MarketingAirline": {
                  "Code": "AA",
                  "content": ""
                },
                "MarriageGrp": "O",
                "DepartureTimeZone": {
                  "GMTOffset": -5
                },
                "ArrivalTimeZone": {
                  "GMTOffset": -7
                },
                "OnTimePerformance": {
                  "Level": "6"
                },
                "TPA_Extensions": {
                  "eTicket": {
                    "Ind": true
                  }
                }
              }]
            }]
          }
        },
        "AirItineraryPricingInfo": [{
          "PricingSource": "PUBCS1",
          "PricingSubSource": "BCH",
          "FareReturned": true,
          "ItinTotalFare": {
            "BaseFare": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "FareConstruction": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "EquivFare": {
              "Amount": 66.98,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            },
            "Taxes": {
              "Tax": [{
                "TaxCode": "TOTALTAX",
                "Amount": 33.22,
                "CurrencyCode": "USD",
                "DecimalPlaces": 2,
                "content": ""
              }]
            },
            "TotalFare": {
              "Amount": 100.2,
              "CurrencyCode": "USD",
              "DecimalPlaces": 2
            }
          },
          "PTC_FareBreakdowns": {
            "PTC_FareBreakdown": [{
              "PassengerTypeQuantity": {
                "Code": "ADT",
                "Quantity": 1
              },
              "FareBasisCodes": {
                "FareBasisCode": [{
                  "BookingCode": "O",
                  "AvailabilityBreak": true,
                  "DepartureAirportCode": "LAX",
                  "ArrivalAirportCode": "DFW",
                  "FareComponentBeginAirport": "LAX",
                  "FareComponentEndAirport": "DFW",
                  "content": "OA14ZSL3"
                }, {
                  "BookingCode": "O",
                  "AvailabilityBreak": true,
                  "DepartureAirportCode": "DFW",
                  "ArrivalAirportCode": "LAX",
                  "FareComponentBeginAirport": "DFW",
                  "FareComponentEndAirport": "LAX",
                  "content": "OA14ZSL3"
                }]
              },
              "PassengerFare": {
                "BaseFare": {
                  "Amount": 66.98,
                  "CurrencyCode": "USD"
                },
                "FareConstruction": {
                  "Amount": 66.98,
                  "CurrencyCode": "USD",
                  "DecimalPlaces": 2
                },
                "EquivFare": {
                  "Amount": 66.98,
                  "CurrencyCode": "USD",
                  "DecimalPlaces": 2
                },
                "Taxes": {
                  "Tax": [{
                    "TaxCode": "US1",
                    "Amount": 5.02,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }, {
                    "TaxCode": "ZP",
                    "Amount": 8,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }, {
                    "TaxCode": "AY",
                    "Amount": 11.2,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }, {
                    "TaxCode": "XF",
                    "Amount": 9,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2,
                    "content": ""
                  }],
                  "TotalTax": {
                    "Amount": 33.22,
                    "CurrencyCode": "USD",
                    "DecimalPlaces": 2
                  }
                },
                "TotalFare": {
                  "Amount": 100.2,
                  "CurrencyCode": "USD"
                }
              },
              "FareInfos": {
                "FareInfo": [{
                  "FareReference": "O",
                  "TPA_Extensions": {
                    "SeatsRemaining": {
                      "Number": 7,
                      "BelowMin": false
                    },
                    "Cabin": {
                      "Cabin": "Y"
                    }
                  }
                }, {
                  "FareReference": "O",
                  "TPA_Extensions": {
                    "SeatsRemaining": {
                      "Number": 7,
                      "BelowMin": false
                    },
                    "Cabin": {
                      "Cabin": "Y"
                    }
                  }
                }]
              }
            }]
          },
          "FareInfos": {
            "FareInfo": [{
              "FareReference": "O",
              "TPA_Extensions": {
                "SeatsRemaining": {
                  "Number": 7,
                  "BelowMin": false
                },
                "Cabin": {
                  "Cabin": "Y"
                }
              }
            }, {
              "FareReference": "O",
              "TPA_Extensions": {
                "SeatsRemaining": {
                  "Number": 7,
                  "BelowMin": false
                },
                "Cabin": {
                  "Cabin": "Y"
                }
              }
            }]
          },
          "TPA_Extensions": {
            "DivideInParty": {
              "Indicator": false
            },
            "ValidatingCarrier": [{
              "SettlementMethod": "ARC",
              "NewVcxProcess": true,
              "Default": "AA"
            }]
          }
        }],
        "TicketingInfo": {
          "TicketType": "eTicket"
        },
        "TPA_Extensions": {
          "ValidatingCarrier": {
            "Code": "AA"
          },
          "TagID": "BFM~f431e366-1caf-4741-b231-143e77e11555~2"
        }
      }]
    }
  },
  "RequestID": "BFM~f431e366-1caf-4741-b231-143e77e11555",
  "Page": {
    "Size": 2,
    "TotalTags": 251,
    "Offset": 1
  },
  "Links": [{
    "rel": "self",
    "href": "https://api.sabre.com/v4.3.0/shop/calendar/flights/BFM~f431e366-1caf-4741-b231-143e77e11555?limit=2"
  }, {
    "rel": "linkTemplate",
    "href": "https://api.sabre.com/<version>/shop/calendar/flights/<requestid>?limit=<limit>&offset=<offset>"
  }, {
    "rel": "tagLookupLinkTemplate",
    "href": "https://api.sabre.com/<version>/shop/calendar/flights/tags/<tagid>"
  }]
}

Request

This example demonstrates a request for a one way flight with point of sale predefined in the endpoint URL.

https://api.sabre.com/v4.3.0/shop/calendar/flights?pointofsalecountry=DE
{
    "OTA_AirLowFareSearchRQ": {
        "OriginDestinationInformation": [
            {
                "DepartureDates": {
                    "DaysRange": [
                        {
                            "FromDate": "2017-11-19",
                            "ToDate": "2018-06-18"
                        }
                    ]
                },
                "DestinationLocation": {
                    "LocationCode": "FRA"
                },
                "OriginLocation": {
                    "LocationCode": "FCO"
                },
                "RPH": "1"
            }
        ],
        "POS": {
            "Source": [
                {
                    "PseudoCityCode": "F8SE",
                    "RequestorID": {
                        "CompanyName": {
                            "Code": "TN"
                        },
                        "ID": "REQ.ID",
                        "Type": "0.AAA.X"
                    }
                }
            ]
        },
        "TPA_Extensions": {
            "IntelliSellTransaction": {
                "RequestType": {
                    "Name": "ADC1000"
                }
            }
        },
        "TravelPreferences": {
            "TPA_Extensions": {
                "NumTrips": {
                    "Number": 1
                }
            }
        },
        "TravelerInfoSummary": {
            "AirTravelerAvail": [
                {
                    "PassengerTypeQuantity": [
                        {
                            "Code": "ADT",
                            "Quantity": 1
                        }
                    ]
                }
            ]
        }
    }
}
        

Response

{
    "OTA_AirLowFareSearchRS": {
        "PricedItinCount": 1,
        "BrandedOneWayItinCount": 0,
        "SimpleOneWayItinCount": 0,
        "DepartedItinCount": 0,
        "SoldOutItinCount": 0,
        "AvailableItinCount": 0,
        "Version": "4.3.0",
        "Success": {

        },
        "Warnings": {
            "Warning": [{
                "Type": "MAIN",
                "ShortText": "This response version is deprecated and will be decommissioned once a newer version is released.",
                "Code": "DEPRECATEDRS",
                "content": ""
            },
            {
                "Type": "IF2/PUBCS1",
                "ShortText": "Number of options per date is less than what is asked for due to the maximum options limitation.",
                "Code": "CALENDARAPI",
                "content": ""
            },
            {
                "Type": "WORKERTHREAD",
                "ShortText": "3960535869096785672",
                "Code": "TRANSACTIONID",
                "MessageClass": "I",
                "content": ""
            },
            {
                "Type": "SERVER",
                "ShortText": "27037",
                "Code": "PIFHLP735",
                "MessageClass": "I",
                "content": ""
            },
            {
                "Type": "DEFAULT",
                "ShortText": "20749",
                "Code": "RULEID",
                "MessageClass": "I",
                "content": ""
            },
            {
                "Type": "DRE",
                "ShortText": "21264",
                "Code": "RULEID",
                "MessageClass": "I",
                "content": ""
            }]
        },
        "PricedItineraries": {
            "PricedItinerary": [{
                "SequenceNumber": 1,
                "AirItinerary": {
                    "DirectionInd": "OneWay",
                    "OriginDestinationOptions": {
                        "OriginDestinationOption": [{
                            "ElapsedTime": 265,
                            "FlightSegment": [{
                                "DepartureDateTime": "2018-03-07T14:45:00",
                                "ArrivalDateTime": "2018-03-07T16:40:00",
                                "StopQuantity": 0,
                                "FlightNumber": "725",
                                "ResBookDesigCode": "P",
                                "ElapsedTime": 115,
                                "DepartureAirport": {
                                    "LocationCode": "FCO",
                                    "TerminalID": "3",
                                    "content": ""
                                },
                                "ArrivalAirport": {
                                    "LocationCode": "PRG",
                                    "TerminalID": "2",
                                    "content": ""
                                },
                                "OperatingAirline": {
                                    "Code": "OK",
                                    "FlightNumber": "725",
                                    "content": ""
                                },
                                "Equipment": [{
                                    "AirEquipType": "319",
                                    "content": ""
                                }],
                                "MarketingAirline": {
                                    "Code": "OK",
                                    "content": ""
                                },
                                "MarriageGrp": "O",
                                "DepartureTimeZone": {
                                    "GMTOffset": 1.0
                                },
                                "ArrivalTimeZone": {
                                    "GMTOffset": 1.0
                                },
                                "TPA_Extensions": {
                                    "eTicket": {
                                        "Ind": true
                                    }
                                }
                            },
                            {
                                "DepartureDateTime": "2018-03-07T17:55:00",
                                "ArrivalDateTime": "2018-03-07T19:10:00",
                                "StopQuantity": 0,
                                "FlightNumber": "536",
                                "ResBookDesigCode": "P",
                                "ElapsedTime": 75,
                                "DepartureAirport": {
                                    "LocationCode": "PRG",
                                    "TerminalID": "2",
                                    "content": ""
                                },
                                "ArrivalAirport": {
                                    "LocationCode": "FRA",
                                    "TerminalID": "2",
                                    "content": ""
                                },
                                "OperatingAirline": {
                                    "Code": "OK",
                                    "FlightNumber": "536",
                                    "content": ""
                                },
                                "Equipment": [{
                                    "AirEquipType": "319",
                                    "content": ""
                                }],
                                "MarketingAirline": {
                                    "Code": "OK",
                                    "content": ""
                                },
                                "MarriageGrp": "I",
                                "DepartureTimeZone": {
                                    "GMTOffset": 1.0
                                },
                                "ArrivalTimeZone": {
                                    "GMTOffset": 1.0
                                },
                                "TPA_Extensions": {
                                    "eTicket": {
                                        "Ind": true
                                    }
                                }
                            }]
                        }]
                    }
                },
                "AirItineraryPricingInfo": [{
                    "PricingSource": "PUBCS1",
                    "PricingSubSource": "BCH",
                    "FareReturned": true,
                    "ItinTotalFare": {
                        "BaseFare": {
                            "Amount": 11.00,
                            "CurrencyCode": "EUR",
                            "DecimalPlaces": 2
                        },
                        "FareConstruction": {
                            "Amount": 12.15,
                            "CurrencyCode": "NUC",
                            "DecimalPlaces": 2
                        },
                        "EquivFare": {
                            "Amount": 11.00,
                            "CurrencyCode": "EUR",
                            "DecimalPlaces": 2
                        },
                        "Taxes": {
                            "Tax": [{
                                "TaxCode": "TOTALTAX",
                                "Amount": 56.23,
                                "CurrencyCode": "EUR",
                                "DecimalPlaces": 2,
                                "content": ""
                            }]
                        },
                        "TotalFare": {
                            "Amount": 67.23,
                            "CurrencyCode": "EUR",
                            "DecimalPlaces": 2
                        }
                    },
                    "PTC_FareBreakdowns": {
                        "PTC_FareBreakdown": [{
                            "PassengerTypeQuantity": {
                                "Code": "ADT",
                                "Quantity": 1
                            },
                            "FareBasisCodes": {
                                "FareBasisCode": [{
                                    "BookingCode": "P",
                                    "DepartureAirportCode": "FCO",
                                    "ArrivalAirportCode": "PRG",
                                    "FareComponentBeginAirport": "FCO",
                                    "FareComponentEndAirport": "PRG",
                                    "content": "P0BAGG"
                                },
                                {
                                    "BookingCode": "P",
                                    "AvailabilityBreak": true,
                                    "DepartureAirportCode": "PRG",
                                    "ArrivalAirportCode": "FRA",
                                    "FareComponentBeginAirport": "PRG",
                                    "FareComponentEndAirport": "FRA",
                                    "content": "P0BAGG"
                                }]
                            },
                            "PassengerFare": {
                                "BaseFare": {
                                    "Amount": 11.00,
                                    "CurrencyCode": "EUR"
                                },
                                "FareConstruction": {
                                    "Amount": 12.15,
                                    "CurrencyCode": "NUC",
                                    "DecimalPlaces": 2
                                },
                                "EquivFare": {
                                    "Amount": 11.00,
                                    "CurrencyCode": "EUR",
                                    "DecimalPlaces": 2
                                },
                                "Taxes": {
                                    "Tax": [{
                                        "TaxCode": "EX",
                                        "Amount": 2.27,
                                        "CurrencyCode": "EUR",
                                        "DecimalPlaces": 2,
                                        "content": ""
                                    },
                                    {
                                        "TaxCode": "IT1",
                                        "Amount": 17.77,
                                        "CurrencyCode": "EUR",
                                        "DecimalPlaces": 2,
                                        "content": ""
                                    },
                                    {
                                        "TaxCode": "VT",
                                        "Amount": 3.34,
                                        "CurrencyCode": "EUR",
                                        "DecimalPlaces": 2,
                                        "content": ""
                                    },
                                    {
                                        "TaxCode": "HB",
                                        "Amount": 7.50,
                                        "CurrencyCode": "EUR",
                                        "DecimalPlaces": 2,
                                        "content": ""
                                    },
                                    {
                                        "TaxCode": "MJ",
                                        "Amount": 0.86,
                                        "CurrencyCode": "EUR",
                                        "DecimalPlaces": 2,
                                        "content": ""
                                    },
                                    {
                                        "TaxCode": "CZ",
                                        "Amount": 8.49,
                                        "CurrencyCode": "EUR",
                                        "DecimalPlaces": 2,
                                        "content": ""
                                    },
                                    {
                                        "TaxCode": "YQF",
                                        "Amount": 8.00,
                                        "CurrencyCode": "EUR",
                                        "DecimalPlaces": 2,
                                        "content": ""
                                    },
                                    {
                                        "TaxCode": "YQF",
                                        "Amount": 8.00,
                                        "CurrencyCode": "EUR",
                                        "DecimalPlaces": 2,
                                        "content": ""
                                    }],
                                    "TotalTax": {
                                        "Amount": 56.23,
                                        "CurrencyCode": "EUR",
                                        "DecimalPlaces": 2
                                    }
                                },
                                "TotalFare": {
                                    "Amount": 67.23,
                                    "CurrencyCode": "EUR"
                                }
                            },
                            "Endorsements": {
                                "NonRefundableIndicator": true
                            },
                            "FareInfos": {
                                "FareInfo": [{
                                    "FareReference": "P",
                                    "TPA_Extensions": {
                                        "SeatsRemaining": {
                                            "Number": 9,
                                            "BelowMin": false
                                        },
                                        "Cabin": {
                                            "Cabin": "Y"
                                        }
                                    }
                                },
                                {
                                    "FareReference": "P",
                                    "TPA_Extensions": {
                                        "SeatsRemaining": {
                                            "Number": 9,
                                            "BelowMin": false
                                        },
                                        "Cabin": {
                                            "Cabin": "Y"
                                        }
                                    }
                                }]
                            }
                        }]
                    },
                    "FareInfos": {
                        "FareInfo": [{
                            "FareReference": "P",
                            "TPA_Extensions": {
                                "SeatsRemaining": {
                                    "Number": 9,
                                    "BelowMin": false
                                },
                                "Cabin": {
                                    "Cabin": "Y"
                                }
                            }
                        },
                        {
                            "FareReference": "P",
                            "TPA_Extensions": {
                                "SeatsRemaining": {
                                    "Number": 9,
                                    "BelowMin": false
                                },
                                "Cabin": {
                                    "Cabin": "Y"
                                }
                            }
                        }]
                    },
                    "TPA_Extensions": {
                        "DivideInParty": {
                            "Indicator": false
                        },
                        "ValidatingCarrier": [{
                            "SettlementMethod": "BSP",
                            "NewVcxProcess": true,
                            "Default": "OK"
                        }]
                    }
                }],
                "TicketingInfo": {
                    "TicketType": "eTicket"
                },
                "TPA_Extensions": {
                    "ValidatingCarrier": {
                        "Code": "OK"
                    }
                }
            }]
        }
    },
    "Links": [{
        "rel": "self",
        "href": "https://api.sabre.com/v4.3.0/shop/calendar/flights?pointofsalecountry=DE"
    },
    {
        "rel": "linkTemplate",
        "href": "https://api.sabre.com//shop/calendar/flights?limit=&offset=&enabletagging="
    }]
}
        

Download Examples

Usage notes

Paginate tagged elements for a given request ID with "limit" and "offset"

Paginate search results for a given request ID by specifying how many tagged elements to return per request in limit and specifying the starting position to begin retrieving tagged elements in offset. This allows you to more quickly retrieve and return search queries for mobile application requests. Rather than returning all tagged elements, you could return 10 tagged elements per request in limit (limit=10) and specify a starting position of 1 in offset (offset=1). Then you can select a starting position of 11 (offset=11) to retrieve the next 10 results (limit=10).

  1. The first request returns a Request ID for the tagged element data set and a Tag ID with each tagged element from the Advanced Calendar Search API.
    POST https://api.sabre.com/v4.3.0/shop/calendar/flights &enabletagging=true&limit=10&offset=1 HTTP/1.1
  2. The next request retrieves the cached tagged elements from 11 to 20 from the Pagination Request URL.
    GET https://api.sabre.com/v4.3.0/shop/calendar/flights/[REQUESTID]?limit=10&offset=11 HTTP/1.1
  3. The last request retrieves the cached tagged elements from 21 to 30 from the Pagination Request URL.
    GET https://api.sabre.com/v4.3.0/shop/calendar/flights/[REQUESTID]?limit=10&offset=21 HTTP/1.1

Retrieve a specific tagged element for a given tag ID from the Tag ID Lookup URL

  1. The first request returns a Request ID for the tagged element data set and a Tag ID with each tagged element from the Advanced Calendar Search API.
    POST https://api.sabre.com/v4.3.0/shop/calendar/flights &enabletagging=true HTTP/1.1
  2. The next request retrieves a tagged element from the Tag ID Lookup URL.
    GET https://api.sabre.com/v4.3.0/shop/calendar/flights/tags/[TAGID] HTTP/1.1

Errors

An HTTP status code is always returned.

Errors that are specific to this API follow. For information about the error response format, see the: status codes and errors page.

404 NOT_FOUND

No results were found
The service cannot find data to fulfill the parameters in the request. For example, there is no data available for the dates specified.

400 BAD REQUEST

The request was not valid.
The service does not support the data used in the request. For example, origin or destination in the request is not a valid IATA airport code.
Parameter 'pointofsalecountry' has an unsupported value
The value provided in pointofsalecountry is not a valid or supported country code.
Parameter 'limit' must be of type 'number', or string equal to 'None'
The query parameter has an incorrect value. In this case, the value must be a number or specify a value of 'None'.
Parameter 'limit' must be between 1 and 2147483647
limit is 0 or a negative number or greater than 2147483647.
limit is greater than 2147483647.
Parameter 'offset' must be of type 'number'
A value has an incorrect JSON format for the corresponding parameter. In this case, the value must be a number.
Parameter 'offset' must be between 1 and 2147483647
offset is 0 or a negative number or greater than 2147483647.
No view named '{view}' is defined
The specified '{view}' does not exist.

If you receive this error:

 { status: "NotProcessed" type: "Validation" errorCode: "ERR.2SG.CLIENT.INVALID_REQUEST" timeStamp: "2016-07-19T11:43:34.599-05:00"
    message: "Request is invalid: Request payload is missing or it is not supported by the requested service" }

Ensure you:

  • have specified a content type header with a value of 'application/json'
  • are sending a JSON document in the HTTP POST's request body

Docs Navigation