v1

latestOpenAPI 3.0.02026-07-2631334151.4 KB
Coverages

Retorna as regras para combinação de coberturas de acordo com os parâmetros recebidos

get/insurance/coverages

Query parameters

component1 | 2 required

Id of the Component

  • 1 - AUTO
  • 2 - PROPERTY
compositionstring required

Id of the Composition

  • 5 - HDI EM CASA
  • 10 - HDI EMPRESARIAL
  • 17 - SEGURO BENF. E PRODS.AGROP.
  • 18 - RD
  • 19 - PENHOR RURAL
  • 21 - HDI CONDOMINIO PROTEGIDO
postalCodestring required

Postal Code of the User that is using the API.

assetCharacteristicsinteger required

Asset Characteristics Id

documentType1 | 2 required

Document Type

  • 1 - CPF
  • 2 - CNPJ
riskAmountinteger

Value Amount

Headers

X-Company-Idstring required

Id of the Company that is using the API.

X-Application-Idstring required

Id of the Application that is using the API.

X-User-Idstring required

Id of the User that is using the API.

X-Susep-Codestring required

Susep code of the User that is using the API.

X-Sucursal-Codestring required

Sucursal code of the User that is using the API.

X-Trace-Idstring

Trace ID

Response

Sucesso

Example response

[
  {
    "demonstrative": {
      "comissions": {
        "company": {
          "id": 1,
          "code": "01",
          "name": "HDI"
        },
        "product": {
          "id": 5,
          "code": "005",
          "name": "Residencial"
        }
      }
    }
  }
]