Download OpenAPI specification:Download
Liability Api 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---"
}
}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": "omniasig"
}, - "authentication": {
- "account": "123456",
- "password": "123cuidd#",
- "code": "ICJ1345"
}
}, - "product": {
- "name": "general",
- "currency": "RON",
- "liability": {
- "type": "malpraxis",
- "startDate": "2021-01-01",
- "termTime": "12",
- "installmentCount": "1",
- "notes": "Some additional information",
- "renewPolicy": {
- "series": "XX/XX/XX",
- "number": "123456789"
}, - "additionalInsureds": {
- "children": "2",
- "residents": "1"
}, - "deductible": {
- "percent": "12",
- "type": "of-loss"
}, - "allowance": {
- "value": "50000"
}, - "territory": {
- "coversWorldWide": true,
- "coversRomania": true
}, - "coverage": {
- "auxiliaryStaff": {
- "isIncluded": true
}, - "eScooter": {
- "isIncluded": true,
- "value": "50000"
}, - "extendedReportingPeriod": {
- "isIncluded": true,
- "value": "50000"
}, - "moralClaims": {
- "isIncluded": true,
- "value": "50000"
}, - "feesCompensation": {
- "isIncluded": true,
- "value": "5"
}, - "perEvent": {
- "isIncluded": true,
- "value": "50000"
}, - "policyLimit": {
- "isIncluded": true,
- "value": "50000"
}
}, - "conditions": {
- "locationCount": {
- "isIncluded": true,
- "value": "50000"
}, - "claimsWithin3Years": {
- "isIncluded": true
}, - "lossHistoryWithin5Years": {
- "isIncluded": true
}, - "turnover": {
- "isIncluded": true,
- "value": "50000"
}
}, - "intermediaryEmail": "email@test.com"
}, - "customer": {
- "businessName": "Life is Hard",
- "companyRegistryNumber": "J12/1403/2004",
- "caenCode": "6201",
- "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"
}
}, - "policyholder": {
- "businessName": "Life is Hard",
- "companyRegistryNumber": "J12/1403/2004",
- "caenCode": "6201",
- "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"
}
}, - "additionalData": {
- "rafCode": "RAF12345",
- "product": {
- "retroactivePeriod": "12",
- "conditions": {
- "activityType": "accounting",
- "consultantsType": "accountant",
- "professionalCategory": "medical-specialties",
- "professionalSpeciality": "allergology-and-clinical-immunology"
}
}
}
}
}{- "data": {
- "provider": {
- "organization": {
- "businessName": "omniasig"
}
}, - "product": {
- "name": "general"
}, - "offers": [
- {
- "offerId": "1",
- "providerOfferCode": "XY01230123",
- "premiumAmount": "89",
- "currency": "EUR",
- "exchangeRate": {
- "currency": "RON",
- "amount": "1200",
- "exchangeRate": "4.9219"
}, - "startDate": "2022-09-25",
- "endDate": "2023-09-24",
- "installments": [
- {
- "id": "1",
- "amount": "123",
- "dueDate": "2023-06-10"
}
], - "notes": "Something important",
- "offerExpiryDate": "2023-10-20"
}
]
}
}Download offer in PDF format
| id required | integer Offer identification number |
| Token required | string |
{- "data": {
- "files": [
- {
- "type": "Offer",
- "name": "offer-2149be26-d38d-40e4-ad07-1ccb384aadec.pdf",
- "content": "JVBERi0xLj..."
}
]
}
}Download policy in PDF format
| series required | string Example: series=RA-065 Policy series |
| string required | string Example: string=1234567890 Policy number |
| Token required | string |
{- "data": {
- "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 |
required | object (Payment) |
If the product does not exist in the list, this field is ignored. |
{- "offerId": "23",
- "payment": {
- "method": "receipt",
- "currency": "RON",
- "amount": "89",
- "date": "2023-07-10",
- "documentNumber": "AX4984"
}, - "additionalData": null
}{- "data": {
- "policies": [
- {
- "provider": {
- "businessName": "omniasig"
}, - "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": {
- "files": [
- {
- "type": "Offer",
- "name": "offer-2149be26-d38d-40e4-ad07-1ccb384aadec.pdf",
- "content": "JVBERi0xLj..."
}
]
}
}Download policy receipt in PDF format
| id required | integer Policy identification number |
| Token required | string |
{- "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"
}
]
}