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.
Validate Group Census Members Plans Action
This action is available in API version 66.0 and later.
Special Access Rules
To use this invocable action, you must have Digital Insurance Group Benefits Census Management user access and the org must be enabled with the Digital Insurance Group Benefits feature.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/validateGrpCensusMembersPlans
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearertoken
Inputs
You must specify one of these input parameters for the validation process.
- contextId
- groupCensusMembers
- memberPlansToDelete
- memberPlansToValidate
| Input | Details |
|---|---|
| contextId |
|
| groupCensusMembers |
|
| memberPlansToDelete |
|
| memberPlansToValidate |
|
| shouldExecuteConfigurationRule |
|
Outputs
| Output | Details |
|---|---|
| errorsData |
|
| validatedGroupCensusMemberPlans |
|
| validatedGroupCensusMembers |
|
Example
- POST
-
This sample request is for the Validate Group Census Members Plans action.
1{ 2 "inputs": [ 3 { 4 "groupCensusMembers": [ 5 { 6 "Id": "a1b2c3d4e5f6g7h8", 7 "MemberRefId": "M001", 8 "FirstName": "John", 9 "LastName": "Doe", 10 "GroupCensus": "gc_12345" 11 }, 12 { 13 "Id": "b2c3d4e5f6g7h8i9", 14 "MemberRefId": "M002", 15 "FirstName": "Jane", 16 "LastName": "Smith", 17 "GroupCensus": "gc_12345" 18 } 19 ], 20 "memberPlansToValidate": [ 21 { 22 "ContractGroupPlan": "plan_medical_001", 23 "GroupCensusMember": "a1b2c3d4e5f6g7h8", 24 "MemberRefId": "M001" 25 }, 26 { 27 "ContractGroupPlan": "plan_dental_001", 28 "GroupCensusMember": "a1b2c3d4e5f6g7h8", 29 "MemberRefId": "M001" 30 } 31 ], 32 "memberPlansToDelete": [ 33 { 34 "ContractGroupPlan": "plan_old_001", 35 "GroupCensusMember": "b2c3d4e5f6g7h8i9", 36 "MemberRefId": "M002" 37 } 38 ], 39 "contextId": "ctx_validation_12345", 40 "shouldExecuteConfigurationRule": true 41 } 42 ] 43} -
This sample response is for the Validate Group Census Members Plans action.
1{ 2 "outputs": [ 3 { 4 "validatedGroupCensusMembers": [ 5 { 6 "Id": "a1b2c3d4e5f6g7h8", 7 "MemberRefId": "M001", 8 "FirstName": "John", 9 "LastName": "Doe", 10 "Information": "Plans validated successfully", 11 "CensusMgmtUploadMemError": null 12 }, 13 { 14 "Id": "b2c3d4e5f6g7h8i9", 15 "MemberRefId": "M002", 16 "FirstName": "Jane", 17 "LastName": "Smith", 18 "Information": "Plan deletion validated", 19 "CensusMgmtUploadMemError": null 20 } 21 ], 22 "validatedGroupCensusMemberPlans": [ 23 { 24 "ContractGroupPlan": "plan_medical_001", 25 "GroupCensusMember": "a1b2c3d4e5f6g7h8", 26 "MemberRefId": "M001", 27 "PlanType": "AUTO_ADDED" 28 }, 29 { 30 "ContractGroupPlan": "plan_dental_001", 31 "GroupCensusMember": "a1b2c3d4e5f6g7h8", 32 "MemberRefId": "M001", 33 "PlanType": "AUTO_ADDED" 34 }, 35 { 36 "ContractGroupPlan": "plan_old_001", 37 "GroupCensusMember": "b2c3d4e5f6g7h8i9", 38 "MemberRefId": "M002", 39 "CensusMgmtUploadMemError": "Plan successfully marked for deletion" 40 } 41 ], 42 "errorsData": [] 43 } 44 ] 45}