Расчет провизии по контракту на дату
По контракту рассчитывается сумма провизии на дату с признаком расчета по фактической просрочке, или по дату статуса Просроченный.
Path Parameters
contractId int64 required
contractId
date date required
date
isByStatus boolean required
isByStatus
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
date date
fee double
intForepayment double
interest double
otherRepayables double
penalty double
prForepayment double
principal double
stateDuty double
totalPaymentAmount double
{
"date": "2025-03-31",
"fee": 0,
"intForepayment": 0,
"interest": 0,
"otherRepayables": 0,
"penalty": 0,
"prForepayment": 0,
"principal": 0,
"stateDuty": 0,
"totalPaymentAmount": 0
}
Created
Unauthorized
Forbidden
Not Found
POST /reports/contracts/:contractId/provision/:date/:isByStatus
Request
Request
curl / cURL
curl -L -X POST '//localhost/reports/contracts/:contractId/provision/:date/:isByStatus' \
-H 'Accept: */*'
python / requests
curl -L -X POST '//localhost/reports/contracts/:contractId/provision/:date/:isByStatus' \
-H 'Accept: */*'
go / native
curl -L -X POST '//localhost/reports/contracts/:contractId/provision/:date/:isByStatus' \
-H 'Accept: */*'
nodejs / axios
curl -L -X POST '//localhost/reports/contracts/:contractId/provision/:date/:isByStatus' \
-H 'Accept: */*'
php / guzzle
curl -L -X POST '//localhost/reports/contracts/:contractId/provision/:date/:isByStatus' \
-H 'Accept: */*'
java / OkHttp
curl -L -X POST '//localhost/reports/contracts/:contractId/provision/:date/:isByStatus' \
-H 'Accept: */*'