API para consultar dados de detalhe de renovacao de apolice
Objetivo
Esta API tem o objetivo de retornar os detalhes da parcela da apólice escolhida pelo segurado.
Contrato de Serviço - Swagger
Download SwaggerCollection Test Postman
Download Collection Test
Dados Básicos
Nome do Serviço | /policy-renew/detail/{id} Dados de detalhe de apolice renovada |
Descrição Resumida | Consulta os dados de detalhe de apolice renovada |
URL | Base Path: /insurance/policy/v1 URI: /policy-renew/detail/{id} |
Status | Ativo |
Versão | 1.0 |
Exemplo de Payload
- Path `id`: string (opcional)
Exemplos:
key=AIzaSyCS3yeMs9pYI7BPIy4Cg_d1wcKoW1AIe5Q
id: 45909441
- Header `Authorization`: string (requerido)
- Header `X-Application-Id`: string (requerido)
- Header `X-Company-Id`: string (requerido)
- Header `X-Susep-Id`: string (requerido)
- Header `X-User-Id`: string (requerido)
- Header `X-Trace-Id`: string (opcional)
Exemplos:
Content-Type: application/json
X-Application-Id: 01
X-Broker-Check-Disable: 1
X-Company-Id: 01
X-Susep-Id: 00000202038337
X-Trace-Id: teste
X-User-Id: 00458954810
{
"policyCode": "01.004.431.A.746623.000000",
"issueDate": "2020-04-24",
"product": {
"code": "431",
"name": "HDI AUTO PERFIL"
},
"period": {
"effectiveDate": "2023-04-27",
"expirationDate": "2023-04-27"
},
"brokers": [
{
"code": "500013442",
"susepCode": "00000202094225",
"percentageCommission": "15,00",
"percentageParticipation": "",
"type": {
"description": "C"
},
"isMain": true
}
],
"costumers": [
{
"name": "Franklin Polk",
"documents": [
{
"number": "06122175072",
"documentType": {
"id": 1,
"description": "CPF"
}
},
{
"number": "2238825611",
"documentType": {
"id": 2,
"description": "RG"
}
}
],
"contacts": [
{
"type": {
"id": 3,
"description": "Email"
},
"data": "[email protected]",
"allowCampaing": false
},
{
"type": {
"id": 1,
"description": "Telefone"
},
"data": "85 778975817",
"allowCampaing": false
},
{
"type": {
"id": 2,
"description": "Celular"
},
"data": "57 369581096",
"allowCampaing": false
}
],
"addresses": [
{
"street": "RUA A J RENNER",
"district": "Cabrillo Highway",
"number": "1887",
"complement": "complemento",
"postalCode": "92030010",
"city": {
"name": "CANOAS",
"state": {
"code": "RS",
"description": "RS"
}
}
}
]
}
],
"vehicles": [
{
"plateCode": "LNQ2329",
"chassiCode": "KNAFU411BB5909848",
"manufactureYear": 2011,
"brand": "KIA",
"model": {
"description": "CERATO 1.6 16V AUT.",
"year": 2011,
"fuelType": {
"description": "GASOLINA",
"id": 1
}
},
"coverages": [
{
"code": "42",
"description": "HDI Auto Vidros",
"guarantees": [
{
"brachCode": null,
"description": "CASCO"
},
{
"brachCode": null,
"description": "DANOS MATERIAIS"
},
{
"brachCode": null,
"description": "DANOS CORPORAIS"
},
{
"brachCode": null,
"description": "MORTE"
},
{
"brachCode": null,
"description": "INVALIDEZ PERMANENTE"
}
],
"additionals": [
{
"description": "CONDICOES GERAIS DE APP"
},
{
"description": "CONDICOES GERAIS DE AUTOMOVEL"
},
{
"description": "COBERTURA COMPREENSIVA"
},
{
"description": "CONDICOES ESPECIFICAS RCFV"
},
{
"description": "CONDICOES GERAIS"
},
{
"description": "DANOS MORAIS NAO CONTRATADO."
}
],
"protections": [
{
"description": "ALARME SONORO"
}
]
},
{
"code": "42",
"description": "Lanterna,Retrov,Faróis (Importados)",
"guarantees": [
{
"brachCode": null,
"description": "CASCO"
},
{
"brachCode": null,
"description": "DANOS MATERIAIS"
},
{
"brachCode": null,
"description": "DANOS CORPORAIS"
},
{
"brachCode": null,
"description": "MORTE"
},
{
"brachCode": null,
"description": "INVALIDEZ PERMANENTE"
}
],
"additionals": [
{
"description": "CONDICOES GERAIS DE APP"
},
{
"description": "CONDICOES GERAIS DE AUTOMOVEL"
},
{
"description": "COBERTURA COMPREENSIVA"
},
{
"description": "CONDICOES ESPECIFICAS RCFV"
},
{
"description": "CONDICOES GERAIS"
},
{
"description": "DANOS MORAIS NAO CONTRATADO."
}
],
"protections": [
{
"description": "ALARME SONORO"
}
]
},
{
"code": "42",
"description": "07 dias",
"guarantees": [
{
"brachCode": null,
"description": "CASCO"
},
{
"brachCode": null,
"description": "DANOS MATERIAIS"
},
{
"brachCode": null,
"description": "DANOS CORPORAIS"
},
{
"brachCode": null,
"description": "MORTE"
},
{
"brachCode": null,
"description": "INVALIDEZ PERMANENTE"
}
],
"additionals": [
{
"description": "CONDICOES GERAIS DE APP"
},
{
"description": "CONDICOES GERAIS DE AUTOMOVEL"
},
{
"description": "COBERTURA COMPREENSIVA"
},
{
"description": "CONDICOES ESPECIFICAS RCFV"
},
{
"description": "CONDICOES GERAIS"
},
{
"description": "DANOS MORAIS NAO CONTRATADO."
}
],
"protections": [
{
"description": "ALARME SONORO"
}
]
},
{
"code": "42",
"description": "Guincho 600KM",
"guarantees": [
{
"brachCode": null,
"description": "CASCO"
},
{
"brachCode": null,
"description": "DANOS MATERIAIS"
},
{
"brachCode": null,
"description": "DANOS CORPORAIS"
},
{
"brachCode": null,
"description": "MORTE"
},
{
"brachCode": null,
"description": "INVALIDEZ PERMANENTE"
}
],
"additionals": [
{
"description": "CONDICOES GERAIS DE APP"
},
{
"description": "CONDICOES GERAIS DE AUTOMOVEL"
},
{
"description": "COBERTURA COMPREENSIVA"
},
{
"description": "CONDICOES ESPECIFICAS RCFV"
},
{
"description": "CONDICOES GERAIS"
},
{
"description": "DANOS MORAIS NAO CONTRATADO."
}
],
"protections": [
{
"description": "ALARME SONORO"
}
]
}
],
"questionnaires": [
{
"question": {
"id": 6,
"description": "GUARDA DO VEICULO"
},
"answer": {
"id": 621,
"description": "na residência, não utiliza para ir ao trabalho"
}
},
{
"question": {
"id": 7,
"description": "UTILIZACAO DO VEICULO"
},
"answer": {
"id": 701,
"description": "Exclusivamente para locomocao diaria"
}
},
{
"question": {
"id": 18,
"description": "Cob demais condutores resid entre 18 até 25 anos"
},
"answer": {
"id": 1122,
"description": "Nao"
}
}
],
"newVehicle": false
}
],
"installments": [
{
"id": 1,
"quantity": 8,
"status": {
"id": 0,
"description": "Liquidado"
},
"expirationDate": "03/05/2020",
"paymentDate": "04/05/2020"
},
{
"id": 2,
"quantity": 8,
"status": {
"id": 0,
"description": "Liquidado"
},
"expirationDate": "02/06/2020",
"paymentDate": "02/06/2020"
},
{
"id": 3,
"quantity": 8,
"status": {
"id": 0,
"description": "Liquidado"
},
"expirationDate": "02/07/2020",
"paymentDate": "02/07/2020"
},
{
"id": 4,
"quantity": 8,
"status": {
"id": 0,
"description": "Liquidado"
},
"expirationDate": "02/08/2020",
"paymentDate": "03/08/2020"
},
{
"id": 5,
"quantity": 8,
"status": {
"id": 0,
"description": "Liquidado"
},
"expirationDate": "02/09/2020",
"paymentDate": "02/09/2020"
},
{
"id": 6,
"quantity": 8,
"status": {
"id": 0,
"description": "Liquidado"
},
"expirationDate": "02/10/2020",
"paymentDate": "02/10/2020"
},
{
"id": 7,
"quantity": 8,
"status": {
"id": 0,
"description": "Liquidado"
},
"expirationDate": "02/11/2020",
"paymentDate": "03/11/2020"
},
{
"id": 8,
"quantity": 8,
"status": {
"id": 0,
"description": "Liquidado"
},
"expirationDate": "02/12/2020",
"paymentDate": "02/12/2020"
}
]
}
Informações de ambientes
Histórico de versões
Autor | Área ou Setor | Versão | Descrição da versão |
---|---|---|---|
OpenInsurance | Integração | V1.0 | Versão Inicial |