XapClient

public final class XapClient

The XAP Lodging Search APIs can be used by partners both booking via an Expedia website, or by partners that will be booking via the XAP APIs. Each API also provides pre-configured links to the Expedia website, the XAP Booking API, or both.

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public final class BuilderWithHttpClient

Functions

Link copied to clipboard
public final static XapClient.Builder builder()
Link copied to clipboard
Link copied to clipboard
public final <Error class: unknown class><ActivityDetailsResponse> execute(GetActivityDetailsOperation operation)

The Activity Details API provides detailed information about one selected activity.

public final <Error class: unknown class><ActivityListingsResponse> execute(GetActivityListingsOperation operation)

The Activities Search API allows partners to search for Expedia Activity inventory.

public final <Error class: unknown class><CarDetailsResponse> execute(GetCarDetailsOperation operation)

Get Extended information with a single car offer Extended information about the rates, charges, fees, and other terms associated with a single car offer.

public final <Error class: unknown class><CarListingsResponse> execute(GetCarsListingsOperation operation)

Search Expedia car inventory Search Expedia car inventory by date, pickup, and dropoff location to return a listing of available cars for hire.

public final <Error class: unknown class><PresignedUrlResponse> execute(GetFeedDownloadUrlOperation operation)

Get the Download URL and other details of the static files.

public final <Error class: unknown class><FlightBaggageFeesResponse> execute(GetFlightBagaggefeeOperation operation)

request for baggage fee information

public final <Error class: unknown class><FlightDetailsResponse> execute(GetFlightDetailsOperation operation)

The Flight Details API will return validated pricing on the itinerary passed in on the request. It's a GET request with the transaction secured over HTTPS. This message supports response in JSON and XML format.

public final <Error class: unknown class><FlightFareRulesResponse> execute(GetFlightFarerulesOperation operation)

request for farerule information

public final <Error class: unknown class><FlexSearchResponse> execute(GetFlightFlexsearchOperation operation)

request for flexsearch information

public final <Error class: unknown class><FlightSearchResponse> execute(GetFlightListingsOperation operation)

search flight products

public final <Error class: unknown class><SeatMapResponse> execute(GetFlightSeatmapOperation operation)

request for seatmap information

public final <Error class: unknown class><FareCalendarResponse> execute(GetFlightsFarecalendarOperation operation)

API that will return the lowest fares for multiple days so that the same can be displayed as a booking widget calendar.

public final <Error class: unknown class><AvailabilityCalendarResponse> execute(GetLodgingAvailabilityCalendarsOperation operation)

Get availability calendars of properties Returns the availability of each day for a range of dates for given Expedia lodging properties.

public final <Error class: unknown class><HotelDetailsResponse> execute(GetLodgingDetailsOperation operation)

Get Extended information with a single property offer Extended information about the rate, charges, fees, and financial terms associated with booking a single lodging rate plan offer.

public final <Error class: unknown class><HotelListingsResponse> execute(GetLodgingListingsOperation operation)

Search lodging inventory Search Expedia lodging inventory by Location Keyword, Region ID, Lat/Long, or Hotel ID(s) and return up to 1,000 offers in response. Provides deeplink to Expedia site to book, or rate plan info to enable API booking.

public final <Error class: unknown class><LodgingQuotesResponse> execute(GetLodgingQuotesOperation operation)

Get properties price and availability information The Lodging Quotes API will return the price and availability information for given Expedia lodging property ID(s).

public final <Error class: unknown class><RateCalendarResponse> execute(GetLodgingRateCalendarOperation operation)

Get rate calendar of a property The Rate Calendar API will return the lowest rate plan for a range of days for one selected Expedia lodging property.

public final <Error class: unknown class><FlightLinksResponse> execute(PostFlightLinksOperation operation)

Request for flight links The API inputs define a particular flight itinerary. The API response will include deeplinks to Expedia Flight Infosite and/or an API query for details for the selected flight.

