Loading
Страхование
InsEnrollmentService:getEligibleMemberProducts

InsEnrollmentService:getEligibleMemberProducts

Используйте эту службу для возврата подходящих продуктов для участников переписи и группируйте их по типу.

Класс: InsEnrollmentService

Метод: getEligibleMemberProducts

Как это работает

  1. Эта служба выполняет contractId и ищет информацию из вложенного GroupCensus__c.

  2. Используя GroupCensus__c, полученный из contractId, служба извлекает всех основных GroupCensusMembers__c и их зависимых.

  3. censusRatingFact создается посредством кода продукта GroupCensus__c и AttributeSelectedValues__c.

  4. Параметры contractId и categories используются для извлечения ContractLineItem__c (планов) и связанных метаданных.

  5. Основная GroupCensusMembers__c использует censusRatingFact и AttributeSelectedValues__c основного участника и его зависимых для проверки права на участие в программе.

  6. Для каждого ContractLineItem__c контракта его EligibilityCriteria__c будет сравниваться с каждым вводом основного участника сверху.

    Если у участника есть подходящие продукты, служба прикрепит основного участника, отсортирует его по категории, потом добавит его к JSON вывода. Участники без подходящих продуктов не будут добавлены в выводной JSON.

Удаленные параметры

Параметр

Описание

contractId

Обязательно.

Код контракта.

category

Дополнительная строка.

Разделенный запятыми список категорий (медицинская, стоматологическая, Vision).

Возвращает планы только для указанных категорий.

По умолчанию = все категории.

onlyWhenMultiplePlansAvailable

Дополнительно.

Логическое значение.

Истина возвращает параметры только при наличии нескольких планов.

Используются для отображения участников с их доступными параметрами для каждой категории, чтобы пользователь мог сделать выбор.

onlyWhenSinglePlansAvailable

Дополнительно.

Логическое значение.

Параметр true возвращает только при наличии отдельных планов.

Используются для автоматической регистрации, если у участников есть только один вариант плана.

omitChildProducts

Логическое значение.

Если true, возвращаются только корневые продукты.

По умолчанию = false.

JSON ввода

Данная служба не использует JSON ввода.

Вывод JSON

Вывод JSON является списком участников переписи с Личным именем, Фамилией, Кодом участника переписи, Категориями продуктов, к которым они имеют право.

