getReservationWithResponse

public final <Error class: unknown class><List<Itinerary>> getReservationWithResponse(String customerIp, String affiliateReferenceId, String email, String customerSessionId, String test, List<String> include)
public final <Error class: unknown class><List<Itinerary>> getReservationWithResponse(String customerIp, String affiliateReferenceId, String email, String customerSessionId, String test)
public final <Error class: unknown class><List<Itinerary>> getReservationWithResponse(String customerIp, String affiliateReferenceId, String email, String customerSessionId)
public final <Error class: unknown class><List<Itinerary>> getReservationWithResponse(String customerIp, String affiliateReferenceId, String email)

Search for and retrieve Bookings with Affiliate Reference Id This can be called directly without a token when an affiliate reference id is provided. It returns details about bookings associated with an affiliate reference id, along with cancel links to cancel the bookings. Note: Newly created itineraries may sometimes have a small delay between the time of creation and the time that the itinerary can be retrieved. If you receive no results while trying to find an itinerary that was successfully created, please wait a few minutes before trying to search for the itinerary again.

Return

a Response object with a body of type kotlin.collections.List

Parameters

customerIp

IP address of the customer, as captured by your integration.
Ensure your integration passes the customer's IP, not your own. This value helps determine their location and assign the correct payment gateway.
Also used for fraud recovery and other important analytics.

affiliateReferenceId

The affilliate reference id value. This field supports a maximum of 28 characters.

email

Email associated with the booking. Special characters in the local part or domain should be encoded.

customerSessionId

Insert your own unique value for each user session, beginning with the first API call. Continue to pass the same value for each subsequent API call during the user's session, using a new value for every new customer session.
Including this value greatly eases EPS's internal debugging process for issues with partner requests, as it explicitly links together request paths for individual user's session. (optional)

test

The retrieve call has a test header that can be used to return set responses with the following keywords:
* standard - Requires valid test booking. * service_unavailable * internal_server_error (optional)

include

Options for which information to return in the response. The value must be lower case. * history - Include itinerary history, showing details of the changes made to this itinerary (optional)

Throws