Skip to content

Delete the element of the directory "Repayment order"

DELETE

The method removes 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:

  • CANNOT_DELETE_REPAYMENT_SEQUENCE_ERROR__SYSTEM_OBJECT - Cannot delete a catalog item, because it is systemic

  • CANNOT_DELETE_REPAYMENT_SEQUENCE_ERROR__IN_USE - Cannot delete a catalog item, it is used

Parameters

Path Parameters

id*

The identifier of the deleted element of the "Maturity orders" catalog

Type
integer
Required
Format
"int64"

Responses

OK

*/*
object

If the element was successfully removed, then this parameter returns an empty string

Upon successful deletion of an element in 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"