Generate a new quote (single product)
Generates a price quote for a single product based on specified information.
Headers
Bearer token
Request body
Example request
{
"advisorId": "123456",
"departureDate": "2023-05-18",
"returnDate": "2023-05-30",
"destination": [
{
"country": "US",
"googlePlaceId": "ChIJYYOWXuckZUcRZdTiJR5FQOc",
"state": "CA"
}
],
"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
}
},
"productId": "PR-STANDARD-01",
"productIds": [
"PR-STANDARD-01",
"PR-SPORTS-01"
],
"timezone": "America/New_York",
"residence": "CA",
"travelerDobs": [
"1965-12-01",
"1965-07-23"
],
"travelerDetails": [
{
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@gmail.com",
"dob": "1980-11-25"
}
],
"externalId": "Aa123",
"noTravellers": 2,
"utms": [
{
"key": "utm_source",
"value": "google"
}
]
}Response
The quote has been successfully generated.
Example response
{
"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.918
- ▲
added
InitialDepositBaseCoverageOptionRequestDtoto thecoverageOptions/allOf[AddonsRequestDto]/cfarOptionrequest propertyallOflistrequest-property-all-of-added
- ▲
the
departureDaterequest property type/format changed fromdate/tostring/daterequest-property-type-changed
- ▲
the
productIds/items/request property type/format changed fromarray/tostring/request-property-type-changed
- ▲
the
returnDaterequest property type/format changed fromdate/tostring/daterequest-property-type-changed
- ▲
the
travelerDetails/items/dobrequest property type/format changed fromdate/tostring/daterequest-property-type-changed
- ●
removed
CfarCoverageOptionRequestDtofrom thecoverageOptions/allOf[AddonsRequestDto]/cfarOptionrequest propertyallOflistrequest-property-all-of-removed
- ○
api operation id
generateremoved and replaced withgenerateQuoteapi-operation-id-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 required property
coverageOptions/allOf[AddonsDto]/cfwrOptionto the response with the201statusresponse-required-property-added
- ○
added the required property
coverageOptions/allOf[AddonsDto]/medicalUpgradeto the response with the201statusresponse-required-property-added
- ○
added the required property
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
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
- ○
api operation id
createQuoteremoved and replaced withgenerateapi-operation-id-removed
- ○
added the new optional
headerrequest parameterAuthorizationnew-optional-request-parameter
- ▲