Generating a Price to Display within your System

Using the GetBuildingsAndContentsComparison endpoint and the GetPropertyDetails endpoint.

Standard Home

BTL

The primary ratings parameters are:

* Refer to the data dictionary for further information.

To help improve your user experience we have partnered with a big data provider that provide us access to 3 of the key property data points, being property type, number of bedrooms and year of build. This can be accessed in two ways. When using our big data, it is imperative that you get the customer to verify it. Thus, if you have these data points its highly advised that you pass them to us, instead of looking them up.

The first is to call our quote generation endpoint without the data points where we will respond with a price and the data that we found on the property. This can be used where it makes sense from a user experience perspective to show the customer the price and the assumed property details together. They can then correct the information; you can then update the data and call us again to create a second quote with the correct data. See below example:

Example 1

The second is where you can call the below endpoint to obtain the details without the need to generate a price this may only be used to generate a quote and cannot be used elsewhere or generally in your system. It is used to help create a better user experience where the user is able to input all the relevant data prior to generating a quote, it is important that you get the customer to confirm these details.
See below example:

Example 2

To obtain the property data without a price simply call the following endpoint with the first line and postcode of the risk property address. We will respond with the details below:

Property data enrichment example:

Metadata: https://api.test.uinsure.co.uk/internal/whenfresh

Request

{
"APIKey": "9E590E48-564C-4F09-B9FE-0B1DDE07BBB5", //Universal APIKey that should be used for this call ONLY instead of the broker key please.
"AddressLine1": "9 Grange Road",
"Postcode": "M33 6RZ"
}

Response

{
"Successful": true,
"Response": {
"NumberOfBedrooms": 2,
"YearOfConstruction": 1995,
"YearOfConstructionRange": 1995,
"IsYearOfConstructionRange": false,
"BuildingsAndContentsPropertyTypeId": 30,
"NonStandardPropertyTypeId": 19,
"BuildingsAndContentsPropertyTypeString": "Terraced House",
"NonStandardPropertyTypeString": "Terraced House",
"YearOfConstructionRangeString": "1990 to 1999"
}
}

Fetching and Displaying a Price

Once you have obtained all relevant parameters from the user (see data dictionary for more detail). Calling the GetBuildingsAndContentsComparison endpoint with the data will generate a quote on our side and respond with a reference number.

The usual structure here is to create a base quote with a number of assumptions and without any personal possessions. When the user moves from the initial quote stage to the tailoring stage it then makes sense to confirm or collect these additional data points as part of that process.

This can be achieved using our front-end (keep reading for how to do that), your front-end or entirely manged by using the ‘referral’ mechanism that is covered further down in the ‘purchasing a policy’ section.

Request

{
"APIKey":"{{api_key}}",
"Client1":{
"Title":"Mr",
"Forenames":"Cameron",
"Surname":"Parsons",
"DateOfBirth":"1994-04-08 00:00:00",
"TelephoneNumber":"07736309635",
"EmailAddress":"client@uinsure.co.uk"
},
"CorrepsondenceAddress":{
"AddressLine1":"9 Grange Road",
"AddressLine2":"Sale",
"AddressLine3":"Cheshire",
"AddressLine4":"AddressLine4",
"Postcode":"M33 6RZ"
},
"RiskAddress":{
"AddressLine1":"9 Grange Road",
"AddressLine2":"Sale",
"AddressLine3":"Cheshire",
"AddressLine4":"",
"Postcode":"M33 6RZ"
},
"PropertyType":"DetachedHouse",
"NumberOfBedrooms":2,
"YearBuilt":2000,
"IsFirstTimeBuyer":false,
"IncludeBuildings":true,
"IncludeBuildingsAccidentalCover":true,
"BuildingsClaimFreeYears":"None",
"IncludeContents":true,
"IncludeContentsPlus":false,
"IncludeContentsAccidentalCover":false,
"IncludeContentsPersonalPossessions":true,
"ContentsPersonalUnspecifiedValue":2000,
"ContentsPersonalPossessions":false,
"ContentsClaimFreeYears":"None",
"BuildingsExcess":100,
"ContentsExcess":100,
"PrepopulateOnly":false
}

