Travel Theme Lookup

The Travel Theme Lookup API returns a list of supported Sabre themes. A theme is defined as a genre or a category of travel based on geography, point of interest, or recreational activity. For example: beaches, national parks, or skiing.

API Information

Target Audience
All Sabre APIs Customers
Current Version
v1.0.0
Authentication
Sessionless Token
Method/Endpoint
GET /v1/lists/supported/shop/themes/

Request

Travel Theme Lookup API requests do not have variations or parameters. The URI requests a list of all themes.

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

Response

Themes

array

Repeats for each Sabre theme

Theme

string

Returns the valid travel themes

Return values: BEACH, DISNEY, GAMBLING, HISTORIC, MOUNTAINS, NATIONAL-PARKS, OUTDOORS, ROMANTIC, SHOPPING, SKIING, THEME-PARK, CARIBBEAN

Links

array

Contains  destinations link objects for each Theme

destinations link

object

Invokes the Theme Airport Lookup API to return a list of airport codes that correspond to the theme in the Theme object

Overall response Links

array

self link

object

Returns the URL of the request that generated the response

linkTemplate link

object

Formats a Travel Theme Lookup request

Sample code

Request

GET https://api.havail.sabre.com/v1/lists/supported/shop/themes/ HTTP/1.1

Response

{
    "Themes": [
        {
            "Theme": "BEACH",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/BEACH"
                }
            ]
        },
        {
            "Theme": "CARIBBEAN",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/CARIBBEAN"
                }
            ]
        },
        {
            "Theme": "DISNEY",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/DISNEY"
                }
            ]
        },
        {
            "Theme": "GAMBLING",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/GAMBLING"
                }
            ]
        },
        {
            "Theme": "HISTORIC",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/HISTORIC"
                }
            ]
        },
        {
            "Theme": "MOUNTAINS",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/MOUNTAINS"
                }
            ]
        },
        {
            "Theme": "NATIONAL-PARKS",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/NATIONAL-PARKS"
                }
            ]
        },
        {
            "Theme": "OUTDOORS",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/OUTDOORS"
                }
            ]
        },
        {
            "Theme": "ROMANTIC",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/ROMANTIC"
                }
            ]
        },
        {
            "Theme": "SHOPPING",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/SHOPPING"
                }
            ]
        },
        {
            "Theme": "SKIING",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/SKIING"
                }
            ]
        },
        {
            "Theme": "THEME-PARK",
            "Links": [
                {
                    "rel": "destinations",
                    "href": "https://api.havail.sabre.com/v1/lists/supported/shop/themes/THEME-PARK"
                }
            ]
        }
    ],
    "Links": [
        {
            "rel": "self",
            "href": "https://api.havail.sabre.com/v1/shop/themes"
        },
        {
            "rel": "linkTemplate",
            "href": "https://api.havail.sabre.com/v1/shop/themes"
        }
    ]
}

Usage notes

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.

Errors

An HTTP status code is always returned.

For more information about HTTP status codes and error response formats, see Sabre APIs: errors.

Status 404 NOT FOUND

No results were found

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

Docs Navigation