Destination Finder

Heads Up!- This API is powered by the Travel Insight Engine. Check the City Pairs Supplemental API to see the city pairs that are currently supported. Don’t see your country? Take a look at Bargain Finder Max to get access to global content.

The Destination Finder API returns the lowest published fares available to destinations from a given origin.

In detail: the API uses the Travel Insight engine to retrieve shopped fare data for a given origin available in the Sabre® cache. In total, each request returns a nonstop lead fare and an overall lead fare available to every destination in the world for which lead fares are found. Numerous optional search preferences are available to sort and filter results, including the ability to specify a region, theme or multiple lengths of stay.

Example

You could use this API to offer travelers the ability to compare trips for either 3 or 4 days and thereby select a trip based on price and location. For example, leisure travelers with flexible travel dates could use the API to determine the best destinations for a trip from "DFW" (Dallas/Fort Worth International) based on a specified length of stay of 3 or 4 days.

Data used by Destination Finder API

  • The in-scope shopping responses used by Sabre to generate the lead fares for this API are the shopping responses to shopping requests from a PCC (a Pseudo City Code) operated by Sabre.
  • All fares are for single adult, roundtrip travel in the economy class of service.
  • Total fares: All taxes and fees are included; however, ancillary fees charged by airlines, such as baggage and preferred seating, are not included.
  • Flight types: nonstop, connecting, and flights with stops
  • Origin: major airports and multi-airport cities throughout the world that we support
  • Destination: major airports throughout the world that we support
  • Advance fares: A maximum of 192 days

Data used for topdestinations

The following data is used only with the optional topdestinations filter.

  • Data is derived from flights booked via the Sabre GDS during the 2 weeks before an API request.
  • Data is based on combined passenger types.
  • From each booking, the final destination of the outbound flight leg is used as input data.
  • Data is derived from bookings made by leisure travel agencies throughout the world.

HTTP method and endpoint

GET /v2/shop/flights/fares

Request

origin

string, required

3-letter IATA code of the origin airport or multi-airport city (MAC) code

Only one value is accepted

Sample value: origin=ATL

If a multi-airport city (MAC) code is used, then only the lowest fare associated with any of the airports belonging to the MAC will be returned.

See usage notes: for more information on retrieving a list of our supported city pairs of origin and destination airports using the City Pairs Lookup API, multi-airport city (MAC) codes using the Multi-Airport City Lookup API, or to identify the airports associated with a MAC using the Airports at Cities Lookup API.

departuredate

string, optional*

Date of departing flight in the time zone of the origin airport

Only one value is accepted

Maximum value: current date + 192 (days)

Sample value: departuredate=2015-10-30

*If returndate is specified, then departuredate is required.

returndate

string, optional*

Date of returning flight in the time zone of the destination airport

Only one value is accepted

Maximum value: departuredate + 16 (days) length of stay

Sample value: returndate=2015-10-31

*If departure date is specified, then return date is required.

lengthofstay

string, optional*

Duration of the trip (days)

Multiple values are accepted (consecutive or non-consecutive)

Valid values: 0-16 (0 = same day arrival/departure)

Maximum values: up to 10 values are accepted

Sample value: lengthofstay=3,5,6,9,12

*If departure date and return date are not specified, then length of stay is required.

If earliest and latest departure date are specified, then the API adds the value in length of stay to the departure date to get a return date.

If length of stay is specified without earliest and latest departure dates, then the API retrieves lead fares for 30 consecutive dates that begin on the current date.

earliestdeparturedate

string, optional*

The earliest date in the departure date range

Maximum value: current date + 192 (days) with 30 days allowed between earliest and latest departure date

Sample value: earliestdeparturedate=2015-10-31

*If earliest departure date is specified, then length of stay and latest departure date are required.

If the specified date range is greater than 10 days, then the response may return a Usage Note.

latestdeparturedate

string, optional*

string, optional

The latest date in the departure date range

