Get Policy Data API

The FTOS_GetPolicyDataAPI script is called with an object as data and calls the getPolicyData function from the "policyDataAPIs" server automation script library.

An example of calling this function is given below:

Copy
var p = {
  policyNo: "80000753",
  validityDate: '2021-10-24'
}

ebs.callActionByNameAsync('FTOS_GetPolicyData_API', p)
.then(function(e) {
  console.log(e.UIResult);
});