---
schema_version: "1"
id: 64d8885c7b341fd59a1669582b3fdbd5d29984b9564fb6b4fa356e96dda74f9c
title: Product Rating Post Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_requests_product_rating_post_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_product_rating_post_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ff1d12582100d463ce300934692058dfef83690a69fdd6e7f8529f9a3aca8810
description: Input representation of the product rating details.
---
# Product Rating Post Input

Input representation of the product rating details.

## JSON Example

{
  "transactionType": "AutoTransactionType",
  "additionalFields": {
    "QuoteAccount": "001ZM000002ZNnBYAW"
  },
  "ratingOptions": {
    "executeConfigurationRules": false
  },
  "ratingInputs": \[
    {
      "productCode": "auto",
      "instanceKeys": \[
        "Auto1"
      \],
      "attributes": {
        "Make": "BMW",
        "AutoValue": "20000",
        "Year": "2024",
        "Model": "SUV"
      }
    },
    {
      "productCode": "comprehensive",
      "instanceKeys": \[
        "Auto1",
        "Comprehensive"
      \],
      "attributes": {
        "Limit": "2000",
        "Deductible": "100"
      }
    }
  \],
  "rootProductCodes": \[
    "auto-ECO1x",
    "auto-ECO2x"
  \]
}

## Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| additionalFields | Map<String, Object> | Map of additional fields that must be updated in the quote context. | Required if the generated context ID is used to issue a policy | 63.0 |
| effectiveDate | String | Date used to find the active pricing procedure for pricing. The default value is the current date. | Optional | 63.0 |
| ratingInputs | [Rating Input Node](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_rating_input_node.htm "Input representation of details of context node.")\[\] | JSON that contains the attribute values of each context node. | Required | 63.0 |
| ratingOptions | [Rating Options Input](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_rating_options_input.htm "Input representation details of rating service options.")\[\] | Options for rating. | Optional | 63.0 |
| rootProductCodes | String \[\] | Root product codes that are used with the ratingInputs to create rating result. The created rating result is used as request in the insurance product rating API. | Optional | 66.0 |
| transactionType | String | Name of the transaction processing type. | Required | 63.0 |