Basset Help

Help Basset

Search Hotel (Busqueda Hotel) (Paso 2)

Documentación de la API de Búsqueda de Alojamientos de Basset

La API de Búsqueda de Alojamientos de Basset te permite buscar alojamientos en función de diversos criterios como región, distribución, tipo de tarifa, fechas de check-in y check-out, moneda, idioma y más. Puedes utilizar esta API para obtener información sobre alojamientos disponibles que cumplan con los parámetros especificados. A continuación, se presenta una guía paso a paso para utilizar esta API con el comando curl.

URL de la API

https://api.basset.ws/accommodations/search

Parámetros de la URL

  • region_id: El ID de la región en la que deseas buscar alojamientos. En este caso, el ID de la región es “178242”.
  • region_type: El tipo de región en la que deseas buscar alojamientos. Las opciones disponibles son multi_city_vicinity, city y neighborhood.
  • distribution: La distribución de alojamientos que deseas buscar. En este caso, la distribución es “2”.
  • rate_type: El tipo de tarifa de alojamiento que deseas buscar. En este caso, el tipo de tarifa es “STANDALONE”.

NOTA: Corresponde al tipo de tarifa, si no se indica toma por defecto STANDALONE

Los posibles valores son:

  • rate_type=STANDALONE (tarifa estándar por defecto con todos los proveedores)
  • rate_type=PACKAGE_OPAQUE (se usa cuando tienen por contrato tarifas para empaquetar)
  • rate_type=MOD (la habilitan algunos proveedores para usar solo si estás logueado en la plataforma)
  • rate_type=DEAL (es igual que MOD dependiendo de que proveedor se trate)
  • order_by: El criterio por el cual deseas ordenar los resultados de la búsqueda. En este caso, se ordena por “rank”.

NOTA: Si no se indica en la URL ordena por defecto los hoteles recomendados por el proveedor, es decir, order_by=rank

Los posibles valores son:

  • order_by=price_asc (menor a mayor en precio)
  • order_by=price_desc (mayor a menor en precio)
  • order_by=rating (mejor puntuación)
  • order_by=rank (recomendados por el proveedor)
  • offset: El desplazamiento de resultados para paginación. En este caso, el desplazamiento es “0”.
  • limit: El número máximo de resultados que deseas obtener. En este caso, el límite es “20”.
  • currency: La moneda en la que deseas ver los precios de los alojamientos. En este caso, la moneda es “ARS” (pesos argentinos).
  • language: El idioma en el que deseas recibir la información sobre los alojamientos. En este caso, el idioma es “es” para español.
  • site: El sitio o país para el que deseas obtener información sobre los alojamientos. En este caso, el sitio es “AR” para Argentina.
  • channel: El canal a través del cual estás accediendo a la API. En este caso, es “API”.
  • checkout: La fecha de check-out en el formato “YYYY-MM-DD”. En este caso, la fecha de check-out es “2023-10-30”.
  • checkin: La fecha de check-in en el formato “YYYY-MM-DD”. En este caso, la fecha de check-in es “2023-10-01”.

Encabezados de la solicitud

  • x-api-key: Debes proporcionar tu clave de API en este encabezado.
  • x-client-id: Debes proporcionar tu ID de cliente en este encabezado.

Método de solicitud

El método de solicitud es GET.

Ejemplo de solicitud utilizando cURL

curl --location --request GET 'https://api.basset.ws/accommodations/search?region_id=178242&region_type=multi_city_vicinity&distribution=2&rate_type=STANDALONE&order_by=rank&offset=0&limit=20&currency=ARS&language=es&site=AR&channel=API&checkout=2023-10-30&checkin=2023-10-01' \
--header 'x-api-key: API-KEY' \
--header 'x-client-id: CLIENT-ID'

Asegúrate de reemplazar API-KEY y CLIENT-ID con tus propias claves de API e ID de cliente proporcionadas por Basset.

Respuesta

La respuesta de la API contendrá información sobre los alojamientos disponibles que cumplen con los criterios de búsqueda especificados. Esta información estará en formato JSON, y podrás analizarla para obtener detalles sobre los alojamientos, como nombres, precios, ubicaciones, etc.

Recuerda consultar la documentación oficial de Basset para obtener más detalles sobre los parámetros admitidos y la estructura de la respuesta.

Autocomplete Hotel (Paso 1)

Documentación de la API de Autocompletado de Basset

La API de Autocompletado de Basset proporciona la funcionalidad para realizar búsquedas de autocompletado en diferentes entidades geográficas y de alojamiento. Puedes utilizar esta API para obtener sugerencias de autocompletado relacionadas con ubicaciones y alojamientos en función de los parámetros que proporciones. Aquí tienes una guía paso a paso para utilizar esta API con el comando curl.

URL de la API

https://api.basset.ws/autocomplete

Parámetros de la URL

  • entities: Una lista de entidades separadas por comas para las que deseas obtener sugerencias de autocompletado. Las opciones disponibles son ACC_MULTI_CITY_VICINITY, ACC_CITY, ACC_HIGH_REGION, ACC_NEIGHBORHOOD, ACCOMMODATION y GOOGLE_PLACE
  • language: El idioma en el que deseas recibir las sugerencias de autocompletado. En este caso, el idioma es “es” para español.
  • q: El término de búsqueda para el que deseas obtener sugerencias de autocompletado. En tu caso, el término de búsqueda es “buenos aires”.
  • site: El sitio o país para el que deseas obtener las sugerencias de autocompletado. En tu caso, el sitio es “AR” para Argentina.
  • channel: El canal a través del cual estás accediendo a la API. En tu caso, es “API”.

Encabezados de la solicitud

  • x-api-key: Debes proporcionar tu clave de API en este encabezado.
  • x-client-id: Debes proporcionar tu ID de cliente en este encabezado.

Método de solicitud

El método de solicitud es GET.

Ejemplo de solicitud utilizando cURL

curl --location --request GET 'https://api.basset.ws/autocomplete?entities=ACC_MULTI_CITY_VICINITY,ACC_CITY,ACC_NEIGHBORHOOD,ACCOMMODATION&q=buenos%20aires&language=es&site=AR&channel=API' \
--header 'x-api-key: API-KEY' \
--header 'x-client-id: ID-CLIENT'

