---
schema_version: "1"
id: df103dc6a7dcd1aafcc33897eea3866775eb26e90ec9b0d33dab5080f08688d7
title: Product Rating Request Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_requests_get_rating_details_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_get_rating_details_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c4d8554a6e2a4e67fbbfac4127d12bf09bb271141e81de3874e5d9b5e9935402
description: Input representation for getting rating input from product IDs.
---
# Product Rating Request Input

Input representation for getting rating input from product IDs.

## JSON Example

{
  "productIds": \[
    "01txx0000006i3DAAQ"
  \],
  "salesTransactionTypeId": "0YWxx000000001GAAQ",
  "transactionType": "Auto",
  "ratingOptions": {
    "executeConfigurationRules": true,
    "executePricing": true,
    "returnContextJSON": false,
    "returnProductDetails": false
  },
  "effectiveDate": "2025-01-01T00:00:00.000Z",
  "ratingDate": "2025-01-01T00:00:00.000Z",
  "additionalFields": {
    "customField1": "value1"
  },
  "rootProductCodes": \[
    "AUTO\_POLICY"
  \]
}

## Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| additionalFields | Map<String, Object> | Additional fields to generate rating input. | Optional | 66.0 |
| effectiveDate | Date | Date that's used to find the active pricing procedure for pricing. The default value is the current date. | Optional | 66.0 |
| productIds | String\[\] | IDs of the products for which you want to generate rating input. | Required | 66.0 |
| ratingDate | Date | Date that's used to calculate rating. | Optional | 66.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 to control rating behavior. | Optional | 66.0 |
| rootProduct​Codes | String\[\] | Root product codes that are used to create rating inputs. | Optional | 66.0 |
| salesTransaction​TypeId | String | ID of the sales transaction type for which you want to generate rating request payload. | Optional | 66.0 |
| transaction​Type | String | Name of the transaction processing type. | Optional | 66.0 |