PUT Selecionar Oferta
Resumo
Seleciona a oferta de acordo com os parâmetros fornecidos.
Endpoint
/Proposta/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/oferta-produto/:propostaId' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"id": ,
"convenioId": ,
"tabelaJurosId": 2,
"produtoId": ,
"plano": ,
"prestacao": ,
"renda": ,
"diaRecebimento": 5,
"tipoRenda": 0,
"vencimento": "2023-03-20",
"valor": ,
"tipoCalculo": 0,
"adicionais":
[
{
"convenioDadosId": ,
"valor": "",
"convenioId":
},
{
"convenioDadosId": ,
"valor": "",
"convenioId":
}
],
"contratosRefin": []
}'
Body da Requisição
body
{
"id": ,
"convenioId": ,
"tabelaJurosId": 2,
"produtoId": ,
"plano": ,
"prestacao": ,
"renda": ,
"diaRecebimento": 5,
"tipoRenda": 0,
"vencimento": "2023-03-20",
"valor": ,
"tipoCalculo": 0,
"adicionais": [
{
"convenioDadosId": ,
"valor": "",
"convenioId":
},
{
"convenioDadosId": ,
"valor": "",
"convenioId":
}
],
"contratosRefin": []
}
Exemplo de Response
json
{
"success": true,
"data": {
"propostaId": 5176994,
"aprovado": 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 |