Maximum value: current date + 192 (days) with 30 days allowed between earliest and latest departure date

Sample value: latestdeparturedate=2015-10-31

*If latest departure date is specified, then length of stay and earliest departure date are required.

If the specified date range is greater than 10 days, then the response may return a Usage Note.

location

string, optional

2-letter ISO 3166 destination country code

Retrieves destination data specific to a given country code(s)

Multiple values are accepted

Default: all destination countries

Sample value: location=ES,MX

minfare

number, optional

Retrieves overall lead fares that are equal to or greater than this specified price

Sample value: minfare=250

maxfare

number, optional

Retrieves overall lead fares that are equal to or less than this specified price

Sample value: maxfare=550

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.

region

string, optional

Retrieves destination airport codes that are associated with the specified region

Valid values:

  • Africa
  • Asia Pacific
  • Europe
  • Latin America
  • Middle East
  • North America

Sample value: region=Europe,Latin America

theme

string, optional

Finds destination airport codes associated with a travel theme

Valid values: any valid custom or supported Sabre travel theme

Sample value: theme=beach

If a request combines a theme with location, then the API retrieves only theme-based destinations in the supported countries.

See usage notes: for more information on the Custom Theme API, retrieving a list of Sabre themes using the Travel Theme Lookup API, or to retrieve airport codes associated with a Sabre theme using the Theme Airport Lookup API.

topdestinations

number, optional

Finds up to 50 of the most popular destinations per origin and returns popularity rank in DestinationRank

Valid values: a single value from 1-50, inclusive

Sample value: topdestinations=3

pricepermile

number, optional

The maximum price per mile

Retrieves lead fares that have a price per mile value that is less than or equal to this number

Sample values:

  • pricepermile=0.1
  • pricepermile=0.20

Response

OriginLocation

string

3-letter IATA airport code

Returns the specified 3-letter IATA origin airport or multi-airport city (MAC) code

FareInfo

array

Repeats associated lead fare and date/time information:

  • CurrencyCode, string
  • LowestFare, string or object
  • LowestNonStopFare, string or object
  • DestinationLocation, string
  • DepartureDateTime, string
  • ReturnDateTime, string
  • Links, array
  • Theme, string (optional)
  • DestinationRank, number (optional)
  • Location, string (optional)
  • Region, string (optional)
FareInfo.CurrencyCode

string

3-letter currency code

Sample values: USD

If no shopped fare data is found, then the API returns (N/A).

FareInfo.LowestFare

string or object

Returns associated overall lead fare information:

  • Fare, number
  • AirlineCodes, array

If no shopped fare data is found, then the API returns a string (N/A).

LowestFare.Fare

number

The overall lead fare from the Sabre cache for the specified origin

LowestFare.AirlineCodes

array

2-letter IATA marketing airline company code

If more than one airline offers the lowest overall fare, then multiple airline codes will be returned.

FareInfo.LowestNonstopFare

string or object

Returns associated nonstop lead fare information:

  • Fare, number
  • AirlineCodes, array

If no shopped fare data is found, then the API returns a string (N/A).

LowestNonstopFare.Fare

number

The nonstop lead fare from the Sabre cache for the specified origin

LowestNonstopFare.AirlineCodes

array

2-letter IATA marketing airline company code

If more than one airline offers the lowest overall fare, then multiple airline codes will be returned.

FareInfo.DestinationLocation

string

3-letter IATA destination airport code

FareInfo.DepartureDateTime

string

Returns the specified departure date in the time zone of the origin airport

Data format: YYYY-MM-DDTHH:MM:SS

FareInfo.ReturnDateTime

string

Returns the specified return date in the time zone of the destination airport

If return date is not specified, then return date is calculated as departuredate + lengthofstay.

Data format: YYYY-MM-DDTHH:MM:SS

DestinationRank

number

Returns destination rank in descending order by popularity (1 = most popular, 50 = least popular)

