---
schema_version: "1"
id: 59f56d38d44b0b72856d2b2490fce130756919bad8962df545bfa82741f88541
title: ConnectApi.InsuranceGenerateCensusInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/apex_connectapi_input_insurance_generate_census.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_insurance_generate_census.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3a9833036b68f98800a7c28c607603caddb428980d1c749675f968adabc58395
description: Input representation of the census name and type, optional policy date, filters, and generation options used to create a group census from the policies on a contract.
---
# ConnectApi.InsuranceGenerateCensusInputRepresentation

Input representation of the census name and type, optional policy date, filters, and generation options used to create a group census from the policies on a contract.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| censusName | String | Name of the group census to create. | Optional | 67.0 |
| censusType | String | Type of group census to generate, such as Enrollment or Quote. | Required | 67.0 |
| filter | [ConnectApi.InsuranceCensusFilterInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_insurance_census_filter.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 | 67.0 |
| policyEffectiveDate | String | Date used to determine the policy version for generating the group census, in ISO 8601 yyyy-MM-dd format. The specified date must fall between the policy version's effectiveFromDate and effectiveToDate. | Optional | 67.0 |
| requestId | String | ID of the asynchronous request from a previous run. Use this value to regenerate a group census that failed in the previous run. | Required when you regenerate a group census that failed in the previous run. | 67.0 |
| shouldGenerateCsv | Boolean | Indicates whether to create a CSV file with all the census details (true) or not (false). | Optional | 67.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 |