Quotes

Quote Event Host Cancellation Insurance

POST
/v1/quote/event-host-cancellation

Authorization

AuthorizationBasic <token>

Authorization header with value of Basic <auth string> where the auth string value is a base64 encoded string of <client id>:<client secret>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/quote/event-host-cancellation" \  -H "Content-Type: application/json" \  -d '{    "customer": {      "email_address": "user@example.com",      "state": "MN",      "first_name": "string",      "last_name": "string"    }  }'
{  "policy_attributes": {    "events": [      {        "basis_of_indemnity": {},        "gross_revenue": 0,        "costs_and_expenses": 1,        "event_start_date": "2019-08-24",        "event_end_date": "2019-08-24",        "event_country": {},        "event_state": "string",        "event_city": "string",        "event_type": "string",        "event_name": "string",        "event_venue": "string",        "event_situation": {},        "cover_option": "STANDARD",        "add_ons": {          "winter_weather": true,          "windstorm": true,          "earthquake": true,          "tria": true,          "full_terrorism": true        },        "held_before": true,        "adverse_weather_cover_required": true,        "moderate_rainfall_wind_speed_proceed": true,        "moderate_rainfall_wind_speed_proceed_details": "string",        "history_waterlog_flooding": true,        "history_waterlog_flooding_details": "string",        "adverse_weather_losses": true,        "adverse_weather_losses_details": "string",        "marquee_temporary_structure": true,        "non_appearance": {          "non_appearance_type": {},          "is_contracted_to_appear": true,          "confirm_minimum_number_of_participants": true,          "less_than20_participants_details": "string",          "royal_head_of_state": true,          "individual_information": [            {              "id": "string",              "name": "string",              "birth_date": "2019-08-24"            }          ]        }      }    ],    "additional_questions": {      "cancellation_contract_confirmed_in_writing": true,      "cancellation_contract_confirmed_in_writing_details": "string",      "cancellation_loss_in_last_5_years": true,      "cancellation_loss_in_last_5_years_details": "string",      "cancellation_material_facts": true,      "cancellation_material_facts_details": "string",      "event_delayed_postponed": true,      "event_delayed_postponed_details": "string",      "cancellation_declaration": true    }  },  "premium_amount": 1,  "policy_number": "string",  "partner": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_business_name": "string"  },  "policy_documents": [    {      "document_type": "POLICY",      "url": "string"    }  ],  "policy_status": "ACTIVE",  "issued_date": "2019-08-24T14:15:22Z",  "expiration_date": "string",  "effective_date": "string",  "quote_date": "2019-08-24T14:15:22Z",  "product": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "event-participation-cancellation-insurance",    "friendly_name": "string",    "abbreviation": "string",    "enabled": true,    "description": "string",    "peril_heading": "string",    "perils": [      "string"    ],    "descriptors": [      "string"    ],    "promotional_header": "string",    "promotional_description": "string",    "accept_action_text": "string",    "decline_action_text": "string",    "legal_disclaimer": "string",    "privacy_policy_url": "string",    "terms_conditions_url": "string",    "additional_policy_purchase_email_message": "string",    "layout": "string",    "carrier_logo_url": "string",    "carrier_name": "string",    "carrier_email": "string",    "carrier_phone": "string",    "claims_url": "string"  },  "endorsement_price_changes": 0,  "subscription_premium": {    "payments_required": 0,    "payment_amount": 0,    "can_cancel": true  },  "currency": "USD",  "language": "string",  "total": 0,  "taxes_and_fees": [    {      "amount": 0,      "description": "string",      "type": "fee",      "included_in_premium": true,      "include_in_marketing_share": true,      "refundable": true,      "taxable": true,      "per_subscription_charge": true,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "version": 0,  "quote_id": "string",  "offer_id": "d5a7a5b7-a4a3-49e7-9c69-b44d2cbe15cf",  "distribution_channel": "string",  "is_test": true,  "metadata": {    "property1": "string",    "property2": "string"  },  "checkout_url": "string",  "recommendation": {    "message": "string",    "enabled": true  },  "policy_holder": {    "first_name": "string",    "middle_name": "string",    "last_name": "string",    "email_address": "string",    "email_address_hash": "string",    "phone_number": "string",    "street": "string",    "city": "string",    "state": "string",    "postal_code": "string",    "country": "string"  }}
{  "policy_attributes": {    "events": [      {        "basis_of_indemnity": {},        "gross_revenue": 0,        "costs_and_expenses": 1,        "event_start_date": "2019-08-24",        "event_end_date": "2019-08-24",        "event_country": {},        "event_state": "string",        "event_city": "string",        "event_type": "string",        "event_name": "string",        "event_venue": "string",        "event_situation": {},        "cover_option": "STANDARD",        "add_ons": {          "winter_weather": true,          "windstorm": true,          "earthquake": true,          "tria": true,          "full_terrorism": true        },        "held_before": true,        "adverse_weather_cover_required": true,        "moderate_rainfall_wind_speed_proceed": true,        "moderate_rainfall_wind_speed_proceed_details": "string",        "history_waterlog_flooding": true,        "history_waterlog_flooding_details": "string",        "adverse_weather_losses": true,        "adverse_weather_losses_details": "string",        "marquee_temporary_structure": true,        "non_appearance": {          "non_appearance_type": {},          "is_contracted_to_appear": true,          "confirm_minimum_number_of_participants": true,          "less_than20_participants_details": "string",          "royal_head_of_state": true,          "individual_information": [            {              "id": "string",              "name": "string",              "birth_date": "2019-08-24"            }          ]        }      }    ],    "additional_questions": {      "cancellation_contract_confirmed_in_writing": true,      "cancellation_contract_confirmed_in_writing_details": "string",      "cancellation_loss_in_last_5_years": true,      "cancellation_loss_in_last_5_years_details": "string",      "cancellation_material_facts": true,      "cancellation_material_facts_details": "string",      "event_delayed_postponed": true,      "event_delayed_postponed_details": "string",      "cancellation_declaration": true    }  },  "premium_amount": 1,  "policy_number": "string",  "partner": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_business_name": "string"  },  "policy_documents": [    {      "document_type": "POLICY",      "url": "string"    }  ],  "policy_status": "ACTIVE",  "issued_date": "2019-08-24T14:15:22Z",  "expiration_date": "string",  "effective_date": "string",  "quote_date": "2019-08-24T14:15:22Z",  "product": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "event-participation-cancellation-insurance",    "friendly_name": "string",    "abbreviation": "string",    "enabled": true,    "description": "string",    "peril_heading": "string",    "perils": [      "string"    ],    "descriptors": [      "string"    ],    "promotional_header": "string",    "promotional_description": "string",    "accept_action_text": "string",    "decline_action_text": "string",    "legal_disclaimer": "string",    "privacy_policy_url": "string",    "terms_conditions_url": "string",    "additional_policy_purchase_email_message": "string",    "layout": "string",    "carrier_logo_url": "string",    "carrier_name": "string",    "carrier_email": "string",    "carrier_phone": "string",    "claims_url": "string"  },  "endorsement_price_changes": 0,  "subscription_premium": {    "payments_required": 0,    "payment_amount": 0,    "can_cancel": true  },  "currency": "USD",  "language": "string",  "total": 0,  "taxes_and_fees": [    {      "amount": 0,      "description": "string",      "type": "fee",      "included_in_premium": true,      "include_in_marketing_share": true,      "refundable": true,      "taxable": true,      "per_subscription_charge": true,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "version": 0,  "quote_id": "string",  "offer_id": "d5a7a5b7-a4a3-49e7-9c69-b44d2cbe15cf",  "distribution_channel": "string",  "is_test": true,  "metadata": {    "property1": "string",    "property2": "string"  },  "checkout_url": "string",  "recommendation": {    "message": "string",    "enabled": true  },  "policy_holder": {    "first_name": "string",    "middle_name": "string",    "last_name": "string",    "email_address": "string",    "email_address_hash": "string",    "phone_number": "string",    "street": "string",    "city": "string",    "state": "string",    "postal_code": "string",    "country": "string"  }}
{  "error": "string",  "error_code": "string",  "message": "string",  "reason": "string",  "status": 0}
Empty
{  "error": "string",  "error_code": "string",  "message": "string",  "reason": "string",  "status": 0}