Get Applicable Auto-Assigned Member Plans Action

Get a combined collection of group census member plans, including the specified plans and plans that are automatically assigned based on contract settings.

This action is available in API version 68.0 and later.

Supported REST HTTP Methods

URI: /services/data/vXX.X/actions/standard/getApplicAutoAsgnMbrPlans

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 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 that are used to determine plan applicability.

Outputs

Output Type Description
censusMemberPlanData Apex-defined An Apex ind_ins_grpben__GroupCensusMemberNode record that contains a collection of 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 a collection of error records that occurred during the retrieval of group census member and plans records.
groupCensusMemberPlans List<sObject> Collection of group census member plan records.
groupCensusMembers List<sObject> Collection of group census member records that are used to determine plan applicability.

Example

POST

This sample request is for the Get Applicable Member Plans action.

{
  "inputs": [
    {
      "censusMemberPlanData": [
        {
          "member": {
            "FirstName": "Test_Primary",
            "AssociationWithPrimaryMbr": "Self",
            "OverrideTypeConfiguration": "Default",
            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
            "GroupClassId": "a1AXXXXXXXXXXXXAAA"
          },
          "plans": []
        },
        {
          "member": {
            "FirstName": "Test_Spouse",
            "AssociationWithPrimaryMbr": "Spouse",
            "OverrideTypeConfiguration": "Default",
            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
            "GroupClassId": "a1AXXXXXXXXXXXXAAA"
          },
          "plans": []
        }
      ]
    }
  ]
}

This sample response is for the Get Applicable Member Plans action.

[
  {
    "actionName": "getApplicAutoAsgnMbrPlans",
    "errors": null,
    "invocationId": null,
    "isSuccess": true,
    "outcome": null,
    "outputValues": {
      "censusMemberPlanData": [
        {
          "member": {
            "FirstName": "Test_Primary",
            "AssociationWithPrimaryMbr": "Self",
            "OverrideTypeConfiguration": "Default",
            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
            "GroupClassId": "a1AXXXXXXXXXXXXAAA"
          },
          "plans": [
            {
              "plan": {
                "PlanName": "Medical Gold",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX001",
                "planOperation": "Add"
              },
              "attributes": []
            },
            {
              "plan": {
                "PlanName": "Preventive Care",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX002",
                "ContractGroupPlan.ContractGroupParentPlanId": "a0bXXXXXXXXXXXX001",
                "planOperation": "Add"
              },
              "attributes": []
            }
          ]
        },
        {
          "member": {
            "FirstName": "Test_Spouse",
            "AssociationWithPrimaryMbr": "Spouse",
            "OverrideTypeConfiguration": "Default",
            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
            "GroupClassId": "a1AXXXXXXXXXXXXAAA"
          },
          "plans": [
            {
              "plan": {
                "PlanName": "Medical Gold",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX001",
                "planOperation": "Add"
              },
              "attributes": []
            },
            {
              "plan": {
                "PlanName": "Preventive Care",
                "ContractGroupPlanId": "a0bXXXXXXXXXXXX002",
                "ContractGroupPlan.ContractGroupParentPlanId": "a0bXXXXXXXXXXXX001",
                "planOperation": "Add"
              },
              "attributes": []
            }
          ]
        }
      ],
      "errorsData": []
    },
    "sortOrder": -1,
    "version": 1
  }
]