Asegúrate de reemplazar API-KEY y ID-CLIENT con tus propias claves de API e ID de cliente proporcionadas por Basset.

Respuesta

La respuesta de la API contendrá las sugerencias de autocompletado en formato JSON, que podrás analizar para obtener información relevante sobre ubicaciones y alojamientos relacionados con tu término de búsqueda.

Este es un ejemplo general de cómo utilizar la API de Autocompletado de Basset con cURL. Asegúrate de consultar la documentación oficial de Basset para obtener más detalles sobre los parámetros admitidos y la estructura de la respuesta.

Flight Segments Booking (Data Completa de Booking) (Paso 7)

curl –location –request GET ‘https://api.basset.ws/flights/reservations/4cdaa90a-55ef-4fd0-b765-217fff0585d2/?site=AR&channel=API’ \
–header ‘x-api-key: KEY’ \
–header ‘x-client-id: ID’

Response:

{
“id”: “4cdaa90a-55ef-4fd0-b765-217fff0585d2”,
“reservation_id”: “369656351”,
“cluster”: {
“segments”: [
{
“origin”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“destination”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“departure_date”: “2023-08-26”,
“options”: [
{
“id”: “c3254029-1c21-435f-a473-2b7aba78443d|13918627881584194915”,
“departure_date”: “2023-08-26”,
“departure_time”: “05:11”,
“arrival_date”: “2023-08-26”,
“arrival_time”: “10:34”,
“duration”: “07:24”,
“legs”: [
{
“origin”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“destination”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“departure_date”: “2023-08-26”,
“departure_time”: “05:11”,
“arrival_date”: “2023-08-26”,
“arrival_time”: “10:34”,
“marketing_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“operating_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“duration”: “07:24”,
“flight_number”: “0278”,
“aircraft_type”: “739”,
“cabin_type”: {
“code”: “T”,
“name”: “Economy”,
“quantity”: 9
},
“branded_fare”: “BASIC”,
“branded_fare_name”: “ECONOMY BASIC”
}
],
“baggage_allowances”: [
{
“quantity”: 0,
“weight”: 0,
“type”: “CHECKED_BAGGAGE”
},
{
“quantity”: 1,
“weight”: 0,
“type”: “CARRY_ON”
}
]
}
]
},
{
“origin”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“destination”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“departure_date”: “2023-08-31”,
“options”: [
{
“id”: “c3254029-1c21-435f-a473-2b7aba78443d|7040208058982863180”,
“departure_date”: “2023-08-31”,
“departure_time”: “12:32”,
“arrival_date”: “2023-08-31”,
“arrival_time”: “21:49”,
“duration”: “07:12”,
“legs”: [
{
“origin”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“destination”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“departure_date”: “2023-08-31”,
“departure_time”: “12:32”,
“arrival_date”: “2023-08-31”,
“arrival_time”: “21:49”,
“marketing_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“operating_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“duration”: “07:12”,
“flight_number”: “0500”,
“aircraft_type”: “738”,
“cabin_type”: {
“code”: “S”,
“name”: “Economy”,
“quantity”: 9
},
“branded_fare”: “BASIC”,
“branded_fare_name”: “ECONOMY BASIC”
}
],
“baggage_allowances”: [
{
“quantity”: 0,
“weight”: 0,
“type”: “CHECKED_BAGGAGE”
},
{
“quantity”: 1,
“weight”: 0,
“type”: “CARRY_ON”
}
]
}
]
}
],
“price”: {
“charges”: 10286.24,
“total”: 524598.34,
“taxes”: 295127.1,
“adults”: {
“fare”: 219185,
“quantity”: 1,
“taxes”: [
{
“total”: 16086.4,
“type”: “AR”,
“collector”: “PROVIDER”
},
{
“total”: 16815,
“type”: “XR”,
“collector”: “PROVIDER”
},
{
“total”: 2360,
“type”: “TQ”,
“collector”: “PROVIDER”
},
{
“total”: 2950,
“type”: “QO”,
“collector”: “PROVIDER”
},
{
“total”: 10620,
“type”: “YQ”,
“collector”: “PROVIDER”
},
{
“total”: 11800,
“type”: “FZ”,
“collector”: “PROVIDER”
},
{
“total”: 737.6,
“type”: “AH”,
“collector”: “PROVIDER”
},
{
“total”: 3540,
“type”: “F3”,
“collector”: “PROVIDER”
},
{
“total”: 103412.3,
“type”: “Q1”,
“collector”: “PROVIDER”
},
{
“total”: 413,
“type”: “S7”,
“collector”: “PROVIDER”
},
{
“total”: 68941.5,
“type”: “O5”,
“collector”: “PROVIDER”
},
{
“total”: 57451.3,
“type”: “S5”,
“collector”: “PROVIDER”
}
],
“refund_policy”: [
{
“applies”: “BEFORE”,
“valid”: false,
“amount”: 0,
“percentage”: 0
},
{
“applies”: “AFTER”,
“valid”: false,
“amount”: 0,
“percentage”: 0
}
],
“exchange_policy”: [
{
“applies”: “BEFORE”,
“valid”: true,
“amount”: 44250,
“percentage”: 0
},
{
“applies”: “AFTER”,
“valid”: true,
“amount”: 44250,
“percentage”: 0
}
]
},
“reseller_charges”: {
“operating_cost”: 0,
“fees”: 0,
“markup”: 0
},
“agency_charges”: {
“operating_cost”: 0,
“fees”: 10286.24,
“markup”: 0
},
“currency”: “ARS”,
“commision_rule_data”: {
“currency”: “ARS”,
“ceded_amount”: 0,
“reseller_amount”: 0
},
“over_commision_rule_data”: {
“currency”: “”,
“ceded_amount”: 0,
“reseller_amount”: 0
},
“detail”: {
“total”: 524598.34,
“taxes”: 295127.1,
“charges”: 10286.24,
“adults”: {
“passenger_total”: 524598.34,
“passenger_total_tax”: 295127.1,
“passenger_base_fare”: 219185,
“total”: 524598.34,
“passenger_base_tax”: 295127.1,
“quantity”: 1,
“passenger_type”: “ADT”,
“passenger_discount_type”: “ADT”,
“extra_taxes”: null,
“taxes”: [
{
“total”: 16086.4,
“type”: “AR”,
“collector”: “PROVIDER”
},
{
“total”: 16815,
“type”: “XR”,
“collector”: “PROVIDER”
},
{
“total”: 2360,
“type”: “TQ”,
“collector”: “PROVIDER”
},
{
“total”: 2950,
“type”: “QO”,
“collector”: “PROVIDER”
},
{
“total”: 10620,
“type”: “YQ”,
“collector”: “PROVIDER”
},
{
“total”: 11800,
“type”: “FZ”,
“collector”: “PROVIDER”
},
{
“total”: 737.6,
“type”: “AH”,
“collector”: “PROVIDER”
},
{
“total”: 3540,
“type”: “F3”,
“collector”: “PROVIDER”
},
{
“total”: 103412.3,
“type”: “Q1”,
“collector”: “PROVIDER”
},
{
“total”: 413,
“type”: “S7”,
“collector”: “PROVIDER”
},
{
“total”: 68941.5,
“type”: “O5”,
“collector”: “PROVIDER”
},
{
“total”: 57451.3,
“type”: “S5”,
“collector”: “PROVIDER”
}
],
“fees”: [
{
“total”: 10286.24,
“type”: “FEE”,
“collector”: “PROVIDER”
}
],
“metadata”: {
“n_etviax__rules”: [
{
“extended_properties”: [
{
“key”: “PoA”,
“value”: “%”
},
{
“key”: “GivenCurrency”,
“value”: “NA”
},
{
“key”: “Given”,
“value”: “0.00”
},
{
“key”: “GivenCurrencyAmount”,
“value”: “ARS”
},
{
“key”: “GivenAmount”,
“value”: “0.00”
},
{
“key”: “GrossCurrency”,
“value”: “NA”
},
{
“key”: “Gross”,
“value”: “0.00”
},
{
“key”: “GrossCurrencyAmount”,
“value”: “ARS”
},
{
“key”: “GrossAmount”,
“value”: “0.00”
}
],
“id”: “127053”,
“type”: “C”
},
{
“extended_properties”: null,
“id”: “126530”,
“type”: “CV”
},
{
“extended_properties”: [
{
“key”: “CalculatedCurrency”,
“value”: “ARS”
},
{
“key”: “CalculatedAmount”,
“value”: “10286.24”
}
],
“id”: “128368”,
“type”: “F”
},
{
“extended_properties”: null,
“id”: “127912”,
“type”: “RE”
}
]
},
“refund_policy”: [
{
“applies”: “BEFORE”,
“valid”: false,
“amount”: 0,
“percentage”: 0
},
{
“applies”: “AFTER”,
“valid”: false,
“amount”: 0,
“percentage”: 0
}
],
“exchange_policy”: [
{
“applies”: “BEFORE”,
“valid”: true,
“amount”: 44250,
“percentage”: 0
},
{
“applies”: “AFTER”,
“valid”: true,
“amount”: 44250,
“percentage”: 0
}
]
},
“currency”: “ARS”,
“conversion_rate”: 1,
“fees”: null,
“commission_rule_data”: {
“currency”: “ARS”,
“ceded_amount”: 0,
“airline_ceded_amount”: 0,
“agency_amount”: 0,
“reseller_amount”: 0,
“airline_amount”: 0
},
“over_commission_rule_data”: {
“currency”: “”,
“ceded_amount”: 0,
“airline_ceded_amount”: 0,
“agency_amount”: 0,
“reseller_amount”: 0,
“airline_amount”: 0
}
},
“agency_cost_effectiveness”: 10286.24
},
“provider_id”: “NETVIAX”,
“source”: “SABRE”,
“source_type”: “GDS”,
“validating_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“route_type”: “INTERNATIONAL”,
“flight_type”: “ROUND_TRIP”,
“tracking_id”: “1d262786-c8d1-4565-b594-aceaxxx2c71”
},
“pnr”: “LSJYWC”,
“reseller_expiration_date”: “0001-01-01T00:00:00Z”,
“expiration_date”: “2023-08-11T15:57:00-03:00”,
“passengers”: [
{
“type”: “ADT”,
“firstname”: “JORGE”,
“lastname”: “SANCHEZ”,
“firstname_original”: “jorge”,
“lastname_original”: “sanchez”,
“gender”: “M”,
“birth”: “14/11/1979”,
“document”: {
“type”: “PAS”,
“number”: “1411122233”,
“issuing_country”: “AR”,
“valid_thru”: “2025-01-01”
},
“nationality”: “AR”
}
],
“activity_logs”: [
{
“new_status”: “BOOKED”,
“previous_status”: “NONE”,
“message”: “”,
“timestamp”: “2023-08-10T19:03:51.077710783Z”,
“action”: “RESERVE”
},
{
“new_status”: “BOOKED”,
“previous_status”: “BOOKED”,
“message”: “update itinerary when retrieve PNR”,
“agent”: {
“id”: “basset|198375827”,
“email”: “mail@correo.la”,
“name”: “Jorge Sanchez”,
“picture”: “https://s.gravatar.com/avatar/19a87b38ef3fa874e5f2e640f44e9b79?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fjo.png”
},
“timestamp”: “2023-08-10T19:12:28.718539149Z”,
“action”: “RETRIEVE”
},
{
“new_status”: “BOOKED”,
“previous_status”: “BOOKED”,
“message”: “update fare tax when retrieve PNR”,
“agent”: {
“id”: “basset|198375827”,
“email”: “mail@correo.la”,
“name”: “Jorge Sanchez”,
“picture”: “https://s.gravatar.com/avatar/19a87b38ef3fa874e5f2e640f44e9b79?s=480&r=pg&d=https%3A%2F%2Fcdn.auth0.com%2Favatars%2Fjo.png”
},
“timestamp”: “2023-08-10T19:12:28.718541212Z”,
“action”: “RETRIEVE”
}
],
“contact”: {
“email”: “mail@correo.la”,
“language”: “es”,
“telephone”: {
“type”: “H”,
“country_code”: “54”,
“area_code”: “11”,
“number”: “343432223”
}
},
“fiscal_identification”: {
“type”: “”,
“number”: “”
},
“client_id”: “3a9fdce7-a307-42a2-aa06-73xxxxc418f”,
“site”: “AR”,
“config_source”: “”,
“channel”: “API”,
“created_at”: “2023-08-10T19:03:32.404783149Z”,
“status”: “BOOKED”,
“provider_id”: “NETVIAX”,
“source”: “SABRE”,
“remarks”: [
{
“text”: “X/-¥CUIL 1166543335”,
“type”: “GENERAL”
},
{
“text”: “X/-¥SITFISC”,
“type”: “GENERAL”
},
{
“text”: “X/-¥RAZSOC JORGE SANCHEZ”,
“type”: “GENERAL”
},
{
“text”: “X/-¥PROVINCIA”,
“type”: “GENERAL”
},
{
“text”: “X/-¥LOCALIDAD AR”,
“type”: “GENERAL”
},
{
“text”: “X/-¥CALLE”,
“type”: “GENERAL”
},
{
“text”: “X/-¥NRO 116525433854”,
“type”: “GENERAL”
},
{
“text”: “X/-¥PISO”,
“type”: “GENERAL”
},
{
“text”: “X/-¥DTO”,
“type”: “GENERAL”
},
{
“text”: “X/-¥PAIS AR”,
“type”: “GENERAL”
},
{
“text”: “X/-¥TIPO ID DNI”,
“type”: “GENERAL”
},
{
“text”: “X/-¥CODPOSTAL 1252”,
“type”: “GENERAL”
},
{
“text”: “X/-¥TEL 54115433372”,
“type”: “GENERAL”
},
{
“text”: “X/-¥MAILCOM LJISS.SANCHEZ AT BASSET.LA”,
“type”: “GENERAL”
},
{
“text”: “X/-¥BASSETID 369456351”,
“type”: “GENERAL”
},
{
“text”: “ASD/IA/PNR/NVX-WS”,
“type”: “HISTORICAL”
},
{
“text”: “NVX/C/ID/127053/1160310AUG23”,
“type”: “HISTORICAL”
},
{
“text”: “NVX/C/BP/P/BC/NA/B/0.00/BMC/ARS/BM/0.00/1160310AUG23”,
“type”: “HISTORICAL”
},
{
“text”: “NVX/C/CC/NA/C/0.00/CMC/ARS/CM/0.00/1160310AUG23”,
“type”: “HISTORICAL”
},
{
“text”: “NVX/CV/ID/126530/1160310AUG23”,
“type”: “HISTORICAL”
},
{
“text”: “NVX/F/ID/128368/1160310AUG23”,
“type”: “HISTORICAL”
},
{
“text”: “NVX/F/CAC/ARS/CAM/10286.24/1160310AUG23”,
“type”: “HISTORICAL”
},
{
“text”: “NVX/RE/ID/127912/1160310AUG23”,
“type”: “HISTORICAL”
}
],
“price_adjustment”: 0,
“voucher_url”: “”,
“provider_configuration_id”: “5609491a-53b4-4805-97b5-e9dd2543cc5b”,
“provider_configuration”: {
“id”: “5609491a-53b4-4805-97b5-e9dd65346cc5b”,
“owner_id”: “3a9fdce7-a307-42a2-aa06-432ecffc418f”,
“owner_name”: “basset”,
“owner_type”: “AGENCY”
},
“payments_url”: “”,
“queue”: null
}

