API Information
Name: Get All Car Quote Plans
Description: It will return all the quotes (plans) to be displayed to customer.
Basic Info
Basic
Method: POST
Endpoint: <API_BASE_URL>/kapi/api/v1/get-car-quote-plans
---
REQUEST HEADERS:
x-api-token: <REQUIRED>
Content-Type: application/json
Request Body
JSON
{
"quoteUID": "2CCRMY75", // pass quote UUID here, created in create car quote api
"getLatestRating": false, // true: fetch and recalculate latest quotes ||| false: fetch already calculated quotes
"callSource": "dubaiNow", // pass this param as it is
"filters": [
{
"field": "isDisabled",
"value": false // this will return all active plans which needs to be displayed to customers
}
]
}
Response Body
JSON
{
"quotes": {
"advisor": {
"email": "scarlett.advisor@example.com",
"id": 307,
"mobile": null,
"name": "Scarlett Johanson",
"profilePhotoPath": null
},
"backHomeLicenseHeldForId": 1,
"backHomeLicenseHeldForText": "0 to 6 months",
"carMakeId": 63,
"carMakeText": "HONDA",
"carModelId": 1181,
"carModelText": "CR-V",
"carName": "HONDA CR-V",
"carTrimId": 1010,
"carTrimText": "LX 2.4L",
"carValue": 82501,
"claimHistoryId": 1,
"currentInsurance": "Other",
"currentInsuranceStatus": "ACTIVE_COMP",
"currentlyInsuredWith": "Other",
"customerId": 26492,
"cylinder": "4",
"dob": "1988-01-10 04:00:00",
"email": "john.doe@example.com",
"emirateOfRegistrationId": 1,
"firstName": "John",
"hasNcdSupportingDocuments": true,
"isBankFinanced": false,
"isGccStandard": true,
"isModified": false,
"lastName": "Doe",
"mobile": "055000000",
"nationalityId": 136,
"plans": [
{
"actualPremium": null,
"addons": [
{
"carAddonOption": [
{
"description": null,
"id": 4,
"isSelected": true,
"price": 0,
"value": "Included up to AED 200,000",
"vat": 0
}
],
"code": "driverCover",
"description": "Provides financial benefits should you sustain bodily injury as a result of an incident whilst driving your vehicle.",
"id": 1,
"text": "Driver cover",
"type": "checkbox"
}
// ...
],
"ancillaryExcess": 0,
"benefits": {
"exclusion": [
{
"code": "damage",
"description": "Cover for accidental damage to your vehicle whilst being driven in UAE & Oman.",
"text": "Loss or damage to the insured vehicle",
"value": "Excluded"
}
// ...
],
"feature": [
{
"code": "damageLimit",
"description": "The maximum amount insurers will pay for any one claim in respect of damage to property belonging to a third party caused by you.",
"text": "Third party damage limit",
"value": "Up to AED 3.5 Million"
}
// ...
],
"inclusion": [
{
"code": "ambulanceCover",
"description": "Covers costs for an ambulance to take you to the nearest hospital for post-accident treatment.",
"text": "Ambulance cover",
"value": "Up to AED 6,770"
}
// ...
],
"roadSideAssistance": [
{
"code": "breakdownRecovery",
"description": "Covers costs for loss or damage sustained as a result of a riot or civil protest.",
"text": "24 hour accident and breakdown recovery",
"value": "Included"
}
// ...
]
},
"carValue": 63043,
"carValueLowerLimit": null,
"carValueUpperLimit": null,
"discountPremium": null,
"excess": null,
"id": 1,
"insurerAvailableTrims": [
{
"admeId": "1010",
"description": "LX 2.4L"
}
// ...
],
"insurerMinimalTrim": "LX 2.4L L",
"insurerQuoteNo": null,
"insurerTrimId": "1010",
"insurerTrimText": "LX 2.4L",
"isDisabled": false,
"isManualPlan": false,
"isManualUpdate": false,
"isRatingAvailable": false,
"isRenewal": false,
"isTrimLocked": false,
"isValueAdjusted": false,
"name": "Third Party Only",
"planCode": "1",
"policyWordings": [
{
"description": null,
"link": "https://insurancemarket.blob.core.windows.net/policy-wordings/car/03-08-22/RSA/RSA%20-%20Motor%20Third%20Party%20Liability%20Policy%20Wording%20-%20Effective%201st%20April%202022.pdf",
"text": "RSA - Third Party Policy Wordings EN"
}
// ...
],
"providerCode": "RSA",
"providerName": "Royal & Sun Alliance Insurance (RSA)",
"repairType": "TPL",
"shouldReviseQuote": false,
"updatedAt": "2023-01-26 16:22:08",
"vat": null,
"discountPremiumPlusVat": null,
}
// ...
],
"policyStartDate": null,
"seatingCapacity": 5,
"source": "SOURCE_OF_LEAD",
"typeOfInsuranceId": 1,
"uaeLicenseHeldForId": 1,
"vehicleRegistrationTypeId": null,
"vehicleRegistrationTypeText": "",
"vehicleTypeId": 1,
"yearOfFirstRegistration": "2022",
"yearOfManufacture": "2022"
}
}