{
  "contractId": "8006F0000014asaQAA",
  "ContextId": "",
  "timeStamp": "2019-08-30T08:34:43.150Z",
  "userId": "0056F0000077bTYQAY",
  "userName": "john@company.com",
  "userProfile": "System Administrator",
  "userTimeZone": -420,
  "userCurrencyCode": "EUR",
  "sfdcIFrameOrigin": "https://company.com",
  "sfdcIFrameHost": "web",
  "layout": "lightning",
  "isdtp": "p1",
  "id": "a1e6F000004RxxkQAC",
  "vlcPersistentComponent": {},
  "totalSize": 0,
  "records": [
    {
      "displaySequence": -1,
      "Id": "a386F000001ao9xQAA",
      "FirstName": "Lynn",
      "LastName": "Robbins",
      "Medical": {
        "totalSize": 1,
        "records": [
          {
            "displaySequence": -1,
            "Id": "01t6F00000AyW3ZQAV",
            "planId": "a1u6F000005ipRCQAY",
            "productName": "Acupuncture Office Professional",
            "Type": "Medical",
            "Description": "Anthem",
            "ProductCode": "AcupOffiProf",
            "MarketSegment": "Large Group",
            "LineOfBusiness": "Group Health",
            "attributeCategories": {
              "totalSize": 2,
              "records": [
                {
                  "productAttributes": {
                    "records": [
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Covered at",
                        "attributeId": "a1R6F00000Km1XLUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "percentage",
                        "code": "INN_covered"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "value": "yes",
                            "disabled": false,
                            "readonly": false,
                            "label": "Yes",
                            "id": "0"
                          },
                          {
                            "value": "no",
                            "disabled": false,
                            "readonly": false,
                            "label": "No",
                            "id": "1"
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Deductible",
                        "attributeId": "a1R6F00000Km1XMUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "dropdown",
                        "dataType": "text",
                        "code": "INN_deductible"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 3,
                        "label": "Copay",
                        "attributeId": "a1R6F00000Km1XNUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "INN_copay"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 5,
                        "label": "IN covered",
                        "attributeId": "a1R6F00000Km1XKUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "checkbox",
                        "dataType": "text",
                        "code": "INNetwork_covered"
                      }
                    ],
                    "totalSize": 4
                  },
                  "id": "a1Q6F00000FR6uJUAT",
                  "Name": "In-Network",
                  "Code__c": "Vlocity_INN",
                  "displaySequence": 210
                },
                {
                  "productAttributes": {
                    "records": [
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Covered at",
                        "attributeId": "a1R6F00000Km1ZGUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "percentage",
                        "code": "OON_covered"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "value": "yes",
                            "disabled": false,
                            "readonly": false,
                            "label": "Yes",
                            "id": "0"
                          },
                          {
                            "value": "no",
                            "disabled": false,
                            "readonly": false,
                            "label": "No",
                            "id": "1"
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Deductible",
                        "attributeId": "a1R6F00000Km1ZHUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "radio",
                        "dataType": "text",
                        "code": "OON_deductible"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 3,
                        "label": "Copay",
                        "attributeId": "a1R6F00000Km1ZIUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "OON_copay"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 4,
                        "label": "ON Covered",
                        "attributeId": "a1R6F00000Km1ZFUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "checkbox",
                        "dataType": "text",
                        "code": "OutNetwork_covered"
                      }
                    ],
                    "totalSize": 4
                  },
                  "id": "a1Q6F00000FR6vIUAT",
                  "Name": "Out-Of-Network",
                  "Code__c": "ANTM_OON",
                  "displaySequence": 220
                }
              ]
            }
          }
        ]
      },
      "Dental": {
        "totalSize": 1,
        "records": [
          {
            "displaySequence": -1,
            "Id": "01t6F000007sPVlQAM",
            "planId": "a1u6F000005j7AlQAI",
            "productName": "Dental 2",
            "Type": "Dental",
            "ProductCode": "DENTAL2",
            "attributeCategories": {
              "totalSize": 1,
              "records": [
                {
                  "productAttributes": {
                    "records": [
                      {
                        "userValues": null,
                        "values": [
                          {
                            "disabled": true,
                            "readonly": true
                          }
                        ],
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Office Visits & Exams",
                        "attributeId": "a1R6F00000K0X4sUAF",
                        "filterable": true,
                        "disabled": false,
                        "readonly": true,
                        "required": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "ILLNESS"
                      },
                      {
                        "userValues": null,
                        "values": [
                          {
                            "disabled": true,
                            "readonly": true
                          }
                        ],
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Unexpected Illness",
                        "attributeId": "a1R6F00000K0X4tUAF",
                        "filterable": true,
                        "disabled": false,
                        "readonly": true,
                        "required": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "ILL-UNEXPECTED"
                      }
                    ],
                    "totalSize": 2
                  },
                  "id": "a1Q6F000009NzKhUAK",
                  "Name": "Benefit",
                  "Code__c": "BENEFIT",
                  "displaySequence": 483
                }
              ]
            }
          }
        ]
      }
    },
    {
      "displaySequence": -1,
      "Id": "a386F000001aoA0QAI",
      "FirstName": "Mara",
      "LastName": "Robbins",
      "Medical": {
        "totalSize": 1,
        "records": [
          {
            "displaySequence": -1,
            "Id": "01t6F00000AyW3ZQAV",
            "planId": "a1u6F000005ipRCQAY",
            "productName": "Acupuncture Office Professional",
            "Type": "Medical",
            "Description": "Anthem",
            "ProductCode": "AcupOffiProf",
            "MarketSegment": "Large Group",
            "LineOfBusiness": "Group Health",
            "attributeCategories": {
              "totalSize": 2,
              "records": [
                {
                  "productAttributes": {
                    "records": [
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Covered at",
                        "attributeId": "a1R6F00000Km1XLUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "percentage",
                        "code": "INN_covered"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "value": "yes",
                            "disabled": false,
                            "readonly": false,
                            "label": "Yes",
                            "id": "0"
                          },
                          {
                            "value": "no",
                            "disabled": false,
                            "readonly": false,
                            "label": "No",
                            "id": "1"
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Deductible",
                        "attributeId": "a1R6F00000Km1XMUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "dropdown",
                        "dataType": "text",
                        "code": "INN_deductible"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 3,
                        "label": "Copay",
                        "attributeId": "a1R6F00000Km1XNUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "INN_copay"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 5,
                        "label": "IN covered",
                        "attributeId": "a1R6F00000Km1XKUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "checkbox",
                        "dataType": "text",
                        "code": "INNetwork_covered"
                      }
                    ],
                    "totalSize": 4
                  },
                  "id": "a1Q6F00000FR6uJUAT",
                  "Name": "In-Network",
                  "Code__c": "Vlocity_INN",
                  "displaySequence": 210
                },
                {
                  "productAttributes": {
                    "records": [
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Covered at",
                        "attributeId": "a1R6F00000Km1ZGUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "percentage",
                        "code": "OON_covered"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "value": "yes",
                            "disabled": false,
                            "readonly": false,
                            "label": "Yes",
                            "id": "0"
                          },
                          {
                            "value": "no",
                            "disabled": false,
                            "readonly": false,
                            "label": "No",
                            "id": "1"
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Deductible",
                        "attributeId": "a1R6F00000Km1ZHUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "radio",
                        "dataType": "text",
                        "code": "OON_deductible"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 3,
                        "label": "Copay",
                        "attributeId": "a1R6F00000Km1ZIUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "OON_copay"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 4,
                        "label": "ON Covered",
                        "attributeId": "a1R6F00000Km1ZFUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "checkbox",
                        "dataType": "text",
                        "code": "OutNetwork_covered"
                      }
                    ],
                    "totalSize": 4
                  },
                  "id": "a1Q6F00000FR6vIUAT",
                  "Name": "Out-Of-Network",
                  "Code__c": "ANTM_OON",
                  "displaySequence": 220
                }
              ]
            }
          }
        ]
      },
      "Dental": {
        "totalSize": 1,
        "records": [
          {
            "displaySequence": -1,
            "Id": "01t6F000007sPVlQAM",
            "planId": "a1u6F000005j7AlQAI",
            "productName": "Dental 2",
            "Type": "Dental",
            "ProductCode": "DENTAL2",
            "attributeCategories": {
              "totalSize": 1,
              "records": [
                {
                  "productAttributes": {
                    "records": [
                      {
                        "userValues": null,
                        "values": [
                          {
                            "disabled": true,
                            "readonly": true
                          }
                        ],
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Office Visits & Exams",
                        "attributeId": "a1R6F00000K0X4sUAF",
                        "filterable": true,
                        "disabled": false,
                        "readonly": true,
                        "required": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "ILLNESS"
                      },
                      {
                        "userValues": null,
                        "values": [
                          {
                            "disabled": true,
                            "readonly": true
                          }
                        ],
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Unexpected Illness",
                        "attributeId": "a1R6F00000K0X4tUAF",
                        "filterable": true,
                        "disabled": false,
                        "readonly": true,
                        "required": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "ILL-UNEXPECTED"
                      }
                    ],
                    "totalSize": 2
                  },
                  "id": "a1Q6F000009NzKhUAK",
                  "Name": "Benefit",
                  "Code__c": "BENEFIT",
                  "displaySequence": 483
                }
              ]
            }
          }
        ]
      }
    },
    {
      "displaySequence": -1,
      "Id": "a386F000001ao9yQAA",
      "FirstName": "Bill",
      "LastName": "William",
      "Medical": {
        "totalSize": 1,
        "records": [
          {
            "displaySequence": -1,
            "Id": "01t6F00000AyW3ZQAV",
            "planId": "a1u6F000005ipRCQAY",
            "productName": "Acupuncture Office Professional",
            "Type": "Medical",
            "Description": "Anthem",
            "ProductCode": "AcupOffiProf",
            "MarketSegment": "Large Group",
            "LineOfBusiness": "Group Health",
            "attributeCategories": {
              "totalSize": 2,
              "records": [
                {
                  "productAttributes": {
                    "records": [
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Covered at",
                        "attributeId": "a1R6F00000Km1XLUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "percentage",
                        "code": "INN_covered"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "value": "yes",
                            "disabled": false,
                            "readonly": false,
                            "label": "Yes",
                            "id": "0"
                          },
                          {
                            "value": "no",
                            "disabled": false,
                            "readonly": false,
                            "label": "No",
                            "id": "1"
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Deductible",
                        "attributeId": "a1R6F00000Km1XMUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "dropdown",
                        "dataType": "text",
                        "code": "INN_deductible"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 3,
                        "label": "Copay",
                        "attributeId": "a1R6F00000Km1XNUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "INN_copay"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 5,
                        "label": "IN covered",
                        "attributeId": "a1R6F00000Km1XKUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "checkbox",
                        "dataType": "text",
                        "code": "INNetwork_covered"
                      }
                    ],
                    "totalSize": 4
                  },
                  "id": "a1Q6F00000FR6uJUAT",
                  "Name": "In-Network",
                  "Code__c": "Vlocity_INN",
                  "displaySequence": 210
                },
                {
                  "productAttributes": {
                    "records": [
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Covered at",
                        "attributeId": "a1R6F00000Km1ZGUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "percentage",
                        "code": "OON_covered"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "value": "yes",
                            "disabled": false,
                            "readonly": false,
                            "label": "Yes",
                            "id": "0"
                          },
                          {
                            "value": "no",
                            "disabled": false,
                            "readonly": false,
                            "label": "No",
                            "id": "1"
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Deductible",
                        "attributeId": "a1R6F00000Km1ZHUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "radio",
                        "dataType": "text",
                        "code": "OON_deductible"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 3,
                        "label": "Copay",
                        "attributeId": "a1R6F00000Km1ZIUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "OON_copay"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 4,
                        "label": "ON Covered",
                        "attributeId": "a1R6F00000Km1ZFUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "checkbox",
                        "dataType": "text",
                        "code": "OutNetwork_covered"
                      }
                    ],
                    "totalSize": 4
                  },
                  "id": "a1Q6F00000FR6vIUAT",
                  "Name": "Out-Of-Network",
                  "Code__c": "ANTM_OON",
                  "displaySequence": 220
                }
              ]
            }
          }
        ]
      },
      "Dental": {
        "totalSize": 1,
        "records": [
          {
            "displaySequence": -1,
            "Id": "01t6F000007sPVlQAM",
            "planId": "a1u6F000005j7AlQAI",
            "productName": "Dental 2",
            "Type": "Dental",
            "ProductCode": "DENTAL2",
            "attributeCategories": {
              "totalSize": 1,
              "records": [
                {
                  "productAttributes": {
                    "records": [
                      {
                        "userValues": null,
                        "values": [
                          {
                            "disabled": true,
                            "readonly": true
                          }
                        ],
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Office Visits & Exams",
                        "attributeId": "a1R6F00000K0X4sUAF",
                        "filterable": true,
                        "disabled": false,
                        "readonly": true,
                        "required": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "ILLNESS"
                      },
                      {
                        "userValues": null,
                        "values": [
                          {
                            "disabled": true,
                            "readonly": true
                          }
                        ],
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Unexpected Illness",
                        "attributeId": "a1R6F00000K0X4tUAF",
                        "filterable": true,
                        "disabled": false,
                        "readonly": true,
                        "required": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "ILL-UNEXPECTED"
                      }
                    ],
                    "totalSize": 2
                  },
                  "id": "a1Q6F000009NzKhUAK",
                  "Name": "Benefit",
                  "Code__c": "BENEFIT",
                  "displaySequence": 483
                }
              ]
            }
          }
        ]
      }
    },
    {
      "displaySequence": -1,
      "Id": "a386F000001ao9zQAA",
      "FirstName": "Bob",
      "LastName": "Jason",
      "Medical": {
        "totalSize": 1,
        "records": [
          {
            "displaySequence": -1,
            "Id": "01t6F00000AyW3ZQAV",
            "planId": "a1u6F000005ipRCQAY",
            "productName": "Acupuncture Office Professional",
            "Type": "Medical",
            "Description": "Anthem",
            "ProductCode": "AcupOffiProf",
            "MarketSegment": "Large Group",
            "LineOfBusiness": "Group Health",
            "attributeCategories": {
              "totalSize": 2,
              "records": [
                {
                  "productAttributes": {
                    "records": [
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Covered at",
                        "attributeId": "a1R6F00000Km1XLUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "percentage",
                        "code": "INN_covered"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "value": "yes",
                            "disabled": false,
                            "readonly": false,
                            "label": "Yes",
                            "id": "0"
                          },
                          {
                            "value": "no",
                            "disabled": false,
                            "readonly": false,
                            "label": "No",
                            "id": "1"
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Deductible",
                        "attributeId": "a1R6F00000Km1XMUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "dropdown",
                        "dataType": "text",
                        "code": "INN_deductible"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 3,
                        "label": "Copay",
                        "attributeId": "a1R6F00000Km1XNUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "INN_copay"
                      },
                      {
                        "attributeGroupType": "In-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 5,
                        "label": "IN covered",
                        "attributeId": "a1R6F00000Km1XKUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "checkbox",
                        "dataType": "text",
                        "code": "INNetwork_covered"
                      }
                    ],
                    "totalSize": 4
                  },
                  "id": "a1Q6F00000FR6uJUAT",
                  "Name": "In-Network",
                  "Code__c": "Vlocity_INN",
                  "displaySequence": 210
                },
                {
                  "productAttributes": {
                    "records": [
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Covered at",
                        "attributeId": "a1R6F00000Km1ZGUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "percentage",
                        "code": "OON_covered"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "value": "yes",
                            "disabled": false,
                            "readonly": false,
                            "label": "Yes",
                            "id": "0"
                          },
                          {
                            "value": "no",
                            "disabled": false,
                            "readonly": false,
                            "label": "No",
                            "id": "1"
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Deductible",
                        "attributeId": "a1R6F00000Km1ZHUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "radio",
                        "dataType": "text",
                        "code": "OON_deductible"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 3,
                        "label": "Copay",
                        "attributeId": "a1R6F00000Km1ZIUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "OON_copay"
                      },
                      {
                        "attributeGroupType": "Out-Of-Network",
                        "userValues": null,
                        "values": [
                          {
                            "disabled": false,
                            "readonly": false
                          }
                        ],
                        "isNotTranslatable": false,
                        "cloneable": true,
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 4,
                        "label": "ON Covered",
                        "attributeId": "a1R6F00000Km1ZFUAZ",
                        "filterable": true,
                        "disabled": false,
                        "readonly": false,
                        "required": false,
                        "multiselect": false,
                        "inputType": "checkbox",
                        "dataType": "text",
                        "code": "OutNetwork_covered"
                      }
                    ],
                    "totalSize": 4
                  },
                  "id": "a1Q6F00000FR6vIUAT",
                  "Name": "Out-Of-Network",
                  "Code__c": "ANTM_OON",
                  "displaySequence": 220
                }
              ]
            }
          }
        ]
      },
      "Dental": {
        "totalSize": 1,
        "records": [
          {
            "displaySequence": -1,
            "Id": "01t6F000007sPVlQAM",
            "planId": "a1u6F000005j7AlQAI",
            "productName": "Dental 2",
            "Type": "Dental",
            "ProductCode": "DENTAL2",
            "attributeCategories": {
              "totalSize": 1,
              "records": [
                {
                  "productAttributes": {
                    "records": [
                      {
                        "userValues": null,
                        "values": [
                          {
                            "disabled": true,
                            "readonly": true
                          }
                        ],
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 1,
                        "label": "Office Visits & Exams",
                        "attributeId": "a1R6F00000K0X4sUAF",
                        "filterable": true,
                        "disabled": false,
                        "readonly": true,
                        "required": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "ILLNESS"
                      },
                      {
                        "userValues": null,
                        "values": [
                          {
                            "disabled": true,
                            "readonly": true
                          }
                        ],
                        "hidden": false,
                        "hasRules": false,
                        "displaySequence": 2,
                        "label": "Unexpected Illness",
                        "attributeId": "a1R6F00000K0X4tUAF",
                        "filterable": true,
                        "disabled": false,
                        "readonly": true,
                        "required": false,
                        "inputType": "number",
                        "dataType": "currency",
                        "code": "ILL-UNEXPECTED"
                      }
                    ],
                    "totalSize": 2
                  },
                  "id": "a1Q6F000009NzKhUAK",
                  "Name": "Benefit",
                  "Code__c": "BENEFIT",
                  "displaySequence": 483
                }
              ]
            }
          }
        ]
      }
    }
  ]
}
 
Загрузка
Salesforce Help | Article