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.

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

API Information

Target Audience
Sabre Travel Network
Current Version
v1.9.5.1
Authentication
Sessionless Token
Method/Endpoint
POST /v1.9.5.1/shop/calendar/flights/ HTTP/1.1

GET /v1.9.5.1/shop/calendar/flights/{requestid}

The Pagination Request endpoint has a required requestid URI variable which retrieves the set of itineraries associated with a given request ID. Any valid Request ID can be substituted for {requestid}. A RequestID is returned for the itinerary data set when enabletagging=true is used in a previous Advanced Calendar API request.

GET /v1.9.5.1/shop/calendar/flights/tags/{tagid}

The Tag ID Lookup endpoint has a required tagid URI variable which retrieves the itinerary for a given tag ID. Any valid Tag ID can be substituted for {tagid}. A TagID is returned with each itinerary when enabletagging=true used in a previous Advanced Calendar 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 itinerary 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 itinerary and stores in the Sabre cache:
Default value: false – does not return or store itineraries for subsequent calls to the Sabre cache
Valid values:
  • enabletagging=true – returns and stores itineraries for subsequent calls to the Sabre cache.
  • enabletagging=false – does not return or store itineraries 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 itineraries to retrieve per request
Default value: 50 (itineraries per request)
Sample value: limit=10
Maximum value: none (a value of limit=none retrieves all available itineraries)
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 itineraries for a given request ID with limit and offset parameters.
offset
number, optional
The starting position in the list of all itineraries 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 itineraries 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 itinerary 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 itinerary
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 itinerary 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

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 itinerary data set associated with a given request ID
tagLookupLinkTemplate
Formats an API request with placeholders to retrieve the itinerary associated with a given tag ID
linkTemplate
Formats an API request with placeholders for required and optional query parameters

Sample code

Request

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

https://api.havail.sabre.com/v1.9.5.1/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.havail.sabre.com/v1.9.5.1/shop/calendar/flights?limit=1&enabletagging=true&view=BFM_ITIN_BASE_TAX_TOTAL_PRICE"
  }, {
    "rel": "linkTemplate",
    "href": "https://api.havail.sabre.com/<version>/shop/calendar/flights?limit=<limit>&offset=<offset>&enabletagging=<enabletagging>"
  }, {
    "rel": "tagLookupLinkTemplate",
    "href": "https://api.havail.sabre.com/<version>/shop/calendar/flights/tags/<tagid>"
  }, {
    "rel": "paginatedRequestLinkTemplate",
    "href": "https://api.havail.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.havail.sabre.com/v1.9.5.1/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.havail.sabre.com/v1.9.5.1/shop/calendar/flights?limit=1&enabletagging=true"
  }, {
    "rel": "linkTemplate",
    "href": "https://api.havail.sabre.com/<version>/shop/calendar/flights?limit=<limit>&offset=<offset>&enabletagging=<enabletagging>"
  }, {
    "rel": "tagLookupLinkTemplate",
    "href": "https://api.havail.sabre.com/<version>/shop/calendar/flights/tags/<tagid>"
  }, {
    "rel": "paginatedRequestLinkTemplate",
    "href": "https://api.havail.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.havail.sabre.com/v1.9.5.1/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.havail.sabre.com/v1.9.5.1/shop/calendar/flights/tags/BFM~f431e366-1caf-4741-b231-143e77e11555~1"
  }, {
    "rel": "linkTemplate",
    "href": "https://api.havail.sabre.com/<version>/shop/calendar/flights/tags/<tagid>"
  }]
}

Request

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

https://api.havail.sabre.com/v1.9.5.1/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.havail.sabre.com/v1.9.5.1/shop/calendar/flights/BFM~f431e366-1caf-4741-b231-143e77e11555?limit=2"
  }, {
    "rel": "linkTemplate",
    "href": "https://api.havail.sabre.com/<version>/shop/calendar/flights/<requestid>?limit=<limit>&offset=<offset>"
  }, {
    "rel": "tagLookupLinkTemplate",
    "href": "https://api.havail.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.havail.sabre.com/v1.9.5.1/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": "1.9.4",
        "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/v1.9.5.1/shop/calendar/flights?pointofsalecountry=DE"
    },
    {
        "rel": "linkTemplate",
        "href": "https://api.sabre.com//shop/calendar/flights?limit=&offset=&enabletagging="
    }]
}
        

Usage notes

Paginate itineraries for a given request ID with "limit" and "offset"

Paginate search results for a given request ID by specifying how many itineraries to return per request in limit and specifying the starting position to begin retrieving itineraries in offset. This allows you to more quickly retrieve and return search queries for mobile application requests. Rather than returning all itineraries, you could return 10 itineraries 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 itinerary data set and a Tag ID with each itinerary from the Advanced Calendar Search API.
    POST https://[ENDPOINT]?enabletagging=true&limit=10&offset=1 HTTP/1.1
  2. The next request retrieves the cached itineraries from 11 to 20 from the Pagination Request URL.
    GET https://[ENDPOINT]/[REQUESTID]?limit=10&offset=11 HTTP/1.1
  3. The last request retrieves the cached itineraries from 21 to 30 from the Pagination Request URL.
    GET https://[ENDPOINT]/[REQUESTID]?limit=10&offset=21 HTTP/1.1

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

  1. The first request returns a Request ID for the itinerary data set and a Tag ID with each itinerary from the Advanced Calendar Search API.
    POST https://[ENDPOINT]?enabletagging=true HTTP/1.1
  2. The next request retrieves an itinerary from the Tag ID Lookup URL.
    GET https://[ENDPOINT]/tags/[TAGID] HTTP/1.1

Errors

A general HTTP status code is always returned.

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