Generate multiple quotes (V2)
Generates price quotes for multiple products using the V2 API endpoint.
Headers
Bearer token
Request body
Example request
{
"advisorId": "123456",
"departureDate": "2023-05-18",
"returnDate": "2023-05-30",
"coverageOptions": {
"cfarOption": {
"initialDepositDate": "2023-05-18"
},
"cfwrOption": {
"initialDepositDate": "2023-05-18"
},
"carRentalOption": {
"carDatesDto": [
{
"startDate": "2023-05-18",
"endDate": "2023-05-19",
"noOfCars": 1
}
],
"noOfCars": 2
}
},
"timezone": "America/New_York",
"destination": [
{
"country": "FR",
"areaLevel1": "CA",
"locality": "Paris",
"label": "Paris, France"
}
],
"residence": "CA",
"residency": {
"country": "FR",
"areaLevel1": "CA",
"locality": "Paris",
"label": "Paris, France",
"streetAndNumber": "123 Main St",
"city": "San Francisco",
"apartment": "Apt 4B",
"zipCode": "94102"
},
"travellers": [
{
"dateOfBirth": "1985-05-15",
"firstName": "John",
"email": "john.doe@example.com",
"lastName": "Doe",
"mainTraveller": true
}
],
"utms": [
{
"key": "utm_source",
"value": "google"
}
],
"noTravellers": 2
}Response
The quotes have been successfully generated.
Example response
{
"quotes": [
{
"quote": {
"currentPrice": 100.24,
"coverageOptions": {
"petOption": {
"price": 100.24
},
"trcOption": {
"price": 100.24
},
"cfarOption": {
"price": 100.24
},
"cfwrOption": {
"price": 100.24
},
"adventureOption": {
"price": 100.24
},
"vacationRentalOption": {
"price": 100.24
},
"carRentalOption": {
"price": 100.24,
"pricePerCarPerDay": 100.24
},
"medicalUpgrade": {
"price": 100.24
}
},
"quoteHash": "abc123def456"
}
}
]
}Changes
Changed in 2 of the 3 revisions of this API.121519
- ▲
added
InitialDepositBaseCoverageOptionRequestDtoto thecoverageOptions/allOf[AddonsRequestDto]/cfarOptionrequest propertyallOflistrequest-property-all-of-added
- ▲
the request property
departureDatebecame requiredrequest-property-became-required
- ▲
the request property
destinationbecame requiredrequest-property-became-required
- ▲
the request property
returnDatebecame requiredrequest-property-became-required
- ▲
the
destination/items/countryrequest property's minLength was increased from0to2request-property-min-length-increased
- ▲
the
departureDaterequest property type/format changed fromdate/tostring/daterequest-property-type-changed
- ▲
the
returnDaterequest property type/format changed fromdate/tostring/daterequest-property-type-changed
- ●
removed
CfarCoverageOptionRequestDtofrom thecoverageOptions/allOf[AddonsRequestDto]/cfarOptionrequest propertyallOflistrequest-property-all-of-removed
- ●
the
destination/items/countryrequest property's maxLength was set to2request-property-max-length-set
- ●
removed the request property
destination/items/googlePlaceIdrequest-property-removed
- ●
removed the request property
destination/items/staterequest-property-removed
- ●
removed the request property
destinationsrequest-property-removed
- ●
removed the request property
policyCodeHashrequest-property-removed
- ●
removed the request property
productrequest-property-removed
- ●
removed the request property
productCoderequest-property-removed
- ●
removed the request property
productIdrequest-property-removed
- ●
removed the request property
productIdsrequest-property-removed
- ●
removed the request property
productsrequest-property-removed
- ●
removed the request property
travelerDetailsrequest-property-removed
- ●
removed the request property
tripEndDaterequest-property-removed
- ●
removed the request property
tripStartDaterequest-property-removed
- ●
removed the optional property
quotes/items/statusfrom the response with the201statusresponse-optional-property-removed
- ○
api tag
Quoteremovedapi-tag-removed
- ○
added the new optional request property
coverageOptions/allOf[AddonsRequestDto]/cfwrOptionnew-optional-request-property
- ○
added the new optional request property
coverageOptions/allOf[AddonsRequestDto]/medicalUpgradenew-optional-request-property
- ○
added the new optional request property
destination/items/areaLevel1new-optional-request-property
- ○
added the new optional request property
destination/items/fullCountryNamenew-optional-request-property
- ○
added the new optional request property
destination/items/googleIdnew-optional-request-property
- ○
added the new optional request property
destination/items/labelnew-optional-request-property
- ○
added the new optional request property
destination/items/localitynew-optional-request-property
- ○
added the new optional request property
residency/allOf[ResidencyDtoV2]/citynew-optional-request-property
- ○
the request property
destination/items/countrybecame nullablerequest-property-became-nullable
- ○
the request property
travellers/items/firstNamebecame optionalrequest-property-became-optional
- ○
the request property
travellers/items/isDriverbecame optionalrequest-property-became-optional
- ○
the request property
travellers/items/lastNamebecame optionalrequest-property-became-optional
- ○
the request property
travellers/items/mainTravellerbecame optionalrequest-property-became-optional
- ○
added the required property
quotes/items/productNameto the response with the201statusresponse-required-property-added
- ○
added the required property
quotes/items/quote/allOf[CreateQuoteResponseDto]/coverageOptions/allOf[AddonsDto]/cfwrOptionto the response with the201statusresponse-required-property-added
- ○
added the required property
quotes/items/quote/allOf[CreateQuoteResponseDto]/coverageOptions/allOf[AddonsDto]/medicalUpgradeto the response with the201statusresponse-required-property-added
- ○
added the required property
quotes/items/quote/allOf[CreateQuoteResponseDto]/offerDescriptionto the response with the201statusresponse-required-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
departureDaterequest property type/format changed fromstring/datetodate/request-property-type-changed
- ▲
the
productIds/items/request property type/format changed fromstring/toarray/request-property-type-changed
- ▲
the
products/items/request property type/format changed fromstring/toarray/request-property-type-changed
- ▲
the
returnDaterequest property type/format changed fromstring/datetodate/request-property-type-changed
- ▲
the
travelerDetails/items/dobrequest property type/format changed fromstring/datetodate/request-property-type-changed
- ○
added the new optional
headerrequest parameterAuthorizationnew-optional-request-parameter
- ▲