Обновить залоговый билет
Метод обновляет/редактирует залоговый билет. Для редактирования залогового билета методом "Получить залоговый билет по ID" необходимо получить тело запроса для этого метода, изменить только те поля, которые Вы хотите изменить и затем передать все поля в теле запроса.
Path Parameters
id int64 required
id
application/json
Request Body required
request
- Array [
- ]
- Array [
- ]
branchId int64
captive boolean
clientId int64
collateralIds int64[]
creationDate date
creditOfficerId int64
currencyId int64
donorId int64
forIssue boolean
id int64
loanAmount double
name string
pawnTicketFieldReq object
adminFee double
calendarDaysPenalty boolean
gracePeriod int32
id int64
interestRateArray object[]
id int64
interestRate double
periodBegin int32
periodEnd int32
lossFee double
mandatoryChargePeriod int32
parkingFeeAtRepayment double
parkingFeeBeforeIssue double
penaltyRates object[]
feeRate double
id int64
interestRate double
keyRateCB double
keyRateCBTypeId int64
periodBegin int32
periodEnd int32
principalRate double
penaltyTypeId int64
repaymentSequenceId int64
storageFeeRate double
trancheDuration int32
vatRate double
warrantyPeriod int32
pawnTicketProductId int64
storingPlaceId int64
subdivisionId int64
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- Array [
- ]
- ]
- ]
branchId int64
captive boolean
clientId int64
closeDate date-time
closedStatusId int64
collateralIds int64[]
contractLine object
id int64
lineLimit int64
contractTypeId int64
createSubdivisionId int64
createUserId int32
creationDate date
creditOfficerId int64
currencyId int64
currentStatusId int64
donorId int64
forIssue boolean
id int64
issueDate date-time
loanAmount double
name string
pawnDropOutDate date-time
pawnTicketFieldReq object
adminFee double
calendarDaysPenalty boolean
gracePeriod int32
id int64
interestRateArray object[]
id int64
interestRate double
periodBegin int32
periodEnd int32
lossFee double
mandatoryChargePeriod int32
parkingFeeAtRepayment double
parkingFeeBeforeIssue double
penaltyRates object[]
feeRate double
id int64
interestRate double
keyRateCB double
keyRateCBTypeId int64
periodBegin int32
periodEnd int32
principalRate double
penaltyTypeId int64
repaymentSequenceId int64
storageFeeRate double
trancheDuration int32
vatRate double
warrantyPeriod int32
pawnTicketProductId int64
schedules object[]
activeBefore date-time
amount double
chargeIssueFee boolean
creationDate date-time
eachRepaymentFeeFree boolean
id int64
issued boolean
specifiedRepaymentNorm double
tranches object[]
eachRepaymentFee double
eachRepaymentFeeByType object[]
amount double
amountType int64
feeId int64
id int64
interest double
issueDate date
lgot boolean
principal double
repaymentDate date
rest double
storingPlaceId int64
subdivisionId int64
{
"branchId": 0,
"captive": true,
"clientId": 0,
"closeDate": "2024-11-20T07:47:14.132Z",
"closedStatusId": 0,
"collateralIds": [
0
],
"contractLine": {
"id": 0,
"lineLimit": 0
},
"contractTypeId": 0,
"createSubdivisionId": 0,
"createUserId": 0,
"creationDate": "2024-11-20",
"creditOfficerId": 0,
"currencyId": 0,
"currentStatusId": 0,
"donorId": 0,
"forIssue": true,
"id": 0,
"issueDate": "2024-11-20T07:47:14.132Z",
"loanAmount": 0,
"name": "string",
"pawnDropOutDate": "2024-11-20T07:47:14.132Z",
"pawnTicketFieldReq": {
"adminFee": 0,
"calendarDaysPenalty": true,
"gracePeriod": 0,
"id": 0,
"interestRateArray": [
{
"id": 0,
"interestRate": 0,
"periodBegin": 0,
"periodEnd": 0
}
],
"lossFee": 0,
"mandatoryChargePeriod": 0,
"parkingFeeAtRepayment": 0,
"parkingFeeBeforeIssue": 0,
"penaltyRates": [
{
"feeRate": 0,
"id": 0,
"interestRate": 0,
"keyRateCB": 0,
"keyRateCBTypeId": 0,
"periodBegin": 0,
"periodEnd": 0,
"principalRate": 0
}
],
"penaltyTypeId": 0,
"repaymentSequenceId": 0,
"storageFeeRate": 0,
"trancheDuration": 0,
"vatRate": 0,
"warrantyPeriod": 0
},
"pawnTicketProductId": 0,
"schedules": [
{
"activeBefore": "2024-11-20T07:47:14.132Z",
"amount": 0,
"chargeIssueFee": true,
"creationDate": "2024-11-20T07:47:14.132Z",
"eachRepaymentFeeFree": true,
"id": 0,
"issued": true,
"specifiedRepaymentNorm": 0,
"tranches": [
{
"eachRepaymentFee": 0,
"eachRepaymentFeeByType": [
{
"amount": 0,
"amountType": 0,
"feeId": 0
}
],
"id": 0,
"interest": 0,
"issueDate": "2024-11-20",
"lgot": true,
"principal": 0,
"repaymentDate": "2024-11-20",
"rest": 0
}
]
}
],
"storingPlaceId": 0,
"subdivisionId": 0
}
Created
Unauthorized
Forbidden
Not Found
Loading...