Get all sub schemes for a group scheme

GET /api/v1/plans/{plan_uuid}/sub-group-schemes

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}/sub-group-schemes
curl \
 -X GET https://api.plannrcrm.com/api/v1/plans/plan_uuid/sub-group-schemes \
 -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": "35d4f214-f6a4-426f-9138-934d3c6a2952",
          "colour": "#ef4582",
          "created_at": "2024-11-20T13:24:03+00:00",
          "updated_at": "2024-11-20T13:24:03+00:00"
        }
      ],
      "type": "cash_account",
      "uuid": "a196c5e6-5777-4713-8a01-6b56e0e37322",
      "wrap": {
        "name": "Johns ISA",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "cash_account",
        "uuid": "2caddf42-983d-4ea8-808f-9246e31b2ebc",
        "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": "f687ff7c-1b39-4c2d-92e7-ed5d8663ced1",
          "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": "4494e95f-9706-468a-9dcd-ffc6b20a5430",
          "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": "4393d153-3714-4208-9354-30eb75b8084d",
          "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": "008a7c03-4b2c-476b-86a9-3e7da74c9863",
        "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": "9df2f3a6-b127-4e9f-8259-62362f355f69",
          "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": "36497a26-41c0-443c-a66f-7ae79fa6f63c",
        "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": "e8367392-0f0a-4812-b7f4-b76555bcce29",
        "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": "070af841-c8f3-432f-803c-3522990e754a",
        "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": "93ab71fe-3230-449a-86bf-60296dfd2642",
          "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": "31be97df-0e23-4495-a27b-60ad24df4257",
        "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": "5316933a-de7c-4630-9ac8-a4f8114525f4",
          "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": "ff8ca4c1-b844-4e8e-8e3d-cd3920ba8a90",
          "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": "3d4ffb2d-d8fb-42fc-8f98-59537f63f21f",
          "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": "921abfdd-f1b4-47ec-bf4b-b88f7f12fb7d",
          "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": "52af6608-3fbc-4939-b2dc-7686fc09ad12",
          "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": "93b98b77-4e56-4372-b1db-96ffd8d10c50",
          "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": "3cfc34f7-5720-40c2-85d7-f89950415e98",
        "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
    }
  ]
}