We are using Temenos T24 as core banking platform. There are three layers in application:
REST API connects with T24 via TOCF and returns response in JSON format to front-end for T24 enquiry.
Is there anyway to connect to T24 using
nodejs and get t24 message ?
ReST API does not connect to T24 via TOCF, its usage open source project IRIS and the only way to connect from nodejs to T24 is to use ReST API.
You can execute node js script from t24 and get a response.
see below sample from jbase code
PROGRAM TESTTEST Y.NODE = "node ./NODE.BP/test.js" EXECUTE Y.NODE CAPTURING Y.NODER CRT(Y.NODER) RETURN END
NODE JS sample
var a=6; var b=12; var c=a+b; /* var program_name1 = process.argv; var program_name2 = process.argv; var program_name3 = process.argv; var program_name4 = process.argv; console.log(program_name3) console.log(program_name4)*/ console.log("Sum("+a+"+"+b+") is done in T24 and result is : "+c);
you cannot connect to T24( business logics exposed via enquires and version to GUI) from your node.js. What you can do is either build node.js app that calls rest api to access the functionality or you can connect to the database to get the data but your app should have the logic what should be done with the data.