---
schema_version: "1"
id: 108f13ef26da7b725de82e9fc383e8482f9f56d0a7bed5743f95ad7229a86bf7
title: ConnectApi.InsGetRatingInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/apex_connectapi_output_ins_get_rating_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_ins_get_rating_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e4f8f2a19efe177f4fee56f011823ef998b4cc2e62de6cdec23160215f797e41
description: Output representation that contains the generated sample rating input payload as a JSON string, or errors if generation fails.
---
# ConnectApi.InsGetRatingInputRepresentation

Output representation that contains the generated sample rating input payload as a JSON string, or errors if generation fails.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| additionalDetails | [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm "HTML (New Window)") | Advisory note about using the sample payload. For example, the sample can omit transactionType, which you must supply (a TransactionProcessingType developer name configured in the org) before you send the payload to the rating API; otherwise the quote-level pricing procedure doesn’t resolve. | 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.InsDesignAdvisor​Error​Response​Representation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_ins_design_advisor_error_response.htm "Output representation of an error returned by an Insurance Design Advisor validation.")\> | List of errors encountered during rating input generation. Empty or null when the operation has no error. Each item provides an error code and a message. | 68.0 |
| ratingInput | [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm "HTML (New Window)") | Serialized JSON string containing a complete sample rating request body to use with the insurance/product-rating API. The JSON string includes product hierarchy, product codes, instance keys, and attribute codes with sample values. Parse this string before you submit it to the rating API, and replace sample values with real data. | 68.0 |