v1

latestOpenAPI 3.0.12026-08-066103.9 MB

Gets quotes for travel insurances.

Cf. summary

post/sales/v2/individual/travel/quotes_requests

Headers

accept-languagestring
Example:fr-CA

Accepted language, IANA language codification.

Format: language_subtag-region_subtag

  • language_subtag is an ISO-639 language abbreviation
  • region_subtag is an ISO-3166 country code
x-quote-mode'DRAFT' | 'TEST' | 'LIVE'

Quote mode, can be used to get a quote on draft or test mode.

  • DRAFT: Draft catalog version.
  • TEST: Released catalog version.
  • LIVE: Published catalog version.
x-tenant-idstring
Example:42bbd332fa8f48e7bb382165f257a579

The unique identifier of the tenant, the value should be provided by AXA.

x-quote-correlation-idstring
Example:04bc93e3-7bbe-4b41-a092-d6d19e9d7069

The unique identifier for the quote requests made by the user.

Request body

OR

Example request

{
  "context": {
    "country": "FR",
    "currency": "EUR",
    "intermediary_code": "KYZ451"
  },
  "product_criteria": {
    "product_code": "PTRAVEL001",
    "catalog": {
      "code": "PRTNCATALOG",
      "version": "v2"
    },
    "category": "VoyageoCourtSejour",
    "sub_category": "VoyageSimple"
  },
  "travel": {
    "cost": 1500.52,
    "destination_country": "FR",
    "origin_country": "FR",
    "origin_state": "Alaska",
    "travelers": {
      "adults": 2,
      "children": 1,
      "oldest_traveler_age": 34,
      "operator_name": "British Airways",
      "operator_type": "Airline",
      "composition": "SINGLE",
      "checked_baggage": 2,
      "medical_screening_score": {
        "maximum_individual": 5.5,
        "total_party": 18.5
      },
      "coverages": {
        "limits": {
          "assistance": "ALL_RISKS",
          "baggage": "EUR_10",
          "medical_expenses": "EUR_20",
          "missed_connection": "EUR_50",
          "cancellation": "EUR_100",
          "personal_accident": "EUR_200",
          "travel_accident": "EUR_300",
          "civil_liability": "EUR_500",
          "legal_expenses": "EUR_10",
          "delayed_departure": "EUR_20",
          "delayed_baggage": "EUR_50"
        }
      }
    },
    "prebooked_activity_cost": 100.55
  },
  "commissions": {
    "percentage": 5,
    "margin": 5,
    "amount": 60
  },
  "promo_code": "GOODPROMO20018",
  "quote_code": "PVjhRoKMDmmzJQGH9NOuwF3zS4mkja9+XPC8MTGrjf6i+fU6IQ/ApyFcZF5rkDE1kUjZ8EmX+AEXqGOI",
  "addon_codes": [
    "eJxVj8FuwjAMht8l5wq1ULapt5J2FRJbUGh6rUIbokgs6UwibUJ99yUrReCT"
  ]
}

Response

Quotes response.

quote_expire_atstring date-time

Date and time of quotes expiration. UTC datetime, RFC3339 format (YYYY-MM-DDTHH:mm:ssZ).

is_pre_contract_requiredboolean

Indicates if a pre-contractual communication is required before subscription validation.

deep_link_urlstring

URL to the AXA customer website.

global_quote_codestring

Quote code to return all matching products. Use this code to retrieve the previous quote request results for all products matching with same criteria used

Example response

