Vuelos
Autocompletar
Disponibilidad
Reserva

Proceso de Vuelos:

La API de vuelos permite generar tu propia caja de búsqueda. Esto se realiza mediante el proceso de Availability, el cuál utiliza el servicio de Autocomplete teniendo una lista de aeropuertos y ciudades normalizadas, permitiendo de esta manera facilitar el ingreso de los datos. En el siguiente proceso de Booking se obtiene el resultado de búsqueda deseada identificando los datos correspondientes al vuelo, costos y la finalización de la compra.

Mediante la implementación de API, podrás adaptar tu caja de búsqueda, resultados y check out con tus propios estilos y diseños.

  • Paso 1

    The first step is to obtain the available routes. The following example searches itineraries from Buenos Aires to Miami on the site of Argentina for the date 14.08.2014 for an adult. This resource returns a summary of information for each route, enough to understand and to be able to choose between different options.

    [GET] /v3/flights/itineraries?site=ar&from=BUE&to=MIA&departure_date=2014-08-14&adults=1
  • Paso 2

    The ability to access the next service to get a detail of the route concerned, accessing methods available and other details. There are cases in which the search result is not marked with the detail of taxes, this can also be accessed for the detailed itinerary for these values. The "itinerary_id" is obtained in the above service.

    [GET] /v3/flights/itineraries/:itinerary_id
  • Paso 3

    Having chosen the route proceeds to make the reservation with the following service using the "itinerary_id" selected above. The initial state of the same NO confirms that your flight has been booked. The response they will find the information necessary to form complete in the next step.

    [POST] /v3/flights/bookings
  • Paso 4

    To complete the process, you must call one or more times in the next service "booking_id" obtained in the previous service. Initially it must provide passenger data and the method of payment, then it may happen that required having to call the service to enter data for a new payment method (if the previous one has failed) or complete some questions of risk. When more information is required by code 310 (redirect) is obtained. When all the necessary information it is complete, it will get the code 200.

    [PATH] /v3/flights/bookings/:booking_id
Ver documentación técnica