03-12-2018 23:59
Реструктуризация без капитализации
POST   /bs-core/main/contracts/{contractId}/restructing/separate/distribute-def-amounts/{distributeDefAmounts}
Выполняется реструктуризация по контракту и в ответ возвращается реструктурированный контракт. Для данного типа реструктуризации все балансовые суммы реструктурируются раздельно.
Запрос
POST /bs-core/main/contracts/10134292/restructing/separate/distribute-def-amounts/false HTTP/1.1
{
"restructDate": 1463379618225,
"loanApplicationId": 10113498,
"firstRepaymentDate": "2016-05-23",
"repaymentPlanDate": "2016-05-23",
"repaymentNorm": 0,
"qtyLgotTranches": 0,
"qtyTranchesFirstPeriod": 0,
"intRateFirstPeriod": 0,
"qtyTranchesSecondPeriod": 0
}
Описание параметров
Нет описанных параметров
Нет описанных параметров
Ответ
{
"status": "ok",
"timestamp": 1463383289249,
"data": {
"id": 10134299,
"name": "292R",
"creationDate": "2016-05-16",
"donorId": 101091,
"branchId": 101301,
"subdivisionId": 101791,
"clientId": 1013285,
"currencyId": 101011,
"loanAmount": 20020,
"loanCategoryId": 101141,
"loanApplicationId": 10113498,
"loanStage": 3,
"issuePlanDate": "2016-05-16",
"firstRepaymentDate": "2016-05-23",
"repaymentPlanDate": "2016-05-23",
"comment": "",
"creditOfficerId": 101085,
"forIssue": true,
"underCourt": false,
"contractAgentId": null,
"ofertaCode": "",
"insurancePolicy": "",
"creditProductId": 101335,
"creditProductName": "Экспресс займы",
"creditFieldReq": {
"id": 10119742,
"dateCalcMethodId": 101233,
"allowHolidaysPayment": true,
"interestChargeMethodId": 101863,
"interestCalcMethodId": 101223,
"calcInterestOnDelinqBalance": true,
"principalDistribMethodId": 101351,
"forepaymentConsiderationMethodId": 101592,
"creditLineId": null,
"trancheDuration": 7,
"interestForTranche": 730,
"interestRateTypeId": 101122,
"chargeExtraInterest": true,
"trancheCount": 1,
"minDaysQty": 3,
"maxDaysQty": 30,
"maxLoanAmount": 100000,
"repaymentSequenceId": 101201,
"mandatoryChargePeriod": 3,
"allowPrepayment": true,
"minProlongationPeriod": 3,
"adminFee": 0,
"fixedAdminFee": 0,
"adminFeeRepaymentTimeId": null,
"finFee": 0,
"penaltyTypeId": 101272,
"calendarDaysPenalty": true,
"stopPenaltyOnClose": false,
"qtyDaysStopPenaltyOnClose": 0,
"fixedDelayPenalty": 0,
"delayPenaltyDay": 1,
"inviteAmountPct": 60,
"inviteDiscountPerFriend": 1,
"inviteMinIntRate": 1,
"principalParts": [
{
"id": 10161417,
"trancheNo": 1,
"part": 100
}
],
"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": 1463346000000,
"closeDate": null,
"closedStatusId": null,
"dropOutDate": null,
"restructedContractId": 10134292,
"createUserId": 1,
"createSubdivisionId": 101791,
"contactDocId": null,
"contactNewOutgoingDate": null,
"contactTrnReference": null,
"schedules": [
{
"id": 1014644,
"creationDate": "2016-05-16",
"amount": 20020,
"issued": true,
"tranches": [
{
"id": 10147423,
"issueDate": "2016-05-16",
"repaymentDate": "2016-05-23",
"principal": 20020,
"interest": 2795.15,
"lgot": false
}
]
}
],
"contractLine": {
"id": 1016077,
"lineLimit": 1463379618225
},
"currentStatusId": 101283,
"indexed": false
}
}
У данной функции отсутствует описание параметров ответа