---
schema_version: "1"
id: 230671f4937dfc8bddc24cdbb64d917793c82b430467fa59ec64bdaf852885a2
title: Insurance Generate Census Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_requests_insurance_generate_census_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_insurance_generate_census_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0b669bae796ae847e8f84915b0e2e41e8ae0712b5bedbbdd72311f6c5f98c37e
description: Input representation of the details to generate a group census from the policies on an existing group benefits contract.
---
# Insurance Generate Census Input

Input representation of the details to generate a group census from the policies on an existing group benefits contract.

## JSON Example

{
  "shouldGenerateCSV": true,
  "shouldIncludeMemberPlans": true,
  "filter": {
    "contractGroupPlanIds": {
      "values": \[
        "0rgVW00000001tlYAA"
      \]
    },
    "objectName": "Contact",
    "recordIds": {
      "values": \[
        "003VW00000BcBIfYAN"
      \]
    }
  }
}

## Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| censusName | String | Name of the group census to create. | Optional | 68.0 |
| censusType | String | Type of group census to generate, such as Enrollment or Quote. | Required | 68.0 |
| filter | [Insurance Census Filter Input](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_insurance_census_filter_input.htm "Input representation of the filter criteria that select which policy records to include when generating a group census from a contract.") | Filter criteria that indicate which policy records to include when generating the group census. You can filter by root contract group plan IDs, Person Accounts, and Contacts. | Optional | 68.0 |
| policyEffectiveDate | String | Date used to determine the policy version for generating the group census, in YYYY-MM-DD format. The specified date must fall between the policy version's effectiveFromDate and effectiveToDate. | Optional | 68.0 |
| requestId | String | ID of the asynchronous request from a previous run. | Required when you regenerate a group census that failed in the previous run. | 68.0 |
| shouldGenerateCSV | Boolean | Indicates whether to create a CSV file with all the census details (true) or not (false). | Optional | 68.0 |
| shouldIncludeMemberPlans | Boolean | Indicates whether to include insurance plan details for each member in the generated group census (true) or not (false). | Optional | 68.0 |