---
schema_version: "1"
id: eef87487f9a51f73e0fa51daf832ed277e7b3fd2f2fc4d9f700f07a2b5378e23
title: Product Rating Response
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_responses_product_rating_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_product_rating_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6d69da67ac350c982bdef8a1aebfa5b6781221e7155cd9441e13f9fd8353dcec
description: Output representation for the Product Rating Connect API.
---
# Product Rating Response

Output representation for the Product Rating Connect API.

## JSON Example

This example shows a sample success response.

{
  "contextId": "11jxx0000006i5gAAA",
  "pricingResult": {
    "Economy Renter 1": {
      "NetUnitPrice": 1000,
      "childNodes": \[\]
    },
    "Economy Renter 2": {
      "NetUnitPrice": 2000,
      "childNodes": \[\]
    }
  },
  "contextJSON": {
    "SalesTransaction": \[
      {
        "Account": null,
        "businessObjectType": "Quote",
        "SalesTransactionName": "Test Quote",
        "ProratedAmount": 112.25,
        "StartDate": "2025-07-01",
        "CurrencyIsoCode\_\_std": "USD",
        "InsuranceQuoteType": "New Business",
        "TransactionType": "AutoTransactionType",
        "TotalProratedAmount": 132.25,
        "Pricebook": "01sSG000009SJvNYAW",
        "Opportunity": null,
        "TotalAmount": 277.15,
        "EndDate": "2025-08-31",
        "SalesTransactionItem": \[
          {
            "businessObjectType": "QuoteLineItem",
            "Product": "01tSG000008KnvSYAS",
            "id": "0QLSG000000dIxz4AE",
            "ProductCode": "Auto Silver",
            "SalesTransactionItemAttribute": \[
              {
                "AttributeKey": "0tjSG0000006q8GYAQ",
                "AttributeValue": "6.0",
                "ParentReference": "0QLSG000000dIxy4AE",
                "hasObjectRef": null,
                "AttributePicklistValue": null,
                "IsPriceImpacting": null,
                "businessObjectType": "QuoteLineItemAttribute",
                "AttributeName": "Driver MVR Points",
                "id": "0zuSG000002IfoSYAS",
                "AttributeDefinitionCode": "DriverMVRPoints",
                "SalesTransactionItemAttrParent": "0QLSG000000dIxy4AE",
                "AttributeDeveloperName": "Driver\_MVR\_Points"
              }
            \],
            "LineItemPath": "0QLSG000000dIy04AE/0QLSG000000dIxz4AE",
            "PricebookEntry": "01uSG000003chfXYAQ",
            "NetUnitPrice": 79.77,
            "ParentReference": "0Q0SG000000P3XN0A0",
            "UnitPrice": 469.6,
            "InstanceKey": "673ec36c-7d4a-4e8a-999a-6cf16a299f4a",
            "childNodes": \[
              {
                "businessObjectType": "QuoteLineItem",
                "Product": "01tSG000008KnvSYAS",
                "id": "0QLSG000000dIxz4AE",
                "ProductCode": "medPay",
                "SalesTransactionItemAttribute": \[\],
                "childNodes": \[\]
              }
            \]
          }
        \],
        "TotalStandardAmount": 680.8
      }
    \]
  },
  "productDetails": {
    "auto": {
      "attributeCategories": \[
        {
          "attributes": \[
            {
              "attributeCategoryId": "0v3SG0000001ZToYAM",
              "attributeNameOverride": "Bodily Injury Per Person Limit",
              "attributePicklist": {
                "id": "0v5SG0000004YXzYAM",
                "values": \[
                  {
                    "code": "BIPD500",
                    "displayValue": "$500",
                    "id": "0v6SG0000006Vl2YAE",
                    "name": "BIPD500",
                    "sequence": 1,
                    "status": "Active",
                    "textValue": "500.0"
                  }
                \]
              },
              "code": "BodilyInjuryPerPersonLimit",
              "dataType": "PICKLIST",
              "developerName": "Bodily\_Injury\_Per\_Person\_Limit",
              "id": "0tjSG0000006q7RYAQ",
              "isCloneable": false,
              "isConfigurable": false,
              "isHidden": true,
              "isPriceImpacting": false,
              "isReadOnly": false,
              "isRequired": false,
              "label": "Bodily Injury Per Person Limit",
              "name": "Bodily Injury Per Person Limit",
              "status": "Active"
            }
          \],
          "code": "Auto Term",
          "name": "Auto Term"
        }
      \],
      "id": "01tSG000008KnvBYAS",
      "isActive": true,
      "isAssetizable": true,
      "isConfigurable": true,
      "isSoldOnlyWithOtherProds": false,
      "name": "Auto",
      "nodeType": "bundleProduct",
      "productClassification": {
        "id": "11BSG00000LARcM2AX"
      },
      "productCode": "auto"
    }
  },
  "uiTreatments": \[
    {
      "details": {
        "attributeId": "0tjxx0000000007AAA",
        "stiId": "0QLxx0000004CU0GAM",
        "attributePicklistValueId": "0v6xx0000000005AAA"
      },
      "uiTreatmentTarget": "Attribute\_Picklist\_Value",
      "uiTreatmentType": "Hide"
    },
    {
      "details": {
        "stiId": "ref\_f0f2da7b\_c431\_482d\_bf4b\_599052f3a2e1"
      },
      "uiTreatmentTarget": "Component",
      "uiTreatmentType": "Disable"
    }
  \],
  "ratingResult": {
    "childNodes": \[
      {
        "childNodes": \[
          {
            "childNodes": \[\],
            "details": {
              "NetUnitPrice": 590.4,
              "InstanceKey": "bipd1",
              "ProductCode": "bipd",
              "NetTotalPrice": 590.4,
              "ProratedQLITaxAmount": 0
            }
          }
        \],
        "details": {
          "NetUnitPrice": 1485.84,
          "InstanceKey": "AutoSilver",
          "ProductCode": "autoSilver",
          "NetTotalPrice": 1485.84,
          "ProratedQLITaxAmount": 0
        }
      }
    \]
  }
}

| Property Name | Type | Description | Filter Group and Version | Available Version |
| --- | --- | --- | --- | --- |
| configMessages | [Insurance Config Message](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_insurance_config_message_output.htm "Output representation of configurator messages.")\[\] | List of configurator messages. | Small, 63.0 | 63.0 |
| contextId | String | ID of the context. | Small, 61.0 | 61.0 |
| contextJSON | [Context JSON](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_context_j_s_o_n_output.htm "Output representation for the context JSON.")\[\] | Serialized JSON representation of the context. | Small, 66.0 | 66.0 |
| errors |  | List of errors that are encountered during the processing of the API request. | Small, 61.0 | 61.0 |
| pricingResult | Map<String, Object> | Details of the pricing result. | Small, 61.0 | 61.0 |
| productDetails | [Product](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/connect_responses_product_output.htm "HTML (New Window)")\[\] | Details of the list of products that are included in the context JSON. | Small, 66.0 | 66.0 |
| ratingResult | [Rating Result](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_rating_result_output.htm "Output representation for the details of the product rating pricing results.")\[\] | Rating results after executing pricing with the context. | Small, 66.0 | 66.0 |
| uiTreatments | [Insurance UI Treatments](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_insurance_u_i_treatment_output.htm "Output representation for the details of the insurance UI treatments.")\[\] | Details of the insurance UI configuration. | Small, 66.0 | 66.0 |