Flight Reservation ID (Resumen Booking) (Paso 6)

curl –location –request GET ‘https://api.basset.ws/reservations/369656351?site=AR&channel=API’ \
–header ‘x-api-key: KEY’ \
–header ‘x-client-id: ID’

Response:

{
“id”: “369656351”,
“products”: [
{
“reservation_id”: “4cdaa90a-55ef-4fd0-b765-217fXXXX5d2”,
“provider_reservation_id”: “LSJYZZ”,
“type”: “FLIGHT”,
“status”: “BOOKED”,
“voucher_url”: “”,
“provider_configuration_id”: “5609491a-53b4-4805-97b5-e9dXXX26cc5b”,
“agent_id”: “”,
“user_group_id”: “”,
“business_unit_id”: “”,
“channel”: “API”,
“source”: “”,
“provider”: “SABRE”,
“messages”: [],
“route_type”: “INTERNATIONAL”,
“flight_type”: “ROUND_TRIP”,
“validating_carrier”: “CM”,
“pnr”: “LSJYZZ”,
“origin”: “Ezeiza”,
“origin_code”: “EZE”,
“destination”: “Tocumen”,
“destination_code”: “PTY”,
“departure_date”: “2023-08-26T05:11:00Z”,
“return_date”: “2023-08-31T12:32:00Z”,
“adults_qty”: 1,
“seniors_qty”: 0,
“disabled_qty”: 0,
“children_qty”: 0,
“infants_qty”: 0,
“fare”: {
“total”: 524598.34,
“currency”: “ARS”
},
“passengers”: [
{
“firstname”: “jorge”,
“lastname”: “sanchez”,
“birth”: “14/11/1979”,
“document”: {
“type”: “PAS”,
“number”: “1411122233”
}
}
],
“reseller_expiration_date”: “0001-01-01T00:00:00Z”,
“expiration_date”: “2023-08-11T15:57:00-03:00”
}
],
“client_id”: “3a9fdce7-a307-42a2-aa06-736ecffc418f”,
“contact”: {
“language”: “es”,
“email”: “mail@correo.com”,
“telephone”: {
“type”: “H”,
“country_code”: “54”,
“area_code”: “11”,
“number”: “333333333”
}
},
“fiscal_data”: {
“identification”: {
“type”: “DNI”,
“number”: “11633333333”,
“fiscal_name”: “jorge sanchez”,
“tax_situation”: “”
},
“address”: {
“state”: “”,
“city”: “AR”,
“country”: “AR”,
“street”: “”,
“number”: “11633333334”,
“floor”: “”,
“door”: “”,
“postal_code”: “1252”
}
},
“created_at”: “2023-08-10T19:03:32.391663659Z”,
“updated_at”: “2023-08-10T19:03:51.113632439Z”,
“messages”: [],
“payments”: [],
“fiscal_documents”: []
}

