ebs.callActionByNameAsync

(FintechOS Studio 20.2 and later)

Asynchronously calls by name an internal endpoint set up on the FintechOS platform. The result of the operation is returned in a promise object.

Syntax

Copy
ebs.callActionByNameAsync(endpointName: string, data: any): Promise<any>

 

Parameter Description
endpointName The name of the endpoint you wish to access

data

Key-value pairs of any input parameters to be passed to the internal endpoint in JSON format.

Result

The promise result indicates the result of the code execution, depending on the endpoint's function. Some of the result keys are listed below:

Key Description
Message Indicates the outcome of the call.
IsSuccess Indicates if the call insert was successful.

Examples