postInsuranceGroupEndorsement(censusId, insuranceGroupEndorsementInputRepresentation)

Apply mid-term contract adjustments to the eligible member policies in a group census. Use this method after an endorsed contract version is created so that member policies reflect the contract changes.

68.0

No

public static ConnectApi.InsuranceGroupEndorsementRepresentation postInsuranceGroupEndorsement(String censusId, ConnectApi.InsuranceGroupEndorsementInputRepresentation insuranceGroupEndorsementInputRepresentation)

censusId

  • Type: String
  • ID of the group census whose eligible member policies are updated based on the contract mid-term adjustment.

insuranceGroupEndorsementInputRepresentation

Type: ConnectApi.InsuranceGroupEndorsementRepresentation

Use this method to apply mid-term contract adjustments to the eligible member policies in a group census. Specify the census in censusId. All properties on the input representation are optional.

To use a custom flow, set flowName to the flow’s API name. If you omit flowName, the method uses ind_ins_grpben__ApplyCntrAdjMbrPlcy. Set shouldReprice to false to keep the premiums from the existing GroupCensusMemberPlan records instead of recalculating them. The default value is true.

The census upload must be finished before you apply the adjustment. The method runs asynchronously. Use the requestId in the response to track the job. Errors that occur while validating or scheduling the job are in the errors property.

This example applies mid-term contract adjustments to the eligible member policies in a group census and recalculates premiums. Complete the census upload before you run this method.

This example uses the default flow and the default repricing behavior (shouldReprice is true).