Reservations Process (Status de Booking) (Paso 5)

curl –location –request GET ‘https://api.basset.ws/reservations/process/44b9ced7-4ced-493d-b14c-a59181f5538d?site=AR&channel=DESKTOP’ \
–header ‘x-client-id: ID’ \
–header ‘x-client-type: AGENCY’ \
–header ‘x-api-key: KEY’

Response:

{
    “id”: “44b9ced7-4ced-493d-b14c-a59181f5538d”,
    “status”: “OK”,
    “reservation_id”: “369656351
}

API Reservation (Booking) (Paso 4)

curl –location –request POST ‘https://api.basset.ws/reservations/async?site=AR&channel=API’ \

–header ‘x-client-id: ID’ \
–header ‘x-client-type: AGENCY’ \
–header ‘x-api-key: KEY’ \
–header ‘Content-Type: application/json’ \
–data-raw ‘{

“products”: [
{
“item_id”: “c3254029-1c21-435f-a473-2b7aba78443d|13918627881584194915_c3254029-1c21-435f-a473-2b7aba78443d|7040208058982863180“,
“type”: “FLIGHT”,
“passengers”: [
{
“birth”: “14/11/1979”,
“document”: {
“number”: “888888888”,
“type”: “PAS”,
“issuing_country”: “AR”,
“valid_thru”: “2025-01-01”
},
“firstname”: “jorge”,
“lastname”: “sanchez”,
“gender”: “M”,
“nationality”: “AR”,
“type”: “ADT”
}
],
“itinerary_info”: {
“origin”: “EZE”,
“destination”: “PTY”,
“departure_date”: “2023-08-26”,
“return_date”: “2023-08-31”,
“currency”: “ARS”,
“price”: “524598.34”
}

}
],
“contact”: {
“email”: “nombre@mail.com”,
“language”: “es”,
“telephone”: {
“area_code”: “11”,
“country_code”: “54”,
“number”: “555555555”,
“type”: “H”
}
},
“fiscal_data”: {
“address”: {
“city”: “AR”,
“country”: “AR”,
“door”: “”,
“floor”: “”,
“number”: “1122222222”,
“postal_code”: “1252”,
“state”: “”,
“street”: “”
},
“identification”: {
“fiscal_name”: “jorge sanchez”,
“number”: “112222222222”,
“tax_situation”: “”,
“type”: “DNI”
}
}
}’

