Biztosítási termékek (Insurance Products)
Elérhető utasbiztosítási termékek lekérése fedezeti részletekkel és árakkal.
Biztosítási termékek listázása
GET /products/insurance
Válasz
{
"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"
]
}
]
}
Biztosítási termék lekérése slug alapján
GET /products/insurance/:slug
Útvonal paraméterek (Path Parameters)
| Név | Típus | Kötelező | Leírás |
|---|---|---|---|
slug | string | Igen | A biztosítási termék slug-ja (pl. travel-basic-europe) |
Válasz
Egyetlen biztosítási termék objektumot ad vissza, a listázási válasz elemeivel megegyező struktúrával.
{
"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"]
}