Get all group scheme members

GET /api/v1/plans/{plan_uuid}/group-scheme-members

Retrieve the group scheme members for a plan

Path parameters

  • plan_uuid string Required

    uuid The UUID of the group scheme plan.

Query parameters

  • Filter by a comma separated list of UUIDs.

  • Filter members by name. This is a partial match against first_name, last_name, and entity_name together.

  • Filter members by their status. Options: active, inactive, proposed

  • date Filter staff members by their on_risk_at. This can be a single value for one date or use a comma to search between. E.g 2021-01-01,2023-12-31

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at, premium, status]. Negative sign to denote DESC. Defaults to '-created_at'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]

      Additional properties are allowed.

GET /api/v1/plans/{plan_uuid}/group-scheme-members
curl \
 -X GET https://api.plannrcrm.com/api/v1/plans/plan_uuid/group-scheme-members \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "data": [
    {
      "name": "Johns ISA",
      "tags": [
        {
          "name": "Mortgage",
          "slug": "mortgage",
          "uuid": "abe34156-2219-4d39-9c06-f003b5d7a276",
          "colour": "#ef4582",
          "created_at": "2024-11-20T13:24:03+00:00",
          "updated_at": "2024-11-20T13:24:03+00:00"
        }
      ],
      "type": "cash_account",
      "uuid": "365bf48c-7a25-4feb-9d74-0d580098ca0a",
      "wrap": {
        "name": "Johns ISA",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "cash_account",
        "uuid": "8bab3916-ccbf-4053-a285-1d09040acc0c",
        "wrap": "App\\Http\\Resources\\Plans\\PlanResource",
        "cases": "App\\Http\\Resources\\CasesResource",
        "value": {
          "amount": {
            "example": "4000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£40.00",
            "description": "Money amount formatted with currency"
          }
        },
        "claims": "App\\Http\\Resources\\Plans\\ClaimResource",
        "client": "App\\Http\\Resources\\AccountResource",
        "covers": "App\\Http\\Resources\\Plans\\CoverResource",
        "seller": "App\\Http\\Resources\\AccountResource",
        "status": "inactive",
        "on_panel": true,
        "provider": "App\\Http\\Resources\\Plans\\ProviderResource",
        "sub_type": "lifetime isa",
        "opened_at": "2024-11-20T13:24:03+00:00",
        "valued_at": "2024-11-20T13:24:03+00:00",
        "created_at": "2024-11-20T13:24:03+00:00",
        "statistics": {
          "recent_growth": 100
        },
        "updated_at": "2024-11-20T13:24:03+00:00",
        "advice_area": "non_investment_insurance",
        "inactive_at": "2024-11-20T13:24:03+00:00",
        "review_date": "2023-11-20",
        "linked_plans": "App\\Http\\Resources\\Plans\\PlanResource",
        "main_account": "App\\Http\\Resources\\Plans\\SubAccountResource",
        "sub_accounts": "App\\Http\\Resources\\Plans\\SubAccountResource",
        "under_advice": true,
        "abstract_type": "asset",
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "is_wrap_child": false,
        "linked_owners": "App\\Http\\Resources\\AccountResource",
        "policy_number": "AVIVA-123",
        "show_on_joint": true,
        "wrap_children": "App\\Http\\Resources\\Plans\\PlanResource",
        "can_be_deleted": "false",
        "total_benefits": {
          "critical_illness": {
            "amount": {
              "example": "15000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£150,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "family_income_benefit": {
            "amount": {
              "example": "10000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£100,000.00",
              "description": "Money amount formatted with currency"
            }
          }
        },
        "inactive_reason": "claimed",
        "is_group_scheme": false,
        "is_wrap_product": false,
        "latest_valuations": "App\\Http\\Resources\\Plans\\ValuationResource",
        "proposal_reference": "AB123456",
        "agency_in_your_name": true,
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "is_sub_group_scheme": false,
        "total_benefit_amount": {
          "amount": {
            "example": "25000000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£250,000.00",
            "description": "Money amount formatted with currency"
          }
        },
        "is_group_scheme_member": false,
        "originally_sold_by_firm": true,
        "agency_in_your_name_from": "2023-11-20",
        "contract_enquiry_account": "App\\Http\\Resources\\AccountResource",
        "visible_on_client_portal": true,
        "include_in_client_valuation": true
      },
      "cases": [
        {
          "name": "finance",
          "slug": "finance",
          "type": "App\\Http\\Resources\\CasesTypeResource",
          "uuid": "bc18b2a2-155a-4b50-8cf4-ce2809067c29",
          "plans": "App\\Http\\Resources\\Plans\\PlanResource",
          "value": {
            "amount": {
              "example": "4000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£40.00",
              "description": "Money amount formatted with currency"
            }
          },
          "status": "App\\Http\\Resources\\CasesStatusResource",
          "created_at": "2024-11-20T13:24:03+00:00",
          "updated_at": "2024-11-20T13:24:03+00:00",
          "completed_at": "2024-11-20T13:24:03+00:00",
          "participants": "App\\Http\\Resources\\AccountResource",
          "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
          "status_position": 4,
          "task_board_uuid": "86b88280-50d2-44d3-a73b-28547825284d",
          "participants_count": 4
        }
      ],
      "value": {
        "amount": {
          "example": "4000",
          "description": "Money amount at their lowest denominator (for example: pennies)"
        },
        "currency": {
          "example": "GBP",
          "description": "Currency of the money"
        },
        "formatted": {
          "example": "£40.00",
          "description": "Money amount formatted with currency"
        }
      },
      "claims": [
        {
          "uuid": "2b3043ac-1c1f-4dd8-805e-7aaa8123fd33",
          "client": "App\\Http\\Resources\\AccountResource",
          "created_at": "2024-11-20T13:24:03+00:00",
          "updated_at": "2024-11-20T13:24:03+00:00",
          "claim_notes": "Claim notes",
          "claim_amount": {
            "amount": {
              "example": "25000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£250,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "claim_end_date": "2029-11-20",
          "claim_start_date": "2023-11-20"
        }
      ],
      "client": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "1ea6ed1d-dfc8-4ced-9fe5-dfea3eeb452c",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2024-11-20T13:24:03+00:00",
        "first_name": "Gareth",
        "updated_at": "2024-11-20T13:24:03+00:00",
        "with_login": true,
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "introduced_by": "App\\Http\\Resources\\AccountResource",
        "primary_email": "App\\Http\\Resources\\ContactDetailResource",
        "can_be_deleted": "false",
        "assigned_adviser": "App\\Http\\Resources\\AccountResource",
        "next_review_date": "2024-11-20T13:24:03+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2024-11-20T13:24:03+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2024-11-20T13:24:03+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2024-11-20T13:24:03+00:00"
      },
      "covers": [
        {
          "uuid": "18aa669a-701c-4610-aa97-2db8dd403f47",
          "client": "App\\Http\\Resources\\AccountResource",
          "excess": {
            "amount": {
              "example": "10000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£100.00",
              "description": "Money amount formatted with currency"
            }
          },
          "cover_type": "critical_illness",
          "created_at": "2024-11-20T13:24:03+00:00",
          "indexation": 1.4,
          "updated_at": "2024-11-20T13:24:03+00:00",
          "benefit_amount": {
            "amount": {
              "example": "25000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£250,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "benefit_status": "active",
          "benefit_frequency": "monthly"
        }
      ],
      "seller": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "b07d0111-9f70-40be-9ca1-4b3b8e7bb70b",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2024-11-20T13:24:03+00:00",
        "first_name": "Gareth",
        "updated_at": "2024-11-20T13:24:03+00:00",
        "with_login": true,
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "introduced_by": "App\\Http\\Resources\\AccountResource",
        "primary_email": "App\\Http\\Resources\\ContactDetailResource",
        "can_be_deleted": "false",
        "assigned_adviser": "App\\Http\\Resources\\AccountResource",
        "next_review_date": "2024-11-20T13:24:03+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2024-11-20T13:24:03+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2024-11-20T13:24:03+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2024-11-20T13:24:03+00:00"
      },
      "status": "inactive",
      "on_panel": true,
      "provider": {
        "name": "AJ Bell",
        "slug": "aj-bell",
        "uuid": "1863a4b0-4181-4192-93c3-76e354ad29ec",
        "created_at": "2024-11-20T13:24:03+00:00",
        "updated_at": "2024-11-20T13:24:03+00:00"
      },
      "sub_type": "lifetime isa",
      "opened_at": "2024-11-20T13:24:03+00:00",
      "valued_at": "2024-11-20T13:24:03+00:00",
      "created_at": "2024-11-20T13:24:03+00:00",
      "statistics": {
        "recent_growth": 100
      },
      "updated_at": "2024-11-20T13:24:03+00:00",
      "advice_area": "non_investment_insurance",
      "inactive_at": "2024-11-20T13:24:03+00:00",
      "review_date": "2023-11-20",
      "group_scheme": {
        "name": "Johns ISA",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "cash_account",
        "uuid": "315240ec-7c0e-44eb-9043-55294da26fbf",
        "wrap": "App\\Http\\Resources\\Plans\\PlanResource",
        "cases": "App\\Http\\Resources\\CasesResource",
        "value": {
          "amount": {
            "example": "4000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£40.00",
            "description": "Money amount formatted with currency"
          }
        },
        "claims": "App\\Http\\Resources\\Plans\\ClaimResource",
        "client": "App\\Http\\Resources\\AccountResource",
        "covers": "App\\Http\\Resources\\Plans\\CoverResource",
        "seller": "App\\Http\\Resources\\AccountResource",
        "status": "inactive",
        "on_panel": true,
        "provider": "App\\Http\\Resources\\Plans\\ProviderResource",
        "sub_type": "lifetime isa",
        "opened_at": "2024-11-20T13:24:03+00:00",
        "valued_at": "2024-11-20T13:24:03+00:00",
        "created_at": "2024-11-20T13:24:03+00:00",
        "statistics": {
          "recent_growth": 100
        },
        "updated_at": "2024-11-20T13:24:03+00:00",
        "advice_area": "non_investment_insurance",
        "inactive_at": "2024-11-20T13:24:03+00:00",
        "review_date": "2023-11-20",
        "group_scheme": "App\\Http\\Resources\\Plans\\GroupSchemeMemberResource",
        "linked_plans": "App\\Http\\Resources\\Plans\\GroupSchemeMemberResource",
        "main_account": "App\\Http\\Resources\\Plans\\SubAccountResource",
        "sub_accounts": "App\\Http\\Resources\\Plans\\SubAccountResource",
        "under_advice": true,
        "abstract_type": "asset",
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "is_wrap_child": false,
        "linked_owners": "App\\Http\\Resources\\AccountResource",
        "policy_number": "AVIVA-123",
        "show_on_joint": true,
        "wrap_children": "App\\Http\\Resources\\Plans\\PlanResource",
        "can_be_deleted": "false",
        "total_benefits": {
          "critical_illness": {
            "amount": {
              "example": "15000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£150,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "family_income_benefit": {
            "amount": {
              "example": "10000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£100,000.00",
              "description": "Money amount formatted with currency"
            }
          }
        },
        "inactive_reason": "claimed",
        "is_group_scheme": false,
        "is_wrap_product": false,
        "latest_valuations": "App\\Http\\Resources\\Plans\\ValuationResource",
        "proposal_reference": "AB123456",
        "agency_in_your_name": true,
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "is_sub_group_scheme": false,
        "total_benefit_amount": {
          "amount": {
            "example": "25000000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£250,000.00",
            "description": "Money amount formatted with currency"
          }
        },
        "is_group_scheme_member": true,
        "originally_sold_by_firm": true,
        "agency_in_your_name_from": "2023-11-20",
        "contract_enquiry_account": "App\\Http\\Resources\\AccountResource",
        "visible_on_client_portal": true,
        "group_scheme_member_detail": {
          "workplace_location": "London",
          "employment_division": "Management"
        },
        "include_in_client_valuation": true
      },
      "linked_plans": [
        {
          "name": "Johns ISA",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "cash_account",
          "uuid": "02a74a2e-6444-47a0-b2e1-2322852b4faf",
          "wrap": "App\\Http\\Resources\\Plans\\PlanResource",
          "cases": "App\\Http\\Resources\\CasesResource",
          "value": {
            "amount": {
              "example": "4000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£40.00",
              "description": "Money amount formatted with currency"
            }
          },
          "claims": "App\\Http\\Resources\\Plans\\ClaimResource",
          "client": "App\\Http\\Resources\\AccountResource",
          "covers": "App\\Http\\Resources\\Plans\\CoverResource",
          "seller": "App\\Http\\Resources\\AccountResource",
          "status": "inactive",
          "on_panel": true,
          "provider": "App\\Http\\Resources\\Plans\\ProviderResource",
          "sub_type": "lifetime isa",
          "opened_at": "2024-11-20T13:24:03+00:00",
          "valued_at": "2024-11-20T13:24:03+00:00",
          "created_at": "2024-11-20T13:24:03+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2024-11-20T13:24:03+00:00",
          "advice_area": "non_investment_insurance",
          "inactive_at": "2024-11-20T13:24:03+00:00",
          "review_date": "2023-11-20",
          "group_scheme": "App\\Http\\Resources\\Plans\\GroupSchemeMemberResource",
          "linked_plans": "App\\Http\\Resources\\Plans\\GroupSchemeMemberResource",
          "main_account": "App\\Http\\Resources\\Plans\\SubAccountResource",
          "sub_accounts": "App\\Http\\Resources\\Plans\\SubAccountResource",
          "under_advice": true,
          "abstract_type": "asset",
          "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
          "is_wrap_child": false,
          "linked_owners": "App\\Http\\Resources\\AccountResource",
          "policy_number": "AVIVA-123",
          "show_on_joint": true,
          "wrap_children": "App\\Http\\Resources\\Plans\\PlanResource",
          "can_be_deleted": "false",
          "total_benefits": {
            "critical_illness": {
              "amount": {
                "example": "15000000",
                "description": "Money amount at their lowest denominator (for example: pennies)"
              },
              "currency": {
                "example": "GBP",
                "description": "Currency of the money"
              },
              "formatted": {
                "example": "£150,000.00",
                "description": "Money amount formatted with currency"
              }
            },
            "family_income_benefit": {
              "amount": {
                "example": "10000000",
                "description": "Money amount at their lowest denominator (for example: pennies)"
              },
              "currency": {
                "example": "GBP",
                "description": "Currency of the money"
              },
              "formatted": {
                "example": "£100,000.00",
                "description": "Money amount formatted with currency"
              }
            }
          },
          "inactive_reason": "claimed",
          "is_group_scheme": false,
          "is_wrap_product": false,
          "latest_valuations": "App\\Http\\Resources\\Plans\\ValuationResource",
          "proposal_reference": "AB123456",
          "agency_in_your_name": true,
          "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
          "is_sub_group_scheme": false,
          "total_benefit_amount": {
            "amount": {
              "example": "25000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£250,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "is_group_scheme_member": true,
          "originally_sold_by_firm": true,
          "agency_in_your_name_from": "2023-11-20",
          "contract_enquiry_account": "App\\Http\\Resources\\AccountResource",
          "visible_on_client_portal": true,
          "group_scheme_member_detail": {
            "workplace_location": "London",
            "employment_division": "Management"
          },
          "include_in_client_valuation": true
        }
      ],
      "main_account": {
        "name": "John's ISA",
        "uuid": "b1f0dfc5-a01d-4bf8-987d-026f04c24a07",
        "created_at": "2024-11-20T13:24:03+00:00",
        "statistics": {
          "recent_growth": 100
        },
        "updated_at": "2024-11-20T13:24:03+00:00",
        "policy_number": "AVI-4837",
        "is_main_account": false,
        "active_portfolio": "App\\Http\\Resources\\Plans\\PortfolioResource",
        "latest_valuation": "App\\Http\\Resources\\Plans\\ValuationResource"
      },
      "sub_accounts": [
        {
          "name": "John's ISA",
          "uuid": "d539df60-5adc-4d2d-bea6-c463ecab9266",
          "created_at": "2024-11-20T13:24:03+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2024-11-20T13:24:03+00:00",
          "policy_number": "AVI-4837",
          "is_main_account": false,
          "active_portfolio": "App\\Http\\Resources\\Plans\\PortfolioResource",
          "latest_valuation": "App\\Http\\Resources\\Plans\\ValuationResource"
        }
      ],
      "under_advice": true,
      "abstract_type": "asset",
      "custom_fields": [
        {
          "name": "Favourite Drink",
          "type": "string",
          "uuid": "b280307b-67db-49f2-82fe-98fedc2b0d4c",
          "value": "Coffee",
          "help_text": "This is the client's favourite drink.",
          "reference": "favourite_drink",
          "created_at": "2024-11-20T13:24:03+00:00",
          "updated_at": "2024-11-20T13:24:03+00:00",
          "is_required": false,
          "selection_options": [
            "Coffee",
            "Tea",
            "Water"
          ]
        }
      ],
      "is_wrap_child": false,
      "linked_owners": [
        {
          "firm": "App\\Http\\Resources\\FirmResource",
          "name": "Gareth Thompson",
          "role": "client",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "client",
          "uuid": "cb436818-7e3b-4827-ad3c-3c6aeef7150a",
          "email": "gareth@codepotato.co.uk",
          "groups": "App\\Http\\Resources\\GroupResource",
          "owners": "App\\Http\\Resources\\AccountResource",
          "last_name": "Thompson",
          "created_at": "2024-11-20T13:24:03+00:00",
          "first_name": "Gareth",
          "updated_at": "2024-11-20T13:24:03+00:00",
          "with_login": true,
          "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
          "introduced_by": "App\\Http\\Resources\\AccountResource",
          "primary_email": "App\\Http\\Resources\\ContactDetailResource",
          "can_be_deleted": "false",
          "assigned_adviser": "App\\Http\\Resources\\AccountResource",
          "next_review_date": "2024-11-20T13:24:03+00:00",
          "has_joint_account": true,
          "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
          "first_contact_date": "2024-11-20T13:24:03+00:00",
          "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
          "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
          "previous_review_date": "2024-11-20T13:24:03+00:00",
          "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
          "assigned_administrator": "App\\Http\\Resources\\AccountResource",
          "anniversary_review_date": "2024-11-20T13:24:03+00:00"
        }
      ],
      "policy_number": "AVIVA-123",
      "show_on_joint": true,
      "wrap_children": [
        {
          "name": "Johns ISA",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "cash_account",
          "uuid": "a5006d0f-968c-4de4-b8e6-fe33e7a95166",
          "wrap": "App\\Http\\Resources\\Plans\\PlanResource",
          "cases": "App\\Http\\Resources\\CasesResource",
          "value": {
            "amount": {
              "example": "4000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£40.00",
              "description": "Money amount formatted with currency"
            }
          },
          "claims": "App\\Http\\Resources\\Plans\\ClaimResource",
          "client": "App\\Http\\Resources\\AccountResource",
          "covers": "App\\Http\\Resources\\Plans\\CoverResource",
          "seller": "App\\Http\\Resources\\AccountResource",
          "status": "inactive",
          "on_panel": true,
          "provider": "App\\Http\\Resources\\Plans\\ProviderResource",
          "sub_type": "lifetime isa",
          "opened_at": "2024-11-20T13:24:03+00:00",
          "valued_at": "2024-11-20T13:24:03+00:00",
          "created_at": "2024-11-20T13:24:03+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2024-11-20T13:24:03+00:00",
          "advice_area": "non_investment_insurance",
          "inactive_at": "2024-11-20T13:24:03+00:00",
          "review_date": "2023-11-20",
          "linked_plans": "App\\Http\\Resources\\Plans\\PlanResource",
          "main_account": "App\\Http\\Resources\\Plans\\SubAccountResource",
          "sub_accounts": "App\\Http\\Resources\\Plans\\SubAccountResource",
          "under_advice": true,
          "abstract_type": "asset",
          "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
          "is_wrap_child": false,
          "linked_owners": "App\\Http\\Resources\\AccountResource",
          "policy_number": "AVIVA-123",
          "show_on_joint": true,
          "wrap_children": "App\\Http\\Resources\\Plans\\PlanResource",
          "can_be_deleted": "false",
          "total_benefits": {
            "critical_illness": {
              "amount": {
                "example": "15000000",
                "description": "Money amount at their lowest denominator (for example: pennies)"
              },
              "currency": {
                "example": "GBP",
                "description": "Currency of the money"
              },
              "formatted": {
                "example": "£150,000.00",
                "description": "Money amount formatted with currency"
              }
            },
            "family_income_benefit": {
              "amount": {
                "example": "10000000",
                "description": "Money amount at their lowest denominator (for example: pennies)"
              },
              "currency": {
                "example": "GBP",
                "description": "Currency of the money"
              },
              "formatted": {
                "example": "£100,000.00",
                "description": "Money amount formatted with currency"
              }
            }
          },
          "inactive_reason": "claimed",
          "is_group_scheme": false,
          "is_wrap_product": false,
          "latest_valuations": "App\\Http\\Resources\\Plans\\ValuationResource",
          "proposal_reference": "AB123456",
          "agency_in_your_name": true,
          "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
          "is_sub_group_scheme": false,
          "total_benefit_amount": {
            "amount": {
              "example": "25000000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£250,000.00",
              "description": "Money amount formatted with currency"
            }
          },
          "is_group_scheme_member": false,
          "originally_sold_by_firm": true,
          "agency_in_your_name_from": "2023-11-20",
          "contract_enquiry_account": "App\\Http\\Resources\\AccountResource",
          "visible_on_client_portal": true,
          "include_in_client_valuation": true
        }
      ],
      "can_be_deleted": "false",
      "total_benefits": {
        "critical_illness": {
          "amount": {
            "example": "15000000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£150,000.00",
            "description": "Money amount formatted with currency"
          }
        },
        "family_income_benefit": {
          "amount": {
            "example": "10000000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£100,000.00",
            "description": "Money amount formatted with currency"
          }
        }
      },
      "inactive_reason": "claimed",
      "is_group_scheme": false,
      "is_wrap_product": false,
      "latest_valuations": [
        {
          "uuid": "84a908b0-bca4-4514-8f8e-9e51e57063fa",
          "value": {
            "amount": {
              "example": "4000",
              "description": "Money amount at their lowest denominator (for example: pennies)"
            },
            "currency": {
              "example": "GBP",
              "description": "Currency of the money"
            },
            "formatted": {
              "example": "£40.00",
              "description": "Money amount formatted with currency"
            }
          },
          "valued_at": "2024-11-20T13:24:03+00:00",
          "created_at": "2024-11-20T13:24:03+00:00",
          "updated_at": "2024-11-20T13:24:03+00:00",
          "sub_account": "App\\Http\\Resources\\Plans\\SubAccountResource"
        }
      ],
      "proposal_reference": "AB123456",
      "agency_in_your_name": true,
      "external_references": [
        {
          "uuid": "26e956e0-b1e4-42b4-b3a2-e7cb080f68d0",
          "reference": "AB123456",
          "created_at": "2024-11-20T13:24:03+00:00",
          "updated_at": "2024-11-20T13:24:03+00:00",
          "third_party": "nucleus"
        }
      ],
      "is_sub_group_scheme": false,
      "total_benefit_amount": {
        "amount": {
          "example": "25000000",
          "description": "Money amount at their lowest denominator (for example: pennies)"
        },
        "currency": {
          "example": "GBP",
          "description": "Currency of the money"
        },
        "formatted": {
          "example": "£250,000.00",
          "description": "Money amount formatted with currency"
        }
      },
      "is_group_scheme_member": true,
      "originally_sold_by_firm": true,
      "agency_in_your_name_from": "2023-11-20",
      "contract_enquiry_account": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "df92f616-a6b8-48da-8fa3-000667650fd4",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2024-11-20T13:24:03+00:00",
        "first_name": "Gareth",
        "updated_at": "2024-11-20T13:24:03+00:00",
        "with_login": true,
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "introduced_by": "App\\Http\\Resources\\AccountResource",
        "primary_email": "App\\Http\\Resources\\ContactDetailResource",
        "can_be_deleted": "false",
        "assigned_adviser": "App\\Http\\Resources\\AccountResource",
        "next_review_date": "2024-11-20T13:24:03+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2024-11-20T13:24:03+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2024-11-20T13:24:03+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2024-11-20T13:24:03+00:00"
      },
      "visible_on_client_portal": true,
      "group_scheme_member_detail": {
        "workplace_location": "London",
        "employment_division": "Management"
      },
      "include_in_client_valuation": true
    }
  ]
}