FTOS_CB_AddUpdateContractPaymentHoliday

Adds or updates a record in the FTOS_CB_ContractEvent entity representing a payment holiday request for a contract. The entire repayment schedule is recalculated considering the current event. The set of parameters sent via the request body determines the operation performed at the database level.

Syntax

The FTOS_CB_AddUpdateContractPaymentHoliday custom endpoint is called from within the Endpoint API endpoint. Visit the Endpoint API page for more details.

Copy
POST <host_address>/ftosapi/automation-processors/actions/FTOS_CB_AddUpdateContractPaymentHoliday
Content-Type: application/json
            
{
    "contractNo":"<contract_number>",
    "eventDate":"<event_date>",
    "gracePeriod":<grace_period>,
    "graceTypeId":"<grace_type>",
    "decreaseInstallment":<decrease_installment>,
    "eventNo":"<event_number>",
    "eventReason":"<event_reason>",
    "holidayFee":<holiday_fee_value>,
    "externalIdentifier":"<external_identifier_of_the_transaction>"
}

Here's a list of the available parameters:

Parameter Description
host_address URL of the FintechOS Platform server.
contractNo Mandatory if contractId is not filled. The number of the contract.
contractId Mandatory if contractNo is not filled. The identifier of the contract.
eventDate Mandatory. The date of the contract payment holiday event.
gracePeriod Mandatory. The number of grace periods requested by the event.
graceTypeId Mandatory. The type of grace periods requested by the event. Check the Dependencies page for possible values.
decreaseInstallment The number of periods that decrease the installments number.
eventNo Mandatory only for update operations. The number of the payment holiday event.
eventReason Mandatory. Check the Dependencies page for possible values.
holidayFee The payment holiday fee value.
externalIdentifier Optional, string. The external identifier of the transaction.

Response

The response indicates the result of the code execution, specifically the result of creating or updating a record in the FTOS_RequestContractEvent entity.

Example