Response OK:

{
“id”: “44b9ced7-4ced-493d-b14c-a59181fXXXXd”,
“status”: “BOOKING”,
“reservation_id”: “”
}

Importante para  “passengers”:

Tipos de pasajeros: 

ADT = Adulto, Adulto Mayor, Discapacitado –
CHD = Niño 0 – 2 En brazo y Asiento –
INF = Niño de 2 a 11

Documento AR:

PAS = Pasaporte 
CI = Documento Único DNI

Get Clusters By ID (V1) (Paso 3)

curl –location –request GET ‘https://api.basset.ws/flights/clusters/{{CLUSTER_ID}}?site=AR&channel=API&=’

–header ‘x-api-key: KEY’

–header ‘x-client-id: ID’

site = AR, EC, PE, Etc… (Las ISO de cada país)

channel = API, MOBILE, WEB, DESKTOP

{{CLUSTER_ID}} = c3254029-1c21-435f-a473-2b7aba78443d%7c13918627881584194915_c3254029-1c21-435f-a473-2b7aba78443d%7c7040208058982863180

Se compone por la ida/vuelta de la API https://help.clients.basset.la/api-clusters-busqueda/ en el objeto options.id de la API

NOTA: La barra que viene por defecto en el ID “2f034eee-d4b0-47c9-bf66-598d986048ae|2080484556544533650″ debe ser sustituida por %7c para que la llamada sea correcta y entre un ID y otro se debe agregar un ” _ ” entre cada uno.

Ej correcto de 2 ID concatenados: c3254029-1c21-435f-a473-2b7aba78443d%7c13918627881584194915_c3254029-1c21-435f-a473-2b7aba78443d%7c7040208058982863180

Response:

