---
schema_version: "1"
id: 90bbcf450c55a9906963ff91d3ad1a1987144711c2d60b8c1f1538680a7e05e6
title: Get Member Ratings and Contributions Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/actions_obj_get_member_ratings_and_contributions.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/actions_obj_get_member_ratings_and_contributions.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d91e5c1631edbcb1db30f3de5e6f16cbad5481ea136b551d0d008cae413a77f7
description: Get standard and prorated insurance rates for the specified group census members and their selected plan coverages, including contributions.
---
# Get Member Ratings and Contributions Action

Get standard and prorated insurance rates for the specified group census members and their selected plan coverages, including contributions.

This action retrieves member-specific coverage selections, validates them against the root plan hierarchy, and invokes the rating service to calculate premiums and contributions. The action returns pricing results with rates at member, plan, and coverage levels, along with hierarchical error information. The action is currently used in enrollment flows.

This action is available in API version 65.0 and later.

## Supported REST HTTP Methods

**URI**: /services/data/vXX.X/actions/standard/getMbrsRatingAndContributions

Where XX.X is the latest API version.

**Formats**: JSON

**HTTP Methods**: POST

**Authentication**: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

## Inputs

| Input | Type | Description |
| --- | --- | --- |
| groupCensusMembers | sobject | Required. Collection of group census member records for whom rates must be calculated. This action retrieves the member IDs from these records. The maximum list size is 2000. |
| contractGroupPlanId | string | Required. ID of the root contract group plan for which the rates and contributions must be calculated. This ID represents the primary plan under which coverages are organized. The action validates that selected coverages that belong to this plan hierarchy. |
| effectiveDate | date | Effective date for rating calculations in yyyy-MM-dd format. If specified, the rating service uses this date to lookup the active pricing procedure and perform proration calculations. If not specified, contract start date is used as default. |

## Outputs

| Output | Type | Description |
| --- | --- | --- |
| memberRatingOutputRep | Apex-defined | An Apex ind\_ins\_grpben\_\_MembersPlansRatingOutput record that contains pricing results for the requested members, plans, and coverages. The Apex class includes standard rates, prorated rates, contributions, and hierarchical error information at the request, member, plan, and coverage levels. |

## Example

Sample Request

{
  "inputs": \[
    {
      "groupCensusMembers": \[
        {
          "Id": "0r6SG0000008OFjYAM",
          "Name": "John Doe",
          "FirstName": "John",
          "LastName": "Doe",
          "Email": "john.doe@example.com",
          "BirthDate": "1985-03-15"
        },
        {
          "Id": "0r6SG0000008OFjYAN",
          "Name": "Jane Smith",
          "FirstName": "Jane",
          "LastName": "Smith",
          "Email": "jane.smith@example.com",
          "BirthDate": "1990-07-22"
        }
      \],
      "contractGroupPlanId": "0rgSG0000000ef1YAA",
      "effectiveDate": "2025-10-15"
    }
  \]
}

Sample Response

\[
  {
    "actionName": "getMbrsRatingAndContributions",
    "errors": null,
    "invocationId": null,
    "isSuccess": true,
    "outcome": null,
    "outputValues": {
      "memberRatingOutputRep": {
        "pricingResults": \[
          {
            "plans": \[
              {
                "rates": \[
                  {
                    "value": 60,
                    "key": "NetUnitPrice"
                  }
                \],
                "proratedRates": \[
                  {
                    "value": 60,
                    "key": "NetUnitPrice"
                  }
                \],
                "planId": "0rgSG0000000eezYAA",
                "errors": \[\],
                "coverages": \[
                  {
                    "rates": \[
                      {
                        "value": 20,
                        "key": "NetUnitPrice"
                      }
                    \],
                    "proratedRates": \[
                      {
                        "value": 20,
                        "key": "NetUnitPrice"
                      }
                    \],
                    "errors": \[\],
                    "coverageId": "0rgSG0000000ef1YAA",
                    "contributions": {
                      "groupClassContributionId": "0rFSG0000000Beb2AE",
                      "errors": \[\],
                      "employerPremiumAmount": 2,
                      "employeePremiumAmount": 18
                    }
                  }
                \],
                "contributions": {
                  "groupClassContributionId": null,
                  "errors": \[\],
                  "employerPremiumAmount": 2,
                  "employeePremiumAmount": 58
                }
              }
            \],
            "memberId": "0r6SG0000008R33YAE",
            "errors": \[\]
          }
        \],
        "errors": \[\]
      }
    },
    "sortOrder": -1,
    "version": 1
  }
\]