Bulk Group Census Management Input

Input representation to bulk-process group census data from a CSV file.

JSON Example 

1{
2  "batchSize": 200,
3  "contentDocumentId": "069SG000003gLazYAE",
4  "contentDocumentVersionId": "0688d0000025fA3AAI",
5  "duplicateDetectionFields": {
6    "values": [
7      "FirstName",
8      "Lastname"
9    ]
10  },
11  "csvColumnMapping": {
12    "data": {
13      "First Name": "FirstName",
14      "Last Name": "Lastname",
15      "Email": "Email",
16      "Birthdate": "Birthdate",
17      "Gender": "Gender",
18      "Relationship to Primary Member": "AssociationWithPrimaryMbr",
19      "Medical": "ContractGroupPlan",
20      "Dental": "ContractGroupPlan",
21      "Group Class": "GroupClassName"
22    }
23  },
24  "shouldExecuteConfigurationRule": false
25}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
batchSizeIntegerNumber of CSV records to process in each batch.
The default size for Quote Census is 2000.
The default size for Enrollment Census is 25.
Optional65.0
content​DocumentIdStringID of the content document (CSV file) to process.Required65.0
contentDocument​VersionIdStringID of the specific version of the content document.Optional65.0
csvColumnMappingMap<String, String>Map where the key is the CSV column header and the value is the API name of the corresponding field in the GroupCensusMember object.Required65.0
duplicate​Detection​FieldsString[]List of field API names that are used to generate a unique key for identifying duplicate members along with the default values.
The default fields that are used to detect duplication are FirstName, LastName, groupCensusId, and AssociationWithPrimaryMbr.
Optional65.0
shouldExecute​Configuration​RuleBooleanIndicates whether to execute the configuration rules after processing the data (true) or not (false).
The default value is false.
Optional65.0