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 

InputTypeDescription
censusMemberPlanDataApex-definedAn Apex ind_ins_grpben__GroupCensusMemberNode record that contains census member plan records, such as group census members, member plans, and plan attributes.
groupCensusMemberPlansList<sObject>Collection of group census member plan records.
groupCensusMembersList<sObject>Collection of group census member records that are used to determine plan applicability.

Outputs 

OutputTypeDescription
censusMemberPlanDataApex-definedAn 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.
errorsDataApex-definedAn 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.
groupCensusMemberPlansList<sObject>Collection of group census member plan records.
groupCensusMembersList<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.

1{
2  "inputs": [
3    {
4      "censusMemberPlanData": [
5        {
6          "member": {
7            "FirstName": "Test_Primary",
8            "AssociationWithPrimaryMbr": "Self",
9            "OverrideTypeConfiguration": "Default",
10            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
11            "GroupClassId": "a1AXXXXXXXXXXXXAAA"
12          },
13          "plans": []
14        },
15        {
16          "member": {
17            "FirstName": "Test_Spouse",
18            "AssociationWithPrimaryMbr": "Spouse",
19            "OverrideTypeConfiguration": "Default",
20            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
21            "GroupClassId": "a1AXXXXXXXXXXXXAAA"
22          },
23          "plans": []
24        }
25      ]
26    }
27  ]
28}

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

1[
2  {
3    "actionName": "getApplicAutoAsgnMbrPlans",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outcome": null,
8    "outputValues": {
9      "censusMemberPlanData": [
10        {
11          "member": {
12            "FirstName": "Test_Primary",
13            "AssociationWithPrimaryMbr": "Self",
14            "OverrideTypeConfiguration": "Default",
15            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
16            "GroupClassId": "a1AXXXXXXXXXXXXAAA"
17          },
18          "plans": [
19            {
20              "plan": {
21                "PlanName": "Medical Gold",
22                "ContractGroupPlanId": "a0bXXXXXXXXXXXX001",
23                "planOperation": "Add"
24              },
25              "attributes": []
26            },
27            {
28              "plan": {
29                "PlanName": "Preventive Care",
30                "ContractGroupPlanId": "a0bXXXXXXXXXXXX002",
31                "ContractGroupPlan.ContractGroupParentPlanId": "a0bXXXXXXXXXXXX001",
32                "planOperation": "Add"
33              },
34              "attributes": []
35            }
36          ]
37        },
38        {
39          "member": {
40            "FirstName": "Test_Spouse",
41            "AssociationWithPrimaryMbr": "Spouse",
42            "OverrideTypeConfiguration": "Default",
43            "GroupCensusId": "0rfXXXXXXXXXXXXAAA",
44            "GroupClassId": "a1AXXXXXXXXXXXXAAA"
45          },
46          "plans": [
47            {
48              "plan": {
49                "PlanName": "Medical Gold",
50                "ContractGroupPlanId": "a0bXXXXXXXXXXXX001",
51                "planOperation": "Add"
52              },
53              "attributes": []
54            },
55            {
56              "plan": {
57                "PlanName": "Preventive Care",
58                "ContractGroupPlanId": "a0bXXXXXXXXXXXX002",
59                "ContractGroupPlan.ContractGroupParentPlanId": "a0bXXXXXXXXXXXX001",
60                "planOperation": "Add"
61              },
62              "attributes": []
63            }
64          ]
65        }
66      ],
67      "errorsData": []
68    },
69    "sortOrder": -1,
70    "version": 1
71  }
72]