Skip to content

Edit the item of the directory "Repayment order"

PUT

Edits / updates an element of the directory "Repayment order".

Two repayment orders are marked as System (respectively, they cannot be edited or deleted):

Penalty, Interest, Principal (101201) - as it is used in the Repayment document (Penalties, Interest, Fixed Assets) All penalties, all interest, all principal (101207) - used as the default order for cases where the order is not specified ( for example, to pay off fees on deposit / share contracts) All other repayment orders can be edited / deleted.

Possible mistakes:

  • NO_REPAYMENT_SEQUENCE_RULES_ERROR - The rules for the redemption order are not filled

  • NO_REPAYMENT_SEQUENCE_TYPE_ERROR - The type of the redemption order rule is not specified

  • NO_REPAYMENT_SEQUENCE_RULE_STEPS_ERROR - Redemption order rule steps not completed

  • NO_STEP_AMOUNT_TYPE_ERROR - The amount type for the step is not specified

  • CANNOT_MODIFY_REPAYMENT_SEQUENCE_ERROR__SYSTEM_OBJECT - You cannot edit a dictionary item, because it is systemic

Parameters

Path Parameters

id*

Identifier of an element of the "Maturity orders" lookup

Type
integer
Required
Format
"int64"

Request Body

application/json
object

Active

Name

object[]

Repayment rules

For overdue tranches only

Redemption rule identifier

Format"int64"

Sequence number

Format"int32"
object[]

Steps of repayment

Valid values"HORIZONTAL""VERTICAL"

Responses

OK

*/*
object

The identifier of the created item of the "Invoices" lookup

Format"int64"

If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned

Valid values"error""ok"

Returns the date + time (kernel) in unix timestamp format in milliseconds

Format"int64"