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
}
]