---
schema_version: "1"
id: 077827deaef3d667e91eb85563f08a2aa4ff9361b0fa9fd3f7b5696b0a098293
title: ConnectApi.PremiumPreviewResultRepresentation
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_result.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_premium_preview_result.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d63d92216b1923449b777ff6706b80a1398e6656b4c294f2d57d399c5a2d0b2f
description: Output representation of per-node result from a draft-state premium preview, including rolled-up amounts or per-node errors.
---
# ConnectApi.PremiumPreviewResultRepresentation

Output representation of per-node result from a draft-state premium preview, including rolled-up amounts or per-node errors.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| amounts | [ConnectApi.PremiumPreview​AmountsRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_premium_preview_amounts.htm "Output representation of the rolled-up standard and term premium amounts for a single policy-hierarchy node.") | Rolled-up premium amounts for this hierarchy node. Shows null when errors are populated for the node. | 68.0 |
| 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)\> | Per-node errors. For example, INVALID\_API\_INPUT when the reference isn’t in the policy hierarchy. Shows null when the node computed successfully. A failed reference doesn’t fail the whole request. | 68.0 |
| recordId | [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 hierarchy node the amounts or errors belong to. | 68.0 |