If another filter results in a destination being excluded, destination rank is renumbered in sequential order. For example, if the no. 2 ranked destination was removed because it was not associated to a theme, the remaining destinations are numbered 1,2,3,4,5 rather than 1,3,4,5,6.

See usage notes: for more information on when a top destination is a multi-airport city (MAC).

Location

string

Returns the specified location

Theme

string

Returns the specified theme

Distance

number

The distance in miles from origin to destination

Invokes the Calculate Air Mileage API

See usage notes: for more information on the Calculate Air Mileage API

Links

array

Repeats associated lead fare and destination links:

  • shop, object
shop

object

Invokes an InstaFlights Search request

If a multi-airport city (MAC) code is used as origin, then the shop link will contain the MAC.

See usage notes: for more information on the InstaFlights Search API.

UsageNote

string

Returns this message:

The response may be very large when you request a wide range of dates in earliestdeparturedate and latestdeparturedate. Please consider narrowing this date range to retrieve fewer results.

Possible reasons for returning this UsageNote:

  • The request includes lengthofstay, without earliestdeparturedate and latestdeparturedate. In this case, the API defaults to a 30-day departure date range.
  • The earliest and latest departure date range is more than 10 days.

If a response is incomplete, then the API returns Warning instead of UsageNote.

To reduce network latency for large responses, request a compressed response. Include the 'Accept-Encoding' HTTP header field in the request as follows: Accept-Encoding: gzip. If successful, the server sends a compressed (zipped content) response in Content-Encoding: gzip.

Warning

Returns this field when a response is incomplete because of its large size

"Warning":
            {"timeStamp":"2015-06-18T08:50:44+00:00",
            "type":"Application",
            "code":"PARTIAL_RESULT",
            "message":"The response is not complete because 
             the date range in earliestdeparturedate and
            latestdeparturedate is too wide. Please narrow the date range 
             and try again."
            },

Possible reasons for returning this Warning:

  • The request includes lengthofstay without departure dates.
  • The departure date range is more than 10 days.

Overall response links

Links

array

  • self, object
  • linkTemplate, object

See usage notes: for more information on link nodes.

self

object

Returns the URL of the request that generated the response

linkTemplate

object

Formats a Destination Finder request

Examples: request and response

This example demonstrates a request for lead fares from airport code "CLT" (Charlotte Douglas International) to any destination in the world for which lead fares are found on the specified travel dates. The following optional parameters are also specified: a maxfare of $220.

