12-12-2018 18:59

Возврат графика с объединением первых траншей двух графиков, если между датами первого и второго графика попадают даты погашения траншей с нулевой ОС

GET   /bs-core/main/contracts/{contractId}/composite-schedule

добавлен необязательный параметр merge-first-tranches, если его

передать true - происходит такое объединение первых траншей.

Запрос

/bs-core/main/contracts/10134560/composite-schedule?only-issued=false&date=2017-07-01&merge-first-tranches=true
Описание параметров
Нет описанных параметров

Ответ


                        {
 "id":101461815,
 "creationDate":1470776400000,
 "amount":3235000,
 "chargeIssueFee":true,
 "specifiedRepaymentNorm":0,
 "issued":true,
 "activeBefore":null,
 "tranches":[
{
 "id":null,
 "issueDate":"2017-03-02",
 "repaymentDate":"2017-03-31",
 "principal":0,
 "interest":132945.21,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2017-03-31",
 "repaymentDate":"2017-04-30",
 "principal":0,
 "interest":132945.21,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2017-04-30",
 "repaymentDate":"2017-05-31",
 "principal":0,
 "interest":137376.71,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2017-05-31",
 "repaymentDate":"2017-06-30",
 "principal":0,
 "interest":132945.21,
"lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2017-06-30",
 "repaymentDate":"2017-07-31",
 "principal":0,
 "interest":137376.71,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2017-07-31",
 "repaymentDate":"2017-08-31",
 "principal":0,
 "interest":137376.71,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2017-08-31",
 "repaymentDate":"2017-09-30",
 "principal":0,
 "interest":132945.21,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2017-09-30",
 "repaymentDate":"2017-10-31",
 "principal":0,
 "interest":137376.71,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2017-10-31",
 "repaymentDate":"2017-11-30",
 "principal":0,
 "interest":132945.21,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2017-11-30",
 "repaymentDate":"2017-12-31",
 "principal":0,
 "interest":137376.71,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2017-12-31",
 "repaymentDate":"2018-01-31",
 "principal":0,
 "interest":137376.71,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2018-01-31",
 "repaymentDate":"2018-02-28",
 "principal":0,
 "interest":124082.19,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":3235000
},
{
 "id":null,
 "issueDate":"2018-02-28",
 "repaymentDate":"2018-03-01",
 "principal":3235000,
 "interest":4431.51,
 "lgot":false,
 "eachRepaymentFee":0,
 "rest":0
  }
 ]
}
                    
У данной функции отсутствует описание параметров ответа