Save Group Census Members Data Action
Create or update the group census member records for primary members, update the IDs of the dependent members, and create or update groups census member records for the dependent members.
This action is available in API version 65.0 and later.
URI: /services/data/vXX.X/actions/standard/saveGroupCensusMembersData
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 |
|---|---|---|
asyncBulkRequestItemId | string | ID of the async bulk request item to use as reference for creating insurance async bulk record details records. |
groupCensusId | string | ID of the parent group census record that’s associated with the group census member records. |
groupCensusMembers | sobject | Collection of group census member records to be save. Maximum limit size is 2000. |
operation | string | Required if asyncBulkRequestItemId isn’t specified. Operation to perform on the group census member records. Valid values are Add and Update. |
shouldLogErrors | boolean | Indicates whether errors that occur while saving group census member plans must be recorded in a content document ( true ) or not ( false ). The default values is false . |
| Output | Type | Description |
|---|---|---|
errorsData | Apex-defined | Collection of error records for synchronous Add Members and Update Members services. Maximum limit is 2000. |
savedGroupCensusMembers | sobject | Collection of group census member records that are created or updated during the execution of the action. It contains both primary and dependent members that are successfully processed. Maximum limit is 2000. |
Sample Request
Sample Response