GET https://api.sabre.com/v2/shop/flights/fares?origin=CLT&departuredate=2015-12-15&returndate=2015-12-25&maxfare=220 HTTP/1.1 
{
    "OriginLocation": "CLT",
    "FareInfo": [{
        "CurrencyCode": "USD",
        "LowestNonStopFare": {
            "AirlineCodes": ["AA"],
            "Fare": 190.7
        },
        "LowestFare": {
            "AirlineCodes": ["UA", "AA"],
            "Fare": 181.2
        },
        "DestinationLocation": "BOS",
        "DepartureDateTime": "2015-12-15T00:00:00",
        "ReturnDateTime": "2015-12-25T00:00:00",
        "Links": [{
            "rel": "shop",
            "href": "https://api.sabre.com/v1/shop/flights?origin=CLT&destination=BOS&departuredate=2015-12-15&returndate=2015-12-25&pointofsalecountry=US"
        }]
    }, {
        "CurrencyCode": "USD",
        "LowestNonStopFare": {
            "AirlineCodes": ["AA"],
            "Fare": 219.7
        },
        "LowestFare": {
            "AirlineCodes": ["AA"],
            "Fare": 219.7
        },
        "DestinationLocation": "DFW",
        "DepartureDateTime": "2015-12-15T00:00:00",
        "ReturnDateTime": "2015-12-25T00:00:00",
        "Links": [{
            "rel": "shop",
            "href": "https://api.sabre.com/v1/shop/flights?origin=CLT&destination=DFW&departuredate=2015-12-15&returndate=2015-12-25&pointofsalecountry=US"
        }]
    }, {
        "CurrencyCode": "USD",
        "LowestNonStopFare": {
            "AirlineCodes": ["AA"],
            "Fare": 364.7
        },
        "LowestFare": {
            "AirlineCodes": ["DL"],
            "Fare": 181.7
        },
        "DestinationLocation": "PHL",
        "DepartureDateTime": "2015-12-15T00:00:00",
        "ReturnDateTime": "2015-12-25T00:00:00",
        "Links": [{
            "rel": "shop",
            "href": "https://api.sabre.com/v1/shop/flights?origin=CLT&destination=PHL&departuredate=2015-12-15&returndate=2015-12-25&pointofsalecountry=US"
        }]
    }],
    "Links": [{
        "rel": "self",
        "href": "https://api.sabre.com/v2/shop/flights/fares?origin=CLT&departuredate=2015-12-15&returndate=2015-12-25&maxfare=220"
    }, {
        "rel": "linkTemplate",
        "href": "https://api.sabre.com/v2/shop/flights/fares?origin=<origin>&departuredate=<departuredate>&returndate=<returndate>&location=<location>&theme=<theme>&minfare=<minfare>&maxfare=<maxfare>&lengthofstay=<lengthofstay>&earliestdeparturedate=<earliestdeparturedate>&latestdeparturedate=<latestdeparturedate>&pointofsalecountry=<pointofsalecountry>&region=<region>&topdestinations=<topdestinations>&pricepermile=<pricepermile>"
    }]
}

This example demonstrates a request for lead fares from airport code "CLT" (Charlotte Douglas International) to any destination in the world for which lead fares are found on the specified travel dates. The following optional parameters are also specified: a beach theme and a maxfare of $220.

GET https://api.sabre.com/v2/shop/flights/fares?origin=CLT&departuredate=2015-12-15&returndate=2015-12-25&lengthofstay=2&theme=beach&maxfare=220 HTTP/1.1
{
    "OriginLocation": "CLT",
    "FareInfo": [{
        "CurrencyCode": "USD",
        "LowestNonStopFare": {
            "AirlineCodes": ["AA"],
            "Fare": 190.7
        },
        "LowestFare": {
            "AirlineCodes": ["UA", "AA"],
            "Fare": 181.2
        },
        "DestinationLocation": "BOS",
        "DepartureDateTime": "2015-12-15T00:00:00",
        "ReturnDateTime": "2015-12-25T00:00:00",
        "Theme": "BEACH",
        "Links": [{
            "rel": "shop",
            "href": "https://api.sabre.com/v1/shop/flights?origin=CLT&destination=BOS&departuredate=2015-12-15&returndate=2015-12-25&pointofsalecountry=US"
        }]
    }],
    "Links": [{
        "rel": "self",
        "href": "https://api.sabre.com/v2/shop/flights/fares?origin=CLT&departuredate=2015-12-15&returndate=2015-12-25&lengthofstay=2&theme=beach&maxfare=220"
    }, {
        "rel": "linkTemplate",
        "href": "https://api.sabre.com/v2/shop/flights/fares?origin=<origin>&departuredate=<departuredate>&returndate=<returndate>&location=<location>&theme=<theme>&minfare=<minfare>&maxfare=<maxfare>&lengthofstay=<lengthofstay>&earliestdeparturedate=<earliestdeparturedate>&latestdeparturedate=<latestdeparturedate>&pointofsalecountry=<pointofsalecountry>&region=<region>&topdestinations=<topdestinations>&pricepermile=<pricepermile>"
    }]
}

This example demonstrates a request for lead fares from airport code "CLT" (Charlotte Douglas International) to any destination in the world for which lead fares are found on the specified travel dates. The following optional parameters are also specified: a topdestinations value of 3.

