Vignetim

Pojistné produkty (Insurance Products)

Získejte dostupné produkty cestovního pojištění s podrobnostmi o krytí a cenami.

Výpis pojistných produktů

GET /products/insurance

Odpověď

{
	"data": [
		{
			"id": "d4e5f6a7-b8c9-0123-defa-234567890123",
			"slug": "travel-basic-europe",
			"name": "Travel Basic Europe",
			"description": "Basic travel insurance covering medical emergencies and trip cancellation across Europe.",
			"coverageType": "BASIC",
			"coverageRegion": "EUROPE",
			"duration": 30,
			"durationUnit": "DAYS",
			"maxCoverage": {
				"amount": 50000,
				"currency": "EUR"
			},
			"price": {
				"amount": 19.9,
				"currency": "EUR"
			},
			"features": ["Medical emergency coverage", "Trip cancellation", "Lost luggage protection"]
		},
		{
			"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
			"slug": "travel-premium-worldwide",
			"name": "Travel Premium Worldwide",
			"description": "Comprehensive worldwide travel insurance with extended coverage.",
			"coverageType": "PREMIUM",
			"coverageRegion": "WORLDWIDE",
			"duration": 90,
			"durationUnit": "DAYS",
			"maxCoverage": {
				"amount": 200000,
				"currency": "EUR"
			},
			"price": {
				"amount": 79.9,
				"currency": "EUR"
			},
			"features": [
				"Medical emergency coverage",
				"Trip cancellation and interruption",
				"Lost and delayed luggage",
				"Flight delay compensation",
				"Emergency evacuation"
			]
		}
	]
}

Získání pojistného produktu podle slugu

GET /products/insurance/:slug

Parametry cesty

NázevTypPovinnýPopis
slugstringAnoSlug pojistného produktu (např. travel-basic-europe)

Odpověď

Vrací jeden objekt pojistného produktu se stejnou strukturou jako položky ve výpisu.

{
	"id": "d4e5f6a7-b8c9-0123-defa-234567890123",
	"slug": "travel-basic-europe",
	"name": "Travel Basic Europe",
	"description": "Basic travel insurance covering medical emergencies and trip cancellation across Europe.",
	"coverageType": "BASIC",
	"coverageRegion": "EUROPE",
	"duration": 30,
	"durationUnit": "DAYS",
	"maxCoverage": {
		"amount": 50000,
		"currency": "EUR"
	},
	"price": {
		"amount": 19.9,
		"currency": "EUR"
	},
	"features": ["Medical emergency coverage", "Trip cancellation", "Lost luggage protection"]
}