Link copied to clipboard
public final CompletableFuture<<Error class: unknown class><ActivityDetailsResponse>> executeAsync(GetActivityDetailsOperation operation)

The Activity Details API provides detailed information about one selected activity.

public final CompletableFuture<<Error class: unknown class><ActivityListingsResponse>> executeAsync(GetActivityListingsOperation operation)

The Activities Search API allows partners to search for Expedia Activity inventory.

public final CompletableFuture<<Error class: unknown class><CarDetailsResponse>> executeAsync(GetCarDetailsOperation operation)

Get Extended information with a single car offer Extended information about the rates, charges, fees, and other terms associated with a single car offer.

public final CompletableFuture<<Error class: unknown class><CarListingsResponse>> executeAsync(GetCarsListingsOperation operation)

Search Expedia car inventory Search Expedia car inventory by date, pickup, and dropoff location to return a listing of available cars for hire.

public final CompletableFuture<<Error class: unknown class><PresignedUrlResponse>> executeAsync(GetFeedDownloadUrlOperation operation)

Get the Download URL and other details of the static files.

public final CompletableFuture<<Error class: unknown class><FlightBaggageFeesResponse>> executeAsync(GetFlightBagaggefeeOperation operation)

request for baggage fee information

public final CompletableFuture<<Error class: unknown class><FlightDetailsResponse>> executeAsync(GetFlightDetailsOperation operation)

The Flight Details API will return validated pricing on the itinerary passed in on the request. It's a GET request with the transaction secured over HTTPS. This message supports response in JSON and XML format.

public final CompletableFuture<<Error class: unknown class><FlightFareRulesResponse>> executeAsync(GetFlightFarerulesOperation operation)

request for farerule information

public final CompletableFuture<<Error class: unknown class><FlexSearchResponse>> executeAsync(GetFlightFlexsearchOperation operation)

request for flexsearch information

public final CompletableFuture<<Error class: unknown class><FlightSearchResponse>> executeAsync(GetFlightListingsOperation operation)

search flight products

public final CompletableFuture<<Error class: unknown class><SeatMapResponse>> executeAsync(GetFlightSeatmapOperation operation)

request for seatmap information

public final CompletableFuture<<Error class: unknown class><FareCalendarResponse>> executeAsync(GetFlightsFarecalendarOperation operation)

API that will return the lowest fares for multiple days so that the same can be displayed as a booking widget calendar.

Get availability calendars of properties Returns the availability of each day for a range of dates for given Expedia lodging properties.

public final CompletableFuture<<Error class: unknown class><HotelDetailsResponse>> executeAsync(GetLodgingDetailsOperation operation)

Get Extended information with a single property offer Extended information about the rate, charges, fees, and financial terms associated with booking a single lodging rate plan offer.

public final CompletableFuture<<Error class: unknown class><HotelListingsResponse>> executeAsync(GetLodgingListingsOperation operation)

Search lodging inventory Search Expedia lodging inventory by Location Keyword, Region ID, Lat/Long, or Hotel ID(s) and return up to 1,000 offers in response. Provides deeplink to Expedia site to book, or rate plan info to enable API booking.

public final CompletableFuture<<Error class: unknown class><LodgingQuotesResponse>> executeAsync(GetLodgingQuotesOperation operation)

Get properties price and availability information The Lodging Quotes API will return the price and availability information for given Expedia lodging property ID(s).

public final CompletableFuture<<Error class: unknown class><RateCalendarResponse>> executeAsync(GetLodgingRateCalendarOperation operation)

Get rate calendar of a property The Rate Calendar API will return the lowest rate plan for a range of days for one selected Expedia lodging property.

public final CompletableFuture<<Error class: unknown class><FlightLinksResponse>> executeAsync(PostFlightLinksOperation operation)

Request for flight links The API inputs define a particular flight itinerary. The API response will include deeplinks to Expedia Flight Infosite and/or an API query for details for the selected flight.

Link copied to clipboard
public Unit throwServiceException(HttpResponse response, String operationId)