GET https://api.sabre.com/v2/shop/flights/fares?origin=CLT&departuredate=2015-12-15&returndate=2015-12-25&topdestinations=3 HTTP/1.1 
{
    "OriginLocation": "CLT",
    "FareInfo": [{
        "CurrencyCode": "USD",
        "LowestNonStopFare": {
            "AirlineCodes": ["AA"],
            "Fare": 364.7
        },
        "LowestFare": {
            "AirlineCodes": ["DL"],
            "Fare": 181.7
        },
        "DestinationLocation": "PHL",
        "DepartureDateTime": "2015-12-15T00:00:00",
        "ReturnDateTime": "2015-12-25T00:00:00",
        "Links": [{
            "rel": "shop",
            "href": "https://api.sabre.com/v1/shop/flights?origin=CLT&destination=PHL&departuredate=2015-12-15&returndate=2015-12-25&pointofsalecountry=US"
        }],
        "DestinationRank": 1
    }, {
        "CurrencyCode": "USD",
        "LowestNonStopFare": {
            "AirlineCodes": ["DL"],
            "Fare": 220.7
        },
        "LowestFare": {
            "AirlineCodes": ["DL"],
            "Fare": 220.7
        },
        "DestinationLocation": "LGA",
        "DepartureDateTime": "2015-12-15T00:00:00",
        "ReturnDateTime": "2015-12-25T00:00:00",
        "Links": [{
            "rel": "shop",
            "href": "https://api.sabre.com/v1/shop/flights?origin=CLT&destination=LGA&departuredate=2015-12-15&returndate=2015-12-25&pointofsalecountry=US"
        }],
        "DestinationRank": 2
    }, {
        "CurrencyCode": "USD",
        "LowestNonStopFare": {
            "AirlineCodes": ["UA"],
            "Fare": 273.69
        },
        "LowestFare": {
            "AirlineCodes": ["UA"],
            "Fare": 273.69
        },
        "DestinationLocation": "ORD",
        "DepartureDateTime": "2015-12-15T00:00:00",
        "ReturnDateTime": "2015-12-25T00:00:00",
        "Links": [{
            "rel": "shop",
            "href": "https://api.sabre.com/v1/shop/flights?origin=CLT&destination=ORD&departuredate=2015-12-15&returndate=2015-12-25&pointofsalecountry=US"
        }],
        "DestinationRank": 3
    }],
    "Links": [{
        "rel": "self",
        "href": "https://api.sabre.com/v2/shop/flights/fares?origin=CLT&departuredate=2015-12-15&returndate=2015-12-25&topdestinations=3"
    }, {
        "rel": "linkTemplate",
        "href": "https://api.sabre.com/v2/shop/flights/fares?origin=<origin>&departuredate=<departuredate>&returndate=<returndate>&location=<location>&theme=<theme>&minfare=<minfare>&maxfare=<maxfare>&lengthofstay=<lengthofstay>&earliestdeparturedate=<earliestdeparturedate>&latestdeparturedate=<latestdeparturedate>&pointofsalecountry=<pointofsalecountry>&region=<region>&topdestinations=<topdestinations>&pricepermile=<pricepermile>"
    }]
}

Usage notes

Country and airport codes

Point of sale

The point of sale is the geographic location in which the fare itinerary is eligible to be ticketed. The default point of sale (US) can be overridden with any supported point of sale country specified in the pointofsalecountry parameter. For example, the following will retrieve fare data specific to the Germany (DE) point of sale: pointofsalecountry=DE. The response will be fares eligible for sale in Germany.

Airports at Cities Lookup API

To identify the airports associated with a multi-airport city (MAC) code, use the Airports at Cities Lookup API and pass one of the MACs in the request. The Airports at Cities Lookup API retrieves our list of major airport, rail station and other codes that are associated with a single multi-airport city (MAC) code in the request.

Calculate Air Mileage API

The Calculate Air Mileage API is a SOAP API that calculates the mileage from origin to destination as obtained from IATA. The Destination Finder API invokes this service to calculate the cost-per-mile when a pricepermile value is specified in the request.

