Skip to main content

PUT Selecionar Oferta

Resumo

RetornaSeleciona asa opções disponíveisoferta de quantidade de parcelas e valor das respectivas parcelas,acordo com baseos noparâmetros valor solicitado.fornecidos.


Endpoint
/Proposta/simulacao-valor/oferta-produto/:propostaId
Authorization
Token eyJ...

Headers Request

accept application/json
Content-Type application/json

Exemplo de Requisição e Resposta


Exemplo de Request
curl
curl --location --request PUT 'https://app-crefaz-api-external-stag.azurewebsites.net/api/Proposta/simulacao-valor/oferta-produto/:propostaId' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
  "produtoId"id": ,
  "convenioId": ,
  "tabelaJurosId": 2,
  "valor"produtoId": ,
  "tipoCalculo"plano": ,
  "prestacao": ,
  "renda": ,
  "diaRecebimento": 5,
  "tipoRenda": 0,
  "vencimento": "2023-03-20",
  "renda"valor": ,
  "recalculo"tipoCalculo": null0,
  "adicionais": 
  [
    {
        "convenioDadosId": ,
        "valor": "",
        "convenioId": 
    },
    {
        "convenioDadosId": ,
        "valor": "",
        "convenioId": 
    }
  ],
  "contratosRefin": []
}'
Body da Requisição
body
{
    "produtoId"id": 6,,
    "convenioId": 1,,
    "tabelaJurosId": 303,2,
    "produtoId": ,
    "plano": ,
    "prestacao": ,
    "renda": ,
    "diaRecebimento": 5,
    "tipoRenda": 0,
    "vencimento": "2023-03-20",
    "valor": {{crefazon_valor}},
    "tipoCalculo": {{crefazon_tipo_calculo}},0,
    "vencimento"adicionais": "null",[
        {
            "renda": 2000,
  "recalculo"convenioDadosId": ,
            "contrato"valor": "",
            "convenioId": 
        },
        {{crefazon_contrato}
            "convenioDadosId": ,
            "valor": "",
            "convenioId": 
        }
    ],
    "contratosRefin": []
}
Exemplo de Response
json
{
  "success": true,
  "data": {
    "produtoId"propostaId": 6,5176994,
    "tipoCalculo"aprovado": 0,
    "tabelaJurosId": 2,
    "valorLimite": 1200,
    "prazoValor": [
      {
        "prazo": 18,
        "valor": 184
      },
      {
        "prazo": 16,
        "valor": 188.94
      },
      {
        "prazo": 15,
        "valor": 192.09
      }
    ]true
  },
  "errors": null
}
Headers de Response (5)
Type Value
Content-Type

application/json; charset=utf-8

Date Fri, 04 Oct 2024 18:03:20 GMT
Server Kestrel
Transfer-Encoding chunked
Request-Context appId=cid-v1:d0033e30-cc70-4961-9727-b7389fb39348