Docs

Docs

  • Support

›Home API

Ticket Cancellation SDK

  • Introduction
  • Configuration
  • Insurance Recommendation
  • Finalise Purchase
  • Example

Ticket Cancellation API

  • Quote
  • Policy

Device SDK

  • Introduction
  • Configuration
  • Insurance Recommendation
  • Finalise Purchase

Device API

  • Quote
  • Policy

Home SDK

  • Introduction
  • Configuration
  • Insurance Recommendation
  • Finalise Purchase

Home API

  • Quote
  • Policy

Travel SDK

  • Introduction
  • Configuration
  • Insurance Recommendation
  • Finalise Purchase

Travel API

  • Configuration Params
  • Quote
  • Quote by Product
  • Policy

Authentication

  • Authentication

Support

  • Support

Notifications

  • Get notified

Home Insurance API Quote


This method is used to get home insurance quotes based on different quote parameters. Vern will find the most fitting insurance product.

URL

/recommendation/home/quotes

Methods

POST

Data Params

FieldTypeDescriptionRequired
apiKeystringapi key of the sales project. Read more about this argument.Yes
quoteIdstringExternal quote id which is going to be associated with the created policy.No
bundleIdstringID of the home bundle (predefined for sales partner or find this in the home quote response.Yes
productIdstringID of the home product (predefined for sales partner or find this in the home quote response.Yes
policyHolderPolicyholderInformation of the policyholder.No
customerCustomerInformation of the customer.Yes
agreementsarray of stringsLinks of the accepted agreements.Yes

PolicyHolder

FieldTypeDescriptionRequired
birthdatestringBirthdate of the policyholder (YYYY-MM-DD)Yes

Coverage

FieldTypeDescriptionRequired

Risk

FieldTypeDescriptionRequired

MainBuilding

FieldTypeDescriptionRequired
propertyTypestringtype of the propertyYes
ownershipstringtype of ownership (either owned or rented)Yes
areanumberarea of the given real estate in m2Yes
roofstringtype of the roof (either plate,slate,tile,bitumen_plate,other,reeds or wood)Yes
wallstringtype of the wall (either mixed,lightweight,wood,brick,stone,concrete or other)Yes
constructionYearnumberthe year the real estate was builtYes
addressobjectAddressYes

Address

FieldTypeDescriptionRequired
countrystringName of the countryYes
citystringName of the cityYes
zipstringZipcode
routestringThe street nameYes
streetNumberstringStreet numberYes

Success Response

Code: 200

Array of Quotes

FieldTypeDescription
bundleBundleOffered insurance bundle.
productProductOffered insurance product.
priceintegerFull price of the given configuration.
currencyCurrencyCurrency of the offered priced.
recommendedbooleanIf the current configuration is the recommended one amongst all.
groupsarray of CoverageGroupThe offered coverage by the product.
agreementsarray of AgreementAgreements to be accepted upon purchasing.
detailUrlstringLink to the official insurance product description PDF.

Bundle

FieldTypeDescription
idstringID of the offered insurance bundle.
namestringName of the offered bundle.

Product

FieldTypeDescription
idstringID of the offered insurance product.
namestringName of the offered product.
descriptionstringDescription of the offered product.

CoverageGroup

FieldTypeDescription
idstringID of the coverage group.
namestringName of the coverage group.
descriptionstringDescription of the coverage group.
imagestringLink to the icon of the coverage group.
itemsArray of CoverageItemList of coverages.

CoverageItem

FieldTypeDescription
idstringID of the coverage item.
namestringName of the coverage item.
descriptionstringDescription of the coverage item.
valueintegerCovered amount given in the currency below.
currencyCurrencyCurrency of the covered amount.
importantbooleanIf the coverage item is crucial for the selected activity.

Currency

FieldTypeDescription
codestringCurrency code, e.g. HUF or EUR.
symbolstringSymbol to render the currency.
formatstringRendering format for the currency.

Agreement

FieldTypeDescription
idstringID of the agreement.
insurerIdstringOwner of the agreement from a legal point of view.
namestringName of the agreement.
contentstringContent of the agreement to be accepted.
linksArray of AgreementLinkLinks to related documents for the agreement.

AgreementLink

FieldTypeDescription
namestringName of the link to display.
linkstringLink to the related document.

Sample Call

Body

{
   "publishableKey": "<your publishable key>",
   "country": "HU",
   "bundleId": "5c76e118c7e63415c0e9a500",
   "productId": "5c6ea8efc043d318c6d13668",
   "mainBuilding": {
       "start": "2019-09-01T17:00:00.000Z",
       "end": "2019-09-01T19:00:00.000Z",
       "address": {
         "country: "Hungary",
         "city": "Budapest",
         "zip": "1052",
         "route": "Kossuth Lajos utca",
         "streetNumber": "12",
       },
       "ownership": "owned",
       "area": 101,
       "roof": "slate",
       "wall": "brick",
       "constructionYear": 1911,
       "currency": "HUF"
   }
}

Response

[         
    {
        "bundle": {
            "id": "5c17b9bf32903c0cb48762ce",
            "name": "Home"
        },
        "product": {
            "id": "5bd56f5f4e82779a07a99fc7",
            "name": "Home extra",
            "description": " "
        },
        "price": 12060,
        "currency": {
            "code": "HUF",
            "symbol": "Ft",
            "format": "{value} {symbol}"
        },
        "recommended": true,
        "coverages": [{
            "name": "Jogvédelem",
            "insurerId": "2W972",
            "id": "legal",
        }],
        "risks": [{
            "name": "Tűz",
            "id": "fire",
            "insurerId": "F_ALAP_K",
            "enabled": true,
            "image": "https://cdn.vernsurance.com/f_alap_k.svg"
        }],
        "agreements": [
            {
                "links": [],
                "content": "Az ajánlati adatokat ellenőriztem, és nyilatkozom, hogy azok a valóságnak és az igényeimnek megfelelnek.",
                "name": "Ajánlati adatok",
                "insurerId": "5bb368076f02ad924985a1c6",
                "id": "5c17e17452cbd10e760796fc"
            },
            {
                "links": [
                    {
                        "name": "Insurance product guide",
                        "url": "https://eub.hu/dokumentumok/Termekismerteto-EUB2018-03ONU.pdf"
                    },
                    {
                        "name": "Insurance terms and conditions",
                        "url": "https://eub.hu/dokumentumok/EUB2018-03ONUen.pdf"
                    }
                ],
                "name": "Biztosítási feltételek",
                "insurerId": "5bb368076f02ad924985a1c6",
                "content": "A biztosítási szerződésre vonatkozó biztosítási termékismertetőt , a biztosítási szerződés részét képező biztosítási feltételeket és az ügyféltájékoztatót megismertem és azokat elfogadom.",
                "id": "5c17e26952cbd10e760796fd"
            },
            {
              "links": [],
              "name": "Biztosításközvetítői Feltételek",
              "insurerId": "5bb368076f02ad924985a1c6",
              "content": "Megismertem és elfogadom a biztosítás közvetítő szerződési feltételeit.",
              "id": "5d638e9968dba70472643f8e"
            }
        ],
        "detailUrl": "https://assets.staging.vernhelps.com/terms/eub/EUB2018-03ONU.pdf"
    }
]
← Finalise PurchasePolicy →
  • URL
  • Methods
  • Data Params
  • Success Response
  • Sample Call
Docs
Docs
SDK
Copyright © 2019 Vernsurance