City Pairs Lookup API

To get a list of our supported city pairs of origin and destination airports, use the City Pairs Lookup API. You can pass any of these origin and destination airport codes in a Destination Finder API request.

InstaFlights Search API

The InstaFlights Search API retrieves roundtrip flight itineraries with published fares and fare breakdowns available from the Sabre® cache for a certain origin, destination, and roundtrip travel dates.

Multi-Airport City Lookup API

To get a list of city codes that are served by more than one airport, use the Multi-Airport City Lookup API. These multi-airport city (MAC) codes can be used with applicable REST APIs.

Example: Within the Destination Finder API, to search for the lead fares from DFW to any airport associated with New York City, use "DFW" for origin and "NYC" for destination. The response will include the lowest fare and lowest nonstop fare. The lowest fare will be from DFW to any one of the airports that belong to NYC, e.g., DFW to LGA. The lowest nonstop fare will be from DFW to any one of the airports that belong to NYC, but may not be the same airport associated with the lowest fare, e.g., DFW to JFK.

When a top destination is a multi-airport city (MAC)

If a top ranked destination is a multi-airport city, lead fares to any destination airport(s) belonging to that MAC will be in the response. The destination airport(s) will be assigned the same DestinationRank.

Example: if "QDF," the MAC code for Dallas - Fort Worth, is a top destination with a DestinationRankof 5, the lead fares to airports that belong to that MAC, including DFW (Dallas Fort Worth International) and DAL (Dallas Love Field), may both be included in the response. Both DFW and QDF would be assigned the same DestinationRankof 5.

Custom Theme API

The Custom Theme API enables you to modify and customize themes. You can create a custom travel theme and associate that theme with airport and multi-airport city (MAC) codes. You can then pass your custom theme as a filter in a request with any REST API that supports a theme. The response will be destinations that are associated with your theme.

Theme Airport Lookup API

To get a list of destination airport codes that are associated with the optional theme parameter, use the Theme Airport Lookup API. The response will be a list of valid themes that we associate with that destination, e.g., Las Vegas would be associated as a GAMBLING destination.

Travel Theme Lookup API

To get a list of valid themes, use the Travel Theme Lookup API. The response will be a list of themes, such as BEACH, GAMBLING.

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: Sabre APIs: common errors page.

Note — Optional parameters are checked for errors when a value is supplied.

404 NOT_FOUND

No results were found

The service cannot find data to fulfill the parameters in the request. For example, data is not available for the origin or dates.

The service cannot find data to fulfill the request using the filters that you applied.

An origin or destination in the request is not a valid IATA airport code or multi-airport city code.

The origin or destination is not supported.

Status 413 FULL head

The API returns this error when a request URI is too long. For example, the HTTP request’s query string exceeds the server limit.

The response will be empty as a result.

Please consider reducing the number of request parameters in the URI or separating parameters into multiple HTTP requests.

400 BAD REQUEST

Parameter 'origin' must be specified

origin is missing.

origin is missing a value.

Parameter 'departuredate' must be specified

departuredate is missing a value.

returndate is provided, but departuredate is missing.

Parameter 'lengthofstay' must be specified

lengthofstay is missing.

lengthofstay is missing a value.

origin is provided, but lengthofstay or departuredate and returndate are missing.

Parameter 'returndate' must be specified

returndate is missing a value.

origin, departuredate are provided, but returndate is missing.

Parameter 'latestdeparturedate' must be specified

latestdeparturedate is missing a value.

origin, lengthofstay, and earliestdeparturedate are provided, but latestdeparturedate is missing.

Parameter 'departuredate' must have exactly one value

This API permits a single value for departuredate.

Parameter 'lengthofstay' must have exactly one value

origin, earliestdeparturedate, and latestdeparturedate were specified, but lengthofstay is missing.

