Incrementar Campos da Operação
Os campos "Área de Atuação", "Objetivo do Recurso" e "Observações" da operação podem ser incrementados via API. A informação enviada, se diferente de NULL será adicionada aos campos presentes na operação informada na requisição.
Request
Endpoint
/customer/proposals/{proposalId}/increment-details
Método
PATCH
Path Params
Chave | Tipo | Descrição |
---|---|---|
proposalId | int | Identificador da Operação |
Request Body
Chave | Tipo | Descrição |
---|---|---|
occupationArea | string | Área de Atuação |
financialPurpose | string | Objetivo do Recurso |
observations | string | Observações |
Response
STATUS
200
Response Body
{
"id": 53,
"hasBuyAndSell": true,
"loanAmount": 1000000,
"duration": 3.48,
"purchaseAndSaleValue": 18000000,
"downPaymentAmount": 200000,
"status": {
"id": 1,
"name": "INITIAL",
"description": "Inicial"
},
"operationType": "HOME_EQUITY",
"properties": [
{
"address": {
"street": "Avenida Mambaí",
"neighborhood": "Residencial Alphaville Flamboyant",
"number": "2526",
"complement": null,
"cep": "74884-532",
"city": "Goiânia",
"uf": "GO",
"country": "Brasil",
"ibge": "5208707",
"location": {
"id": 5211,
"lat": "-16.6998667",
"lng": "-49.2058076"
},
"estimatedPopulation": 1555626,
"metropolitanRegion": true,
"confirmedLocation": false
},
"propertyValue": 1270000,
"propertyType": "HOUSE",
"buildingType": "HOUSE",
"privateArea": 10000,
"balanceDue": 0,
"suitesQuantity": 44,
"roomsQuantity": 5,
"bathroomsQuantity": 4,
"parkingLotQuantity": 6,
"propertyEndorsed": false,
"unoccupiedProperty": false,
"ruralProperty": false,
"propertyWithinCondominium": false,
"registrationNumber": "996",
"propertyBook": "a-56",
"cadastralSubscription": "465498/441",
"registryOffice": "OFÍCIO DO REGISTRO DE IMÓVEIS DA 3ª CIRCUNSCRIÇÃO",
"acquisitiveTitle": "Título aquisitivo do imóvel"
}
],
"proponents": [
{
"id": 190,
"persona": {
"id": 303,
"taxId": "70623271079",
"name": "Joao Teste",
"rg": "58999044",
"orgaoEmissor": "SSPGO",
"nationality": "Galês",
"citizenship": "GALÊNSE",
"motherName": "GALÊNSE",
"occupation": {
"id": 3,
"name": "ADMINISTRADOR"
},
"pep": true,
"birthDate": "1994-05-25",
"personaType": "NATURAL_PERSON",
"genderType": "MALE",
"maritalStatus": "SOLTEIRO",
"sourceIncome": "EMPRESARIO",
"socialNetwork": {
"id": 205,
"instagram": null,
"facebook": null,
"linkedin": null,
"site": null,
"others": null,
"updatedAt": "2023-10-11T09:42:30.990675",
"createdAt": "2023-10-11T09:41:55.007282"
},
"addresses": [
{
"id": 183,
"street": "Avenida Mambaí",
"neighborhood": "Residencial Alphaville Flamboyant",
"number": "2526",
"cep": "74884-532",
"city": "Goiânia",
"uf": "GO",
"country": "Brasil",
"type": "RESIDENTIAL",
"principal": false
}
],
"phones": [
{
"id": 267,
"number": "62982682998",
"isWhatsApp": false,
"type": "COMMERCIAL",
"principal": true
}
],
"contacts": [
{
"id": 271,
"email": "teste@gmail.com",
"type": "PERSONAL",
"principal": true
}
],
"composeIncome": []
},
"percentageOfCommitment": 26,
"composeIncome": false,
"monthlyIncome": 32000000,
"scrConsulted": true,
"hasInsuranceCoverage": true,
"insuranceCoveragePercent": 80,
"businessSector": "AGRONOMIA",
"timeSegment": "MORE_THAN_TEN_YEARS",
"proponentType": "PRINCIPAL",
"participantType": "FIDUCIARY_DEBTOR"
}
],
"calculator": {
"amortizationType": "PRICE",
"installmentsAmount": 120,
"gracePeriod": 1,
"insurances": [
{
"id": 1,
"policy": "01.61.9187155",
"aliquot": "0.000037",
"insuranceType": "DFI",
"insuranceCompany": {
"id": 1,
"name": "Zurich Brasil Seguros S/A",
"cnpj": "17197385000121"
}
},
{
"id": 2,
"policy": "01.61.9187055",
"aliquot": "0.000210",
"insuranceType": "MIP",
"insuranceCompany": {
"id": 1,
"name": "Zurich Brasil Seguros S/A",
"cnpj": "17197385000121"
}
}
],
"preFixedRate": 0.125486956926018,
"postFixedRate": 0.220302942097277,
"interestRate": 0.0167299999999999,
"registrationFee": 1616.18,
"propertyAppraisalFee": 0,
"dispatcherFee": 0,
"structuringRate": 0.05,
"partnerCommissionPercent": 0.02,
"iof": 0.0338,
"createdAt": "2023-10-11T09:35:28.828216",
"loanTaked": 1122467.34,
"gracePeriodManagementFee": 59.8,
"balanceDue": 1139984.58,
"iofDiary": 33165.85,
"iofDefault": 4265.37,
"iofTotal": 37431.22,
"cacTotal": 85036.12,
"structuringFee": 58309.04,
"partnerCommissionFee": 20000,
"pmtValue": 22088.32,
"averagePmt": 0,
"firstInstallment": 22118.22,
"lastInstallment": 22118.22,
"ltv": 0.051,
"daysInterval": 28,
"firstPaymentDate": "2023-12-10",
"cetAnnual": 0.261916,
"cetMonthly": 0.019575,
"mipRate": 0,
"dfiRate": 0,
"mipParcel": 0,
"dfiParcel": 0,
"admRate": 29.9,
"escrowFeeQI": 5051.1,
"updatedAt": "2023-10-11T09:49:06.067172",
"grossUp": 0.8575,
"proRataDieInterestRate": 1.5606,
"indexingRegime": "POST_FIXED",
"indexType": "IPCA"
},
"steps": []
}
STATUS
400
Response Body
{
"message": "[mensagem de erro]",
"entityClass": "[classe em que o erro ocorreu]",
"line": "[linha em que ocorreu o erro]",
"exceptionClass": "[exception lançada]"
}