{
  "context": {
    "country": "FR",
    "currency": "EUR",
    "intermediary_code": "KYZ451"
  },
  "quote_expire_at": "2019-03-22T10:59:00.0000000+00:00",
  "products": [
    {
      "product_code": "PRDINTERMEDIATE",
      "quote_code": "d41d8cd98f00b204e9800998ecf8427e",
      "promo_code": "GOODPROMO200",
      "name": "Advanced",
      "headline": "Advanced (new).",
      "description": "Advanced for more guarantees",
      "guarantees": [
        {
          "code": "accidental_damage",
          "label": "Medical repatriation."
        }
      ],
      "prices": {
        "country_taxes": [
          {
            "name": "VAT",
            "tax_amount": 5.02
          }
        ],
        "total_taxes": 50.02,
        "percentage_discount": 10,
        "total_discount": 10,
        "premium_after_discount_excl_tax": 240,
        "price_before_discount_incl_tax": 340.45,
        "price_after_discount_incl_tax": 330.45,
        "price_before_discount_excl_tax": 100,
        "estimated_prices": [
          {
            "currency": "EUR",
            "premium_after_discount_excl_tax": 240,
            "price_before_discount_incl_tax": 340.45,
            "price_after_discount_incl_tax": 330.45
          }
        ],
        "guarantees_class_prices": [
          {
            "code": "Medical",
            "label": "Medical Guarantees.",
            "total_taxes": 10.02,
            "estimated_prices": [
              {
                "currency": "EUR",
                "premium_after_discount_excl_tax": 240,
                "price_before_discount_incl_tax": 340.45,
                "price_after_discount_incl_tax": 330.45
              }
            ]
          }
        ],
        "payment_periodicities": [
          {
            "periodicity": "R12/P1M",
            "description": "MONTHLY",
            "amount_per_period": 71.87,
            "amount_first_payment": 71.87,
            "amount_per_period_before_discount": 90
          }
        ]
      },
      "consents": [
        {
          "type": "PERSONAL_DATA",
          "approval_type": [
            "PREREQUISITE"
          ]
        }
      ],
      "disclaimers": [
        {
          "type": "PERSONAL_DATA",
          "approval_type": [
            "PREREQUISITE"
          ]
        }
      ],
      "travelers_breakdown": [
        {
          "type": "ADULTS",
          "quote_code": "eJxVj8FuwjAMht8l5wq1ULapt5J2FRJbUGh6rUIbokgs6UwibUJ99yUrReCT",
          "total_travelers": 2,
          "prices": {
            "country_taxes": [
              {
                "name": "VAT",
                "tax_amount": 5.02
              }
            ],
            "total_taxes": 50.02,
            "percentage_discount": 10,
            "total_discount": 10,
            "premium_after_discount_excl_tax": 240,
            "price_before_discount_incl_tax": 340.45,
            "price_after_discount_incl_tax": 330.45,
            "price_before_discount_excl_tax": 100,
            "estimated_prices": [
              {
                "currency": "EUR",
                "premium_after_discount_excl_tax": 240,
                "price_before_discount_incl_tax": 340.45,
                "price_after_discount_incl_tax": 330.45
              }
            ],
            "guarantees_class_prices": [
              {
                "code": "Medical",
                "label": "Medical Guarantees.",
                "total_taxes": 10.02,
                "estimated_prices": [
                  {
                    "currency": "EUR",
                    "premium_after_discount_excl_tax": 240,
                    "price_before_discount_incl_tax": 340.45,
                    "price_after_discount_incl_tax": 330.45
                  }
                ]
              }
            ],
            "payment_periodicities": [
              {
                "periodicity": "R12/P1M",
                "description": "MONTHLY",
                "amount_per_period": 71.87,
                "amount_first_payment": 71.87,
                "amount_per_period_before_discount": 90
              }
            ]
          }
        }
      ],
      "origin_product_code": "PRDBASIC",
      "is_default_product": true,
      "deep_link_url": "https://neosales.link/6fz",
      "related_product_codes": [
        "iberia_b2c_viaje_de_ocio_single_basic_trip_2021"
      ]
    }
  ],
  "addons": [
    {
      "quote_code": "d41d8cd98f00b204e9800998ecf8427e",
      "promo_code": "GOODPROMO200",
      "name": "Advanced",
      "headline": "Advanced (new).",
      "description": "Advanced for more guarantees",
      "guarantees": [
        {
          "code": "accidental_damage",
          "label": "Medical repatriation."
        }
      ],
      "prices": {
        "country_taxes": [
          {
            "name": "VAT",
            "tax_amount": 5.02
          }
        ],
        "total_taxes": 50.02,
        "percentage_discount": 10,
        "total_discount": 10,
        "premium_after_discount_excl_tax": 240,
        "price_before_discount_incl_tax": 340.45,
        "price_after_discount_incl_tax": 330.45,
        "price_before_discount_excl_tax": 100,
        "estimated_prices": [
          {
            "currency": "EUR",
            "premium_after_discount_excl_tax": 240,
            "price_before_discount_incl_tax": 340.45,
            "price_after_discount_incl_tax": 330.45
          }
        ],
        "guarantees_class_prices": [
          {
            "code": "Medical",
            "label": "Medical Guarantees.",
            "total_taxes": 10.02,
            "estimated_prices": [
              {
                "currency": "EUR",
                "premium_after_discount_excl_tax": 240,
                "price_before_discount_incl_tax": 340.45,
                "price_after_discount_incl_tax": 330.45
              }
            ]
          }
        ],
        "payment_periodicities": [
          {
            "periodicity": "R12/P1M",
            "description": "MONTHLY",
            "amount_per_period": 71.87,
            "amount_first_payment": 71.87,
            "amount_per_period_before_discount": 90
          }
        ]
      },
      "consents": [
        {
          "type": "PERSONAL_DATA",
          "approval_type": [
            "PREREQUISITE"
          ]
        }
      ],
      "disclaimers": [
        {
          "type": "PERSONAL_DATA",
          "approval_type": [
            "PREREQUISITE"
          ]
        }
      ],
      "travelers_breakdown": [
        {
          "type": "ADULTS",
          "quote_code": "eJxVj8FuwjAMht8l5wq1ULapt5J2FRJbUGh6rUIbokgs6UwibUJ99yUrReCT",
          "total_travelers": 2,
          "prices": {
            "country_taxes": [
              {
                "name": "VAT",
                "tax_amount": 5.02
              }
            ],
            "total_taxes": 50.02,
            "percentage_discount": 10,
            "total_discount": 10,
            "premium_after_discount_excl_tax": 240,
            "price_before_discount_incl_tax": 340.45,
            "price_after_discount_incl_tax": 330.45,
            "price_before_discount_excl_tax": 100,
            "estimated_prices": [
              {
                "currency": "EUR",
                "premium_after_discount_excl_tax": 240,
                "price_before_discount_incl_tax": 340.45,
                "price_after_discount_incl_tax": 330.45
              }
            ],
            "guarantees_class_prices": [
              {
                "code": "Medical",
                "label": "Medical Guarantees.",
                "total_taxes": 10.02,
                "estimated_prices": [
                  {
                    "currency": "EUR",
                    "premium_after_discount_excl_tax": 240,
                    "price_before_discount_incl_tax": 340.45,
                    "price_after_discount_incl_tax": 330.45
                  }
                ]
              }
            ],
            "payment_periodicities": [
              {
                "periodicity": "R12/P1M",
                "description": "MONTHLY",
                "amount_per_period": 71.87,
                "amount_first_payment": 71.87,
                "amount_per_period_before_discount": 90
              }
            ]
          }
        }
      ]
    }
  ],
  "payment_modes": [
    {
      "provider": {
        "id": "32f3eb2a-1a8c-42c5-ba50-7302f40786e9",
        "label": "WorldPay"
      }
    }
  ],
  "deep_link_url": "https://www.axa.com/neo-ce-amex/d41d8cd98f00b204e9800998ecf8427e",
  "global_quote_code": "PVjhRoKMDmmzJQGH9NOuwF3zS4mkja9+XPC8MTGrjf6i+fU6IQ/ApyFcZF5rkDE1kUjZ8EmX+AEXqGOI"
}