Seleciona a oferta de acordo com os parâmetros fornecidos.
curl
curl --location --request PUT 'https://app2-crefaz-api-external-stag.azurewebsites.net/api/Proposta/oferta-produto/:propostaId' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJh...' \
--data '{
"id": 1028682574,
"convenioId": 2,
"tabelaJurosId": 2,
"produtoId": 6,
"plano": 16,
"prestacao": 226.09,
"renda": 1550.16,
"diaRecebimento": 5,
"tipoRenda": 0,
"vencimento": "2025-01-06",
"valor": 1200.00,
"tipoCalculo": 1,
"adicionais": [
{
"convenioDadosId": 13,
"valor": "2",
"convenioId": 2
},
{
"convenioDadosId": 14,
"valor": "01",
"convenioId": 2
}
],
"contratosRefin": []
}'
body
{
"id": 1028682574,
"convenioId": 2,
"tabelaJurosId": 2,
"produtoId": 6,
"plano": 16,
"prestacao": 226.09,
"renda": 1550.16,
"diaRecebimento": 5,
"tipoRenda": 0,
"vencimento": "2025-01-06",
"valor": 1200.00,
"tipoCalculo": 1,
"adicionais": [
{
"convenioDadosId": 13,
"valor": "2",
"convenioId": 2
},
{
"convenioDadosId": 14,
"valor": "01",
"convenioId": 2
}
],
"contratosRefin": []
}
json
{
"success": true,
"data": {
"propostaId": 1028682574,
"aprovado": true,
"novoLimite": {
"valorLimiteSolicitado": 1200.00,
"valorLimiteParcela": 227.94,
"valorLimiteMinimoParcela": 50.00
}
},
"errors": null
}