{

“segments”: [

{

“origin”: {

“code”: “EZE”,

“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,

“country_code”: “AR”

},

“destination”: {

“code”: “PTY”,

“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,

“country_code”: “PA”

},

“departure_date”: “2023-08-26”,

“options”: [

{

“id”: “c3254029-1c21-435f-a473-2b7aba78443d|13918627881584194915”,

“departure_date”: “2023-08-26”,

“departure_time”: “05:16”,

“arrival_date”: “2023-08-26”,

“arrival_time”: “10:40”,

“duration”: “07:24”,

“legs”: [

{

“origin”: {

“code”: “EZE”,

“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,

“country_code”: “AR”

},

“destination”: {

“code”: “PTY”,

“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,

“country_code”: “PA”

},

“departure_date”: “2023-08-26”,

“departure_time”: “05:16”,

“arrival_date”: “2023-08-26”,

“arrival_time”: “10:40”,

“marketing_carrier”: {

“code”: “CM”,

“name”: “COPA Airlines”

},

“operating_carrier”: {

“code”: “CM”,

“name”: “COPA Airlines”

},

“duration”: “07:24”,

“flight_number”: “278”,

“aircraft_type”: “739”,

“cabin_type”: {

“code”: “T”,

“name”: “Economy”,

“quantity”: 9

},

“branded_fare”: “BASIC”,

“branded_fare_name”: “ECONOMY BASIC”

}

],

“baggage_allowances”: [

{

“quantity”: 0,

“weight”: 0,

“type”: “CHECKED_BAGGAGE”

},

{

“quantity”: 1,

“weight”: 0,

“type”: “CARRY_ON”

}

]

}

]

},

{

“origin”: {

“code”: “PTY”,

“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,

“country_code”: “PA”

},

“destination”: {

“code”: “EZE”,

“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,

“country_code”: “AR”

},

“departure_date”: “2023-08-31”,

“options”: [

{

“id”: “c3254029-1c21-435f-a473-2b7aba78443d|7040208058982863180”,

“departure_date”: “2023-08-31”,

“departure_time”: “12:14”,

“arrival_date”: “2023-08-31”,

“arrival_time”: “21:26”,

“duration”: “07:12”,

“legs”: [

{

“origin”: {

“code”: “PTY”,

“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,

“country_code”: “PA”

},

“destination”: {

“code”: “EZE”,

“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,

“country_code”: “AR”

},

“departure_date”: “2023-08-31”,

“departure_time”: “12:14”,

“arrival_date”: “2023-08-31”,

“arrival_time”: “21:26”,

“marketing_carrier”: {

“code”: “CM”,

“name”: “COPA Airlines”

},

“operating_carrier”: {

“code”: “CM”,

“name”: “COPA Airlines”

},

“duration”: “07:12”,

“flight_number”: “500”,

“aircraft_type”: “738”,

“cabin_type”: {

“code”: “S”,

“name”: “Economy”,

“quantity”: 9

},

“branded_fare”: “BASIC”,

“branded_fare_name”: “ECONOMY BASIC”

}

],

“baggage_allowances”: [

{

“quantity”: 0,

“weight”: 0,

“type”: “CHECKED_BAGGAGE”

},

{

“quantity”: 1,

“weight”: 0,

“type”: “CARRY_ON”

}

]

}

]

}

],

“price”: {

“charges”: 10286.24,

“total”: 524598.34,

“taxes”: 295127.1,

“adults”: {

“fare”: 219185,

“quantity”: 1,

“taxes”: [

{

“total”: 2950,

“type”: “QO”,

“collector”: “PROVIDER”

},

{

“total”: 413,

“type”: “S7”,

“collector”: “PROVIDER”

},

{

“total”: 2360,

“type”: “TQ2”,

“collector”: “PROVIDER”

},

{

“total”: 16815,

“type”: “XR2”,

“collector”: “PROVIDER”

},

{

“total”: 368.8,

“type”: “AH3”,

“collector”: “PROVIDER”

},

{

“total”: 3540,

“type”: “F3”,

“collector”: “PROVIDER”

},

{

“total”: 11800,

“type”: “FZ”,

“collector”: “PROVIDER”

},

{

“total”: 16086.4,

“type”: “AR”,

“collector”: “PROVIDER”

},

{

“total”: 68941.5,

“type”: “O5”,

“collector”: “PROVIDER”

},

{

“total”: 103412.3,

“type”: “Q1”,

“collector”: “PROVIDER”

},

{

“total”: 57451.3,

“type”: “S5”,

“collector”: “PROVIDER”

},

{

“total”: 368.8,

“type”: “AH4”,

“collector”: “PROVIDER”

},

{

“total”: 5310,

“type”: “YQF”,

“collector”: “PROVIDER”

},

{

“total”: 5310,

“type”: “YQF”,

“collector”: “PROVIDER”

}

],

“refund_policy”: [

{

“applies”: “BEFORE”,

“valid”: false,

“amount”: 0,

“percentage”: 0

},

{

“applies”: “AFTER”,

“valid”: false,

“amount”: 0,

“percentage”: 0

}

],

“exchange_policy”: [

{

“applies”: “BEFORE”,

“valid”: true,

“amount”: 44250,

“percentage”: 0

},

{

“applies”: “AFTER”,

“valid”: true,

“amount”: 44250,

“percentage”: 0

}

]

},

“reseller_charges”: {

“operating_cost”: 0,

“fees”: 0,

“markup”: 0

},

“agency_charges”: {

“operating_cost”: 0,

“fees”: 10286.24,

“markup”: 0

},

“currency”: “ARS”,

“commision_rule_data”: {

“currency”: “ARS”,

“ceded_amount”: 0,

“reseller_amount”: 0

},

“over_commision_rule_data”: {

“currency”: “”,

“ceded_amount”: 0,

“reseller_amount”: 0

},

“agency_cost_effectiveness”: 10286.24

},

“provider_id”: “NETVIAX”,

“source”: “SABRE”,

“source_type”: “GDS”,

“validating_carrier”: {

“code”: “CM”,

“name”: “COPA Airlines”

},

“route_type”: “INTERNATIONAL”,

“flight_type”: “ROUND_TRIP”,

“tracking_id”: “1d262786-XXXX-4565-b594-acea42a42c71”,

“payments_url”: “”

}

API Clusters (Busqueda) (Paso 2)

Url

https://api.basset.ws/flights/clusters?channel=API&adults=1&limit=20&offset=0&site=AR&from=BUE,PTY&to=PTY,BUE&dates=2023-08-26,2023-08-31

 

Cabeceras

    • x-api-key (obligatorio): Clave de API proporcionada por Basset.

    • x-client-id (obligatorio): Identificador de cliente proporcionado por Basset.

Descripción de los query params

Request

Query Parameters

Type date

Descriptions

REQUIRED

Channel

string

Sales channel: WEB, DESKTOP, API, MOBILE

REQUIRED

From

string

Origen (Código de Ciudad o Aeropuerto) Ej. BUE

REQUIRED

To

string

Destino (Código de Ciudad o Aeropuerto) Ej. BOG

REQUIRED

Dates

string

Fechas de vuelo AAAA-MM-DD.

REQUIRED

Adults

string

Número de pasajeros y tipo de pasajero

(&adults=1&&infants=1&seat_infants=1&children=1&seniors=3&handicapped=2)

ADT = Adulto, Adulto Mayor, Discapacitado – CHD = Niño 0 – 2 En brazo y Asiento – INF = Niño de 2 a 11

 

REQUIRED

Site

string

ISO 3166-2 country code (Ej. AR)

REQUIRED

Limit

integer

Cantidad de cluster ej=20

REQUIRED

Offset

integer

