FTOS_BP_GetAvailableProductsExtra
Returns the extra information of all banking products available on the specified date based on the product type id or the product type.
Syntax
The FTOS_BP_GetAvailableProductsExtra 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_getavailableproductsextra
Content-Type: application/json
{
"currentDate": "<dd_mm_yyyy>",
"productType": "<product_type_code>",
"filterList": [{
"name": "<name_of_filter>",
"value": <filter_value>
}]
}
Here's a list of the available parameters:
| Parameter | Description |
|---|---|
| host_address | URL of the FintechOS Platform server. |
| currentDate | Mandatory, new Date (). The date for when you wish to retrieve the banking product types with active products. |
| productType | Mandatory when productTypeId is not sent. The code of the product type. Possible values can be found in the bpProductType option set (CC, C, TL, MG, D, LS, BA, OD). |
| productTypeId | Mandatory when productType is not sent. The id of the product type, from the FTOS_BP_BankingProduct entity's bpProductTypeId attribute. |
| filterList | Optional, object with name and value parameters. The list of filters to be used for filtering the displayed information. |
Response
The response is an object with details about a specific banking product from the FTOS_BP_BankingProduct entity. The data enclosed in a specific section is returned only if their corresponding flags are set to true.
Example
To view the extra information of all banking products, send the following request, changing the current date and the product type with the desired values.
Request
POST https://your_FintechOS_server/ftosapi/automation-processors/actions/ftos_bp_getavailableproductsextra
Content-Type: application/json
{
"currentDate": "02-12-2021",
"productType": "TL",
"filterList": [{
"name": "Age-BP-Availability",
"value": 21
},
{
"name": "SumCredit_A",
"value": 15000
}
]
}
Response
{
"products": [{
"bankingProductId": "3d6466f9-6020-4125-9171-74fd71cd4a1c",
"bankingProductName": "BU_TLL",
"bankingProductCode": "BU_TLL",
"bankingProductTypeId": "e90fcd3b-be44-47f0-b2d3-53f8f3612465",
"bankingProductType": "Term Loan",
"features": [],
"productImg": "[]"
}, {
"bankingProductId": "78bfc1b8-585d-4681-847e-df48c6d31d27",
"bankingProductName": "BU_TLL_PEN",
"bankingProductCode": "BU_TLL_PEN",
"bankingProductTypeId": "e90fcd3b-be44-47f0-b2d3-53f8f3612465",
"bankingProductType": "Term Loan",
"features": [],
"productImg": "[]"
}, {
"bankingProductId": "74369653-86ae-403e-8c2e-92d4b88058a8",
"bankingProductName": "Corporate Loan",
"bankingProductCode": "CLT USD",
"bankingProductTypeId": "e90fcd3b-be44-47f0-b2d3-53f8f3612465",
"bankingProductType": "Term Loan",
"features": [],
"productImg": "[]"
}, {
"bankingProductId": "38cde592-66d5-4cc9-927e-38519c5f0d5b",
"bankingProductName": "Corporate Term Loan VND ",
"bankingProductCode": "OL VND",
"bankingProductTypeId": "e90fcd3b-be44-47f0-b2d3-53f8f3612465",
"bankingProductType": "Term Loan",
"features": [],
"productImg": "[]"
}]
}
To view the extra information of all banking products, send the following request, changing the current date and the product type id with the desired values.
Request
POST https://your_FintechOS_server/ftosapi/automation-processors/actions/ftos_bp_getavailableproductsextra
Content-Type: application/json
{
"currentDate": "12-01-2022",
"productTypeId": "E90FCD3B-BE44-47F0-B2D3-53F8F3612465",
"filterList": [{
"name": "Age",
"value": 18
}]
}
Response
{
"products": [{
"bankingProductId": "3d6466f9-6020-4125-9171-74fd71cd4a1c",
"bankingProductName": "BU_TLL",
"bankingProductCode": "BU_TLL",
"bankingProductTypeId": "e90fcd3b-be44-47f0-b2d3-53f8f3612465",
"bankingProductType": "Term Loan",
"features": [],
"productImg": "[]"
}, {
"bankingProductId": "78bfc1b8-585d-4681-847e-df48c6d31d27",
"bankingProductName": "BU_TLL_PEN",
"bankingProductCode": "BU_TLL_PEN",
"bankingProductTypeId": "e90fcd3b-be44-47f0-b2d3-53f8f3612465",
"bankingProductType": "Term Loan",
"features": [],
"productImg": "[]"
}, {
"bankingProductId": "74369653-86ae-403e-8c2e-92d4b88058a8",
"bankingProductName": "Corporate Loan",
"bankingProductCode": "CLT USD",
"bankingProductTypeId": "e90fcd3b-be44-47f0-b2d3-53f8f3612465",
"bankingProductType": "Term Loan",
"features": [],
"productImg": "[]"
}, {
"bankingProductId": "38cde592-66d5-4cc9-927e-38519c5f0d5b",
"bankingProductName": "Corporate Term Loan VND ",
"bankingProductCode": "OL VND",
"bankingProductTypeId": "e90fcd3b-be44-47f0-b2d3-53f8f3612465",
"bankingProductType": "Term Loan",
"features": [],
"productImg": "[]"
}]
}