Create Person Accounts and Users from Group Census Members Action
Create person accounts and portal users for group census or group census members. This action supports bulk processing, custom field mapping, and duplicate detection.
This action supports bulk processing, custom field mapping, and duplicate record detection. It converts insurance group census members to Salesforce Person Accounts, enables member self-service through portal users, supports B2C enrollment workflows, and maintains relationship data for benefits administration and household grouping.
This action is available in API version 65.0 and later.
The org must have Person Accounts and Digital Insurance Group Benefits enabled. To use this action, you need Census Management user access.
URI: /services/data/vXX.X/actions/standard/createAcctUsrFrGrpCens
Where XX.X is the latest API version.
Formats: JSON
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is your OAuth access token.
| Input | Type | Description |
|---|---|---|
accountFieldsMapping | Apex-defined | Map of Group Census Member Object fields to Account fields. |
createPortalUsers | boolean | Indicates whether portal users must be created ( true ) or not ( false ). |
emailEncodingKey | string | Required if createPortalUsers is set to true . Email encoding key to use to create the user records. For example, ISO-8859-1 or UTF-8. |
groupCensusId | string | Required if a list of groupCensusMembers isn’t specified. ID of the group census to create person accounts and portal users for the associated group census members. |
groupCensusMembers | sobject | Required if groupCensusId isn’t specified. Group census member records to create person accounts and portal users. |
languageLocaleKey | string | Required if createPortalUsers is set to true . Language to use to create the user records. For example, fr for French or zh_Cw for Chinese (Traditional). |
localeSidKey | string | Required if createPortalUsers is set to true . Locale for the user, which affects the format of dates, times, and numbers. |
matchingKeysList | string | Comma-separated list of account object fields to detect duplicate account records. |
profileId | string | Required if createPortalUsers is set to true . ID of the profile to create the user records for. |
recordTypeName | string | API name of the record type to create the person accounts for. |
timeZoneSidKey | string | Required if createPortalUsers is set to true . Time zone for the user, such as America or Los_Angeles. |
| Output | Type | Description |
|---|---|---|
createAccountsOutputRep | Apex-defined | An Apex ind_ins_grpben__AccountsAndUsersCreationOutput record that contains the details of the results. |
Sample Request
Sample Response