FTOS_BP_GetProductInterestCommissionList
Returns a product's list of interests and commissions based on its name or id and the specified filters.
Syntax
The FTOS_BP_GetProductInterestCommissionList custom endpoint is called from within the Endpoint API endpoint. Visit the Endpoint API page for more details.
POST <host_address>/ftosapi/automation-processors/actions/FTOS_BP_GetProductInterestCommissionList
Content-Type: application/json
{
"productCode": "<product_code>",
"filterList": [
{
"name": "<filter_name>",
"value": <filter_value>
}
]
}
Here's a list of the available parameters:
| Parameter | Description |
|---|---|
| host_address | URL of the FintechOS Platform server. |
| productCode | Mandatory when productId is not sent, string. The code of the banking product. |
| productId | Mandatory when productCode is not sent, string. The id of the banking product. |
| filterList | Optional, JSON array of objects. It filters the list according to the parameters sent within each object: name, string and value, numeric. |
Response
The response is an array of objects with details about the interests and commissions lists of the specified product, filtered according to your preferences.
Example
To view the details of a specific product's interests and commissions lists, send the following request, changing the product code and filters according to your needs.
Request
POST https://your_FintechOS_server/ftosapi/automation-processors/actions/FTOS_BP_GetProductInterestCommissionList
Content-Type: application/json
{
"productCode": "TL_EUR",
"filterList": ""
}
Response
{
"InterestCommissions": [
{
"ItemName": "Onboarding Loan I&C",
"IsNegotiable": true,
"ItemCode": "OLIC",
"InterestListId": "cea804d9-2ebb-4212-8174-c808b3d803fe",
"InterestListName": "TermLoan Eur",
"CommissionListId": "5bc2423a-ca4f-49b0-94dc-a21d2cd5b557",
"CommissionListName": "Term Loan Eur"
}
]
}
To view the details of a specific product's interests and commissions lists, send the following request, changing the product id and filters according to your needs.
Request
POST https://your_FintechOS_server/ftosapi/automation-processors/actions/FTOS_BP_GetProductInterestCommissionList
Content-Type: application/json
{
"productId": "001AB4E4-3A6A-4972-8F77-162746154D88",
"filterList": ""
}
Response
{
"InterestCommissions": [
{
"ItemName": "Onboarding Loan I&C",
"IsNegotiable": true,
"ItemCode": "OLIC",
"InterestListId": "cea804d9-2ebb-4212-8174-c808b3d803fe",
"InterestListName": "TermLoan Eur",
"CommissionListId": "5bc2423a-ca4f-49b0-94dc-a21d2cd5b557",
"CommissionListName": "Term Loan Eur"
}
]
}