Download OpenAPI specification:Download
RCA Api documentation
Changelog
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---"
}
}A quote is obtained from the insurer for the product specified in the request.
| Token required | string |
JSON format body
required | object |
required | object |
{- "provider": {
- "organization": {
- "businessName": "allianz"
}, - "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}, - "product": {
- "motor": {
- "startDate": "2021-01-01",
- "termTime": "12",
- "installmentCount": "1",
- "commissionPercentLimit": "12",
- "renewPolicy": {
- "series": "XX/XX/XX",
- "number": "123456789"
}, - "generatePaymentLink": "false",
}, - "policyholder": {
- "businessName": "Life is Hard",
- "companyRegistryNumber": "J12/1403/2004",
- "caenCode": "6202",
- "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"
}, - "drivingLicense": {
- "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"
}, - "hasDisability": "false",
- "isRetired": "false"
}, - "vehicle": {
- "owner": {
- "businessName": "Life is Hard",
- "companyRegistryNumber": "J12/1403/2004",
- "caenCode": "6202",
- "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"
}, - "drivingLicense": {
- "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"
}, - "hasDisability": "false",
- "isRetired": "false"
}, - "driver": [
- {
- "lastName": "Pop",
- "firstName": "Vasile",
- "taxId": "1910716000000",
- "identification": {
- "idNumber": "CJ123456"
}, - "mobileNumber": "0766999000"
}
], - "licensePlate": "B101XXX",
- "registrationType": "registered",
- "vin": "string",
- "vehicleType": "M1",
- "brand": "string",
- "model": "string",
- "yearOfConstruction": 1900,
- "engineDisplacement": 0,
- "enginePower": 0,
- "totalWeight": 0,
- "seats": 0,
- "fuelType": "diesel",
- "firstRegistration": "2019-08-24",
- "usageType": "personal",
- "identification": {
- "idNumber": "H123456"
}, - "currentMileage": 0,
- "hasMobilityModifications": "false",
- "isLeased": "false",
- "isNew": "false"
}, - "additionalData": {
- "product": {
- "motor": {
- "hasCasco": "true"
}, - "coordinatorId": "76241",
- "recommenderTaxId": "1900105125781",
- "protocolId": "222",
- "extraCoverage": "true",
- "isAcquiredFromRomanianDealer": "true"
}
}
}
}{- "data": {
- "provider": {
- "organization": {
- "businessName": "NUME_SAS"
}
}, - "offers": [
- {
- "offerId": "1",
- "providerOfferCode": "XY01230123",
- "premiumAmount": "89",
- "premiumAmountNet": "89",
- "currency": "RON",
- "startDate": "2022-09-25",
- "endDate": "2023-09-24",
- "referenceRate": "500",
- "bonusMalusClass": "B2",
- "commissionValue": "500",
- "commissionPercent": "7",
- "directCompensation": {
- "providerOfferCode": "DC01230123",
- "premiumAmount": "89",
- "commissionValue": "6.23",
- "commissionPercent": "7",
- "paymentLink": "paymeny-url.com",
- "installments": [
- {
- "id": "1",
- "amount": "123",
- "dueDate": "2023-06-10"
}
]
}, - "installments": [
- {
- "id": "1",
- "amount": "123",
- "dueDate": "2023-06-10"
}
], - "greenCardExclusions": "RU, MD",
- "notes": "RU, MD",
- "offerExpiryDate": "2023-10-20",
- "pid": "url.com",
- "toc": "url.com",
- "paymentLink": "paymeny-url.com"
}
]
}
}Download offer in PDF format
| id required | integer Offer identification number |
| withDirectCompensation | integer Download offer with or without direct compensation included. * Default value is without direct compensation. |
| Token required | string |
{- "data": {
- "files": [
- {
- "type": "Offer",
- "name": "offer-2149be26-d38d-40e4-ad07-1ccb384aadec.pdf",
- "content": "JVBERi0xLj..."
}
]
}
}Retrieve policy PDF file
| series required | string Example: series=XX/12/12 Policy series |
| number required | string Example: number=1234567890 Policy number |
| Token required | string |
{- "data": {
- "provider": {
- "businessName": "allianz"
}, - "policyId": "12",
- "series": "XX/XX",
- "number": "243245345",
- "payment": {
- "method": "receipt",
- "currency": "RON",
- "amount": "89",
- "date": "2023-07-10",
- "documentNumber": "AX4984"
}, - "startDate": "2023-07-10",
- "endDate": "2024-07-09",
- "premiumAmount": "89",
- "currency": "RON",
- "installments": [
- {
- "id": "1",
- "amount": "123",
- "dueDate": "2023-06-10"
}
], - "files": [
- {
- "type": "Offer",
- "name": "offer-2149be26-d38d-40e4-ad07-1ccb384aadec.pdf",
- "content": "JVBERi0xLj..."
}
]
}
}The offer is transformed into a policy based on the offer identifier.
| Token required | string |
JSON formatted body
| offerId required | integer |
| includeDirectCompensation | boolean |
required | object (Payment) |
GeneraliRCATransformOfferRequest (object) If the product does not exist in the list, this field is ignored. |
{- "offerId": "23",
- "includeDirectCompensation": "false",
- "payment": {
- "method": "receipt",
- "currency": "RON",
- "amount": "89",
- "date": "2023-07-10",
- "documentNumber": "AX4984"
}, - "additionalData": {
- "product": {
- "policyholder": {
- "residency": "resident in Romania",
- "politicallyExposed": "no"
}, - "vehicle": {
- "owner": {
- "residency": "resident in Romania",
- "politicallyExposed": "no"
}
}
}
}
}{- "data": {
- "policies": [
- {
- "provider": {
- "businessName": "allianz"
}, - "policyId": "12",
- "series": "XX/XX",
- "number": "243245345",
- "payment": {
- "method": "receipt",
- "currency": "RON",
- "amount": "89",
- "date": "2023-07-10",
- "documentNumber": "AX4984"
}, - "startDate": "2023-07-10",
- "endDate": "2024-07-09",
- "premiumAmount": "89",
- "currency": "RON",
- "installments": [
- {
- "id": "1",
- "amount": "123",
- "dueDate": "2023-06-10"
}
]
}
]
}
}Download policy in PDF format
| id required | integer Policy identification number |
| Token required | string |
{- "data": {
- "provider": {
- "businessName": "allianz"
}, - "policyId": "12",
- "series": "XX/XX",
- "number": "243245345",
- "payment": {
- "method": "receipt",
- "currency": "RON",
- "amount": "89",
- "date": "2023-07-10",
- "documentNumber": "AX4984"
}, - "startDate": "2023-07-10",
- "endDate": "2024-07-09",
- "premiumAmount": "89",
- "currency": "RON",
- "installments": [
- {
- "id": "1",
- "amount": "123",
- "dueDate": "2023-06-10"
}
], - "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"
}
]
}| licensePlate | string The license plate of the car, required if vin is not provided |
| vin | string The VIN of the car, required if licensePlate is not provided |
| Token required | string Authorization token |
{- "brand": "VOLVO",
- "model": "C",
- "commercialModel": "XC90",
- "color": "NEGRU",
- "fuelType": "diesel",
- "vehicleType": "M1G",
- "nationalVehicleType": "AUTOTURISM",
- "vin": "string",
- "licensePlate": "string",
- "identification": "null",
- "engineDisplacement": "2401",
- "enginePower": "136",
- "totalWeight": "2560",
- "yearOfConstruction": "2005",
- "seats": "5",
- "seatsStanding": "null",
- "firstRegistration": "2024-06-19",
- "currentRegistration": "2024-06-19",
- "endOfCurrentRegistration": "2024-06-19",
- "registrationType": "recorded",
- "updatedAt": "2024-06-19"
}| taxId required | string The tax id of the company, required |
| Token required | string Authorization token |
{- "caenCode": "1234",
- "businessName": "Company Example SRL",
- "isLegalForm": "true",
- "email": "example@gmail.com",
- "mobileNumber": "1234",
- "taxId": "1234",
- "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"
}
}[- {
- "insurer": "allianz",
- "name": "rca",
- "slug": "rca",
}
]