post https://openapi-int.hdi.com.br/insurance/claim/v1/open/claim
Esta API possibilita a abertura de um sinistro.
Objetivo: Abertura de um sinistro.
-
Esta versão contempla somente seguros Auto nas modalidades de furto e roubo.
Nome do Serviço | /open/claim |
Descrição Resumida | Abertura de Sinistro |
URL | Base Path: openapi.hdi.com.br/insurance/claim/v1/ URI: /open/claim> |
Status | Ativo |
Versão | 1.0 |
Contrato de Serviço - Swagger
Download SwaggerExemplo de Payload
curl --request POST \
--url 'https://openapi-int-internal.hdi.com.br/insurance/claim/v1/open/claim?key={{KEY}}' \
--header 'Content-Type: application/json' \
--header 'X-Application-Id: 004400001' \
--header 'X-Company-Id: 01' \
--header 'X-Trace-Id: open-claim-auto' \
--header 'X-User-Id: 99892144000109' \
--data '{
"occurrence": {
"date": "13/09/2023 16:49",
"description": "Tive o veiculo roubado no sinal",
"hasPoliceReport": true,
"address": {
"district": "Centro",
"city": {
"state": {
"code": "SP",
"name": "Sao Paulo"
},
"name": "Sao Paulo",
"code": "SP"
},
"complement": "sala 10",
"postalCode": "01311-200",
"referencePoint": "",
"streetName": "Av. Paulista",
"number": 123
}
},
"insuredDocument": {
"type": "CPF",
"number": "95795795720"
},
"licensePlate": "BNE3333",
"declarant": {
"name": "John Alves",
"contacts": [
{
"type": {
"isAllowCampaing": true,
"description": "Email",
"id": 1
},
"data": "[email protected]"
},
{
"type": {
"isAllowCampaing": true,
"description": "Celular",
"id": 2
},
"data": "21-96760-9823"
}
]
},
"driver": {
"name": "Joao das coves",
"document": {
"number": "99935684726",
"type": "CNH"
},
"dateOfBirth": "23/06/1982",
"isMainDriver": true,
"gender" : "MALE",
"profession" : "analista de sistemas",
"maritalStatus": "MARRIED",
"address": {
"referencePoint": "padocabraba",
"district": "Vila Nina",
"number": 314,
"complement": "Apto 20C",
"city": {
"name": "São Paulo",
"code": "SP",
"state": {
"code": "SP",
"name": "São Paulo"
}
},
"streetName": "Rua João Daudt Filho",
"postalCode": "02834-030"
},
"contacts": [
{
"type": {
"isAllowCampaing": true,
"description": "Telefone",
"id": 1
},
"data": "21-99573820"
},
{
"type": {
"isAllowCampaing": true,
"description": "Celular",
"id": 2
},
"data": "21-99760-9999"
}
]
}
}'
Autor | Área ou Setor | Versão | Descrição da versão |
---|---|---|---|
OpenInsurance | Integração | V1.0 | Versão Inicial |