FTOS_BP_GetAvailableProductImage
Returns the banking product available images based on its product code or product id.
Syntax
The FTOS_BP_GetAvailableProductImage 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_getavailableproductimage
Content-Type: application/json
{
"productCode": "<banking_product_Code>"
}
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. |
Response
The response is the specified banking product record's value found in the productImage attribute within the FTOS_BP_BankingProduct entity.
Example
To view the images of a specific banking product, send the following request, changing the id of the product with the one you need.
Request
POST https://your_FintechOS_server/ftosapi/automation-processors/actions/ftos_bp_getavailableproductimage
Content-Type: application/json
{
"productId": "EEC720BA-6C32-47AC-9050-3D9D759F043E"
}
Response
[
{
"Name": "Untitled.jpg",
"RealName": "Untitled_9928eda6-f1a7-4f2a-a7be-0f00a32cc04d.jpg"
}
]
To view the images of a specific banking product, send the following request, changing the code of the product with the one you need.
Request
POST https://your_FintechOS_server/ftosapi/automation-processors/actions/ftos_bp_getavailableproductimage
Content-Type: application/json
{
"productCode": "TL_ADV"
}
Response
[
{
"Name": "Untitled.jpg",
"RealName": "Untitled_9928eda6-f1a7-4f2a-a7be-0f00a32cc04d.jpg"
}
]