FTOS_CB_ApproveWriteOff

Changes the business status of a record from the Contract Event entity representing a contract write-off event to Approved.

This endpoint is available starting with Loan Management v4.1.

Syntax

The FTOS_CB_ApproveWriteOff 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_ApproveWriteOff
Content-Type: application/json
            
{
    "contractName":"<contract_number>",
    "eventName":"<event_number>"
}

Here's a list of the available parameters:

Parameter Description
host_address URL of the FintechOS Platform server.
contractName Mandatory, string. The number of the contract from the Contract entity (attribute: FTOS_CB_ContractId).
eventName Mandatory. The number of the write-off event.

Response

The response indicates the result of the code execution, specifically the result of approving a contract write-off event. If the record is updated successfully, its eventNo is returned.

Copy
{
  "IsSuccess": <true_or_false>
  "EventNo": "<event_number>"
}

Example

Error Responses