We will respond with a quote reference which you can then use in multiple ways, thus storing it is advised. First of these is to obtain a price and all corresponding quote details by calling our GetBuildingsAndContentsDetail endpoint. Which will respond with all the details of the quote.

Displaying a Price in your Environment

The policy is built on a common wording thus, there is no logical reason as to why you wouldn’t simply display the cheapest quote as the cover levels for each insurer are identical.

To locate this price, find the “ DefaultCommissionRate” parameter at the top of the response, scan the premium blocks that align to the default and locate the cheapest (see below example response). The monthly price contains a 12% credit charge where the annual does not, we do however sell most of our policies with a monthly premium. Premium blocks without commission rates can be ignored.

Response

{
"DefaultCommissionRate":27.50000000,
"Client1":{
"Title":"Mr",
"Forenames":"API",
"Surname":"Test",
"DateOfBirth":"/Date(765759600000-0000)/",
"TelephoneNumber":"07736309635",
"EmailAddress":"tim.harrison@uinsure.co.uk"
},
"CorrepsondenceAddress":{
"AddressLine1":"9 Grange Road",
"AddressLine2":"Sale",
"AddressLine3":"Cheshire",
"AddressLine4":"AddressLine4",
"Postcode":"M33 6RZ",
"UDPRN":""
},
"RiskAddress":{
"AddressLine1":"9 Grange Road",
"AddressLine2":"Sale",
"AddressLine3":"Cheshire",
"AddressLine4":"AddressLine4",
"Postcode":"M33 6RZ",
"UDPRN":""
},
"PropertyType":"DetachedHouse",
"NumberOfBedrooms":2,
"YearBuilt":2000,
"IsFirstTimeBuyer":false,
"IncludesBuildings":true,
"BuildingsCover":1000000,
"IncludesBuildingsAccidentalCover":true,
"BuildingsClaimFreeYears":"None",
"IncludesContents":true,
"ContentsCover":75000,
"IncludesContentsAccidentalCover":false,
"IncludesContentsPersonalPossessions":true,
"ContentsClaimFreeYears":"None",
"SpecifiedItems":[
{
"ItemType":"JewelleryWatches",
"ItemDescription":"Rolex",
"ItemValue":5000,
"IncludeAtHome":true,
"IncludeAwayFromHome":true
},
{
"ItemType":"PedalCyclesOver1000",
"ItemDescription":"Bike",
"ItemValue":1500,
"IncludeAtHome":true,
"IncludeAwayFromHome":true
}
],
"ContentsHighRiskItems":[

],
"ContentsPersonalUnspecifiedValue":2000,
"ContentsPersonalPossessions":[
{
"ItemType":"PedalCyclesOver1000",
"ItemDescription":"Bike",
"ItemValue":1500
},
{
"ItemType":"JewelleryWatches",
"ItemDescription":"Rolex",
"ItemValue":5000
}
],
"BuildingsExcess":100,
"ContentsExcess":100,
"QuoteStatus":"Quote",
"ValidUntil":"/Date(1645747200000-0000)/",
"IncludesFamilyLegalProtection":false,
"FamilyLegalProtectionPremium":0,
"IncludesHomeEmergencyCover":false,
"HomeEmergencyCoverPremium":0,
"FiveStarURL":"https://uinsure.co.uk/",
"PremiumListItems":[
{
"PremiumId":66707931,
"Provider":"AGEAS",
"MonthlyInsurancePremium":76.17000000,
"AnnualInsurancePremium":914.01000000,
"MonthlyCreditCharge":10.59720000,
"AnnualCreditCharge":0.00000000,
"MonthlyPolicyFee":3.00000000,
"AnnualPolicyFee":36.00000000,
"MonthlyIPT":9.1404000000000000,
"AnnualIPT":109.6848000000000000,
"IPTPercent":12.00000000,
"TotalMonthlyPremium":98.9076000000000000,
"TotalAnnualPremium":1059.69000000,
"RequiresAdditionalEligibility":false
},
{
"PremiumId":66707932,
"Provider":"AGEAS",
"CommissionRate":27.50000000,
"MonthlyInsurancePremium":76.17000000,
"AnnualInsurancePremium":914.01000000,
"MonthlyCreditCharge":10.59720000,
"AnnualCreditCharge":0.00000000,
"MonthlyPolicyFee":3.00000000,
"AnnualPolicyFee":36.00000000,
"MonthlyIPT":9.1404000000000000,
"AnnualIPT":109.6848000000000000,
"IPTPercent":12.00000000,
"RequiresAdditionalEligibility":false
},
{
"PremiumId":66707934,
"Provider":"AGEAS",
"CommissionRate":22.50000000,
"MonthlyInsurancePremium":70.22000000,
"AnnualInsurancePremium":842.60000000,
"MonthlyCreditCharge":9.79800000,
"AnnualCreditCharge":0.00000000,
"MonthlyPolicyFee":3.00000000,
"AnnualPolicyFee":36.00000000,
"MonthlyIPT":8.4264000000000000,
"AnnualIPT":101.1168000000000000,
"IPTPercent":12.00000000,
"RequiresAdditionalEligibility":false
},
{
"PremiumId":66707935,
"Provider":"AGEAS",
"CommissionRate":20.00000000,
"MonthlyInsurancePremium":67.58000000,
"AnnualInsurancePremium":810.92000000,
"MonthlyCreditCharge":9.44280000,
"AnnualCreditCharge":0.00000000,
"MonthlyPolicyFee":3.00000000,
"AnnualPolicyFee":36.00000000,
"MonthlyIPT":8.1096000000000000,
"TotalMonthlyPremium":91.4444000000000000,
"TotalAnnualPremium":979.71000000,
"AnnualIPT":97.3152000000000000,
"IPTPercent":12.00000000,
"TotalMonthlyPremium":88.1324000000000000,
"TotalAnnualPremium":944.23000000,
"RequiresAdditionalEligibility":false
},
{
"PremiumId":66707936,
"Provider":"AGEAS",
"CommissionRate":17.50000000,
"MonthlyInsurancePremium":65.13000000,
"AnnualInsurancePremium":781.54000000,
"MonthlyCreditCharge":9.11400000,
"AnnualCreditCharge":0.00000000,
"MonthlyPolicyFee":3.00000000,
"AnnualPolicyFee":36.00000000,
"MonthlyIPT":7.8156000000000000,
"AnnualIPT":93.7872000000000000,
"IPTPercent":12.00000000,
"RequiresAdditionalEligibility":false
},
{
"PremiumId":66707922,
"Provider":"AXA",
"CommissionRate":27.50000000,
"MonthlyInsurancePremium":64.51000000,
"AnnualInsurancePremium":774.06000000,
"MonthlyCreditCharge":9.03000000,
"AnnualCreditCharge":0.00000000,
"MonthlyPolicyFee":3.00000000,
"AnnualPolicyFee":36.00000000,
"MonthlyIPT":7.7412000000000000,
"AnnualIPT":92.8944000000000000,
"IPTPercent":12.00000000,
"RequiresAdditionalEligibility":false
},
{
"PremiumId":66707923,
"Provider":"AXA",
"CommissionRate":25.00000000,
"MonthlyInsurancePremium":61.88000000,
"AnnualInsurancePremium":742.59000000,
"MonthlyCreditCharge":8.67720000,
"AnnualCreditCharge":0.00000000,
"MonthlyPolicyFee":3.00000000,
"AnnualPolicyFee":36.00000000,
"MonthlyIPT":7.4256000000000000,
"TotalMonthlyPremium":84.2812000000000000,
"TotalAnnualPremium":902.95000000,
"AnnualIPT":89.1072000000000000,
"IPTPercent":12.00000000,
"RequiresAdditionalEligibility":false
},
{
"PremiumId":66707924,
"Provider":"AXA",
"CommissionRate":22.50000000,
"MonthlyInsurancePremium":59.47000000,
"AnnualInsurancePremium":713.59000000,
"MonthlyCreditCharge":8.35320000,
"AnnualCreditCharge":0.00000000,
"MonthlyPolicyFee":3.00000000,
"AnnualPolicyFee":36.00000000,
"MonthlyIPT":7.1364000000000000,
"AnnualIPT":85.6368000000000000,
"IPTPercent":12.00000000,
"RequiresAdditionalEligibility":false
}
]
}