Calculation API
The calculation API is used for testing rating scenarios, based on either hypothetical peril values with Test Calculate Peril Premium or an existing peril with Test Calculate Premium for an Existing Peril.
Endpoint Index
Action | Endpoint |
---|---|
Test Calculate Peril Premium | POST /calculation/checkPerilPremium |
Test Calculate Premium for an Existing Peril | POST /calculation/checkExistingPerilPremium |
Details
Test Calculate Peril Premium¶
POST /calculation/checkPerilPremium
Name | Position | Type | Required |
---|---|---|---|
request | body | CheckPerilPremiumRequest | required |
CheckPerilPremiumRequest¶
requiredproductName stringexposureName stringperilName stringcalculation stringexposureCharacteristics ExposureCharacteristicsPriceRequestperilCharacteristics PerilCharacteristicsPriceRequestpolicyCharacteristics PolicyCharacteristicsPriceRequestoptionalresourcesAfOfTimestamp timestamp
PolicyCharacteristicsPriceRequest¶
requiredpolicyEndTimestamp timestamppolicyStartTimestamp timestampfieldGroupsByLocator map<string,map<string,[string]>>optionalfieldValues map<string,[string]>
ExposureCharacteristicsPriceRequest¶
requiredfieldGroupsByLocator map<string,map<string,[string]>>optionalfieldValues map<string,[string]>
PerilCharacteristicsPriceRequest¶
requiredfieldGroupsByLocator map<string,map<string,[string]>>optionalfieldValues map<string,[string]>deductible numberlumpSumPayment numberindemnityInAggregate stringindemnityPerEvent stringindemnityPerItem string
Test Calculate Premium for an Existing Peril¶
POST /calculation/checkExistingPerilPremium
Name | Position | Type | Required |
---|---|---|---|
request | body | CheckExistingPerilPremiumRequest | required |
CheckExistingPerilPremiumRequest¶
requiredcalculation stringperilDisplayId string
CalculationResponse¶
requiredpremium numberassignedVariables map<string,object>commissions [CommissionResponse]optionaltechnicalPremium number