FTOS_CB_ApproveContractTranche
Changes the business status of a record from the FTOS_CB_ContractDisbursementTranche entity representing a contract disbursement tranche to Approved.
Syntax
The FTOS_CB_ApproveContractTranche 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_ApproveContractTranche
Content-Type: application/json
{
"contractTrancheIdentifier": "<contract_tranche_identifier>",
"contractNo": "<contract_number>"
}
Here's a list of the available parameters:
| Parameter | Description |
|---|---|
| host_address | URL of the FintechOS Platform server. |
| contractTrancheIdentifier | Mandatory. The contract disbursement tranche identifier. |
| contractNo | Mandatory if contractId is not filled. The number of the contract. |
| contractId | Mandatory if contractNo is not filled. The identifier of the contract. |
Response
The response indicates the result of the code execution, specifically the result of approving a contract disbursement tranche.
Example
To approve a tranche, send the following request, changing the parameter values with your desired values.
Request
Copy
POST https://FintechOSStudio/ftosapi/automation-processors/actions/FTOS_CB_ApproveContractTranche
Content-Type: application/json
{
"contractTrancheIdentifier": "1339",
"contractNo": "8582"
}
Response
Copy
{
"ContractTrancheIdentifier": "1339",
"IsSuccess": true
}