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": "876fc78a-93ba-46cd-b21f-f829338d4451",
          "colour": "#ef4582",
          "created_at": "2025-01-17T11:18:32+00:00",
          "updated_at": "2025-01-17T11:18:32+00:00"
        }
      ],
      "type": "cash_account",
      "uuid": "7d8cdae6-5b9a-4c3b-a7c9-f216dffc6c84",
      "wrap": {
        "name": "Johns ISA",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "cash_account",
        "uuid": "f8d47cb3-51d3-40a4-9ac9-dc1586a1697d",
        "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": "2025-01-17T11:18:32+00:00",
        "valued_at": "2025-01-17T11:18:32+00:00",
        "created_at": "2025-01-17T11:18:32+00:00",
        "statistics": {
          "recent_growth": 100
        },
        "updated_at": "2025-01-17T11:18:32+00:00",
        "advice_area": "non_investment_insurance",
        "inactive_at": "2025-01-17T11:18:32+00:00",
        "review_date": "2024-01-17",
        "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": "2024-01-17",
        "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": "18e7d83b-d680-4356-a30e-88884f17f7d7",
          "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": "2025-01-17T11:18:32+00:00",
          "updated_at": "2025-01-17T11:18:32+00:00",
          "completed_at": "2025-01-17T11:18:32+00:00",
          "participants": "App\\Http\\Resources\\AccountResource",
          "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
          "status_position": 4,
          "task_board_uuid": "1066f995-0a08-45e1-bbc8-c5a75ff34ffb",
          "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": "1678d283-3cbe-48d4-964d-676a006a2b62",
          "client": "App\\Http\\Resources\\AccountResource",
          "created_at": "2025-01-17T11:18:32+00:00",
          "updated_at": "2025-01-17T11:18:32+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": "2030-01-17",
          "claim_start_date": "2024-01-17"
        }
      ],
      "client": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "feffd902-f0f8-4cf6-9546-f4ee14e651c8",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2025-01-17T11:18:32+00:00",
        "first_name": "Gareth",
        "updated_at": "2025-01-17T11:18:32+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": "2025-01-17T11:18:32+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2025-01-17T11:18:32+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2025-01-17T11:18:32+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2025-01-17T11:18:32+00:00"
      },
      "covers": [
        {
          "uuid": "7c02e88e-5c83-4a22-b220-35a0cd86b769",
          "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": "2025-01-17T11:18:32+00:00",
          "indexation": 1.4,
          "updated_at": "2025-01-17T11:18:32+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": "4ccaae82-bb82-431b-af11-371b48517321",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2025-01-17T11:18:32+00:00",
        "first_name": "Gareth",
        "updated_at": "2025-01-17T11:18:32+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": "2025-01-17T11:18:32+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2025-01-17T11:18:32+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2025-01-17T11:18:32+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2025-01-17T11:18:32+00:00"
      },
      "status": "inactive",
      "on_panel": true,
      "provider": {
        "name": "AJ Bell",
        "slug": "aj-bell",
        "uuid": "88df9ccb-c339-4f95-befe-723b456bac18",
        "created_at": "2025-01-17T11:18:32+00:00",
        "updated_at": "2025-01-17T11:18:32+00:00"
      },
      "sub_type": "lifetime isa",
      "opened_at": "2025-01-17T11:18:32+00:00",
      "valued_at": "2025-01-17T11:18:32+00:00",
      "created_at": "2025-01-17T11:18:32+00:00",
      "statistics": {
        "recent_growth": 100
      },
      "updated_at": "2025-01-17T11:18:32+00:00",
      "advice_area": "non_investment_insurance",
      "inactive_at": "2025-01-17T11:18:32+00:00",
      "review_date": "2024-01-17",
      "group_scheme": {
        "name": "Johns ISA",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "cash_account",
        "uuid": "f291703c-a239-4cce-b8f6-e5f59a19de03",
        "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": "2025-01-17T11:18:32+00:00",
        "valued_at": "2025-01-17T11:18:32+00:00",
        "created_at": "2025-01-17T11:18:32+00:00",
        "statistics": {
          "recent_growth": 100
        },
        "updated_at": "2025-01-17T11:18:32+00:00",
        "advice_area": "non_investment_insurance",
        "inactive_at": "2025-01-17T11:18:32+00:00",
        "review_date": "2024-01-17",
        "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": "2024-01-17",
        "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": "5965263b-33a6-4983-88f0-aa46c6b66029",
          "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": "2025-01-17T11:18:32+00:00",
          "valued_at": "2025-01-17T11:18:32+00:00",
          "created_at": "2025-01-17T11:18:32+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2025-01-17T11:18:32+00:00",
          "advice_area": "non_investment_insurance",
          "inactive_at": "2025-01-17T11:18:32+00:00",
          "review_date": "2024-01-17",
          "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": "2024-01-17",
          "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": "d7139d6b-cb95-4c4a-8e54-c1f08089fa64",
        "created_at": "2025-01-17T11:18:32+00:00",
        "statistics": {
          "recent_growth": 100
        },
        "updated_at": "2025-01-17T11:18:32+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": "2e914244-c277-409b-a890-53ccf27b118f",
          "created_at": "2025-01-17T11:18:32+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2025-01-17T11:18:32+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": "2ade7799-d5f1-40f6-9a5a-f7091f40fe38",
          "value": "Coffee",
          "help_text": "This is the client's favourite drink.",
          "reference": "favourite_drink",
          "created_at": "2025-01-17T11:18:32+00:00",
          "updated_at": "2025-01-17T11:18:32+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": "a2b0e33b-909b-44a5-b65b-235eee2e9659",
          "email": "gareth@codepotato.co.uk",
          "groups": "App\\Http\\Resources\\GroupResource",
          "owners": "App\\Http\\Resources\\AccountResource",
          "last_name": "Thompson",
          "created_at": "2025-01-17T11:18:32+00:00",
          "first_name": "Gareth",
          "updated_at": "2025-01-17T11:18:32+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": "2025-01-17T11:18:32+00:00",
          "has_joint_account": true,
          "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
          "first_contact_date": "2025-01-17T11:18:32+00:00",
          "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
          "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
          "previous_review_date": "2025-01-17T11:18:32+00:00",
          "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
          "assigned_administrator": "App\\Http\\Resources\\AccountResource",
          "anniversary_review_date": "2025-01-17T11:18:32+00:00"
        }
      ],
      "policy_number": "AVIVA-123",
      "show_on_joint": true,
      "wrap_children": [
        {
          "name": "Johns ISA",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "cash_account",
          "uuid": "e992ebca-f36d-430f-bd1d-2bac2707154e",
          "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": "2025-01-17T11:18:32+00:00",
          "valued_at": "2025-01-17T11:18:32+00:00",
          "created_at": "2025-01-17T11:18:32+00:00",
          "statistics": {
            "recent_growth": 100
          },
          "updated_at": "2025-01-17T11:18:32+00:00",
          "advice_area": "non_investment_insurance",
          "inactive_at": "2025-01-17T11:18:32+00:00",
          "review_date": "2024-01-17",
          "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": "2024-01-17",
          "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": "a6ebb885-2290-4435-b95b-536057483759",
          "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": "2025-01-17T11:18:32+00:00",
          "created_at": "2025-01-17T11:18:32+00:00",
          "updated_at": "2025-01-17T11:18:32+00:00",
          "sub_account": "App\\Http\\Resources\\Plans\\SubAccountResource"
        }
      ],
      "proposal_reference": "AB123456",
      "agency_in_your_name": true,
      "external_references": [
        {
          "uuid": "afc78241-dcc8-40dd-912e-859a534e3723",
          "reference": "AB123456",
          "created_at": "2025-01-17T11:18:32+00:00",
          "updated_at": "2025-01-17T11:18:32+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": "2024-01-17",
      "contract_enquiry_account": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "85910310-8a0d-4250-9762-c55199f8c9d8",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2025-01-17T11:18:32+00:00",
        "first_name": "Gareth",
        "updated_at": "2025-01-17T11:18:32+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": "2025-01-17T11:18:32+00:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2025-01-17T11:18:32+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "previous_review_date": "2025-01-17T11:18:32+00:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2025-01-17T11:18:32+00:00"
      },
      "visible_on_client_portal": true,
      "group_scheme_member_detail": {
        "workplace_location": "London",
        "employment_division": "Management"
      },
      "include_in_client_valuation": true
    }
  ]
}