---
schema_version: "1"
id: 6cd2f51d4c662d12c0ab4804d8ede5e0ce9f8b672d3cfa0e48f0bc3baa58e4d9
title: Insurance Group Rating (POST)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_resources_group_rating.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_resources_group_rating.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b6b0ca50f3dcb8117cd606396b859765637bd66a74b59c9d9ee543fc1f9ad86f
description: Rate a group benefits quote to calculate premiums for all quote line items. Rate specific root plans to calculate premiums for their associated quote line items.
---
# Insurance Group Rating (POST)

Rate a group benefits quote to calculate premiums for all quote line items. Rate specific root plans to calculate premiums for their associated quote line items.

## Resource

{quoteId} is a placeholder.

/connect/insurance/quotes/{quoteId}/group-rating

## Resource Example

Replace {yourInstance} with the My Domain name of your Salesforce org.

https://{yourInstance}.salesforce.com/services/data/v68.0/connect/insurance/quotes/0Q08d0000004sQzCAI/group-rating

## Available Version

65.0

## HTTP Methods

POST

## Path Parameter for POST

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| quoteId | String | ID of the group benefits quote. | Required | 65.0 |

## Request Body for POST

### JSON Example

{
  "batchSize": 200,
  "quoteLineItemIds": \[
    "0qvp00000004C9wAAE"
  \],
  "ratingDate": "2025-01-01"
}

### Properties

<table class="featureTable sort_table" summary="">





            <thead class="thead sorted" align="left">
              <tr>
                <th class="featureTableHeader vertical-align-top " id="d344764e202">Name</th>

                <th class="featureTableHeader vertical-align-top " id="d344764e205">Type</th>

                <th class="featureTableHeader vertical-align-top " id="d344764e208">Description</th>

                <th class="featureTableHeader vertical-align-top " id="d344764e211">Required or Optional</th>

                <th class="featureTableHeader vertical-align-top " id="d344764e214">Available Version</th>

              </tr>

            </thead>

            <tbody class="tbody">
              <tr>
                <td class="entry" headers="d344764e202" data-title="Name"><samp class="codeph nolang">batchSize</samp></td>

                <td class="entry" headers="d344764e205" data-title="Type">Integer</td>

                <td class="entry" headers="d344764e208" data-title="Description">Number of records to process in each batch for the rating calculation.
                  <p class="p">The
                    default value is 5.</p>

                </td>

                <td class="entry" headers="d344764e211" data-title="Required or Optional">Optional</td>

                <td class="entry" headers="d344764e214" data-title="Available Version">65.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d344764e202" data-title="Name"><samp class="codeph nolang">quoteLineItemIds</samp></td>

                <td class="entry" headers="d344764e205" data-title="Type">String[]</td>

                <td class="entry" headers="d344764e208" data-title="Description">List of quote line item IDs of the root plan.</td>

                <td class="entry" headers="d344764e211" data-title="Required or Optional">Optional</td>

                <td class="entry" headers="d344764e214" data-title="Available Version">65.0</td>

              </tr>

              <tr>
                <td class="entry" headers="d344764e202" data-title="Name"><samp class="codeph nolang">ratingDate</samp></td>

                <td class="entry" headers="d344764e205" data-title="Type">String</td>

                <td class="entry" headers="d344764e208" data-title="Description">Date to use for the rating calculation. If not specified, the API uses the
                  effective date of the quote.</td>

                <td class="entry" headers="d344764e211" data-title="Required or Optional">Optional</td>

                <td class="entry" headers="d344764e214" data-title="Available Version">65.0</td>

              </tr>

            </tbody>

          </table>

## Response Body for POST

[Group Rating Response](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_insurance_group_rating_output.htm "Output representation of the Group Benefits Group Rating process.")