03-12-2018 23:59
Реструктуризация с капитализацией
POST   /bs-core/main/contracts/{contractId}/restructing/capitalization
Выполняется реструктуризация по контракту и в ответ возвращается реструктурированный контракт. Для данного типа реструктуризации все балансовые суммы реструктурируются в основную сумму.
Запрос
POST /bs-core/main/contracts/10134284/restructing/capitalization HTTP/1.1
{
"restructDate": 1463379618225,
"loanApplicationId": 10113177,
"firstRepaymentDate": "2016-06-16",
"repaymentPlanDate": "2017-05-17",
"repaymentNorm": 0,
"qtyLgotTranches": 0,
"qtyTranchesFirstPeriod": 0,
"intRateFirstPeriod": 0,
"qtyTranchesSecondPeriod": 0
}
Описание параметров
Нет описанных параметров
Нет описанных параметров
Ответ
{
"status": "ok",
"timestamp": 1463381472535,
"data": {
"id": 10134292,
"name": "284R",
"creationDate": "2016-05-16",
"donorId": 101092,
"branchId": 101301,
"subdivisionId": 101791,
"clientId": 101327,
"currencyId": 101011,
"loanAmount": 10195.56,
"loanCategoryId": 101141,
"loanApplicationId": 10113177,
"loanStage": 10,
"issuePlanDate": "2016-05-16",
"firstRepaymentDate": "2016-06-16",
"repaymentPlanDate": "2017-05-17",
"comment": "",
"creditOfficerId": 101082,
"forIssue": true,
"underCourt": false,
"contractAgentId": null,
"ofertaCode": "",
"insurancePolicy": "",
"creditProductId": 101331,
"creditProductName": "Аннуитет (ставка годовая)",
"creditFieldReq": {
"id": 10119717,
"dateCalcMethodId": 101231,
"allowHolidaysPayment": true,
"interestChargeMethodId": 101863,
"interestCalcMethodId": 101222,
"calcInterestOnDelinqBalance": false,
"principalDistribMethodId": 101352,
"forepaymentConsiderationMethodId": 101592,
"creditLineId": null,
"trancheDuration": 30,
"interestForTranche": 15.25,
"interestRateTypeId": 101122,
"chargeExtraInterest": false,
"trancheCount": 12,
"minDaysQty": 0,
"maxDaysQty": 0,
"maxLoanAmount": 0,
"repaymentSequenceId": 101204,
"mandatoryChargePeriod": 0,
"allowPrepayment": true,
"minProlongationPeriod": 0,
"adminFee": 0,
"fixedAdminFee": 0,
"adminFeeRepaymentTimeId": null,
"finFee": 0,
"penaltyTypeId": 101272,
"calendarDaysPenalty": true,
"stopPenaltyOnClose": false,
"qtyDaysStopPenaltyOnClose": 0,
"fixedDelayPenalty": 0,
"delayPenaltyDay": 0,
"inviteAmountPct": 60,
"inviteDiscountPerFriend": 0.5,
"inviteMinIntRate": 1,
"principalParts": [
{
"id": 10161341,
"trancheNo": 1,
"part": 8.33
},
{
"id": 10161342,
"trancheNo": 2,
"part": 8.33
},
{
"id": 10161343,
"trancheNo": 3,
"part": 8.33
},
{
"id": 10161344,
"trancheNo": 4,
"part": 8.33
},
{
"id": 10161345,
"trancheNo": 5,
"part": 8.33
},
{
"id": 10161346,
"trancheNo": 6,
"part": 8.33
},
{
"id": 10161347,
"trancheNo": 7,
"part": 8.33
},
{
"id": 10161348,
"trancheNo": 8,
"part": 8.33
},
{
"id": 10161349,
"trancheNo": 9,
"part": 8.33
},
{
"id": 10161350,
"trancheNo": 10,
"part": 8.33
},
{
"id": 10161351,
"trancheNo": 11,
"part": 8.33
},
{
"id": 10161352,
"trancheNo": 12,
"part": 8.37
}
],
"penaltyRates": []
},
"contractCollectorId": null,
"repaymentNorm": 0,
"qtyTranchesFirstPeriod": 0,
"intRateFirstPeriod": 0,
"qtyTranchesSecondPeriod": 0,
"intRateSecondPeriod": 0,
"clientGroupId": null,
"additional": false,
"joinFee": 0,
"fixedJoinFee": 0,
"insuranceFee": 0,
"fixedInsuranceFee": 0,
"estimateFee": 0,
"fixedEstimateFee": 0,
"comments": [],
"insurance": false,
"insurancePremiumRate": 0,
"insurancePremiumAmount": 0,
"contractTypeId": 101911,
"issueDate": 1463338800000,
"closeDate": null,
"closedStatusId": null,
"dropOutDate": null,
"restructedContractId": 10134284,
"createUserId": 1,
"createSubdivisionId": 101791,
"contactDocId": null,
"contactNewOutgoingDate": null,
"contactTrnReference": null,
"schedules": [
{
"id": 1014639,
"creationDate": "2016-05-16",
"amount": 10195.56,
"issued": true,
"tranches": [
{
"id": 10147397,
"issueDate": "2016-05-16",
"repaymentDate": "2016-06-16",
"principal": 789.69,
"interest": 131.7,
"lgot": false
},
{
"id": 10147398,
"issueDate": "2016-06-16",
"repaymentDate": "2016-07-16",
"principal": 803.81,
"interest": 117.58,
"lgot": false
},
{
"id": 10147399,
"issueDate": "2016-07-16",
"repaymentDate": "2016-08-16",
"principal": 810.27,
"interest": 111.12,
"lgot": false
},
{
"id": 10147400,
"issueDate": "2016-08-16",
"repaymentDate": "2016-09-16",
"principal": 820.74,
"interest": 100.65,
"lgot": false
},
{
"id": 10147401,
"issueDate": "2016-09-16",
"repaymentDate": "2016-10-16",
"principal": 834.24,
"interest": 87.15,
"lgot": false
},
{
"id": 10147402,
"issueDate": "2016-10-16",
"repaymentDate": "2016-11-16",
"principal": 842.12,
"interest": 79.27,
"lgot": false
},
{
"id": 10147403,
"issueDate": "2016-11-16",
"repaymentDate": "2016-12-16",
"principal": 855.2,
"interest": 66.19,
"lgot": false
},
{
"id": 10147404,
"issueDate": "2016-12-16",
"repaymentDate": "2017-01-16",
"principal": 863.96,
"interest": 57.43,
"lgot": false
},
{
"id": 10147405,
"issueDate": "2017-01-16",
"repaymentDate": "2017-02-16",
"principal": 875.08,
"interest": 46.31,
"lgot": false
},
{
"id": 10147406,
"issueDate": "2017-02-16",
"repaymentDate": "2017-03-16",
"principal": 889.8,
"interest": 31.59,
"lgot": false
},
{
"id": 10147407,
"issueDate": "2017-03-16",
"repaymentDate": "2017-04-16",
"principal": 897.94,
"interest": 23.45,
"lgot": false
},
{
"id": 10147408,
"issueDate": "2017-04-16",
"repaymentDate": "2017-05-17",
"principal": 912.71,
"interest": 11.82,
"lgot": false
}
]
}
],
"contractLine": {
"id": 1016067,
"lineLimit": 1463379618225
},
"currentStatusId": 101283,
"indexed": false
}
}
У данной функции отсутствует описание параметров ответа