---
schema_version: "1"
id: a714db166f21b93f32a5107d4b2c6dbc012b46ad56fb1932904c45f1bac01a53
title: Insurance Get Rating Input Response
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_responses_ins_get_rating_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_get_rating_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 765277f751c8e844f0ea997044a7d3377909619aaeba594716306f630c7ed027
description: Output representation that contains the generated sample rating input payload as a JSON string, or errors if generation fails.
---
# Insurance Get Rating Input Response

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

## JSON Example

{
  "ratingInput": "{"quoteLineItems":\[{"productCode":"AUTO\_POLICY","instanceKey":"a1b2c3d4-e5f6","attributes":\[{"attributeCode":"DRIVER\_AGE","value":""},{"attributeCode":"VEHICLE\_MAKE","value":""},{"attributeCode":"VEHICLE\_YEAR","value":""}\],"childProducts":\[{"productCode":"COLLISION\_COVERAGE","instanceKey":"f7g8h9i0-j1k2","attributes":\[{"attributeCode":"DEDUCTIBLE\_AMOUNT","value":""}\]},{"productCode":"LIABILITY\_COVERAGE","instanceKey":"l3m4n5o6-p7q8","attributes":\[{"attributeCode":"COVERAGE\_LIMIT","value":""}\]}\]}\],"instanceKeys":\[{"instanceKey":\["a1b2c3d4-e5f6","f7g8h9i0-j1k2","l3m4n5o6-p7q8"\]}\]}",
  "additionalDetails": "The sample omits transactionType. Supply a TransactionProcessingType developer name configured in the org before you send the payload to the rating API.",
  "errors": \[\]
}

## Properties

| Property Name | Type | Description | Filter Group and Version | Available Version |
| --- | --- | --- | --- | --- |
| additionalDetails | String | 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. | Big, 68.0 | 68.0 |
| errors | [Insurance Design Advisor Error Response](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_design_advisor_error_response.htm "Output representation of a top-level error returned before per-attribute validation runs.")\[\] | List of errors encountered during rating input generation. Empty or absent when the API operation has no error. Each item provides an error code and a message. | Big, 68.0 | 68.0 |
| ratingInput | String | 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. | Big, 68.0 | 68.0 |