Premium Preview Response

Output representation of the details of the draft-state premium preview results for an insurance policy, including per-node rolled-up amounts and any errors.

JSON Example

This example shows a whole-policy preview success response when references is omitted.

{
  "errors": [],
  "policyId": "0YTfiP000000FdNGBU",
  "results": [
    {
      "amounts": {
        "standardCommission": 0,
        "standardFee": 0,
        "standardPremium": 3000,
        "standardTax": 0,
        "termCommission": 0,
        "termFee": 0,
        "termPremium": 3000,
        "termTax": 0,
        "totalStandard": 3000,
        "totalTerm": 3000
      },
      "errors": [],
      "name": "Draft State Premium Dummy Policy -1",
      "recordId": "0YTfiP000000FdNGBU"
    }
  ]
}

Properties

Property Name Type Description Filter Group and Version Available Version
errors Error Response[] Error details for the entire request, such as NOT_FOUND, batch-limit failures, or proration failures that stop the request. Shows null on success. Small, 68.0 68.0
policyId String ID of the insurance policy the premium preview is computed for. Small, 68.0 68.0
results Premium Preview Result [] Per-node computed results in request order. When the references parameter is omitted or empty, this list contains a single entry for the policy root. All premium amounts are shown in this list. The response doesn’t include top-level total fields. Small, 68.0 68.0