---
schema_version: "1"
id: 6dbbc348bbdb756862a03f1691db9067855f52f1ae4abac013f9f553c9c0068d
title: ConnectApi.PremiumPreviewRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/apex_connectapi_output_premium_preview.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_premium_preview.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4eb8031c8c9182616c708099238fc73109314c28bf3cc49ba1be1a90b78b157e
description: Output representation of a draft-state premium preview, including the policy ID and per-node rolled-up amount results.
---
# ConnectApi.PremiumPreviewRepresentation

Output representation of a draft-state premium preview, including the policy ID and per-node rolled-up amount results.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| errors | [List](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_list.htm "HTML (New Window)")<[ConnectApi.ErrorResponseRepresentation](https://developer.salesforce.com/docs/platform/connect-rest-api/guide/connect_error_responses.html)\> | Error details for the entire request. For example, record not found, batch-limit, or proration failures. Shows null when the request succeeds. Request-level failures can also show ConnectApi.ConnectApiException. | 68.0 |
| policyId | [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm "HTML (New Window)") | ID of the insurance policy the preview was computed for. | 68.0 |
| results | [List](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_list.htm "HTML (New Window)")<[ConnectApi.PremiumPreviewResultRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_premium_preview_result.htm "Output representation of per-node result from a draft-state premium preview, including rolled-up amounts or per-node errors.")\> | Per-node computed results, in request order. When references aren't specified, this list contains a single entry for the policy root. There are no top-level total fields on this representation. | 68.0 |