Download OpenAPI specification:Download
TravelApi documentation
Authenticate an account by account/password
| account required | string Account |
| password required | string Password |
{- "error": "false",
- "status": "200",
- "data": {
- "token": "---JWT Token---",
- "expires_at": "2021-09-03 19:41:27",
- "refresh_token": "---Refresh Token---"
}
}Renew an authentication token
| Token required | string Example: Refresh [refresh_token] The Refresh token received from the |
{- "error": "false",
- "status": "200",
- "data": {
- "token": "---JWT Token---",
- "expires_at": "2021-09-03 19:41:27",
- "refresh_token": "---Refresh Token---"
}
}This endpoint allows clients to submit offer requests without waiting for immediate processing.
The client will receive a correlation ID that can be used to track the status of the request.
| Token required | string |
JSON format body
required | Array of objects (InsurerProduct) |
| product required | object Almost same as |
object (Agreements) These agreements apply for all customers/policyholders. | |
| allowGroupOffer | boolean Allow group offer |
| timeout | number Timeout in seconds |
| callbackUrl | string Callback URL, required if callback URL is not configured on account |
{- "insurerProductList": [
- {
- "provider": {
- "organization": {
- "businessName": "eurolife"
}, - "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}, - "product": {
- "name": "Travel"
}
}
], - "product": { },
- "agreements": {
- "gdpr": "true",
- "marketing": "true"
}, - "allowGroupOffer": "true",
- "timeout": "300",
}{- "error": "false",
- "status": "200",
- "data": {
- "correlation_id": "c1e7b3d0-7b7b-4b7b-8b7b-9b7b7b7b7b7b"
}
}Generate a quick offer based on the input fields
| Token required | string |
JSON format body
required | object |
required | object |
{- "provider": {
- "organization": {
- "businessName": "eurolife"
}, - "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}, - "product": {
- "name": "Travel",
- "currency": "RON",
- "travel": {
- "startDate": "2021-01-01",
- "duration": "7",
- "notes": "string",
- "purpose": "travel",
- "areaOfValidity": "2",
- "destination": "string",
- "transportationMethod": "personal_car",
- "groupType": "individual",
- "coverage": {
- "base": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "baggageLoss": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "sports": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "flightDelay": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "travelLiability": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "stornoCosts": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "roadsideAssistance": {
- "isIncluded": true,
- "vehicle": {
- "brand": "Dacia",
- "model": "Logan",
- "vin": "23ewfcsdcfsdcsd88",
- "licensePlate": "CJ88TGH",
- "seats": "5",
- "totalWeight": "1782",
- "yearOfConstruction": "2014"
}
}
}, - "intermediaryEmail": "email@test.com"
}, - "policyholder": {
- "lastName": "Pop",
- "firstName": "Vasile",
- "taxId": "1910716000000",
- "birthdate": "2021-01-01"
}, - "additionalData": {
- "rafCode": "RAF12345",
- "discountCode": "RED2323",
- "eurolifeArea": "Eurolife_0"
}
}
}{- "error": "false",
- "status": "200",
- "data": {
- "provider": {
- "organization": {
- "businessName": "NUME_SAS"
}
}, - "product": {
- "name": "PRODUS_SAS"
}, - "offers": [
- {
- "package": {
- "code": "TRAVEL",
- "name": "TRAVLE_01"
}, - "premiumAmount": "89.76",
- "currency": "RON",
- "premiumRates": [
- {
- "currency": "EUR",
- "amount": "23.16",
- "exchangeRate": "4.9219"
}
], - "payment": {
- "amount": "89.76",
- "currency": "RON"
}, - "coverage": {
- "base": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "baggageLoss": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "sports": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "flightDelay": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "travelLiability": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "stornoCosts": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "roadsideAssistance": {
- "sumInsured": "50000",
- "currency": "EUR"
}
}, - "startDate": "2022-09-25",
- "endDate": "2023-09-24",
- "notes": "string",
- "providerResponse": { }
}
]
}
}Generate an offer based on the input fields
| Token required | string |
JSON format body
required | object |
required | object |
object (Agreements) These agreements apply for all customers/policyholders. |
{- "provider": {
- "organization": {
- "businessName": "eurolife"
}, - "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}, - "product": {
- "name": "Travel",
- "currency": "RON",
- "travel": {
- "startDate": "2021-01-01",
- "duration": "7",
- "notes": "string",
- "purpose": "travel",
- "areaOfValidity": "2",
- "destination": "string",
- "transportationMethod": "personal_car",
- "groupType": "individual",
- "coverage": {
- "base": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "baggageLoss": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "sports": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "flightDelay": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "travelLiability": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "stornoCosts": {
- "isIncluded": true,
- "sumInsured": "50000"
}, - "roadsideAssistance": {
- "isIncluded": true,
- "vehicle": {
- "brand": "Dacia",
- "model": "Logan",
- "vin": "23ewfcsdcfsdcsd88",
- "licensePlate": "CJ88TGH",
- "seats": "5",
- "totalWeight": "1782",
- "yearOfConstruction": "2014"
}
}
}, - "intermediaryEmail": "email@test.com"
}, - "customer": {
- "businessName": "Life is Hard",
- "companyRegistryNumber": "J12/1403/2004",
- "lastName": "Pop",
- "firstName": "Vasile",
- "isForeignPerson": "false",
- "taxId": "1910716000000",
- "nationality": "RO",
- "citizenship": "RO",
- "gender": "m",
- "birthdate": "2021-01-01",
- "email": "email@email.ro",
- "mobileNumber": "0744444444",
- "identification": {
- "idType": "CI",
- "idNumber": "CJ123456",
- "issueAuthority": "SPCLEP Cluj",
- "issueDate": "2022-11-24"
}, - "address": {
- "country": "RO",
- "county": "CJ",
- "city": "Cluj-Napoca",
- "cityCode": "54984",
- "street": "Principala",
- "houseNumber": "19-21",
- "building": "A1",
- "staircase": "1",
- "apartment": "12",
- "floor": "3",
- "postcode": "400356"
}, - "correspondenceAddress": {
- "country": "RO",
- "county": "CJ",
- "city": "Cluj-Napoca",
- "cityCode": "54984",
- "street": "Principala",
- "houseNumber": "19-21",
- "building": "A1",
- "staircase": "1",
- "apartment": "12",
- "floor": "3",
- "postcode": "400356"
}
}, - "policyholder": {
- "businessName": "Life is Hard",
- "companyRegistryNumber": "J12/1403/2004",
- "lastName": "Pop",
- "firstName": "Vasile",
- "isForeignPerson": "false",
- "taxId": "1910716000000",
- "nationality": "RO",
- "citizenship": "RO",
- "gender": "m",
- "birthdate": "2021-01-01",
- "email": "email@email.ro",
- "mobileNumber": "0744444444",
- "identification": {
- "idType": "CI",
- "idNumber": "CJ123456",
- "issueAuthority": "SPCLEP Cluj",
- "issueDate": "2022-11-24"
}, - "address": {
- "country": "RO",
- "county": "CJ",
- "city": "Cluj-Napoca",
- "cityCode": "54984",
- "street": "Principala",
- "houseNumber": "19-21",
- "building": "A1",
- "staircase": "1",
- "apartment": "12",
- "floor": "3",
- "postcode": "400356"
}, - "correspondenceAddress": {
- "country": "RO",
- "county": "CJ",
- "city": "Cluj-Napoca",
- "cityCode": "54984",
- "street": "Principala",
- "houseNumber": "19-21",
- "building": "A1",
- "staircase": "1",
- "apartment": "12",
- "floor": "3",
- "postcode": "400356"
}
}, - "additionalData": {
- "rafCode": "RAF12345",
- "product": {
- "coordinatorId": "76241",
- "recommenderTaxId": "1900105125781",
- "protocolId": "222"
}, - "coverage": {
- "stornoCosts": {
- "travelStartDate": "2021-01-01"
}, - "personalAccidents": {
- "isIncluded": true,
- "sumInsured": "50000"
}
}, - "medic": {
- "businessName": "Life is Hard",
- "companyRegistryNumber": "J12/1403/2004",
- "lastName": "Pop",
- "firstName": "Vasile",
- "isForeignPerson": "false",
- "taxId": "1910716000000",
- "nationality": "RO",
- "citizenship": "RO",
- "gender": "m",
- "birthdate": "2021-01-01",
- "email": "email@email.ro",
- "mobileNumber": "0744444444",
- "identification": {
- "idType": "CI",
- "idNumber": "CJ123456",
- "issueAuthority": "SPCLEP Cluj",
- "issueDate": "2022-11-24"
}, - "address": {
- "country": "RO",
- "county": "CJ",
- "city": "Cluj-Napoca",
- "cityCode": "54984",
- "street": "Principala",
- "houseNumber": "19-21",
- "building": "A1",
- "staircase": "1",
- "apartment": "12",
- "floor": "3",
- "postcode": "400356"
}, - "correspondenceAddress": {
- "country": "RO",
- "county": "CJ",
- "city": "Cluj-Napoca",
- "cityCode": "54984",
- "street": "Principala",
- "houseNumber": "19-21",
- "building": "A1",
- "staircase": "1",
- "apartment": "12",
- "floor": "3",
- "postcode": "400356"
}
}
}
}, - "agreements": {
- "gdpr": "true",
- "marketing": "true"
}
}{- "error": "false",
- "status": "200",
- "data": {
- "provider": {
- "organization": {
- "businessName": "NUME_SAS"
}
}, - "product": {
- "name": "PRODUS_SAS"
}, - "offers": [
- {
- "package": {
- "code": "TRAVEL",
- "name": "TRAVLE_01"
}, - "offerId": "12",
- "premiumAmount": "89.76",
- "currency": "RON",
- "premiumRates": [
- {
- "currency": "EUR",
- "amount": "23.16",
- "exchangeRate": "4.9219"
}
], - "payment": {
- "amount": "89.76",
- "currency": "RON"
}, - "coverage": {
- "base": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "baggageLoss": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "sports": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "flightDelay": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "travelLiability": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "stornoCosts": {
- "sumInsured": "50000",
- "currency": "EUR"
}, - "roadsideAssistance": {
- "sumInsured": "50000",
- "currency": "EUR"
}
}, - "startDate": "2022-09-25",
- "endDate": "2023-09-24",
- "notes": "string",
- "providerResponse": { }
}
]
}
}Retrive offer PDF file
| id required | integer Offer identification number |
| Token required | string |
{- "error": "false",
- "status": "200",
- "data": {
- "files": [
- {
- "type": "Offer",
- "name": "offer-2149be26-d38d-40e4-ad07-1ccb384aadec.pdf",
- "content": "JVBERi0xLj..."
}
]
}
}Retrieve policy PDF file
| series required | string Example: series=AXT Policy series |
| number required | string Example: number=1234567890 Policy number |
| Token required | string |
{- "data": {
- "files": [
- {
- "type": "Offer",
- "name": "offer-2149be26-d38d-40e4-ad07-1ccb384aadec.pdf",
- "content": "JVBERi0xLj..."
}
]
}
}Issuing a selected offer
| Token required | string |
JSON formatted body
| offerId required | integer |
required | object (Payment) |
AllianzVoiajTransformOfferRequest (object) or SignalIdunaTravelTransformOfferRequest (object) or OmniasigSafeTravelTransformOfferRequest (object) If the product does not exist in the list, this field is ignored. |
{- "offerId": "23",
- "payment": {
- "method": "receipt",
- "currency": "RON",
- "amount": "89.76",
- "date": "2022-09-21",
- "documentNumber": "XY32344"
}, - "additionalData": {
- "numberOfInstallments": "1"
}
}{- "error": "false",
- "status": "200",
- "data": {
- "policies": [
- {
- "provider": {
- "organization": {
- "businessName": "NUME_SAS"
}
}, - "product": {
- "name": "PRODUS_SAS"
}, - "policyId": "12",
- "series": "RSXX",
- "number": "13124",
- "payment": {
- "method": "receipt",
- "currency": "RON",
- "amount": "89.76",
- "date": "2022-09-21",
- "documentNumber": "XY32344"
}, - "startDate": "2022-09-25",
- "endDate": "2023-09-24",
- "premiumAmount": "89.76",
- "currency": "RON",
- "providerResponse": { }
}
]
}
}Retrieve policy PDF file
| id required | integer Policy identification number |
| Token required | string |
{- "error": "false",
- "status": "200",
- "data": {
- "files": [
- {
- "type": "Offer",
- "name": "offer-2149be26-d38d-40e4-ad07-1ccb384aadec.pdf",
- "content": "JVBERi0xLj..."
}
]
}
}| county_code required | integer County code |
| Token required | string |
{- "error": "false",
- "status": "200",
- "data": [
- {
- "nume": "CLUJ-NAPOCA",
- "cod_judet": "CJ",
- "cod_siruta": "54984"
}
]
}| Token required | string |
object | |||||||||||
| |||||||||||
{- "provider": {
- "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}
}{- "error": "false",
- "status": "200",
- "data": [
- {
- "id": "7866211",
- "name": "IMNOS AAIIILLMNNOS"
}
]
}| Token required | string |
object | |||||||||||
| |||||||||||
{- "provider": {
- "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}
}{- "error": "false",
- "status": "200",
- "data": [
- {
- "code": "100",
- "name": "Alte companii"
}
]
}| Token required | string |
object | |||||||||||
| |||||||||||
{- "provider": {
- "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}
}{- "error": "false",
- "status": "200",
- "data": [
- {
- "id": "1",
- "name": "Eurolife0"
}
]
}| Token required | string |
object | |||||||||||
| |||||||||||
{- "provider": {
- "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}
}{- "error": "false",
- "status": "200",
- "data": [
- {
- "code": "2",
- "name": "Adventure race"
}
]
}| Token required | string |
object | |||||||||||
| |||||||||||
{- "provider": {
- "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}
}{- "error": "false",
- "status": "200",
- "data": [
- {
- "id": "3",
- "name": "Lucrativ",
- "sector": "Sectorul agricol",
- "subType": "Agricultura"
}
]
}| Token required | string |
object | |||||||||||
| |||||||||||
{- "provider": {
- "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}
}{- "error": "false",
- "status": "200",
- "data": [
- {
- "name": "STANDARD",
- "insuredSum": "20000",
- "insuredSumCurrency": "EUR"
}
]
}| Token required | string |
object | |||||||||||
| |||||||||||
{- "provider": {
- "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}
}{- "error": "false",
- "status": "200",
- "data": [
- {
- "fromAge": "65",
- "toAge": "70"
}
]
}| Token required | string |
object | |||||||||||
| |||||||||||
{- "provider": {
- "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}
}{- "error": "false",
- "status": "200",
- "data": [
- {
- "name": "PREMIUM",
- "covers": [
- {
- "text": "Transportul medical",
- "sumInsured": "10000"
}
]
}
]
}