NEWRATES_Calculate_Premium
The main function for calculating premium
Parameters In
Name
Example
Description
date
"2023-03-09"
Current date
riskId
"RATE4E08106P00"
RiskId for the risk which we want to rate
debugOverrideFlag
true
Optional parameter to indicate whether to include Debug information along with the other outputs
Shell Command
NEWRATES_Calculate_Premium("2023-03-09", "RATE4E08106P00", true);
Parameters Out
Name
Example
Description
Combined Premium and Premium Summary array
N/A
JSON - Array containing full details for all Premiums and Fees relevant for display, along with a "PremiumSummary" record and a "Summary" record. As returned from getSummaryOutputCustom or NEWRATES_Calculate_SummaryOutputif not defined.
Last updated