---
schema_version: "1"
id: 0a6ee117d1740c539e1676be1ce7a69ea0bbb43b56566350eb39c31fb5fd7468
title: Premium Preview Response
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_responses_premium_preview.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_premium_preview.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5bf974642476ed79ba3a887bb7447180065f0d126033486c180c57e1f36f2d23
description: 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.
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.264.0.chatterapi.meta/chatterapi/connect_responses_error_response.htm "HTML (New Window)")\[\] | 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 \[\]](connect_responses_premium_preview_result.htm "Output representation of the rolled-up premium amounts or per-node errors for one policy-hierarchy node.") | 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 |