---
schema_version: "1"
id: 584922960a1053e7e6767cdfb4804d62a4b83332734e4247861516df88ad9452
title: Process Member Plans for Mid-Term Adjustment Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/actions_obj_process_mid_term_adjustment_member_plans.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/actions_obj_process_mid_term_adjustment_member_plans.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 50fda15f9ad48dddbd68473c34fdaa35810158c2a601b70ce23cd8c8e3dbe7ff
description: Apply mid-term adjustment changes for group insurance policies to group census member plans.
---
# Process Member Plans for Mid-Term Adjustment Action

Apply mid-term adjustment changes for group insurance policies to group census member plans.

This action is available in API version 68.0 and later.

## Supported REST HTTP Methods

**URI**: /services/data/vXX.X/actions/standard/procMbrPlansForMidTermAdj

Where XX.X is the latest API version.

**Formats**: JSON, XML

**HTTP Methods**: POST

**Authentication**: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

## Inputs

| Input | Type | Description |
| --- | --- | --- |
| censusMemberPlanData | Apex-defined | An Apex ind\_ins\_grpben\_\_GroupCensusMemberNode record that contains the group census member plan records, such as group census members, member plans, and plan attributes. |
| groupCensusMemberPlans | List<sObject> | Collection of group census member plan records. |
| groupCensusMembers | List<sObject> | Collection of group census member records. |

## Outputs

| Output | Type | Description |
| --- | --- | --- |
| censusMemberPlanData | Apex-defined | An Apex ind\_ins\_grpben\_\_GroupCensusMemberNode record that contains the census member plan records, such as group census members, member plans, and plan attributes. |
| errorsData | Apex-defined | An Apex ind\_ins\_grpben\_\_ErrorDetails record that contains the errors that are encountered during the process. |
| groupCensusMemberPlans | List<sObject> | Collection of group census member plan records. |
| groupCensusMembers | List<sObject> | Collection of group census member records. |

## Example

**POST**

This sample request is for the Process Member Plans for Mid-Term Adjustment action.

{
  "inputs": \[
    {
      "censusMemberPlanData": \[
        {
          "member": {
            "EventType": "endorsement",
            "AssociationWithPrimaryMbr": "Self",
            "EventEffectiveDate": "2026-06-01",
            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
            "AccountId": "001XXXXXXXXXXXXAAA"
          },
          "plans": \[
            {
              "plan": {
                "PlanName": "Add>Medical Gold",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX001"
              },
              "attributes": \[\]
            },
            {
              "plan": {
                "PlanName": "Preventive Care",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX002",
                "ContractGroupPlan.ContractGroupParentPlanId": "a0bXXXXXXXXXXXX001"
              },
              "attributes": \[\]
            }
          \]
        },
        {
          "member": {
            "AssociationWithPrimaryMbr": "Spouse",
            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
            "AccountId": "001XXXXXXXXXXXXAAA"
          },
          "plans": \[
            {
              "plan": {
                "PlanName": "Medical Gold",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX001"
              },
              "attributes": \[\]
            },
            {
              "plan": {
                "PlanName": "Preventive Care",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX002",
                "ContractGroupPlan.ContractGroupParentPlanId": "a0bXXXXXXXXXXXX001"
              },
              "attributes": \[\]
            }
          \]
        }
      \]
    }
  \]
}

This sample response is for the Process Member Plans for Mid-Term Adjustment action.

\[
  {
    "actionName": "procMbrPlansForMidTermAdj",
    "errors": null,
    "invocationId": null,
    "isSuccess": true,
    "outcome": null,
    "outputValues": {
      "censusMemberPlanData": \[
        {
          "member": {
            "EventType": "endorsement",
            "AssociationWithPrimaryMbr": "Self",
            "EventEffectiveDate": "2026-06-01",
            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
            "AccountId": "001XXXXXXXXXXXXAAA"
          },
          "plans": \[
            {
              "plan": {
                "PlanName": "Medical Gold",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX001",
                "EventAction": "Add"
              },
              "attributes": \[\]
            },
            {
              "plan": {
                "PlanName": "Preventive Care",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX002",
                "ContractGroupPlan.ContractGroupParentPlanId": "a0bXXXXXXXXXXXX001",
                "EventAction": "Add"
              },
              "attributes": \[\]
            }
          \]
        },
        {
          "member": {
            "AssociationWithPrimaryMbr": "Spouse",
            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
            "AccountId": "001XXXXXXXXXXXXAAA"
          },
          "plans": \[
            {
              "plan": {
                "PlanName": "Medical Gold",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX001",
                "EventAction": "Add"
              },
              "attributes": \[\]
            },
            {
              "plan": {
                "PlanName": "Preventive Care",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX002",
                "ContractGroupPlan.ContractGroupParentPlanId": "a0bXXXXXXXXXXXX001",
                "EventAction": "Add"
              },
              "attributes": \[\]
            }
          \]
        }
      \],
      "errorsData": \[\]
    },
    "sortOrder": -1,
    "version": 1
  }
\]