postInsuranceIndividualEnrollment(insuranceIndividualEnrollmentInputParam, memberId)
Enroll a group census member in one or more insurance plans, creating the necessary policy records.
65.0
No
public static ConnectApi.InsuranceIndividualEnrollmentOutputRepresentation postInsuranceIndividualEnrollment(ConnectApi.InsuranceIndividualEnrollmentInputRepresentation insuranceIndividualEnrollmentInputParam, String memberId)
insuranceIndividualEnrollmentInputParam
- Type:
ConnectApi.InsuranceIndividualEnrollmentInputRepresentation - Details of the plans to enroll the member in.
memberId
- Type: String
- ID of the Group Census Member to enroll.
Type: ConnectApi.InsuranceIndividualEnrollmentOutputRepresentation
Here’s an example of how to invoke the Individual Enrollment API from Apex code.