POST /non-payment-insurance/cases with that id in the body. The call answers 201 with no body and a Location header with the URL of the case. Read the case with GET on that URL.
Data you send
- Tenants and guarantors
- Landlord
- Policy and property
For each person on the rental contract, from one to four:
Money is always a number in euros, with up to two decimals. Dates are
YYYY-MM-DD.You do not need to score the tenant again before asking for a quote. If you
scored a candidate without an ID number, add it now: the quote requires it.
What you read from the case
GET /non-payment-insurance/cases/{caseId} returns the case. It includes:
- Status:
pending-documentationwhen the offer is priced, orrejectedwhen the insurer will not cover the contract. - Offer: the net and total annual premium, the first and remaining installments, the coverages and a link to the insurer’s offer document.
- Reasons: the insurer’s exceptions, when the offer is conditioned, and its exclusions, when it cannot be contracted. Each has a code and a description.
- Documentation: the documents the insurer requires, under
documentation.missing. - Tenant ids: the
idVivara assigns to each person, which you use when uploading documents.
If the call times out
A case id that was already used answers409 case-already-exists, whatever the data. After a timeout, read the case with GET /non-payment-insurance/cases/{caseId}: if it is there, the case was opened; if it answers 404, it was not, and you can send the same id again. To price different data, generate a new id: it is a new case.