03-12-2018 23:59

Получение депозитного графика по идентификатору.

GET   /bs-core/main/deposit-contracts/{contractId}/schedule?date= {date}

Запрос

GET/bs-core/main/deposit-contracts/10134404/schedule?date=2017-03-24
Описание параметров
Нет описанных параметров

Ответ


                        {  
   "status":"ok",
   "timestamp":1490344351207,
   "data":{  
      "acceptances":[  
         {  
            "date":"2017-02-17",
            "amount":1000000
         }
      ],
      "withdrawals":[  

      ],
      "tranches":[  
         {  
            "issueDate":"2017-02-17",
            "repaymentDate":"2017-03-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2017-03-17",
            "repaymentDate":"2017-04-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2017-04-17",
            "repaymentDate":"2017-05-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2017-05-17",
            "repaymentDate":"2017-06-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2017-06-17",
            "repaymentDate":"2017-07-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2017-07-17",
            "repaymentDate":"2017-08-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2017-08-17",
            "repaymentDate":"2017-09-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2017-09-17",
            "repaymentDate":"2017-10-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2017-10-17",
            "repaymentDate":"2017-11-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2017-11-17",
            "repaymentDate":"2017-12-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2017-12-17",
            "repaymentDate":"2018-01-17",
            "interest":0,
            "pit":0
         },
         {  
            "issueDate":"2018-01-17",
            "repaymentDate":"2018-02-17",
            "interest":0,
            "pit":0
         }
      ],
      "depositRestBalance":1000000
   }
}
                    
У данной функции отсутствует описание параметров ответа