FTOS_CB_ApproveContractTransfer
Changes the business status of a record from the FTOS_CB_ContractEvent entity representing a contract transfer event to Approved.
Syntax
The FTOS_CB_ApproveContractTransfer 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_ApproveContractTransfer
Content-Type: application/json
{
"contractNo":"<contract_number>",
"contractID":"<contract_id>",
"eventNo":"<event_number>"
}
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. |
| eventNo | Mandatory. The number of the transfer event. |
Response
The response indicates the result of the code execution, specifically the result of approving a contract transfer event. If the record is updated successfully, its ContractTransferIdentifier is returned.
Example
To approve a transfer, send the following request, changing the parameter values with your desired values.
Request
Copy
POST https://FintechOSStudio/ftosapi/automation-processors/actions/FTOS_CB_ApproveContractTransfer
Content-Type: application/json
{
"contractNo": "8450",
"contractID": "",
"eventNo": "ECB6994"
}
Response
Copy
{
"IsSuccess": true,
"EventNo": "ECB6994"
}