Calculation API

Check peril premium

POST /calculation/checkPerilPremium

CheckPerilPremiumRequest

{
  // Required
  "calculation" : string
  "exposureCharacteristics" : ExposureCharacteristicsPriceRequest
  "exposureName" : string
  "perilCharacteristics" : PerilCharacteristicsPriceRequest
  "perilName" : string
  "policyCharacteristics" : PolicyCharacteristicsPriceRequest
  "productName" : string
}

PolicyCharacteristicsPriceRequest

{
  // Required
  "fieldGroupsByLocator" : map<string,map<string,[string]>>
  "policyEndTimestamp" : integer
  "policyStartTimestamp" : integer

  // Optional
  "fieldValues" : map<string,[string]>
}

ExposureCharacteristicsPriceRequest

{
  // Required
  "fieldGroupsByLocator" : map<string,map<string,[string]>>

  // Optional
  "fieldValues" : map<string,[string]>
}

PerilCharacteristicsPriceRequest

{
  // Required
  "fieldGroupsByLocator" : map<string,map<string,[string]>>

  // Optional
  "deductible" : number
  "fieldValues" : map<string,[string]>
  "indemnityInAggregate" : string
  "indemnityPerEvent" : string
  "indemnityPerItem" : string
  "lumpSumPayment" : number
}

Calculate existing peril data

POST /calculation/checkExistingPerilPremium

CheckExistingPerilPremiumRequest

{
  // Required
  "calculation" : string
  "perilDisplayId" : string
}

CalculationResponse

{
  // Required
  "assignedVariables" : map<string,object>
  "commissions" : [CommissionResponse]
  "premium" : number

  // Optional
  "technicalPremium" : number
}