Parameter 'pointofsalecountry' has an unsupported value

The value provided in pointofsalecountry is not a valid or supported country code. See also: point of sale.

One of the 'region' has an unsupported or invalid value

The value in region is not a valid value. For valid values, see region.

One of the 'location' has an unsupported or invalid value

A value provided in location is not a valid data type.

The value provided in location is not a valid country code.

We do not support the specified country code.

Parameter 'lengthofstay' must be of type 'number'

The value provided in lengthofstay is not a valid data type.

Parameter 'maxfare' must be of type 'number'

The value provided in maxfare is not a valid data type.

Parameter 'minfare' must be of type 'number'

The value provided in minfare is not a valid data type.

Parameter 'topdestinations' must be of type 'number'

The value provided in topdestinations is not a valid data type.

Parameter 'pricepermile' must be of type 'number'

The value provided in pricepermile is not a valid data type.

Parameter 'departuredate' must be today or a future date

departuredate uses a past date.

Parameter 'returndate' must be today or a future date

returndate uses a past date.

Parameter 'earliestdeparturedate' must be today or a future date

earliestdeparturedate uses a past date.

Parameter 'latestdeparturedate' must be today or a future date

latestdeparturedate uses a past date.

Parameter 'departuredate' must be before 'returndate'

The date range is not valid; for example, departuredate is later than returndate.

Parameter 'earliestdeparturedate' must be before 'latestreturndate'

The date range is not valid; for example, earliestdeparturedate is later than returndate.

Parameter 'lengthofstay' must be between 0 and 16

The value provided in lengthofstaymust be between 0 and 16.

Parameter 'maxfare' must be greater than or equal to 'minfare'

The amount provided in maxfare is less than the amount in minfare.

Parameter 'minfare' must be greater than or equal to 0.0

The amount provided in minfare is a negative number.

Parameter 'maxfare' must be greater than 0.0

The amount provided in maxfare is a negative number or 0.

Parameter 'topdestinations' must be between 1 and 50

Value must be between 1-50 inclusive.

Parameter 'lengthofstay' must not have more than 10 elements

This API permits 10 values for lengthofstay.

Parameter 'theme' must be a valid value

The value provided in theme is not supported or not valid.

See usage notes: for more information on the Custom Theme API, retrieving a list of Sabre themes using the Travel Theme Lookup API, or to retrieve airport codes associated with a Sabre theme using the Theme Airport Lookup API.

Parameter 'departuredate' exceeds the maximum days allowed

For the maximum parameter values, see departuredate.

Parameter 'returndate' exceeds the maximum days allowed

For the maximum parameter values, see returndate.

Parameter 'earliestdeparturedate' exceeds the maximum days allowed

For the maximum parameter values, see earliestdeparturedate.

Parameter 'latestdeparturedate' exceeds the maximum days allowed

For the maximum parameter values, see latestdeparturedate.

Parameter '{parameter name}' must have a format of 'yyyy-MM-dd' and be a valid date

{parameter name} applies to: departuredate, returndate, earliestdeparturedate, latestdeparturedate

The date is not valid, for example, yyyy-02-29 when the year is not leap year.

The month is not valid, for example, 13.

The day is not valid for the month, for example yyyy-04-31.

The date has an incorrect format, for example, a hyphen character is omitted.

Although the data type is string, the service detected non-numeric characters for yyyy, mm, or dd.

A date is formatted as yyyy-dd-mm instead of yyyy-mm-dd.

The value in dd is a single digit.

The value in mm is a single digit.

Date range in 'departuredate' and 'returndate' exceeds the maximum allowed

For the maximum parameter values between departuredate and returndate, see returndate.

Date range in 'earliestdeparturedate' exceeds the maximum allowed

For the maximum parameter values, see earliestdeparturedate.

Date range in 'earliestdeparturedate' and 'latestdeparturedate' exceeds the maximum allowed

For the maximum date range, see earliestdeparturedate.

Docs Navigation