Referencia que indica a partir de donde se va a mostrar la búsqueda del cluster (si asignas 10 mostrara: (noveno del cero al nueve))

REQUIRED

Type

parameter

El vuelo si es solo ida, si es ida y vuelta o si tiene múltiples destinos (ONE_WAY -ROUND_TRIP -MULTIPLE_DESTINATIONS)

REQUIRED

Cabin

string

Sección donde viajan los pasajeros (asiento)

(Y,M,W,C,F)

REQUIRED

checked_baggage

boolean

Equipage (true-false)

REQUIRED

Page

integer

Expresa las paginas sobre la segunda pantalla de búsqueda

REQUIRED

Stops

string

Si posee Paradas

Ejemplo de pasajeros:

https://app.basset.la/sales/flights/results?origin=BUE&destination=PTY&dates=2023-09-01,2023-09-30&type=ROUND_TRIP&adults=1&&infants=1&seat_infants=1&children=1&seniors=3&handicapped=2

Response:

{
“clusters”: [
{
“segments”: [
{
“origin”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“destination”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“departure_date”: “2023-08-26”,
“options”: [
{
“id”: “2f034eee-d4b0-47c9-bf66-598d986048ae|2080484556544533650”,
“departure_date”: “2023-08-26”,
“departure_time”: “05:16”,
“arrival_date”: “2023-08-26”,
“arrival_time”: “10:40”,
“duration”: “07:24”,
“legs”: [
{
“origin”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“destination”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“departure_date”: “2023-08-26”,
“departure_time”: “05:16”,
“arrival_date”: “2023-08-26”,
“arrival_time”: “10:40”,
“marketing_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“operating_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“duration”: “07:24”,
“flight_number”: “278”,
“aircraft_type”: “739”,
“cabin_type”: {
“code”: “T”,
“name”: “Economy”,
“quantity”: 9
},
“branded_fare”: “BASIC”,
“branded_fare_name”: “ECONOMY BASIC”
}
],
“baggage_allowances”: [
{
“quantity”: 0,
“weight”: 0,
“type”: “CHECKED_BAGGAGE”
},
{
“quantity”: 1,
“weight”: 0,
“type”: “CARRY_ON”
}
]
}
]
},
{
“origin”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“destination”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“departure_date”: “2023-08-31”,
“options”: [
{
“id”: “2f034eee-d4b0-47c9-bf66-598d986048ae|386091495561925801”,
“departure_date”: “2023-08-31”,
“departure_time”: “12:14”,
“arrival_date”: “2023-08-31”,
“arrival_time”: “21:26”,
“duration”: “07:12”,
“legs”: [
{
“origin”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“destination”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“departure_date”: “2023-08-31”,
“departure_time”: “12:14”,
“arrival_date”: “2023-08-31”,
“arrival_time”: “21:26”,
“marketing_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“operating_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“duration”: “07:12”,
“flight_number”: “500”,
“aircraft_type”: “738”,
“cabin_type”: {
“code”: “S”,
“name”: “Economy”,
“quantity”: 9
},
“branded_fare”: “BASIC”,
“branded_fare_name”: “ECONOMY BASIC”
}
],
“baggage_allowances”: [
{
“quantity”: 0,
“weight”: 0,
“type”: “CHECKED_BAGGAGE”
},
{
“quantity”: 1,
“weight”: 0,
“type”: “CARRY_ON”
}
]
},
{
“id”: “2f034eee-d4b0-47c9-bf66-598d986048ae|9067548722710408684”,
“departure_date”: “2023-08-31”,
“departure_time”: “15:13”,
“arrival_date”: “2023-09-01”,
“arrival_time”: “00:25”,
“duration”: “07:12”,
“legs”: [
{
“origin”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“destination”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“departure_date”: “2023-08-31”,
“departure_time”: “15:13”,
“arrival_date”: “2023-09-01”,
“arrival_time”: “00:25”,
“marketing_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“operating_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“duration”: “07:12”,
“flight_number”: “279”,
“aircraft_type”: “739”,
“cabin_type”: {
“code”: “S”,
“name”: “Economy”,
“quantity”: 9
},
“branded_fare”: “BASIC”,
“branded_fare_name”: “ECONOMY BASIC”
}
],
“baggage_allowances”: [
{
“quantity”: 0,
“weight”: 0,
“type”: “CHECKED_BAGGAGE”
},
{
“quantity”: 1,
“weight”: 0,
“type”: “CARRY_ON”
}
]
},
{
“id”: “2f034eee-d4b0-47c9-bf66-598d986048ae|4558417464413787117”,
“departure_date”: “2023-08-31”,
“departure_time”: “18:18”,
“arrival_date”: “2023-09-01”,
“arrival_time”: “03:33”,
“duration”: “07:15”,
“legs”: [
{
“origin”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“destination”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“departure_date”: “2023-08-31”,
“departure_time”: “18:18”,
“arrival_date”: “2023-09-01”,
“arrival_time”: “03:33”,
“marketing_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“operating_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“duration”: “07:15”,
“flight_number”: “454”,
“aircraft_type”: “739”,
“cabin_type”: {
“code”: “S”,
“name”: “Economy”,
“quantity”: 9
},
“branded_fare”: “BASIC”,
“branded_fare_name”: “ECONOMY BASIC”
}
],
“baggage_allowances”: [
{
“quantity”: 0,
“weight”: 0,
“type”: “CHECKED_BAGGAGE”
},
{
“quantity”: 1,
“weight”: 0,
“type”: “CARRY_ON”
}
]
},
{
“id”: “2f034eee-d4b0-47c9-bf66-598d986048ae|6925318911813010053”,
“departure_date”: “2023-08-31”,
“departure_time”: “21:26”,
“arrival_date”: “2023-09-01”,
“arrival_time”: “06:41”,
“duration”: “07:15”,
“legs”: [
{
“origin”: {
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
},
“destination”: {
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
“departure_date”: “2023-08-31”,
“departure_time”: “21:26”,
“arrival_date”: “2023-09-01”,
“arrival_time”: “06:41”,
“marketing_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“operating_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“duration”: “07:15”,
“flight_number”: “367”,
“aircraft_type”: “739”,
“cabin_type”: {
“code”: “S”,
“name”: “Economy”,
“quantity”: 8
},
“branded_fare”: “BASIC”,
“branded_fare_name”: “ECONOMY BASIC”
}
],
“baggage_allowances”: [
{
“quantity”: 0,
“weight”: 0,
“type”: “CHECKED_BAGGAGE”
},
{
“quantity”: 1,
“weight”: 0,
“type”: “CARRY_ON”
}
]
}
]
}
],
“price”: {
“charges”: 10286.24,
“total”: 524598.34,
“taxes”: 295127.1,
“adults”: {
“fare”: 219185,
“quantity”: 1,
“taxes”: [
{
“total”: 2950,
“type”: “QO”,
“collector”: “PROVIDER”
},
{
“total”: 413,
“type”: “S7”,
“collector”: “PROVIDER”
},
{
“total”: 2360,
“type”: “TQ2”,
“collector”: “PROVIDER”
},
{
“total”: 16815,
“type”: “XR2”,
“collector”: “PROVIDER”
},
{
“total”: 368.8,
“type”: “AH3”,
“collector”: “PROVIDER”
},
{
“total”: 3540,
“type”: “F3”,
“collector”: “PROVIDER”
},
{
“total”: 11800,
“type”: “FZ”,
“collector”: “PROVIDER”
},
{
“total”: 16086.4,
“type”: “AR”,
“collector”: “PROVIDER”
},
{
“total”: 68941.5,
“type”: “O5”,
“collector”: “PROVIDER”
},
{
“total”: 103412.3,
“type”: “Q1”,
“collector”: “PROVIDER”
},
{
“total”: 57451.3,
“type”: “S5”,
“collector”: “PROVIDER”
},
{
“total”: 368.8,
“type”: “AH4”,
“collector”: “PROVIDER”
},
{
“total”: 5310,
“type”: “YQF”,
“collector”: “PROVIDER”
},
{
“total”: 5310,
“type”: “YQF”,
“collector”: “PROVIDER”
}
],
“refund_policy”: [
{
“applies”: “BEFORE”,
“valid”: false,
“amount”: 0,
“percentage”: 0
},
{
“applies”: “AFTER”,
“valid”: false,
“amount”: 0,
“percentage”: 0
}
],
“exchange_policy”: [
{
“applies”: “BEFORE”,
“valid”: true,
“amount”: 44250,
“percentage”: 0
},
{
“applies”: “AFTER”,
“valid”: true,
“amount”: 44250,
“percentage”: 0
}
]
},
“reseller_charges”: {
“operating_cost”: 0,
“fees”: 0,
“markup”: 0
},
“agency_charges”: {
“operating_cost”: 0,
“fees”: 10286.24,
“markup”: 0
},
“currency”: “ARS”,
“commision_rule_data”: {
“currency”: “ARS”,
“ceded_amount”: 0,
“reseller_amount”: 0
},
“over_commision_rule_data”: {
“currency”: “”,
“ceded_amount”: 0,
“reseller_amount”: 0
},
“agency_cost_effectiveness”: 10286.24
},
“provider_id”: “NETVIAX”,
“source”: “SABRE”,
“source_type”: “GDS”,
“validating_carrier”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“route_type”: “INTERNATIONAL”,
“flight_type”: “ROUND_TRIP”,
“tracking_id”: “52bf8fc1-3277-47b8-a2ea-2b56e”
}
],
“total”: 19,
“limit”: 1,
“offset”: 0,
“filters”: {
“airlines”: [
{
“code”: “AR”,
“name”: “Aerolineas Argentinas”
},
{
“code”: “AV”,
“name”: “Avianca”
},
{
“code”: “CM”,
“name”: “COPA Airlines”
},
{
“code”: “DL”,
“name”: “Delta Air Lines”
},
{
“code”: “UA”,
“name”: “United Airlines”
}
],
“outbound_airports”: {
“outbound”: [
{
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
{
“code”: “AEP”,
“name”: “Buenos Aires, Argentina (AEP-Aeroparque Jorge Newbery)”,
“country_code”: “AR”
}
],
“inbound”: [
{
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
}
]
},
“inbound_airports”: {
“outbound”: [
{
“code”: “PTY”,
“name”: “Panamá, Panamá (PTY-A. Internacional de Tocumen)”,
“country_code”: “PA”
}
],
“inbound”: [
{
“code”: “EZE”,
“name”: “Buenos Aires, Argentina (EZE-A. Internacional Ministro Pistarini)”,
“country_code”: “AR”
},
{
“code”: “AEP”,
“name”: “Buenos Aires, Argentina (AEP-Aeroparque Jorge Newbery)”,
“country_code”: “AR”
}
]
},
“stops”: [
0,
1,
2
]
},
“matrix”: [
{
“airline”: {
“code”: “CM”,
“name”: “COPA Airlines”
},
“_stops”: {},
“stops”: {
“0”: {
“total”: 524598.34,
“currency”: “ARS”
}
}
},
{
“airline”: {
“code”: “AV”,
“name”: “Avianca”
},
“_stops”: {},
“stops”: {
“1”: {
“total”: 581624.46,
“currency”: “ARS”
}
}
},
{
“airline”: {
“code”: “DL”,
“name”: “Delta Air Lines”
},
“_stops”: {},
“stops”: {
“1”: {
“total”: 808593.67,
“currency”: “ARS”
},
“2”: {
“total”: 1279062.86,
“currency”: “ARS”
}
}
},
{
“airline”: {
“code”: “UA”,
“name”: “United Airlines”
},
“_stops”: {},
“stops”: {
“1”: {
“total”: 1058408.21,
“currency”: “ARS”
},
“2”: {
“total”: 992360.3,
“currency”: “ARS”
}
}
},
{
“airline”: {
“code”: “AR”,
“name”: “Aerolineas Argentinas”
},
“_stops”: {},
“stops”: {
“2”: {
“total”: 1279062.86,
“currency”: “ARS”
}
}
}
],
“metadata”: {
“min_price”: 524598.34,
“max_price”: 1718252.02
}
}