saveSchedule
saveSchedule
Path Parameters
contractId int64 required
contractId
application/json
Request Body required
request
amount double
chargeIssueFee boolean
creationDate date-time
id int64
specifiedRepaymentNorm double
tranches object[]
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
activeBefore date-time
amount double
chargeIssueFee boolean
creationDate date-time
eachRepaymentFeeFree boolean
id int64
issued boolean
specifiedRepaymentNorm double
tranches object[]
{
"activeBefore": "2025-04-15T20:19:19.022Z",
"amount": 0,
"chargeIssueFee": true,
"creationDate": "2025-04-15T20:19:19.022Z",
"eachRepaymentFeeFree": true,
"id": 0,
"issued": true,
"specifiedRepaymentNorm": 0,
"tranches": [
{
"eachRepaymentFee": 0,
"eachRepaymentFeeByType": [
{
"amount": 0,
"amountType": 0,
"feeId": 0
}
],
"id": 0,
"interest": 0,
"issueDate": "2025-04-15",
"lgot": true,
"principal": 0,
"repaymentDate": "2025-04-15",
"rest": 0
}
]
}
Created
Unauthorized
Forbidden
Not Found
POST /main/contracts/:contractId/schedules/save
Request
Request
curl / cURL
curl -L -X POST '//localhost/main/contracts/:contractId/schedules/save' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"amount": 0,
"chargeIssueFee": true,
"creationDate": "2025-04-15T20:19:18.528Z",
"id": 0,
"specifiedRepaymentNorm": 0,
"tranches": [
{
"id": 0,
"interest": 0,
"issueDate": "2025-04-15",
"lgot": true,
"principal": 0,
"repaymentDate": "2025-04-15"
}
]
}'
python / requests
curl -L -X POST '//localhost/main/contracts/:contractId/schedules/save' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"amount": 0,
"chargeIssueFee": true,
"creationDate": "2025-04-15T20:19:18.528Z",
"id": 0,
"specifiedRepaymentNorm": 0,
"tranches": [
{
"id": 0,
"interest": 0,
"issueDate": "2025-04-15",
"lgot": true,
"principal": 0,
"repaymentDate": "2025-04-15"
}
]
}'
go / native
curl -L -X POST '//localhost/main/contracts/:contractId/schedules/save' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"amount": 0,
"chargeIssueFee": true,
"creationDate": "2025-04-15T20:19:18.528Z",
"id": 0,
"specifiedRepaymentNorm": 0,
"tranches": [
{
"id": 0,
"interest": 0,
"issueDate": "2025-04-15",
"lgot": true,
"principal": 0,
"repaymentDate": "2025-04-15"
}
]
}'
nodejs / axios
curl -L -X POST '//localhost/main/contracts/:contractId/schedules/save' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"amount": 0,
"chargeIssueFee": true,
"creationDate": "2025-04-15T20:19:18.528Z",
"id": 0,
"specifiedRepaymentNorm": 0,
"tranches": [
{
"id": 0,
"interest": 0,
"issueDate": "2025-04-15",
"lgot": true,
"principal": 0,
"repaymentDate": "2025-04-15"
}
]
}'
php / guzzle
curl -L -X POST '//localhost/main/contracts/:contractId/schedules/save' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"amount": 0,
"chargeIssueFee": true,
"creationDate": "2025-04-15T20:19:18.528Z",
"id": 0,
"specifiedRepaymentNorm": 0,
"tranches": [
{
"id": 0,
"interest": 0,
"issueDate": "2025-04-15",
"lgot": true,
"principal": 0,
"repaymentDate": "2025-04-15"
}
]
}'
java / OkHttp
curl -L -X POST '//localhost/main/contracts/:contractId/schedules/save' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"amount": 0,
"chargeIssueFee": true,
"creationDate": "2025-04-15T20:19:18.528Z",
"id": 0,
"specifiedRepaymentNorm": 0,
"tranches": [
{
"id": 0,
"interest": 0,
"issueDate": "2025-04-15",
"lgot": true,
"principal": 0,
"repaymentDate": "2025-04-15"
}
]
}'