---
schema_version: "1"
id: 96487354f612790d4fd42b6655e2edf8c5c1af61ca0c360b0e02570fe116bd3a
title: Group Census Cost Impact before Policy Operation (POST)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_resources_insurance_group_census_price_comparisons.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_resources_insurance_group_census_price_comparisons.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 834b14b38d7a3dfa31c7c8124acafbb302ca2a0b78b96881d6c3aaf53754c07a
description: Compare the previous and the current cost for a group census for one member and its associated dependents, or the summary for the entire census, to view the impact of enrollment, adjustment, or renewal before it's finalized. The comparison can cover a single product category or all product categories. You can also compare plan attributes by using this API. By default, the API returns the price comparison details. Set fetchAttributes to true to retrieve plan attribute differences instead of price comparison details.
---
# Group Census Cost Impact before Policy Operation (POST)

Compare the previous and the current cost for a group census for one member and its associated dependents, or the summary for the entire census, to view the impact of enrollment, adjustment, or renewal before it's finalized. The comparison can cover a single product category or all product categories. You can also compare plan attributes by using this API. By default, the API returns the price comparison details. Set fetchAttributes to true to retrieve plan attribute differences instead of price comparison details.

## Resource

{censusId} is a placeholder.

/connect/insurance/group-censuses/{censusId}/price-comparisons

## Resource Example

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

https://{yourInstance}.salesforce.com/services/data/v68.0/connect/insurance/group-censuses/0rfxx000000001aEAA/price-comparisons

## Available Version

68.0

## HTTP Methods

POST

## Path Parameter for POST

| Parameter Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| censusId | String | ID of the group census to compare the prices for. | Required | 68.0 |

## Request Body for POST

### JSON Example

{
  "category": "0ZGIO0000000gAX4AY",
  "fetchAttributes": false,
  "memberIds": {
    "values": \[
      "0r6IO0000004F25AE"
    \]
  }
}

### Properties

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





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

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

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

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

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

              </tr>

            </thead>

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

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

                <td class="entry" headers="d357224e218" data-title="Description">ID of the product category to filter the comparison. If not specified, the API
                  returns only the overall summary and the list of available categories.</td>

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

                <td class="entry" headers="d357224e224" data-title="Available Version">68.0</td>

              </tr>

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

                <td class="entry" headers="d357224e215" data-title="Type">Boolean</td>

                <td class="entry" headers="d357224e218" data-title="Description">Indicates whether to return the attributes of the root products and coverages, such
                  as copay and coinsurance (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). The default value is <samp class="codeph nolang">false</samp>.<p class="p">If set to true, the API returns plan attribute differences instead of
                    price comparison details.</p>
                </td>

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

                <td class="entry" headers="d357224e224" data-title="Available Version">68.0</td>

              </tr>

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

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

                <td class="entry" headers="d357224e218" data-title="Description">List of group census member IDs to compare prices for. If not specified, the API
                  returns the summary view of the census instead of member-level comparisons.</td>

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

                <td class="entry" headers="d357224e224" data-title="Available Version">68.0</td>

              </tr>

            </tbody>

          </table>

## Response Body for POST

[Price Comparison Response](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_price_comparison_output.htm "Output representation of the price impact that's calculated for a group census. The response includes the available product categories, the event summary, the rating periods, the currency, and a flat list of comparison items that carry the previous and current amounts for each plan, group class, member, and coverage.")