Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Get Group Census Members Action
The action processes bulk member data that are uploaded through census management workflows, validates the data, identifies duplicate records, and returns structured member records for saving or further processing. It returns all transformed member records along with detailed error information for any records that fail validation.
This action is available in API version 66.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/getGroupCensusMembers
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearertoken
Inputs
| Input | Details |
|---|---|
| asyncBulkRequestItem |
|
Outputs
| Output | Details |
|---|---|
| duplicateDetectionKeysList |
|
| errorsData |
|
| groupCensusId |
|
| groupCensusMembers |
|
Example
- POST
-
This sample request is for the Get Group Census Members action.
1{ 2 "inputs": [ 3 { 4 "AdditionalInformation": "{employeeBulkRequestInfo:{groupCensusId:0rfSG0000000vclYAA,contentDocumentName:Archit50Records With groupClass - Archit50Records With groupClass (1),contentDocumentId:069SG000004lwPdYAI,contentDocumentVersion:068SG000004PIp3YAG,duplicateDetectionFields:[Gender,FirstName,Lastname,AssociationWithPrimaryMbr,GroupCensusId],batchSize:null,csvColumnMapping:{First Name:FirstName,Last Name:Lastname,Gender:Gender,Birthdate:Birthdate,SmokerStatus:SmokerStatus,Relationship:AssociationWithPrimaryMbr,Group Class:GroupClassName},executeRules:false},startRowNumber:1,endRowNumber:27,startByteOffset:83,endByteOffset:1717,csvHeader:First Name,Last Name,Gender,Birthdate,Relationship,SmokerStatus,Group Class,Errors,duplicateRowNumbersList:[],shouldExecuteConfigurationRule:false}", 5 "Id": "18cSG0000003DgfYAE" 6 } 7 ] 8} -
This sample response is for the Get Group Census Members action.
1[ 2 { 3 "actionName": "getGroupCensusMembers", 4 "errors": null, 5 "isSuccess": true, 6 "outputValues": { 7 "duplicateDetectionKeysList": [], 8 "groupCensusId": "0rfSG0000000zY9YAI", 9 "groupCensusMembers": [ 10 { 11 "Email": "ross.farley_0001@insgroup.co.in", 12 "AssociationWithPrimaryMbr": "Self", 13 "FirstName": "Ross", 14 "Lastname": "Farley", 15 "Country": "Health Comprehensive|Chronic Disease", 16 "Gender": "Male", 17 "Birthdate": "08/07/1981" 18 }, 19 { 20 "Email": "teagan.wallace_0001@gmail.com", 21 "AssociationWithPrimaryMbr": "Spouse", 22 "FirstName": "Teagan", 23 "Lastname": "Wallace", 24 "Country": "Health Comprehensive|Critical Illness & Surgery", 25 "Gender": "Female", 26 "Birthdate": "08/07/1986" 27 } 28 ] 29 } 30 } 31]