FTOS_CB_AddContractGuarantor
Adds a new record to the FTOS_CB_ContractGuarantor entity representing a guarantor for a contract.
Syntax
The FTOS_CB_AddContractGuarantor 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_AddContractGuarantor
Content-Type: application/json
{
"contractNo":"<contract_number>",
"contractId":"<contract_identifier>",
"guarantorNo":"<guarantor_customer_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. To create a new record, do NOT send this parameter. |
| contractId | Mandatory if contractNo is not filled. The identifier of the contract. |
| guarantorNo | Mandatory. The number of the customer who will be a guarantor for the specified contract. |
Response
The response indicates the result of the code execution, specifically the result of creating a record in the FTOS_CB_ContractGuarantor entity .
Example
To create a new record, do not fill or send the contractNo parameter. Also, make sure that the contractId does not exist in the system as an internalId value.
Request
Copy
POST https://FintechOSStudio/ftosapi/automation-processors/actions/FTOS_CB_AddContractGuarantor
Content-Type: application/json
{
"contractNo":"8620",
"contractId":"",
"guarantorNo":"1283"
}
Response
Copy
{
"isSuccess": true
}