{"openapi":"3.0.3","info":{"title":"Plannr API Documentation","description":"Version v1.162.2","version":"v1.162.2"},"servers":[{"url":"https://api.plannrcrm.com"}],"tags":[{"name":"AML Checks","description":"\nAPIs for managing a client's AML (anti-money laundering) checks"},{"name":"Account","description":"\nAPIs for managing Accounts"},{"name":"Actions","description":"\nApi endpoint for all Actions belonging to an account"},{"name":"Addon Subscriptions","description":"\nAPIs for managing Addon Subscriptions"},{"name":"Addons","description":"\nAPIs for managing addons"},{"name":"Addons - PensionLab","description":"\nRaise letters of authority through PensionLab and get them signed."},{"name":"Addresses (v1)","description":"\nAPIs for managing account addresses"},{"name":"Addresses (v2)","description":"\nAPIs for managing addresses"},{"name":"Audit Log","description":""},{"name":"Audits","description":"\nView audits of records"},{"name":"Automation Blocks","description":"\nAPIs for managing Automation Blocks and Triggers"},{"name":"Automation Blueprints","description":"\nAPIs for managing Automation Blueprints"},{"name":"Automation Execution Steps","description":""},{"name":"Automation Executions","description":"\nAPIs for managing models"},{"name":"Bank Accounts","description":"\nAPIs for managing bank accounts"},{"name":"Beneficiary","description":"\nAPIs for beneficiaries of a plan"},{"name":"Blueprint Steps","description":"\nAPIs for managing Blueprint Steps"},{"name":"Bulk Actions","description":"\nAPIs for managing bulk actions"},{"name":"Business Metrics","description":""},{"name":"Business Units","description":""},{"name":"Cases","description":"\nAPIs for managing case statuses"},{"name":"Checklists","description":"\nAPIs for managing checklists on tasks and workflow tasks."},{"name":"Circle Expenditures","description":"\nAPIs for managing a circle's shared expenditures"},{"name":"Circles","description":"\nAPIs for managing circles"},{"name":"Claim","description":"\nAPIs for claims of a plan"},{"name":"Client Statuses","description":"\nAPIs for managing client statuses"},{"name":"Clients","description":"\nAPIs for managing clients"},{"name":"Cloning","description":"\nAPIs for cloning models"},{"name":"Contact Details (v1)","description":"\nAPIs for managing account contact details"},{"name":"Contact Details (v2)","description":"\nAPIs for managing contact details"},{"name":"Contributions","description":""},{"name":"Conversations","description":""},{"name":"Cover","description":"\nAPIs for covers of a plan"},{"name":"Custom Default Folders","description":"\nAPIs for managing custom default folders for clients/cases"},{"name":"Custom Fields","description":"\nAPIs for managing custom fields"},{"name":"Dependants (v1)","description":"\nAPIs for managing dependants"},{"name":"Dependants (v2)","description":"\nAPIs for managing dependants"},{"name":"Document Builder","description":"\nAPIs for managing documents"},{"name":"Document Packs","description":"\nManage Document Packs for Document Signing."},{"name":"Document Signing","description":"\nAPIs for managing document signing"},{"name":"Employee","description":"\nAPIs for managing employees"},{"name":"Employment (V2)","description":"\nAPIs for managing models"},{"name":"Employments","description":"\nAPIs for managing employments"},{"name":"Endpoints","description":""},{"name":"Expenditures","description":"\nAPIs for managing a firm's Expenditure Life Stages"},{"name":"FCA Numbers","description":"\nManage FCA Numbers"},{"name":"Fact-Find Blocks","description":"\nAPIs for managing fact-find blocks"},{"name":"Fact-Find Question Conditions","description":"\nAPIs for managing fact-find question conditions"},{"name":"Fact-Find Questions","description":"\nAPIs for managing fact-find questions"},{"name":"Fact-Find Sections","description":"\nAPIs for managing fact-find sections"},{"name":"Fact-Find Sessions","description":"\nAPIs for managing fact-find sessions"},{"name":"Fact-Find Template Question","description":"\nAPIs for managing fact-find template questions"},{"name":"Fact-Find Templates","description":"\nAPIs for managing fact-find templates"},{"name":"Fact-Finds","description":"\nAPIs for managing fact-find requests [DEPRECATED: Use the v2 fact-find session routes]"},{"name":"Features","description":"\nAPIs for browsing the full catalogue of available feature flags"},{"name":"File Uploading","description":"\nAPIs for managing uploading files to Plannr"},{"name":"Filesystem","description":"\nFolder management"},{"name":"Firm","description":""},{"name":"Firm Network Settings","description":""},{"name":"Firms","description":"\nManage Firms"},{"name":"Form Builder","description":"\nAPIs for managing forms"},{"name":"Goals (v1)","description":"\nAPIs for managing a client's goals"},{"name":"Goals (v2)","description":"\nAPIs for managing goals"},{"name":"Groups","description":""},{"name":"Holdings","description":"\nAPIs for managing holdings"},{"name":"Holdings (v2)","description":"\nAPIs for reading holdings across a firm"},{"name":"Illustrations","description":"\nManage Illustrations"},{"name":"Imports","description":"\nAPIs for managing imports"},{"name":"Income (v1)","description":"\nAPIs for managing income"},{"name":"Income (v2)","description":"\nAPIs for managing incomes"},{"name":"Income Reconciliation","description":"\nAPIs for managing incoming charges"},{"name":"Introducer","description":"\nAPIs for managing introducers"},{"name":"Lead Interests","description":""},{"name":"Lead Sources","description":""},{"name":"Leads","description":""},{"name":"Letter of Authority","description":"\nAPIs for generating Letters of Authority"},{"name":"Logins","description":"\nAPIs for managing logins"},{"name":"Logs","description":"\nAPIs for managing logs"},{"name":"Lookups","description":"\nAPIs for managing lookups"},{"name":"Mailboxes","description":"\nAPIs for managing mailboxes and email syncing"},{"name":"Model","description":"\nAPIs for managing models"},{"name":"Model Types","description":"\nModel types for various parts of the system."},{"name":"Mortgage Searches (v2)","description":"\nAPIs for managing mortgage searches"},{"name":"Mortgage Sourcing","description":"\nAPIs for managing mortgage sourcing"},{"name":"Networth","description":""},{"name":"New Business Events","description":"\nManage New Business Events"},{"name":"Notes","description":"\nAPIs for managing notes"},{"name":"Notifications","description":"\nManage Notifications"},{"name":"OAuth2 Connections (External Only)","description":"\nAPIs for viewing OAuth2 connections for the authenticated account"},{"name":"Plan Returns","description":"\nAPIs for managing plan returns"},{"name":"Plans","description":"\nManage Plans"},{"name":"Plans (v2)","description":"\nAPIs for managing plans"},{"name":"Platform","description":"\nAPIs for managing Platforms"},{"name":"Portal Engagement","description":"\nAPIs for viewing client portal engagement statistics"},{"name":"Premiums","description":"\nAPIs for managing premiums"},{"name":"Providers","description":"\nManage Providers"},{"name":"Report Templates","description":"\nAPIs for managing Report Templates"},{"name":"Report Types","description":"\nAPIs for managing Report Types"},{"name":"Reports","description":"\nAPIs for managing Report Generation"},{"name":"Risks (v1)","description":"\nAPIs for managing a client's risks assessments"},{"name":"Risks (v2)","description":"\nAPIs for managing risks"},{"name":"Roles (v2)","description":"\nAPIs for managing roles within PlannrCRM"},{"name":"Service Levels","description":""},{"name":"Shareholders","description":"\nAPIs for managing a business's shareholders"},{"name":"Staff Members","description":"\nAPIs for managing staff members for business clients"},{"name":"Statements","description":"\nAPIs for managing monthly statements"},{"name":"Static Data","description":"\nAPIs for static data"},{"name":"Sub Account Portfolios","description":"\nAPIs for managing portfolios on sub accounts"},{"name":"Sub Accounts","description":"\nManage Sub Accounts for Plans"},{"name":"Tagging","description":"\nAPIs for managing tags on the firm"},{"name":"Task Statuses","description":"\nAPIs for managing Task Statuses"},{"name":"Tasks","description":"\nAPIs for managing tasks"},{"name":"Time Entries","description":"\nAPIs for managing time entries"},{"name":"Transaction","description":"\nAPIs for managing transactions"},{"name":"Transactions (v2)","description":"\nAPIs for managing transactions"},{"name":"User Management","description":"\nManage resources for the currently signed-in user"},{"name":"Valuations","description":"\nManage Valuations"},{"name":"Valuations (V2)","description":"\nAPIs for managing valuations"},{"name":"Webhook Subscriptions","description":"\nAPIs for managing webhook subscriptions"},{"name":"Withdrawals","description":"\nManage Withdrawals"},{"name":"Workflows","description":"\nAPIs for managing and running workflows."}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"http","scheme":"bearer","description":"Send your personal access token in the Authorization header as such: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}\n\nFull authentication guide can be found at \u003ca href=\"https://api-how-to.plannrcrm.com/getting-started/authorization\"\u003ehttps://api-how-to.plannrcrm.com/getting-started/authorization\u003c/a\u003e"},"OAuth2":{"description":"Full authentication guide can be found at \u003ca href=\"https://api-how-to.plannrcrm.com/getting-started/authorization\"\u003ehttps://api-how-to.plannrcrm.com/getting-started/authorization\u003c/a\u003e","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://api.plannrcrm.com/oauth/authorize","tokenUrl":"https://api.plannrcrm.com/oauth/token","scopes":{"*":"All access"}}}}},"schemas":{"App_Http_Requests_Firm_UpdateFirmRequest":{"type":"object","properties":{"name":{"type":"string","example":"Codepotato","description":"The firm's name."},"regulatory_text":{"type":"string","example":"To view our Privacy Statement, please click here. To view our Cookies Statement, please click here.","description":"The firm's regulatory text."},"ip_whitelist":{"type":"array","example":[],"description":"IP addresses allowed to access the firm. Authorised Plannr-issued integrations are exempt.","items":{"type":"string","example":"127.0.0.1","format":"ipv4"}},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"description":"Array of cc email addresses","items":{"type":"string","example":"jack@example.com","format":"email"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"description":"Array of bcc email addresses","items":{"type":"string","example":"jill@example.com","format":"email"}},"reply_to_email_address":{"type":"string","example":"jill@example.com","description":"Reply-to email addresses","format":"email"},"mobile_app_support_number":{"type":"string","example":"01234 567890","description":"Firm mobile app support number.","maxLength":255,"nullable":true},"mobile_app_support_email":{"type":"string","example":"support@example.com","description":"Firm mobile app support email address.","format":"email","maxLength":255,"nullable":true}}},"App_Http_Requests_Firm_UpdateFirmBrandingRequest":{"type":"object","properties":{"brand_colours":{"type":"array","example":{"sidebar_background":"#0E0E56","sidebar_accent":"#36367E","sidebar_text":"#FFFFFF","sidebar_hover":"#0A0A42","sidebar_active":"#53DBB8","sidebar_title_background":"#36367E","sidebar_title_primary":"#FFC634","sidebar_title_secondary":"#FFFFFF","sidebar_title_secondary_hover":"#FFFFFF","email_background":"#0E0E56","email_logo_background_panel":"#36367E","email_sub_text":"#FFFFFF","email_button_background":"#36367E","email_button_text":"#FFFFFF","portal_sidebar_button_background":"#F6F6F6","portal_sidebar_button_hover":"#FFFFFF","portal_sidebar_button_active":"#FFFFFF","portal_brand_title":"#323B4B","portal_brand_sub_title":"#828994","portal_sidebar_title":"#11151D","portal_sidebar_text":"#323B4B","portal_sidebar_text_hover":"#323B4B","portal_sidebar_text_active":"#323B4B","portal_sidebar_icon":"#828994","portal_sidebar_icon_hover":"#828994","portal_sidebar_icon_active":"#828994","portal_background":"#F6F6F6","portal_sidebar_account_title":"#11151D","portal_sidebar_account_email":"#828994","portal_sidebar_divider":"#E3E5E9","portal_dashboard_bg_one":"#EF4583","portal_dashboard_bg_two":"#FFC634","portal_sidebar_collapse_button":"#828994","portal_sidebar_collapse_button_hover":"#B3B9C4","portal_sidebar_user_select_background":"#F6F6F6","portal_sidebar_user_select_hover":"#F6F6F6","portal_sidebar_user_select_text":"#323B4B","portal_sidebar_user_select_text_hover":"#323B4B","portal_sidebar_user_select_border":"#EEEEEE","portal_sidebar_user_select_border_hover":"#828994"},"description":"Array of hex colours values for your branding."},"logo":{"type":"string","example":"file-contents","description":"Image file of your logo. Max 10 MB","format":"binary"},"logo_icon":{"type":"string","example":"file-contents","description":"Image file of your logo icon. Max 10 MB, Width and Height: Min 50px Max 150px. Aspect Ratio 1/1","format":"binary"},"email_logo":{"type":"string","example":"file-contents","description":"Image file of your email logo. Max 10 MB","format":"binary"},"banner":{"type":"string","example":"file-contents","description":"Image file of your banner. Max 25 MB","format":"binary"},"branded_auth_background":{"type":"string","example":"file-contents","description":"Image file for the branded authentication background. Used on your branded login page. Max 25 MB","format":"binary"},"use_branded_auth":{"type":"boolean","example":true,"description":"Controls if the firm's branded authentication pages will work. When enabled, users will also be automatically redirected to the branded login page."},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome to {{ firm }} {{ first_name }}\u003c/h1\u003e","description":"Custom welcome paragraph html for the branded auth welcome page.. Can add basic variables for firm,first_name,last_name."},"email_welcome_paragraph_html":{"type":"string","example":"\u003cp\u003eHello {{ first_name }}, you have been invited to our portal at {{ firm }}.\u003c/p\u003e","description":"Custom welcome paragraph for the welcome/new user email. Can add basic variables for firm,first_name,last_name."},"show_fact_find_illustrations":{"type":"boolean","example":true,"description":"Determines if the illustrations/graphics are displayed on the fact find."}}},"App_Http_Requests_Firm_UpdateFirmSettingsRequest":{"type":"object","required":["fact_find_completed_notification_to_assigned_adviser","fact_find_completed_notification_to_assigned_administrator","fact_find_completed_notification_to_assigned_paraplanner"],"properties":{"keep_deleted_files_for":{"type":"integer","example":60,"description":"Number of days to keep files in the recycle bin. Set as null for indefinitely"},"tax":{"type":"number","example":17.5,"description":"Tax rate","format":"float"},"rmar_start_date":{"type":"string","example":"2022-08-01","description":"Date you will not be able to add charges before","format":"date"},"advice_type":{"type":"string","example":"independent","description":"\n\nDefault RMAR advice type for new employees\n\n| Value | Description |\n| ----- | ----------- |\n|independent|Independent|\n|restricted|Restricted|","enum":["independent","restricted"]},"month_end":{"type":"integer","example":25,"description":"Day of the month for the monthly income reconciliation statements to end. Leave at 31 for the end of the month"},"lock_statements_after":{"type":"integer","example":0,"description":"Automatically lock statements after number of days of statement end date. Leave null for never lock automatically. Zero for lock automatically immediately"},"adviser_split_uuid":{"type":"string","example":"483b3b57-22a0-4f03-92fe-3883989968bf","description":"Default adviser split to be applied to new advisers","format":"uuid"},"show_pseudo_folders_in_client_portal":{"type":"boolean","example":true,"description":"Whether to allow clients to view the pseudo folders in the client portal"},"enforce_client_two_factor":{"type":"boolean","example":false,"description":"Require clients to set up two factor authentication before they can access the client portal"},"fact_find_completed_notification_to_assigned_adviser":{"type":"boolean","example":true,"description":"Notify the assigned adviser when a client completes a fact find"},"fact_find_completed_notification_to_assigned_administrator":{"type":"boolean","example":true,"description":"Notify the assigned administrator when a client completes a fact find"},"fact_find_completed_notification_to_assigned_paraplanner":{"type":"boolean","example":true,"description":"Notify the assigned paraplanner when a client completes a fact find"},"charge_identifier":{"type":"boolean","example":true,"description":"Charge identifier to apply to charges. Visit support documentation for requirements and list of variables."},"core_details_changed_notification_for_assigned_adviser":{"type":"boolean","example":true,"description":"Notify the assigned adviser when a clients core details are updated."},"core_details_changed_notification_for_assigned_administrator":{"type":"boolean","example":true,"description":"Notify the assigned adviser when a clients core details are updated."},"core_details_changed_notification_for_assigned_paraplanner":{"type":"boolean","example":true,"description":"Notify the assigned adviser when a clients core details are updated."},"allow_completion_of_cases_with_incomplete_tasks":{"type":"boolean","example":true,"description":"Allow completion of cases with incomplete tasks."},"auto_create_linked_policy_numbers":{"type":"string","example":"always","description":"\n\nAutomatically create linked policy numbers when reconciling income.\n\n| Value | Description |\n| ----- | ----------- |\n|always|ALWAYS|\n|ask|ASK|\n|off|OFF|","enum":["always","ask","off"]},"require_checklist_items_complete":{"type":"boolean","example":false,"description":"Require all checklist items to be completed before a task can be completed."}}},"App_Http_Requests_FcaNumber_StoreFcaNumberRequest":{"type":"object","required":["fca_number"],"properties":{"fca_number":{"type":"integer","example":123456,"description":"An FCA Number in a 6 or 7-digit format"}}},"App_Http_Requests_NetworkSettingOverride_UpdateNetworkSettingOverrideRequest":{"type":"object","required":["value"],"properties":{"value":{"type":"string","example":"true","description":"the firm's own value for the setting"}}},"App_Http_Requests_NetworkSettingConfigurationControl_UpdateNetworkSettingConfigurationControlRequest":{"type":"object","properties":{"sub_firm_configuration_enabled":{"type":"boolean","example":true,"description":"whether the firm's direct sub-firms can hold their own value for this setting"},"adviser_configuration_enabled":{"type":"boolean","example":true,"description":"whether the firm's advisers can hold their own value for this setting"}}},"App_Http_Requests_NetworkSettingAdviserOverride_UpdateNetworkSettingAdviserOverrideRequest":{"type":"object","required":["value"],"properties":{"value":{"type":"string","example":"true","description":"the adviser's own value for the setting"}}},"App_Http_Requests_KeyMetricsRequest":{"type":"object","properties":{"date":{"type":"string","example":"2023-01-01","description":"The date which you would like to run the key metric from.","format":"date"}}},"App_Http_Requests_LifeStages_StoreLifeStageRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Current Lifestyle","description":"The name of the Life Stage."},"start_age":{"type":"integer","example":21,"description":"The expected age of the client as they enter the Expenditure Life Stage. This field is not required and may be null, but is required with `end_age`."},"end_age":{"type":"integer","example":28,"description":"The expected age of the client as they mature beyond this Expenditure Life Stage. This field is not required and may be null, but is required with `start_age`."}}},"App_Http_Requests_LifeStages_UpdateLifeStageRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Current Lifestyle","description":"The name of the Expenditure Life Stage."},"start_age":{"type":"integer","example":21,"description":"The expected age of the client as they enter the Expenditure Life Stage. This field is not required and may be null but is required with `end_age`."},"end_age":{"type":"integer","example":28,"description":"The expected age of the client as they mature beyond this Expenditure Life Stage. This field is not required and may be null but is required with `start_age`."}}},"App_Http_Requests_LifeStages_ReorderLifeStageRequest":{"type":"object","required":["order"],"properties":{"order":{"type":"array","example":["478d62e2-d12b-4e80-bac4-33649192d2e2","8fb0d26a-7757-4500-a199-fe2404ea32ee","98930fb4-0810-462c-9efe-fd0bb244350b"],"description":"An ordered array of Expenditure Life Stage UUID’s.","items":{"type":"string","example":"8cb889d7-079e-4083-80f4-ce6b0b712a80","format":"uuid"}}}},"App_Http_Requests_LifeStages_StoreLifeStageSectionRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Current Lifestyle","description":"The name of the Expenditure Life Stage Section."}}},"App_Http_Requests_LifeStages_UpdateLifeStageSectionRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Children \u0026 Grandchildren Expenses","description":"The name of the Expenditure Life Stage Section."},"has_custom_expenditures":{"type":"boolean","example":true,"description":"Whether the Expenditure Life Stage Section accepts custom expenditures."}}},"App_Http_Requests_LifeStages_ReorderLifeStageSectionRequest":{"type":"object","required":["order"],"properties":{"order":{"type":"array","example":["c110d302-e569-40a6-acdf-c6fb22eb58d1","d94fea23-3ea9-4432-9650-5d0b0e721b94","7786e046-6125-4067-a1ec-e3249edb22fd"],"description":"An ordered array of Expenditure Life Stage Section UUID’s.","items":{"type":"string","example":"f01e9caa-e78e-4ae8-aa19-a20855cacae7","format":"uuid"}}}},"App_Http_Requests_LifeStages_MassSetCustomExpendituresRequest":{"type":"object","required":["section_uuids"],"properties":{"section_uuids":{"type":"array","example":["85506a0f-2bc5-4afc-b764-0bd681bedd83","041b4633-760f-4da6-ae2e-2bb9d3049c76","372953c6-294e-4352-ae3c-19f014d75fea"],"description":"An ordered array of Expenditure Life Stage Section UUID’s.","items":{"type":"string","example":"253e5dd9-f99e-4e21-bd93-290a0dff5e4c","format":"uuid"}},"has_custom_expenditures":{"type":"boolean","example":true,"description":"Whether the Expenditure Life Stage Section accepts custom expenditures."}}},"App_Http_Requests_LifeStages_StoreLifeStageFieldRequest":{"type":"object","required":["name","life_stage_section_uuid"],"properties":{"name":{"type":"string","example":"Electricity","description":"The name of the Life Stage Field."},"life_stage_section_uuid":{"type":"string","example":"a1a9a2d6-9f8b-42b6-8054-fbf09c3b051e","description":"The uuid of the parent Life Stage Section.","format":"uuid"}}},"App_Http_Requests_LifeStages_UpdateLifeStageFieldRequest":{"type":"object","required":["life_stage_section_uuid"],"properties":{"name":{"type":"string","example":"Electricity","description":"The name of the Life Stage Field."},"life_stage_section_uuid":{"type":"string","example":"3e9753a7-d1ea-49cf-94e7-5e6634769e64","description":"The uuid of the parent Life Stage Section.","format":"uuid"}}},"App_Http_Requests_LifeStages_ReorderLifeStageFieldRequest":{"type":"object","required":["order"],"properties":{"order":{"type":"array","example":["b830709b-a34d-4b51-952a-bfc8478b6f8a","2fd39bc5-cf97-43b4-908f-2d065ce5a72f","9877fd59-8e7d-4ea7-bca7-f678e71f4a36"],"description":"An ordered array of Expenditure Life Stage Section Fields UUID’s.","items":{"type":"string","example":"402ea687-42f7-413d-b6df-e6d99d756c6a","format":"uuid"}}}},"App_Http_Requests_Import_StoreImportRequest":{"type":"object","required":["type","mode","file"],"properties":{"type":{"type":"string","example":"business_staff_members","description":"\n\nType of record to import.\n\n| Value | Description |\n| ----- | ----------- |\n|business_staff_members|Business Staff Members|\n|charges|Charges|\n|circles|Circles|\n|clients|Clients|\n|dependants|Dependants|\n|group_scheme_members|Group Scheme Members|\n|income_and_employment|Income and Employment|\n|notes|Notes|\n|plans|Plans|\n|premiums|Premiums|\n|relationships|Relationships|\n|tasks|Tasks|\n|valuations|Valuations|\n|seccl_valuations|Seccl Valuations|\n|expenses|Expenses|\n|client_or_circle_expenditure|Client Or Circle Expenditure|\n|provider_statement|Provider Statement|\n|transactions|Transactions|","enum":["business_staff_members","charges","circles","clients","dependants","group_scheme_members","income_and_employment","notes","plans","premiums","relationships","tasks","valuations","seccl_valuations","expenses","client_or_circle_expenditure","provider_statement","transactions"]},"mode":{"type":"string","example":"store","description":"\n\nType of import mode to enforce.\n\n| Value | Description |\n| ----- | ----------- |\n|store|Store|\n|update|Update|\n|validate|Validate|","enum":["store","update","validate"]},"file":{"type":"string","example":"file-contents","description":"CSV file with import records","format":"binary"}}},"App_Http_Requests_Import_MapImportRequest":{"type":"object","required":["headers"],"properties":{"headers":{"type":"object","description":"Key value array containing the supported import headers as keys, and the csv headers as values","example":{"first_name":"fname","last_name":"lname","email":"email"},"additionalProperties":true}}},"App_Http_Requests_Contact_CheckDuplicateClientsRequest":{"type":"object","required":["first_name","last_name","date_of_birth"],"properties":{"first_name":{"type":"string","example":"Bob","description":"First name of the client being created or edited."},"last_name":{"type":"string","example":"Plannr","description":"Last name of the client being created or edited."},"date_of_birth":{"type":"string","example":"1984-03-14","description":"Date of birth of the client being created or edited.","format":"date"},"exclude_account_uuid":{"type":"string","example":"9b1f2a8b-7b1d-4d8a-bf2e-12d0a8f0c0aa","description":"UUID of the client being edited, so it is not matched against itself."}}},"App_Http_Requests_Login_StoreLoginRequest":{"type":"object","required":["first_name","last_name","email","has_write_permission","has_delete_permission","receives_unread_notifications_email","wealth_enabled","goals_enabled","factfind_enabled","tasks_enabled"],"properties":{"first_name":{"type":"string","example":"Gareth","description":"First name"},"last_name":{"type":"string","example":"Thompson","description":"Last name"},"email":{"type":"string","example":"gareth@codepotato.co.uk","description":"Email address to log in with","format":"email"},"expires_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"Timestamp of how long this login is valid for temporary access. Can leave blank for no expiration","format":"date-time"},"has_write_permission":{"type":"boolean","example":true,"description":"Give this login write access for the account. False to leave as read only"},"has_delete_permission":{"type":"boolean","example":true,"description":"Give this access to delete items. False to prevent logins from deleting resources."},"receives_unread_notifications_email":{"type":"boolean","example":true,"description":"Set to true this login should receive the unread notification digest email"},"wealth_enabled":{"type":"boolean","example":true,"description":"Set to true this login be able to access wealth on the client portal"},"goals_enabled":{"type":"boolean","example":true,"description":"Set to true for this login to be able to access goals on the client portal"},"factfind_enabled":{"type":"boolean","example":true,"description":"Set to true for this login to be able to access fact finds on the client portal"},"tasks_enabled":{"type":"boolean","example":true,"description":"Set to true for this login to be able to access tasks on the client portal"}}},"App_Http_Requests_Login_UpdateLoginRequest":{"type":"object","required":["has_write_permission","has_delete_permission","wealth_enabled","goals_enabled","factfind_enabled","tasks_enabled"],"properties":{"expires_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"Timestamp of how long this login is valid for temporary access. Can leave blank for no expiration.","format":"date-time"},"primary":{"type":"boolean","example":true,"description":"Make this the primary login for this account. Only one primary login per account."},"has_write_permission":{"type":"boolean","example":true,"description":"Give this login write access for the account. False to leave as read only."},"has_delete_permission":{"type":"boolean","example":true,"description":"Give this access to delete items. False to prevent logins from deleting resources."},"wealth_enabled":{"type":"boolean","example":true,"description":"Set to true this login be able to access wealth on the client portal."},"goals_enabled":{"type":"boolean","example":true,"description":"Set to true for this login to be able to access goals on the client portal."},"factfind_enabled":{"type":"boolean","example":true,"description":"Set to true for this login to be able to access fact finds on the client portal."},"tasks_enabled":{"type":"boolean","example":true,"description":"Set to true for this login to be able to access tasks on the client portal."},"receives_unread_notifications_email":{"type":"boolean","example":true,"description":"Set to true this login should receive the unread notification digest email"}}},"App_Http_Requests_Address_StoreAddressRequest":{"type":"object","required":["name","address_1"],"properties":{"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E, 5 The Briars","description":"First line of the address"},"address_2":{"type":"string","example":"Waterberry Drive","description":"Second line of the address"},"address_3":{"type":"string","example":"The Innovative Centre","description":"Third line of the address"},"address_4":{"type":"string","example":"Waterlooville","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"},"primary":{"type":"boolean","example":true,"description":"Denotes if primary address."},"moved_in_month":{"type":"integer","example":6,"description":"The month the client moved into this address."},"moved_in_year":{"type":"integer","example":2022,"description":"The year the client moved into this address."},"moved_out_month":{"type":"integer","example":1,"description":"The month the client moved out of this address."},"moved_out_year":{"type":"integer","example":2024,"description":"The year the client moved out of this address."},"residential_status":{"type":"string","example":"homeowner","description":"The client's residential status when living at the address."},"residential_status_other":{"type":"string","example":"Non-tenant occupier","description":"The client's residential status if it is not provided in the residential_status options. Must only be provided if residential_status is other."}}},"App_Http_Requests_Address_UpdateAddressRequest":{"type":"object","properties":{"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E, 5 The Briars","description":"First line of the address"},"address_2":{"type":"string","example":"Waterberry Drive","description":"Second line of the address"},"address_3":{"type":"string","example":"The Innovative Centre","description":"Third line of the address"},"address_4":{"type":"string","example":"Waterlooville","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"},"moved_in_month":{"type":"integer","example":6,"description":"The month the client moved into this address."},"moved_in_year":{"type":"integer","example":2022,"description":"The year the client moved into this address."},"moved_out_month":{"type":"integer","example":1,"description":"The month the client moved out of this address."},"moved_out_year":{"type":"integer","example":2024,"description":"The year the client moved out of this address."},"residential_status":{"type":"string","example":"homeowner","description":"The client's residential status when living at the address."},"residential_status_other":{"type":"string","example":"Non-tenant occupier","description":"The client's residential status if it is not provided in the residential_status options. Must only be provided if residential_status is other."},"primary":{"type":"boolean","example":true,"description":"Make this address the primary contact address. Will make all other client addresses non primary."}}},"App_Http_Requests_Check_StoreCheckRequest":{"type":"object","required":["type","via_integration","originally_ran_at"],"properties":{"provider":{"type":"string","example":"SmartSearch","description":"The name of the provider that ran the check."},"type":{"type":"string","example":"aml","description":"\n\nThe type of check, possible values are aml, smartdoc and fraud\n\n| Value | Description |\n| ----- | ----------- |\n|aml|Aml|\n|smartdoc|Smartdoc|\n|fraud|Fraud|","enum":["aml","smartdoc","fraud"]},"provider_reference":{"type":"string","example":"10009815","description":"The provider's unique identifier for the check."},"status":{"type":"string","example":"abandoned","description":"\n\nThe check's status at the current time, possible values are abandoned, active, archive, complete, expired, failed, lock, pending and processing\n\n| Value | Description |\n| ----- | ----------- |\n|abandoned|Abandoned|\n|active|Active|\n|archive|Archive|\n|complete|Complete|\n|expired|Expired|\n|failed|Failed|\n|lock|Lock|\n|pending|Pending|\n|processing|Processing|","enum":["abandoned","active","archive","complete","expired","failed","lock","pending","processing"]},"outcome":{"type":"string","example":"pass","description":"\n\nThe check's outcome at the current time, possible values are pass, refer, fail, high_risk, medium_risk and low_risk\n\n| Value | Description |\n| ----- | ----------- |\n|pass|Pass|\n|refer|Refer|\n|fail|Fail|\n|high_risk|High Risk|\n|medium_risk|Medium Risk|\n|low_risk|Low Risk|","enum":["pass","refer","fail","high_risk","medium_risk","low_risk"]},"via_integration":{"type":"boolean","example":false,"description":"Did this check originate via an integration or was it manually added."},"originally_ran_at":{"type":"string","example":"2026-11-11","description":"The date that the check was originally ran","format":"date"}}},"App_Http_Requests_Check_UpdateCheckRequest":{"type":"object","properties":{"provider":{"type":"string","example":"SmartSearch","description":"The name of the provider that ran the check."},"type":{"type":"string","example":"aml","description":"\n\nThe type of check, possible values are aml, smartdoc and fraud\n\n| Value | Description |\n| ----- | ----------- |\n|aml|Aml|\n|smartdoc|Smartdoc|\n|fraud|Fraud|","enum":["aml","smartdoc","fraud"]},"provider_reference":{"type":"string","example":"10009815","description":"The provider's unique identifier for the check."},"status":{"type":"string","example":"abandoned","description":"\n\nThe check's status at the current time, possible values are abandoned, active, archive, complete, expired, failed, lock, pending and processing\n\n| Value | Description |\n| ----- | ----------- |\n|abandoned|Abandoned|\n|active|Active|\n|archive|Archive|\n|complete|Complete|\n|expired|Expired|\n|failed|Failed|\n|lock|Lock|\n|pending|Pending|\n|processing|Processing|","enum":["abandoned","active","archive","complete","expired","failed","lock","pending","processing"]},"outcome":{"type":"string","example":"pass","description":"\n\nThe check's outcome at the current time, possible values are pass, refer, fail, high_risk, medium_risk and low_risk\n\n| Value | Description |\n| ----- | ----------- |\n|pass|Pass|\n|refer|Refer|\n|fail|Fail|\n|high_risk|High Risk|\n|medium_risk|Medium Risk|\n|low_risk|Low Risk|","enum":["pass","refer","fail","high_risk","medium_risk","low_risk"]},"via_integration":{"type":"boolean","example":false,"description":"Did this check originate via an integration or was it manually added."},"originally_ran_at":{"type":"string","example":"2026-11-11","description":"The date that the check was originally ran","format":"date"}}},"App_Http_Requests_ContactDetails_StoreContactDetailRequest":{"type":"object","required":["type","name","value"],"properties":{"type":{"type":"string","example":"email","description":"\n\nValid types: email and phone_number\n\n| Value | Description |\n| ----- | ----------- |\n|email|Email|\n|phone_number|Phone Number|","enum":["email","phone_number"]},"name":{"type":"string","example":"Work phone number","description":"Description of contact detail"},"value":{"type":"string","example":"+443330903630","description":"Value of contact detail. If the type is phone number, the format defaults to GB. You can provide an array `[\"country\" =\u003e \"AU\", \"number\" =\u003e \"+61 2 3456 7890\"]` if you want to use a different format."},"primary":{"type":"boolean","example":true,"description":"Make this contact type the primary contact.  Will make all other contact details of the same type no longer primary."}}},"App_Http_Requests_ContactDetails_UpdateContactDetailRequest":{"type":"object","properties":{"name":{"type":"string","example":"Work phone number","description":"Description of contact detail"},"value":{"type":"string","example":"+443330903630","description":"Value of contact detail"},"primary":{"type":"boolean","example":true,"description":"Make this contact type the primary contact.  Will make all other contact details of the same type no longer primary."}}},"App_Http_Requests_Account_UpdateAccountOutOfOfficeRequest":{"type":"object","required":["from","until","message"],"properties":{"from":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"Start of the Out of Office period.","format":"date-time"},"until":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"End of the Out of Office period. Must be after from","format":"date-time"},"message":{"type":"string","example":"I am away this week. For urgent matters please contact the office.","description":"Free text message shown to portal users while Out of Office."},"cover_account_uuid":{"type":"string","example":"9c1a2b3c-...","description":"UUID of the employee who covers this person conversations while away."}}},"App_Http_Requests_Account_UpdateMarketingConsentRequest":{"type":"object","required":["consents"],"properties":{"consents":{"type":"array","example":[],"description":"One decision per channel. Saving the same channel twice records both; the later entry wins.","items":{"type":"object","example":[{"channel":"email","opt_in":true,"method":"verbal","statement_version":"v1","effective_at":"2026-09-28T10:15:00+01:00"},{"channel":"sms","opt_in":false}],"properties":{"channel":{"type":"string","example":"email","description":"\n\nThe communication channel.\n\n| Value | Description |\n| ----- | ----------- |\n|email|Email|\n|phone|Phone|\n|letter|Letter|\n|sms|Sms|","enum":["email","phone","letter","sms"]},"opt_in":{"type":"boolean","example":true,"description":"True to opt in, false to opt out."},"method":{"type":"string","example":"verbal","description":"\n\nHow consent was obtained. Required when opting in as an employee. Ignored for portal users, who are always recorded as client_portal.\n\n| Value | Description |\n| ----- | ----------- |\n|verbal|Verbal|\n|written|Written|\n|electronic|Electronic|\n|client_portal|Client Portal|","enum":["verbal","written","electronic","client_portal"]},"statement_version":{"type":"string","example":"v1","description":"The consent statement version shown to the client. Required when opting in.","maxLength":50},"effective_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"When the decision took effect. Defaults to now. Ignored for portal users.","format":"date-time"}}}}}},"App_Http_Requests_Circle_StoreCircleRequest":{"type":"object","required":["name","account_uuids","group_uuids"],"properties":{"name":{"type":"string","example":"Jones Family","description":"Circle name"},"bg_colour":{"type":"string","example":"#DDDDDD","description":"Hex colour for avatar background"},"account_uuids":{"type":"array","example":["86d69194-e358-4101-b10c-520bf4fec9f5","de17e5df-1e6d-4db7-83b5-7acdb8cb814a","2c339504-454a-4765-a9c4-da72f7e6beca"],"description":"Account UUIDs that are being added to the circle. Between 1 and 100 account UUIDs are required.","items":{"type":"string","example":"18fca3f3-ddc7-47b9-9a9f-b900c1523043","format":"uuid"}},"group_uuids":{"type":"array","example":["b63a62e9-61a5-4109-aaad-baf04d9d8124","21b69a29-7b54-4e75-8aa8-1739693fdb53","246be16b-8f83-4e22-80ea-fc389839fc2b"],"description":"Groups UUIDs the circle will belong to. Can belong to a maximum of 50 groups.","items":{"type":"string","example":"dfcf7491-43ba-4ace-af98-3178d3f80f55","format":"uuid"}}}},"App_Http_Requests_Circle_UpdateCircleRequest":{"type":"object","properties":{"name":{"type":"string","example":"Jones Family","description":"Circle name"},"bg_colour":{"type":"string","example":"#DDDDDD","description":"Hex colour for avatar background"},"account_uuids":{"type":"array","example":["ed5ffc28-6633-4d93-8a8e-4e4748db8fc4","119a8865-0ebe-4102-96b1-3b78b3fe414b","812c2fb0-2385-4762-87bf-d17bb4ce888e"],"description":"Account UUIDs belonging to the circle. Between 1 and 100 account UUIDs are required.","items":{"type":"string","example":"3784bc8c-ec44-44b5-8b25-f8306deb58a3","format":"uuid"}},"accounts":{"type":"array","example":[],"description":"List of accounts - required without account_uuids","items":{"type":"object","example":{"uuid":"57f647f8-6c57-4a46-8296-e69fb268108e","login_access_level":"read"},"properties":{"uuid":{"type":"string","example":"57f647f8-6c57-4a46-8296-e69fb268108e","description":"uuid of account","format":"uuid"},"login_access_level":{"type":"string","example":"read","description":"\n\nAccess level of the login\n\n| Value | Description |\n| ----- | ----------- |\n|read|Read|\n|write|Write|","enum":["read","write"],"nullable":true}}}},"group_uuids":{"type":"array","example":["74d6630f-1447-4d5c-9dff-c414c86dc584","347af172-1281-4ff2-895c-99aac885a1e8","c7b77dd1-2484-4f30-9bed-6605d190acd8"],"description":"Groups UUIDs the circle will belong to. Can belong to a maximum of 50 groups.","items":{"type":"string","example":"d072e21a-2a8c-4258-b294-3ba872e83713","format":"uuid"}},"current_life_stage_uuid":{"type":"string","example":"8775deed-ded1-444b-8e08-0e60e3001bc9","description":"UUID of the circle's current life stage for expenditure. Pass null to clear.","format":"uuid"}}},"App_Http_Requests_Circles_UpdateCircleFactFindAccessRequest":{"type":"object","required":["account_uuid","target_account_uuid","has_fact_find_access"],"properties":{"account_uuid":{"type":"string","example":"35645d5b-e6ef-400f-a658-d4f3aa9db3e3","description":"The UUID of the circle member account to attach the access to.","format":"uuid"},"target_account_uuid":{"type":"string","example":"0ebbf6c3-dfda-43b7-a2cb-2755bb7610a7","description":"The UUID of the circle member account that account_uuid will have access to.","format":"uuid"},"has_fact_find_access":{"type":"boolean","example":true,"description":"Boolean to allow/deny the access."}}},"App_Http_Requests_Employee_StoreEmployeeRequest":{"type":"object","required":["first_name","last_name","role","with_login","departments"],"properties":{"first_name":{"type":"string","example":"Gareth","description":"The first name of the employee."},"last_name":{"type":"string","example":"Thompson","description":"The last name of the employee."},"email":{"type":"string","example":"gareth.thompson@plannrcrm.com","description":"The email of the employee. Required when with_login is present."},"assigned_adviser_uuid":{"type":"string","example":"6b9114bb-7f37-4d00-914e-29cce304e528","description":"Uuid of the assigned adviser","format":"uuid"},"role":{"type":"string","example":"owner","description":"The role of the employee."},"with_login":{"type":"boolean","example":true,"description":"Denotes if the employee needs a billable login."},"departments":{"type":"array","example":["paraplanner","adviser"],"description":"The departments the employee is part of"},"groups":{"type":"array","example":["4c9b40de-7355-458a-8983-30248b0686a6","8a012f46-b8de-4237-8db7-497429924503","a993dd60-5e9f-472e-ba0e-38cf01c6fb74"],"description":"Group uuids belonging to the firm.","items":{"type":"string","example":"38b6888c-ac3c-4d00-91cc-b05814a02613","format":"uuid"}},"adviser_split_uuid":{"type":"string","example":"62fb4a2d-fd25-47ab-a291-889dbf5a9bbb","description":"The uuid of the the adviser split that will be applied when this adviser adds charges","format":"uuid"},"advice_type":{"type":"string","example":"independent","description":"\n\nEmployee's RMAR advice type\n\n| Value | Description |\n| ----- | ----------- |\n|independent|Independent|\n|restricted|Restricted|","enum":["independent","restricted"]}}},"App_Http_Requests_Employee_UpdateEmployeeRequest":{"type":"object","required":["with_login"],"properties":{"first_name":{"type":"string","example":"Gareth","description":"The first name of the employee."},"last_name":{"type":"string","example":"Thompson","description":"The last name of the employee."},"email":{"type":"string","example":"gareth.thompson@plannrcrm.com","description":"The email of the employee. Required when with_login is present."},"with_login":{"type":"boolean","example":true,"description":"Denotes if the employee needs a billable login."},"assigned_adviser_uuid":{"type":"string","example":"15a08ee8-c4db-45b8-8dd5-5e86d54caf84","description":"The uuid of the senior employee that the employee directly reports to","format":"uuid"},"role":{"type":"string","example":"owner","description":"The role of the employee."},"departments":{"type":"array","example":["paraplanner","adviser"],"description":"The departments the employee is part of"},"adviser_split_uuid":{"type":"string","example":"67cb3265-e37a-4ca0-b93d-94a5244450c2","description":"Adviser split","format":"uuid"},"groups":{"type":"array","example":["b8016c73-aaef-4c23-8e0e-de9eaab3bf3c","a0f36b6f-3209-49d4-a353-6f2dadb5d2be","db220954-bf9f-433e-917d-ba06ef2e2026"],"description":"Group UUIDs to sync employee to. Null can be provided to clear an employees groups","items":{"type":"string","example":"b968aab5-7bee-416b-aee2-45f1aba4ca27","format":"uuid"}},"advice_type":{"type":"string","example":"independent","description":"\n\nEmployee's RMAR advice type\n\n| Value | Description |\n| ----- | ----------- |\n|independent|Independent|\n|restricted|Restricted|","enum":["independent","restricted"]}}},"App_Http_Requests_Illustration_StoreIllustrationRequest":{"type":"object","required":["name","accounts","requested_by_uuid","is_draft","platform"],"properties":{"name":{"type":"string","example":"SuperSaver 2024","description":"The name of the illustration."},"client_uuid":{"type":"string","example":"6ca59014-9065-424b-8291-792afc850d6f","description":"The client UUID to associate the illustration with. (deprecated: use accounts instead)","format":"uuid"},"accounts":{"type":"array","example":["9cba7b8d-1a2a-49ce-b495-1724bbc2a612","c5189144-7d94-4f99-a97d-16fa16581ca2","7e549947-f70e-4d0f-b774-85420cca085f"],"description":"An array of client account UUIDs to associate the illustration with.","items":{"type":"string","example":"c6458d81-4947-4607-be1d-862a32983f90","format":"uuid"}},"requested_by_uuid":{"type":"string","example":"c44913ad-7617-48c1-99c0-cf940e2e6b5d","description":"The requested by account UUID to associate the illustration with. If not passed, this will default to the assigned adviser on the client account.","format":"uuid"},"plan_uuid":{"type":"string","example":"1d9e2ae4-01a3-464a-8363-0122edf1841e","description":"The plan UUID to associate the illustration with. If not provided and is_draft is false, a new proposed plan will be created using the request_data.","format":"uuid"},"request_data":{"type":"object","description":"The request data used to generate the illustration.","additionalProperties":true},"is_draft":{"type":"boolean","example":false,"description":"Whether the illustration is a draft or not. If draft, it will not be sent to the platform."},"platform":{"type":"string","example":"seccl","description":"The platform used to generate the illustration."},"generate":{"type":"boolean","example":true,"description":"Whether to generate the illustration. Defaults to true."}}},"App_Http_Requests_Illustration_UpdateIllustrationRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"SuperSaver 2024","description":"The name of the illustration. (required without request_data)"},"request_data":{"type":"object","description":"The request data used to generate the illustration. (required without name)","additionalProperties":true},"generate":{"type":"boolean","example":true,"description":"Whether to generate the illustration. Defaults to false."}}},"App_Http_Requests_Client_StoreClientRequest":{"type":"object","required":["first_name","last_name","client_regulatory_classification"],"properties":{"title":{"type":"string","example":"Mr","description":"Title"},"first_name":{"type":"string","example":"Gareth","description":"First Name"},"middle_name":{"type":"string","example":"Alex","description":"Middle Name"},"last_name":{"type":"string","example":"Thompson","description":"Last Name"},"maiden_name":{"type":"string","example":"Thompson","description":"Maiden Name"},"email":{"type":"string","example":"gareth@codepotato.co.uk","description":"Email address"},"phone":{"type":"string","example":"443330509960","description":"Clients primary phone number"},"assigned_adviser_uuid":{"type":"string","example":"bd165ee9-81ae-4c34-af2b-8d67a244ad78","description":"The UUID of the employee that the client directly reports to","format":"uuid"},"assigned_administrator_uuid":{"type":"string","example":"2813ddcb-c573-41b9-9d99-0c2d1689f9b2","description":"The UUID of the adviser employee that the client has been assigned","format":"uuid"},"assigned_paraplanner_uuid":{"type":"string","example":"9a682a8a-04a5-4a95-8c30-b939b7c4c7a8","description":"The UUID of the paraplanner employee that the client has been assigned","format":"uuid"},"introduced_by_uuid":{"type":"string","example":"3272ec57-455a-4aba-9b51-c0587cb29935","description":"The UUID of the introducer for this client","format":"uuid"},"send_welcome_email":{"type":"boolean","example":true,"description":"Set to true if you would like Plannr to send an email to the client on account creation"},"date_of_birth":{"type":"string","example":"1976-11-18","description":"Date of birth","format":"date"},"gender":{"type":"string","example":"male","description":"\n\nGender. Possible values are: male, female, non-binary, transgender, intersex, other and unknown\n\n| Value | Description |\n| ----- | ----------- |\n|male|male|\n|female|female|\n|non-binary|non-binary|\n|transgender|transgender|\n|intersex|intersex|\n|other|other|\n|unknown|unknown|","enum":["male","female","non-binary","transgender","intersex","other","unknown"]},"ni_number":{"type":"string","example":"AB 12 34 56 C","description":"National Insurance Number"},"nickname":{"type":"string","example":"G","description":"preferred nickname of the client"},"target_retirement_age":{"type":"integer","example":60,"description":"Target retirement age."},"pronouns":{"type":"string","example":"he/him","description":"Pronouns"},"smoker_status":{"type":"string","example":"smoker","description":"\n\nSmoker Status. Possible values are: smoker, non-smoker, vaper, ex-smoker, never-smoked, unknown\n\n| Value | Description |\n| ----- | ----------- |\n|smoker|Smoker|\n|non-smoker|Non Smoker|\n|vaper|Vaper|\n|ex-smoker|Ex Smoker|\n|never-smoked|Never Smoked|\n|unknown|Unknown|","enum":["smoker","non-smoker","vaper","ex-smoker","never-smoked","unknown"]},"residential_status":{"type":"string","example":"homeowner","description":"\n\nResidential status\n\n| Value | Description |\n| ----- | ----------- |\n|homeowner|Homeowner|\n|renting|Renting|\n|living_with_parents|Living With Parents|\n|other|Other|","enum":["homeowner","renting","living_with_parents","other"]},"country_of_residence":{"type":"string","example":"United Kingdom","description":"Country of residence"},"marital_status":{"type":"string","example":"single","description":"\n\nMarital Status. Possible values are: single, cohabiting, married, divorced, civil-partnership, dissolved-civil-partnership, widowed, separated, engaged, in-relationship, other, unknown\n\n| Value | Description |\n| ----- | ----------- |\n|single|single|\n|cohabiting|cohabiting|\n|married|married|\n|divorced|divorced|\n|civil-partnership|civil partnership|\n|dissolved-civil-partnership|dissolved-civil-partnership|\n|widowed|widowed|\n|separated|separated|\n|engaged|engaged|\n|in-relationship|in a relationship|\n|other|other|\n|unknown|unknown|","enum":["single","cohabiting","married","divorced","civil-partnership","dissolved-civil-partnership","widowed","separated","engaged","in-relationship","other","unknown"]},"is_vulnerable":{"type":"string","example":"yes","description":"whether the client is vulnerable.  Possible values are: \"yes\", \"no\", and \"possibly\"","enum":["yes","no","possibly"]},"is_prospect":{"type":"boolean","example":false,"description":"Denotes if the client is a prospect or not."},"prospect_converted_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The datetime when the prospect was converted into a client.","format":"date"},"value":{"type":"integer","example":500000,"description":"The value of the client in penny format. E.g £5,000 would be 500000."},"is_uk_resident":{"type":"boolean","example":true,"description":"Whether the client is a UK resident or not."},"is_uk_domicile":{"type":"boolean","example":true,"description":"Whether the client is a UK domicile or not."},"expected_retirement_age":{"type":"integer","example":60,"description":"The expected retirement age."},"state_retirement_age":{"type":"integer","example":60,"description":"The state retirement age."},"nationalities":{"type":"array","example":["British","Romanian"],"description":"Nationalities of the client. You can use the api/v1/static/nationalities endpoint to get our list."},"vulnerability_details":{"type":"string","example":"No vulnerabilities","description":"Any details regarding the client's vulnerabilities."},"vulnerability_sub_type":{"type":"array","example":[],"description":"One or more vulnerability sub types.","items":{"type":"string","example":"health","enum":["health","life_events","resilience","capability"]}},"vulnerability_last_assessment_date":{"type":"string","example":"2026-08-18","description":"The date of the last vulnerability assessment.","format":"date","nullable":true},"vulnerability_duration":{"type":"string","example":"temporary","description":"\n\nWhether the vulnerability is temporary or permanent.\n\n| Value | Description |\n| ----- | ----------- |\n|temporary|Temporary|\n|permanent|Permanent|","enum":["temporary","permanent"]},"third_party_offered":{"type":"boolean","example":true,"description":"Whether the client has been offered any third party."},"procedure_adaptation":{"type":"boolean","example":true,"description":"Whether any procedures need to be adapted to the client."},"adaption_details_notes":{"type":"boolean","example":true,"description":"Any notes regarding adaptations"},"client_preferences":{"type":"string","example":"Prefers telephone calls in the morning.","description":"Any client preferences."},"current_state_of_health":{"type":"string","example":"Fit and healthy","description":"The client's current state of health."},"state_of_health_explanation":{"type":"string","example":"Explanation of the current state of health.","description":"Explanation of the current state of health."},"cigarettes_daily":{"type":"integer","example":6,"description":"The amount of cigarettes the client smokes a day."},"smoker_since":{"type":"string","example":"2016-11-18","description":"The date of when the client started smoking.","format":"date"},"long_term_care_needed":{"type":"boolean","example":false,"description":"Whether the client required long term care."},"long_term_care_notes":{"type":"string","example":"Notes on the client's long term care.","description":"Notes on the client's long term care."},"has_will":{"type":"boolean","example":false,"description":"Whether the client has a will or not."},"will_notes":{"type":"string","example":"Notes on the client's will.","description":"Notes on the client's will."},"will_last_reviewed":{"type":"string","example":"2026-11-17","description":"The date of the last time the will's been reviewed.","format":"date"},"has_power_of_attorney":{"type":"boolean","example":true,"description":"Whether the client has power of attorney."},"power_of_attorney_notes":{"type":"string","example":"Notes on the client's power of attorney.","description":"Notes on the client's power of attorney."},"first_contact_date":{"type":"string","example":"2026-10-18","description":"The date of the first contact.","format":"date"},"units_of_alcohol_weekly":{"type":"integer","example":28,"description":"The units of alcohol digested weekly."},"height":{"type":"integer","example":186,"description":"The height of the client in centimeters."},"weight":{"type":"integer","example":220,"description":"The weight of the client in pounds."},"health_notes":{"type":"string","example":"Notes on the client's health.","description":"Notes on the client's health."},"has_iht_planning":{"type":"boolean","example":true,"description":"Whether the client has Inheritance Tax (IHT) planning or not."},"iht_planning_notes":{"type":"string","example":"Notes on the client's Inheritance Tax (IHT) planning.","description":"Notes on the client's Inheritance Tax (IHT) planning."},"has_gifted_family":{"type":"boolean","example":true,"description":"Whether the client has gifted the family."},"gift_notes":{"type":"string","example":"Notes on the gifts.","description":"Notes on the gifts."},"is_anticipating_inheritance":{"type":"boolean","example":true,"description":"Whether the client is anticipating/ expecting any inheritance."},"anticipating_inheritance_notes":{"type":"string","example":"Notes on the client's inheritance anticipation/ expectations.","description":"Notes on the client's inheritance anticipation/ expectations."},"next_review_date":{"type":"string","example":"2026-12-18","description":"Date of next review","format":"date"},"previous_review_date":{"type":"string","example":"2026-10-18","description":"Date of previous review","format":"date"},"anniversary_review_date":{"type":"string","example":"2026-11-18","description":"Anniversary review date","format":"date"},"is_will_accurate":{"type":"boolean","example":true,"description":"Does your current will reflect your wishes?"},"will_executors":{"type":"string","example":"","description":"Who are the executors?"},"will_location":{"type":"string","example":"","description":"Where is the will stored?"},"will_bequests_detail":{"type":"string","example":"","description":"Details of any Bequests"},"is_poa_registered_epa_or_lpa":{"type":"string","example":"epa","description":"\n\nIs the Power of Attorney Registered as a EPA or LPA\n\n| Value | Description |\n| ----- | ----------- |\n|epa|Epa|\n|lpa|Lpa|","enum":["epa","lpa"]},"are_poa_appointed_for_health_or_wealth":{"type":"string","example":"health","description":"Are the Attorneys appointed for Health, Wealth or Both?","enum":["health","wealth","both"]},"poa_attorney_appointed_at":{"type":"string","example":"2026-11-18","description":"When were the Attorney’s appointed?","format":"date"},"will_poa_details":{"type":"string","example":"","description":"Who are the Attorney’s?"},"are_poa_documents_registered":{"type":"boolean","example":true,"description":"Are the documents registered?"},"will_gifts_details":{"type":"string","example":"","description":"Notes of gifts"},"groups":{"type":"array","example":["d22581a4-51df-48ab-8eb9-c87752a8e02b","4ee69149-86f9-4574-a330-d8ed41adb405","009b36c2-d19d-45fe-9d6c-6d7099be3094"],"description":"Group UUIDs to sync client to.","items":{"type":"string","example":"2fc72027-b9c9-4e04-82db-6e5481ef19d4","format":"uuid"}},"is_in_receipt_of_your_state_pension":{"type":"boolean","example":true,"description":"Are you in receipt of your State Pension"},"has_obtained_a_forecast":{"type":"boolean","example":true,"description":"Have you recently obtained a forecast"},"date_of_forecast":{"type":"string","example":"2026-11-18","description":"What is the date of the obtained forecast","format":"date"},"projected_state_pension":{"type":"integer","example":50000,"description":"What is the projected State Pension"},"years_of_national_insurance_contributions":{"type":"integer","example":5,"description":"How many years have you made Nation Insurance Contributions"},"pension_notes":{"type":"string","example":"","description":"Notes on the pension"},"status_uuid":{"type":"string","example":"d4c04bd7-c407-4ae2-a6e2-8239e02754e7","description":"The status of the client.","format":"uuid"},"date_of_marriage":{"type":"string","example":"2026-11-18","description":"Date of marriage","format":"date"},"is_deceased":{"type":"boolean","example":false,"description":"Denotes if the client is deceased"},"deceased_at":{"type":"string","example":"2026-11-18","description":"Date of death","format":"date"},"is_married_to_partner":{"type":"boolean","example":true,"description":"Denotes if the client is married to their partner"},"checked_sanctions_at":{"type":"string","example":"2026-11-18","description":"Date the client was checked for sanctions","format":"date"},"lead_source":{"type":"string","example":"LeadGen Company","description":"Marks the lead source of the client"},"write_to_whom":{"type":"string","example":"Gareth","description":"Marks the name of the client to write to"},"passport_number":{"type":"string","example":"123456","description":"The passport number of the client"},"do_not_contact_via_fax":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via fax"},"do_not_contact_via_mail":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via mail"},"do_not_contact_via_sms":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via SMS"},"do_not_contact_via_email":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via email"},"do_not_contact_via_telephone":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via telephone"},"do_not_visit":{"type":"boolean","example":false,"description":"Denotes if the client can be visited"},"do_not_market":{"type":"boolean","example":false,"description":"Denotes if the client can be marketed to"},"client_regulatory_classification":{"type":"string","example":"retail_client","description":"\n\nThe regulatory classification of the client. Possible values are: retail_client, professional_client, eligible_counterparty, not_applicable and unknown\n\n| Value | Description |\n| ----- | ----------- |\n|retail_client|Retail Client|\n|professional_client|Professional Client|\n|eligible_counterparty|Eligible Counterparty|\n|not_applicable|Not Applicable|\n|unknown|Unknown|","enum":["retail_client","professional_client","eligible_counterparty","not_applicable","unknown"]},"terms_of_business_at":{"type":"string","example":"2026-10-18","description":"Date the Terms of Business were agreed and signed","format":"date","nullable":true},"client_agreement_at":{"type":"string","example":"2026-10-18","description":"Date the client agreement was agreed and signed","format":"date","nullable":true},"external_reference":{"allOf":[{"$ref":"#/components/schemas/ExternalReference"}],"description":"A third-party external reference to attach when creating the model."}}},"App_Http_Requests_Client_UpdateClientRequest":{"type":"object","properties":{"title":{"type":"string","example":"Mr","description":"Title"},"first_name":{"type":"string","example":"Gareth","description":"First name"},"middle_name":{"type":"string","example":"Alex","description":"Middle name."},"last_name":{"type":"string","example":"Thompson","description":"Last name"},"maiden_name":{"type":"string","example":"Thompson","description":"Maiden name."},"entity_name":{"type":"string","example":"Plannr Ltd","description":"Entity name for shared account types"},"assigned_adviser_uuid":{"type":"string","example":"78d96065-1d10-47ec-8a6c-a46560024cd4","description":"The UUID of the employee that the client directly reports to","format":"uuid"},"assigned_administrator_uuid":{"type":"string","example":"2e2aee70-60bb-46a5-9d25-ad1cb6608dc9","description":"The UUID of the adviser employee that the client has been assigned","format":"uuid"},"assigned_paraplanner_uuid":{"type":"string","example":"a73fd0ce-81b9-4848-8211-e15638eacce1","description":"The UUID of the paraplanner employee that the client has been assigned","format":"uuid"},"introduced_by_uuid":{"type":"string","example":"99497b59-ef03-48b3-b19f-d2ab2897fc7c","description":"The UUID of the introducer for this client","format":"uuid"},"date_of_birth":{"type":"string","example":"1976-11-18","description":"Date of birth","format":"date"},"gender":{"type":"string","example":"male","description":"\n\nGender. Possible values are: male, female, non-binary, transgender, intersex, other and unknown\n\n| Value | Description |\n| ----- | ----------- |\n|male|male|\n|female|female|\n|non-binary|non-binary|\n|transgender|transgender|\n|intersex|intersex|\n|other|other|\n|unknown|unknown|","enum":["male","female","non-binary","transgender","intersex","other","unknown"]},"ni_number":{"type":"string","example":"AB 12 34 56 C","description":"National Insurance Number"},"nickname":{"type":"string","example":"Garth","description":"preferred nickname of the client"},"target_retirement_age":{"type":"integer","example":60,"description":"Target retirement age."},"pronouns":{"type":"string","example":"he/him","description":"Pronouns"},"smoker_status":{"type":"string","example":"smoker","description":"\n\nSmoker Status. Possible values are: smoker, non-smoker, vaper, ex-smoker, never-smoked, unknown\n\n| Value | Description |\n| ----- | ----------- |\n|smoker|Smoker|\n|non-smoker|Non Smoker|\n|vaper|Vaper|\n|ex-smoker|Ex Smoker|\n|never-smoked|Never Smoked|\n|unknown|Unknown|","enum":["smoker","non-smoker","vaper","ex-smoker","never-smoked","unknown"]},"residential_status":{"type":"string","example":"homeowner","description":"\n\nResidential status\n\n| Value | Description |\n| ----- | ----------- |\n|homeowner|Homeowner|\n|renting|Renting|\n|living_with_parents|Living With Parents|\n|other|Other|","enum":["homeowner","renting","living_with_parents","other"]},"country_of_residence":{"type":"string","example":"United Kingdom","description":"Country of residence"},"marital_status":{"type":"string","example":"single","description":"\n\nMarital status. Possible values are: single, cohabiting, married, divorced, civil-partnership, dissolved-civil-partnership, widowed, separated, engaged, in-relationship, other, unknown\n\n| Value | Description |\n| ----- | ----------- |\n|single|single|\n|cohabiting|cohabiting|\n|married|married|\n|divorced|divorced|\n|civil-partnership|civil partnership|\n|dissolved-civil-partnership|dissolved-civil-partnership|\n|widowed|widowed|\n|separated|separated|\n|engaged|engaged|\n|in-relationship|in a relationship|\n|other|other|\n|unknown|unknown|","enum":["single","cohabiting","married","divorced","civil-partnership","dissolved-civil-partnership","widowed","separated","engaged","in-relationship","other","unknown"]},"is_vulnerable":{"type":"string","example":"yes","description":"whether the client is vulnerable.  Possible values are: \"yes\", \"no\", and \"possibly\"","enum":["yes","no","possibly"]},"is_prospect":{"type":"boolean","example":false,"description":"Denotes if the client is a prospect or not."},"prospect_converted_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The datetime when the prospect was converted into a client.","format":"date"},"value":{"type":"integer","example":500000,"description":"The value of the client in penny format. E.g £5,000 would be 500000."},"is_uk_resident":{"type":"boolean","example":true,"description":"Whether the client is a UK resident or not."},"is_uk_domicile":{"type":"boolean","example":true,"description":"Whether the client is a UK domicile or not."},"expected_retirement_age":{"type":"integer","example":60,"description":"The expected retirement age."},"state_retirement_age":{"type":"integer","example":60,"description":"The state retirement age."},"nationalities":{"type":"array","example":["British","Romanian"],"description":"Nationalities of the client. You can use the api/v1/static/nationalities endpoint to get our list."},"vulnerability_details":{"type":"string","example":"No vulnerabilities","description":"Any details regarding the client's vulnerabilities."},"vulnerability_sub_type":{"type":"array","example":[],"description":"One or more vulnerability sub types.","items":{"type":"string","example":"health","enum":["health","life_events","resilience","capability"]}},"vulnerability_last_assessment_date":{"type":"string","example":"2026-08-18","description":"The date of the last vulnerability assessment.","format":"date","nullable":true},"vulnerability_duration":{"type":"string","example":"temporary","description":"\n\nWhether the vulnerability is temporary or permanent.\n\n| Value | Description |\n| ----- | ----------- |\n|temporary|Temporary|\n|permanent|Permanent|","enum":["temporary","permanent"]},"third_party_offered":{"type":"boolean","example":true,"description":"Whether the client has been offered any third party."},"procedure_adaptation":{"type":"boolean","example":false,"description":"Whether any procedures need to be adapted to the client."},"adaption_details_notes":{"type":"boolean","example":true,"description":"Any notes regarding adaptations"},"client_preferences":{"type":"string","example":"Prefers telephone calls in the morning.","description":"Any client preferences."},"current_state_of_health":{"type":"string","example":"Fit and healthy","description":"The client's current state of health."},"state_of_health_explanation":{"type":"string","example":"Explanation of the current state of health.","description":"Explanation of the current state of health."},"cigarettes_daily":{"type":"integer","example":6,"description":"The amount of cigarettes the client smokes a day."},"smoker_since":{"type":"string","example":"2016-11-18","description":"The date of when the client started smoking.","format":"date"},"long_term_care_needed":{"type":"boolean","example":false,"description":"Whether the client required long term care."},"long_term_care_notes":{"type":"string","example":"Notes on the client's long term care.","description":"Notes on the client's long term care."},"has_will":{"type":"boolean","example":true,"description":"Whether the client has a will or not."},"will_notes":{"type":"string","example":"Notes on the client's will.","description":"Notes on the client's will."},"will_last_reviewed":{"type":"string","example":"2026-11-18","description":"The date of the last time the will's been reviewed.","format":"date"},"has_power_of_attorney":{"type":"boolean","example":true,"description":"Whether the client has power of attorney."},"power_of_attorney_notes":{"type":"string","example":"Notes on the client's power of attorney.","description":"Notes on the client's power of attorney."},"first_contact_date":{"type":"string","example":"2026-10-18","description":"The date of the first contact.","format":"date"},"units_of_alcohol_weekly":{"type":"integer","example":28,"description":"The units of alcohol digested weekly."},"height":{"type":"integer","example":186,"description":"The height of the client in centimeters."},"weight":{"type":"integer","example":220,"description":"The weight of the client in pounds."},"health_notes":{"type":"string","example":"Notes on the client's health.","description":"Notes on the client's health."},"has_iht_planning":{"type":"boolean","example":true,"description":"Whether the client has Inheritance Tax (IHT) planning or not."},"iht_planning_notes":{"type":"string","example":"Notes on the client's Inheritance Tax (IHT) planning.","description":"Notes on the client's Inheritance Tax (IHT) planning."},"has_gifted_family":{"type":"boolean","example":true,"description":"Whether the client has gifted the family."},"gift_notes":{"type":"string","example":"Notes on the gifts.","description":"Notes on the gifts."},"is_anticipating_inheritance":{"type":"boolean","example":true,"description":"Whether the client is anticipating/ expecting any inheritance."},"anticipating_inheritance_notes":{"type":"string","example":"Notes on the client's inheritance anticipation/ expectations.","description":"Notes on the client's inheritance anticipation/ expectations."},"next_review_date":{"type":"string","example":"2026-12-18","description":"Date of next review","format":"date"},"previous_review_date":{"type":"string","example":"2026-10-18","description":"Date of previous review","format":"date"},"anniversary_review_date":{"type":"string","example":"2026-11-18","description":"Anniversary review date","format":"date"},"is_will_accurate":{"type":"boolean","example":true,"description":"Does your current will reflect your wishes?"},"will_executors":{"type":"string","example":"","description":"Who are the executors?"},"will_location":{"type":"string","example":"","description":"Where is the will stored?"},"will_bequests_detail":{"type":"string","example":"","description":"Details of any Bequests"},"is_poa_registered_epa_or_lpa":{"type":"string","example":"epa","description":"\n\nIs the Power of Attorney Registered as a EPA or LPA\n\n| Value | Description |\n| ----- | ----------- |\n|epa|Epa|\n|lpa|Lpa|","enum":["epa","lpa"]},"are_poa_appointed_for_health_or_wealth":{"type":"string","example":"health","description":"Are the Attorneys appointed for Health, Wealth or Both?","enum":["health","wealth","both"]},"poa_attorney_appointed_at":{"type":"string","example":"2026-11-18","description":"When were the Attorney’s appointed?","format":"date"},"will_poa_details":{"type":"string","example":"","description":"Who are the Attorney’s?"},"are_poa_documents_registered":{"type":"boolean","example":true,"description":"Are the documents registered?"},"will_gifts_details":{"type":"string","example":"","description":"Notes of gifts"},"is_in_receipt_of_your_state_pension":{"type":"boolean","example":true,"description":"Are you in receipt of your State Pension"},"has_obtained_a_forecast":{"type":"boolean","example":true,"description":"Have you recently obtained a forecast"},"date_of_forecast":{"type":"string","example":"2026-11-18","description":"What is the date of the obtained forecast","format":"date"},"projected_state_pension":{"type":"integer","example":50000,"description":"What is the projected State Pension"},"years_of_national_insurance_contributions":{"type":"integer","example":5,"description":"How many years have you made Nation Insurance Contributions"},"pension_notes":{"type":"string","example":"","description":"Notes on the pension"},"date_of_marriage":{"type":"string","example":"2026-11-18","description":"Date of marriage","format":"date"},"is_deceased":{"type":"boolean","example":false,"description":"Denotes if the client is deceased"},"deceased_at":{"type":"string","example":"2026-11-18","description":"Date of death","format":"date"},"is_married_to_partner":{"type":"boolean","example":true,"description":"Denotes if the client is married to their partner"},"checked_sanctions_at":{"type":"string","example":"2026-11-18","description":"Date the client was checked for sanctions","format":"date"},"lead_source":{"type":"string","example":"LeadGen Company","description":"Marks the lead source of the client"},"write_to_whom":{"type":"string","example":"Gareth","description":"Marks the name of the client to write to"},"passport_number":{"type":"string","example":"123456","description":"The passport number of the client"},"do_not_contact_via_fax":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via fax"},"do_not_contact_via_mail":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via mail"},"do_not_contact_via_sms":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via SMS"},"do_not_contact_via_email":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via email"},"do_not_contact_via_telephone":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via telephone"},"do_not_visit":{"type":"boolean","example":false,"description":"Denotes if the client can be visited"},"do_not_market":{"type":"boolean","example":false,"description":"Denotes if the client can be visited"},"status_uuid":{"type":"string","example":"f26acd35-8bd9-45c2-b45f-13f7214aa9de","description":"The status of the client.","format":"uuid"},"groups":{"type":"array","example":["c8a94ae1-73f1-4e45-b3f2-b617cb6fb3c8","512a4cfd-cab9-41e2-af25-a1e5856c2218","14378a84-422d-4214-b9b3-3c5b910b3e6d"],"description":"Group UUIDs to sync client to. Null can be provided to clear a clients groups.","items":{"type":"string","example":"dc65e0a8-54e3-47ed-9c23-40369e99146b","format":"uuid"}},"client_regulatory_classification":{"type":"string","example":"professional_client","description":"The regulatory classification of the client. Possible values are: retail_client, professional_client, eligible_counterparty, not_applicable and unknown"},"terms_of_business_at":{"type":"string","example":"2026-10-18","description":"Date the Terms of Business were agreed and signed","format":"date","nullable":true},"client_agreement_at":{"type":"string","example":"2026-10-18","description":"Date the client agreement was agreed and signed","format":"date","nullable":true}}},"App_Http_Requests_Contact_DismissPotentialDuplicatesRequest":{"type":"object","required":["matched_account_uuids"],"properties":{"matched_account_uuids":{"type":"array","example":["9b1f2a8b-7b1d-4d8a-bf2e-12d0a8f0c0aa"],"description":"UUIDs of the matched client records the user is marking as not-a-duplicate of this client."}}},"App_Http_Requests_Expenditure_StoreOrUpdateExpenditureRequest":{"type":"object","required":["amount"],"properties":{"amount":{"type":"integer","example":50000,"description":"The amount of the expenditure in pennies."},"life_stage_section_uuid":{"type":"string","example":"c1f5c7dd-8827-4bea-b7bc-34b77d8b7b15","description":"The life stage section UUID.","format":"uuid"}}},"App_Http_Requests_StoreGoalRequest":{"type":"object","required":["name","description"],"properties":{"name":{"type":"string","example":"Reduced Mileage","description":"The goal's name."},"description":{"type":"string","example":"Reduce the amount of gas spent yearly.","description":"The goal's description."},"target_amount":{"type":"integer","example":5000,"description":"The goal's target amount."},"progress":{"type":"number","example":68.0,"description":"The goal's progress as a percentage, used when progress_type is \"percentage\".","format":"float","minimum":0.0,"maximum":100.0},"progress_amount":{"type":"integer","example":5000,"description":"The goal's progress expressed as a currency amount, used when progress_type is \"amount\". Cannot be greater than target_amount.","minimum":0},"progress_type":{"type":"string","example":"percentage","description":"Which representation of progress the client entered — \"percentage\" (progress) or \"currency\" (progress_amount). Only one of progress or progress_amount may be provided."},"timeframe":{"type":"string","example":"Within the year.","description":"The goal's timeframe."},"complete_goal_by":{"type":"string","example":"2027-11-18T20:11:43+00:00","description":"The goal's deadline as a specific date."},"priority":{"type":"integer","example":4,"description":"The goal's priority on a scale from 1 to 5.","enum":[1,2,3,4,5]},"shared_owner_uuid":{"type":"string","example":"f88e94f3-9314-462d-a7e5-2525f352a2de","description":"Optional UUID of an owner account. The client must be a shared type."}}},"App_Http_Requests_UpdateGoalRequest":{"type":"object","properties":{"name":{"type":"string","example":"Reduced Mileage","description":"The goal's name."},"description":{"type":"string","example":"Reduce the amount of gas spent yearly.","description":"The goal's description."},"target_amount":{"type":"integer","example":5000,"description":"The goal's target amount."},"progress":{"type":"number","example":68.0,"description":"The goal's progress as a percentage, used when progress_type is \"percentage\".","format":"float","minimum":0.0,"maximum":100.0},"progress_amount":{"type":"integer","example":5000,"description":"The goal's progress expressed as a currency amount, used when progress_type is \"amount\". Cannot be greater than target_amount.","minimum":0},"progress_type":{"type":"string","example":"percentage","description":"Which representation of progress the client entered — \"percentage\" (progress) or \"currency\" (progress_amount). Only one of progress or progress_amount may be provided."},"timeframe":{"type":"string","example":"Within the year.","description":"The goal's timeframe."},"complete_goal_by":{"type":"string","example":"2027-11-18","description":"The goal's deadline as a specific date.","format":"date"},"priority":{"type":"integer","example":4,"description":"The goal's priority on a scale from 1 to 5.","enum":[1,2,3,4,5]},"shared_owner_uuid":{"type":"string","example":"65ec6500-473b-4ecb-b351-4d6d8b7351b0","description":"Optional UUID of an owner account. The client must be a shared type.","format":"uuid"}}},"App_Http_Requests_Risk_StoreRiskRequest":{"type":"object","required":["completed_at","completed_by"],"properties":{"level":{"type":"integer","example":52,"description":"The risk level of the clients risk assessment. Number between 1 and 1,000. Cannot be set with level_string"},"level_string":{"type":"string","example":"Moderately Aggressive","description":"The risk level of the client as a string/text. Cannot be set with level."},"completed_at":{"type":"string","example":"2025-11-18","description":"Date of risk assessment completion.","format":"date"},"completed_by":{"type":"string","example":"a084e9b0-89cc-4351-9493-0655b00abddb","description":"Uuid of the employee that completed the risk assessment","format":"uuid"},"risk_assessment_provider":{"type":"string","example":"Defaqto","description":"Name of provider for the risk assessment"},"time_horizon":{"type":"string","example":"For the next 5 years","description":"Time horizon: how long the risk assessment will last for the client."}}},"App_Http_Requests_Risk_UpdateRiskRequest":{"type":"object","properties":{"level":{"type":"integer","example":7,"description":"The risk level of the clients risk assessment. Number between 1 and 1,000. Cannot be set with level_string"},"level_string":{"type":"string","example":"Moderately Aggressive","description":"The risk level of the client as a string/text. Cannot be set with level."},"completed_at":{"type":"string","example":"2025-11-18","description":"Date of risk assessment completion.","format":"date"},"completed_by":{"type":"string","example":"16ac7b5b-f0f8-442f-91ae-4bb409729c51","description":"Uuid of the employee that completed the risk assessment","format":"uuid"},"risk_assessment_provider":{"type":"string","example":"Defaqto","description":"Name of provider for the risk assessment"},"time_horizon":{"type":"string","example":"For the next 5 years","description":"Time horizon: how long the risk assessment will last for the client."}}},"App_Http_Requests_Client_StoreClientLinkRequest":{"type":"object","required":["account_uuid","relationship","inverse_relationship"],"properties":{"account_uuid":{"type":"string","example":"1d96ae30-6e63-4a89-8a1d-8f9339fd2455","description":"The client that you would like to be linked.","format":"uuid"},"relationship":{"type":"string","example":"Son","description":"The relationship to the linked client."},"inverse_relationship":{"type":"string","example":"Father","description":"The inverse relationship to the client."}}},"App_Http_Requests_Client_UpdateClientLinkRequest":{"type":"object","required":["relationship","inverse_relationship"],"properties":{"relationship":{"type":"string","example":"Son","description":"The relationship to the linked client."},"inverse_relationship":{"type":"string","example":"Father","description":"The inverse relationship to the client."}}},"App_Http_Requests_Client_ManageClientOwnersRequest":{"type":"object","required":["mode","owners"],"properties":{"mode":{"type":"string","example":"attach","description":"The mode that you want to apply when managing owners. Available options: attach, detach, sync.","enum":["attach","detach","sync"]},"owners":{"type":"array","example":["5dff941d-40be-46ac-a2b7-0b06a261609a","32efa83e-271b-41e1-bf3d-fc226ee85be9","3915602f-c0c5-48c8-94bd-01ea5a1e3617"],"description":"An array containing the owners you want to manage.","items":{"type":"string","example":"610fd43d-6ce5-4e2f-a42f-481c951846df","format":"uuid"}}}},"App_Http_Requests_Client_UpdateOwnersPersonalDetailsRequest":{"type":"object","properties":{"title":{"type":"string","example":"mr","description":"\n\nTitle\n\n| Value | Description |\n| ----- | ----------- |\n|mr|Mr|\n|mrs|Mrs|\n|ms|Ms|\n|miss|Miss|\n|admiral|Admiral|\n|air_commodore|Air Commodore|\n|air_vice_marshall|Air Vice Marshall|\n|archdeacon|Archdeacon|\n|baron|Baron|\n|baroness|Baroness|\n|bishop|Bishop|\n|brigadier|Brigadier|\n|canon|Canon|\n|captain|Captain|\n|colonel|Colonel|\n|commander|Commander|\n|commodore|Commodore|\n|corporal|Corporal|\n|count|Count|\n|countess|Countess|\n|dame|Dame|\n|deacon|Deacon|\n|deaconess|Deaconess|\n|dr|Dr|\n|duchess|Duchess|\n|father|Father|\n|flight_lieutenant|Flight Lieutenant|\n|group_captain|Group Captain|\n|judge|Judge|\n|lady|Lady|\n|lance_corporal|Lance Corporal|\n|lieutenant|Lieutenant|\n|lieutenant_colonel|Lieutenant Colonel|\n|lieutenant_commander|Lieutenant Commander|\n|lord|Lord|\n|madam|Madam|\n|major|Major|\n|major_general|Major General|\n|master|Master|\n|monsignor|Monsignor|\n|mx|Mx|\n|other|Other|\n|pastor|Pastor|\n|prince|Prince|\n|princess|Princess|\n|private|Private|\n|professor|Professor|\n|rabbi|Rabbi|\n|rear_admiral|Rear Admiral|\n|reverend|Reverend|\n|reverend_doctor|Reverend Doctor|\n|right_honourable|Right Honourable|\n|right_honourable_lord|Right Honourable Lord|\n|right_reverend|Right Reverend|\n|second_lieutenant|Second Lieutenant|\n|sergeant|Sergeant|\n|sheriff|Sheriff|\n|sir|Sir|\n|sister|Sister|\n|squadron_leader|Squadron Leader|\n|staff_sergeant|Staff Sergeant|\n|surgeon_captain|Surgeon Captain|\n|the_earl_of|The Earl of|\n|the_honourable|The Honourable|\n|the_reverend_canon|The Reverend Canon|\n|trooper|Trooper|\n|unspecified|Unspecified|\n|venerable|Venerable|\n|very_reverend|Very Reverend|\n|viscount|Viscount|\n|viscountess|Viscountess|\n|wing_commander|Wing Commander|","enum":["mr","mrs","ms","miss","admiral","air_commodore","air_vice_marshall","archdeacon","baron","baroness","bishop","brigadier","canon","captain","colonel","commander","commodore","corporal","count","countess","dame","deacon","deaconess","dr","duchess","father","flight_lieutenant","group_captain","judge","lady","lance_corporal","lieutenant","lieutenant_colonel","lieutenant_commander","lord","madam","major","major_general","master","monsignor","mx","other","pastor","prince","princess","private","professor","rabbi","rear_admiral","reverend","reverend_doctor","right_honourable","right_honourable_lord","right_reverend","second_lieutenant","sergeant","sheriff","sir","sister","squadron_leader","staff_sergeant","surgeon_captain","the_earl_of","the_honourable","the_reverend_canon","trooper","unspecified","venerable","very_reverend","viscount","viscountess","wing_commander"]},"first_name":{"type":"string","example":"Gareth","description":"First name"},"middle_name":{"type":"string","example":"Alex","description":"Middle name."},"last_name":{"type":"string","example":"Thompson","description":"Last name"},"maiden_name":{"type":"string","example":"Thompson","description":"Maiden name."},"email":{"type":"string","example":"gareth@codepotato.co.uk","description":"Email address"},"date_of_birth":{"type":"string","example":"1976-11-18","description":"Date of birth","format":"date"},"gender":{"type":"string","example":"male","description":"\n\nGender\n\n| Value | Description |\n| ----- | ----------- |\n|male|male|\n|female|female|\n|non-binary|non-binary|\n|transgender|transgender|\n|intersex|intersex|\n|other|other|\n|unknown|unknown|","enum":["male","female","non-binary","transgender","intersex","other","unknown"]},"ni_number":{"type":"string","example":"AB 12 34 56 C","description":"National Insurance Number"},"target_retirement_age":{"type":"integer","example":60,"description":"Target retirement age."},"pronouns":{"type":"string","example":"he/him","description":"Pronouns"},"smoker_status":{"type":"string","example":"smoker","description":"\n\nSmoker Status\n\n| Value | Description |\n| ----- | ----------- |\n|smoker|Smoker|\n|non-smoker|Non Smoker|\n|vaper|Vaper|\n|ex-smoker|Ex Smoker|\n|never-smoked|Never Smoked|\n|unknown|Unknown|","enum":["smoker","non-smoker","vaper","ex-smoker","never-smoked","unknown"]},"residential_status":{"type":"string","example":"homeowner","description":"\n\nResidential status\n\n| Value | Description |\n| ----- | ----------- |\n|homeowner|Homeowner|\n|renting|Renting|\n|living_with_parents|Living With Parents|\n|other|Other|","enum":["homeowner","renting","living_with_parents","other"]},"country_of_residence":{"type":"string","example":"United Kingdom","description":"Country of residence"},"marital_status":{"type":"string","example":"single","description":"\n\nMarital Status\n\n| Value | Description |\n| ----- | ----------- |\n|single|single|\n|cohabiting|cohabiting|\n|married|married|\n|divorced|divorced|\n|civil-partnership|civil partnership|\n|dissolved-civil-partnership|dissolved-civil-partnership|\n|widowed|widowed|\n|separated|separated|\n|engaged|engaged|\n|in-relationship|in a relationship|\n|other|other|\n|unknown|unknown|","enum":["single","cohabiting","married","divorced","civil-partnership","dissolved-civil-partnership","widowed","separated","engaged","in-relationship","other","unknown"]},"is_vulnerable":{"type":"string","example":"possibly","description":"whether the client is vulnerable.  Possible values are: \"yes\", \"no\", and \"possibly\""},"is_uk_resident":{"type":"boolean","example":true,"description":"Whether the client is a UK resident or not."},"is_uk_domicile":{"type":"boolean","example":true,"description":"Whether the client is a uk domicile or not."},"expected_retirement_age":{"type":"integer","example":60,"description":"The expected retirement age."},"state_retirement_age":{"type":"integer","example":60,"description":"The state retirement age."},"nationalities":{"type":"array","example":["British","Romanian"],"description":"Nationalities of the client. You can use the api/v1/static/nationalities endpoint to get our list."},"vulnerability_details":{"type":"string","example":"No vulnerabilities","description":"Any details regarding the client's vulnerabilities."},"vulnerability_sub_type":{"type":"array","example":[],"description":"One or more vulnerability sub types.","items":{"type":"string","example":"health","enum":["health","life_events","resilience","capability"]}},"vulnerability_last_assessment_date":{"type":"string","example":"2026-08-18","description":"The date of the last vulnerability assessment.","format":"date","nullable":true},"vulnerability_duration":{"type":"string","example":"temporary","description":"\n\nWhether the vulnerability is temporary or permanent.\n\n| Value | Description |\n| ----- | ----------- |\n|temporary|Temporary|\n|permanent|Permanent|","enum":["temporary","permanent"]},"third_party_offered":{"type":"boolean","example":true,"description":"Whether the client has been offered any third party."},"procedure_adaptation":{"type":"boolean","example":false,"description":"Whether any procedures need to be adapted to the client."},"client_preferences":{"type":"string","example":"Prefers telephone calls in the morning.","description":"Any client preferences."},"current_state_of_health":{"type":"string","example":"Fit and healthy","description":"The client's current state of health."},"state_of_health_explanation":{"type":"string","example":"They go to the gym every week","description":"Any explanation on the client's state of health."},"cigarettes_daily":{"type":"integer","example":6,"description":"The amount of cigarettes the client smokes a day."},"smoker_since":{"type":"string","example":"2022-11-18","description":"The date of when the client started smoking.","format":"date"},"last_used_nicotine_products_date":{"type":"string","example":"2026-11-18","description":"The date of the last time the client used nicotine products.","format":"date"},"long_term_care_needed":{"type":"boolean","example":false,"description":"Whether the client required long term care."},"long_term_care_notes":{"type":"string","example":" No Notes.","description":"Notes on the client's long term care."},"has_will":{"type":"boolean","example":true,"description":"Whether the client has a will or not."},"will_notes":{"type":"string","example":"No Notes.","description":"Notes on the client's will."},"will_last_reviewed":{"type":"string","example":"2026-11-18","description":"The date of the last time the will's been reviewed.","format":"date"},"has_power_of_attorney":{"type":"boolean","example":true,"description":"Whether the client has power of attorney."},"power_of_attorney_notes":{"type":"string","example":"Power of Attorney for themself \u0026 partner.","description":"Notes on the client's power of attorney."},"first_contact_date":{"type":"string","example":"2025-11-18","description":"The date of the first contact.","format":"date"},"next_review_date":{"type":"string","example":"2027-11-18","description":"The date of the next review.","format":"date"},"units_of_alcohol_weekly":{"type":"integer","example":12,"description":"The units of alcohol digested weekly."},"height":{"type":"integer","example":180,"description":"The height of the client in centimeters."},"weight":{"type":"integer","example":220,"description":"The weight of the client in pounds."},"health_notes":{"type":"string","example":"No Notes.","description":"Notes on the client's health."},"has_iht_planning":{"type":"boolean","example":true,"description":"Whether the client has Inheritance Tax (IHT) planning or not."},"iht_planning_notes":{"type":"string","example":"No Notes.","description":"Notes on the client's Inheritance Tax (IHT) planning."},"has_gifted_family":{"type":"boolean","example":true,"description":"Whether the client has gifted the family."},"gift_notes":{"type":"string","example":"No Notes.","description":"Notes on the gifts."},"is_anticipating_inheritance":{"type":"boolean","example":true,"description":"Whether the client is anticipating/expecting any inheritance."},"anticipating_inheritance_notes":{"type":"string","example":"No Notes.","description":"Notes on the client's inheritance anticipation/expectations."}}},"App_Http_Requests_Dependants_StoreDependantRequest":{"type":"object","required":["first_name","last_name","relationship"],"properties":{"first_name":{"type":"string","example":"Christopher","description":"The first name of the dependant."},"last_name":{"type":"string","example":"Nolan","description":"The last name of the dependant."},"known_as":{"type":"string","example":"Chris","description":"An optional nickname for the dependant."},"relationship":{"type":"string","example":"Brother","description":"The relationship of the dependant."},"date_of_birth":{"type":"string","example":"2006-11-18","description":"The date of birth of the dependant. Must be in Y-m-d format. Example: 1990-12-25.","format":"date"},"is_financially_dependant":{"type":"boolean","example":true,"description":"Denotes if the dependant is financially dependant on the client."},"notes":{"type":"string","example":"Example notes","description":"Optional notes for the dependant."},"shared_owner_uuid":{"type":"string","example":"298d44e3-eabe-4c79-ab51-796ecf0fdd4d","description":"Optional UUID of an owner account. The client must be a shared type.","format":"uuid"}}},"App_Http_Requests_Dependants_UpdateDependantRequest":{"type":"object","properties":{"first_name":{"type":"string","example":"Christopher","description":"The first name of the dependant."},"last_name":{"type":"string","example":"Nolan","description":"The last name of the dependant."},"known_as":{"type":"string","example":"Chris","description":"An optional nickname for the dependant."},"relationship":{"type":"string","example":"Brother","description":"The relationship of the dependant."},"date_of_birth":{"type":"string","example":"2006-11-18","description":"The date of birth of the dependant. Must be in Y-m-d format. Example: 1990-12-25.","format":"date"},"is_financially_dependant":{"type":"boolean","example":true,"description":"Denotes if the dependant is financially dependant on the client."},"notes":{"type":"string","example":"Example notes","description":"Optional notes for the dependant."},"shared_owner_uuid":{"type":"string","example":"4150d492-0452-4032-96c7-88deff9f69ea","description":"Optional UUID of an owner account. The client must be a shared type.","format":"uuid"}}},"App_Http_Requests_Employments_StoreEmploymentRequest":{"type":"object","required":["status"],"properties":{"status":{"type":"string","example":"employed","description":"\n\nThe employment status for the given employment. Available values: employed, self_employed, student, unemployed, house_person, retired and other\n\n| Value | Description |\n| ----- | ----------- |\n|employed|Employed|\n|self_employed|Self Employed|\n|student|Student|\n|unemployed|Unemployed|\n|house_person|House Person|\n|retired|Retired|\n|other|Other|","enum":["employed","self_employed","student","unemployed","house_person","retired","other"]},"primary":{"type":"boolean","example":true,"description":"Make this employment the primary employment.  Will make all other employments no longer primary."},"occupation_code":{"type":"string","example":"FAC02774","description":"The Origo occupation code for the given employment. You can use the /api/v1/static/occupations endpoint to get a list of occupations."},"job_title":{"type":"string","example":"Senior Developer","description":"Job title if no suitable occupation code is found."},"employer":{"type":"string","example":"Plannr Technologies Ltd","description":"The name of the employer/business."},"started_at":{"type":"string","example":"2021-11-18","description":"An optional start date of the employment.","format":"date"},"ended_at":{"type":"string","example":"2022-11-18","description":"An optional end date of the employment.","format":"date"},"is_business_owner":{"type":"boolean","example":true,"description":"Denotes if the employment owner is the business owner."},"percentage_of_business_owned":{"type":"integer","example":50,"description":"The percentage of the business owned."},"address":{"allOf":[{"$ref":"#/components/schemas/SimpleAddress"}],"description":"The address of the employer."},"email_address":{"type":"string","example":"gareth@plannrcrm.com","description":"The email address of the employer. Will be added as a contact detail."},"phone_number":{"type":"string","example":"+443330509960","description":"The phone number of the employer. In E.164 format. Will be added as a contact detail."},"shared_owner_uuid":{"type":"string","example":"35ced0bb-d181-4dca-baa8-ababcec5c94e","description":"Optional UUID of an owner account. The client must be a shared type."},"last_salary_increase":{"type":"string","example":"2019-01-01","description":"The date of the last salary increase.","format":"date"},"business_name":{"type":"string","example":"My Business","description":"The name of the business."},"business_year_end":{"type":"string","example":"2019-01-01","description":"The year end of the business."},"business_value":{"type":"integer","example":5000000,"description":"The value of the business in pennies."},"directors":{"type":"string","example":"John Doe","description":"The directors of the business."},"shareholding_in_business":{"type":"number","example":50.5,"description":"The shareholding in the business in percentage.","format":"float"},"profit":{"type":"integer","example":5000000,"description":"The profit of the business in pennies."},"turnover_history":{"type":"array","example":[],"description":"The turnover history of the business for each year.  All values must be in pennies as integers.","items":{"type":"object","example":[{"year":2022,"value":5000000},{"year":2021,"value":4500000}],"properties":{"year":{"type":"string","example":"2022","description":"Year for this history item"},"value":{"type":"integer","example":4500000,"description":"The Value for the year specified"}}}},"accountant_company_name":{"type":"string","example":"My Company","description":"The name of the accountant company."},"accountant_email":{"type":"string","example":"accountant@email.com","description":"The email of the accountant."},"accountant_telephone_number":{"type":"string","example":"0123456789","description":"The telephone number of the accountant."},"accountant_address":{"type":"string","example":"1 My Street, My Town, My Country","description":"The address of the accountant."}}},"App_Http_Requests_Employments_UpdateEmploymentRequest":{"type":"object","properties":{"status":{"type":"string","example":"employed","description":"The employment status for the given employment. Available values: employed, self_employed, student, unemployed, house_person, retired and other"},"primary":{"type":"boolean","example":true,"description":"Make this employment the primary employment.  Will make all other employments no longer primary."},"occupation_code":{"type":"string","example":"FAC02774","description":"The Origo occupation code for the given employment. You can use the /api/v1/static/occupations endpoint to get a list of occupations."},"job_title":{"type":"string","example":"Senior Developer","description":"Job title if no suitable occupation code is found."},"employer":{"type":"string","example":"Plannr Technologies Ltd","description":"The name of the employer/business."},"started_at":{"type":"string","example":"2021-11-18T20:11:43+00:00","description":"An optional start date of the employment.","format":"date"},"ended_at":{"type":"string","example":"2022-11-18T20:11:43+00:00","description":"An optional end date of the employment.","format":"date"},"is_business_owner":{"type":"boolean","example":true,"description":"Denotes if the employment owner is the business owner."},"percentage_of_business_owned":{"type":"integer","example":50,"description":"The percentage of the business owned."},"address":{"allOf":[{"$ref":"#/components/schemas/SimpleAddress"}],"description":"The address of the employer."},"email_address":{"type":"string","example":"gareth@plannrcrm.com","description":"The email address of the employer. Will be added as a contact detail."},"phone_number":{"type":"string","example":"+443330509960","description":"The phone number of the employer. In E.164 format. Will be added as a contact detail."},"shared_owner_uuid":{"type":"string","example":"535b8299-2750-435b-882f-209459794fb2","description":"Optional UUID of an owner account. The client must be a shared type.","format":"uuid"},"last_salary_increase":{"type":"string","example":"2019-01-01","description":"The date of the last salary increase.","format":"date"},"business_name":{"type":"string","example":"My Business","description":"The name of the business."},"business_year_end":{"type":"string","example":"2019-01-01","description":"The year end of the business.","format":"date"},"business_value":{"type":"integer","example":5000000,"description":"The value of the business in pennies."},"directors":{"type":"string","example":"John Doe","description":"The directors of the business."},"shareholding_in_business":{"type":"integer","example":50,"description":"The shareholding in the business in percentage."},"profit":{"type":"integer","example":5000000,"description":"The profit of the business in pennies."},"turnover_history":{"type":"array","example":[],"description":"The turnover history of the business for each year.  All values must be in pennies as integers.","items":{"type":"object","example":[{"year":2022,"value":5000000},{"year":2021,"value":4500000}],"properties":{"year":{"type":"string","example":"2022","description":"Year for this history item"},"value":{"type":"integer","example":4500000,"description":"The Value for the year specified"}}}},"accountant_company_name":{"type":"string","example":"My Company","description":"The name of the accountant company."},"accountant_email":{"type":"string","example":"accountant@email.com","description":"The email of the accountant."},"accountant_telephone_number":{"type":"string","example":"0123456789","description":"The telephone number of the accountant."},"accountant_address":{"type":"string","example":"1 My Street, My Town, My Country","description":"The address of the accountant."}}},"App_Http_Requests_StoreIncomeRequest":{"type":"object","required":["name","type","amount","amount_type","frequency"],"properties":{"name":{"type":"string","example":"My Salary","description":"The name of the income."},"type":{"type":"string","example":"salary","description":"\n\nThe type of income. Possible values:\n\n| Value | Description |\n| ----- | ----------- |\n|salary|Salary|\n|dividend|Dividend|\n|bonus|Bonus|\n|benefit|Benefit|\n|other|Other|\n|investment|Investment|\n|rental|Rental|\n|pension|Pension|\n|capital_gains|Capital Gains|\n|business_loan|Business Loan|\n|investor_funding|Investor Funding|\n|grant|Grant|\n|charity|Charity|\n|crowdfunding|Crowdfunding|\n|gross_profit|Gross Profit|\n|operating_profit|Operating Profit|\n|operating_revenue|Operating Revenue|\n|non_operating_revenue|Non Operating Revenue|\n|net_profit|Net Profit|","enum":["salary","dividend","bonus","benefit","other","investment","rental","pension","capital_gains","business_loan","investor_funding","grant","charity","crowdfunding","gross_profit","operating_profit","operating_revenue","non_operating_revenue","net_profit"]},"type_other":{"type":"string","example":"null","description":"The other type of income. This is required if the type is \"other\"."},"amount":{"type":"integer","example":5000000,"description":"The amount of the income in pennies. For example, £50,000 would be 5000000."},"amount_type":{"type":"string","example":"net","description":"\n\nThe type of the amount.\n\n| Value | Description |\n| ----- | ----------- |\n|net|Net|\n|gross|Gross|","enum":["net","gross"]},"start_date":{"type":"string","example":"2025-11-18","description":"The start date of the income.","format":"date"},"end_date":{"type":"string","example":"2026-11-18","description":"The end date of the income.","format":"date"},"frequency":{"type":"string","example":"daily","description":"\n\nThe frequency of the income.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"is_taxable":{"type":"boolean","example":true,"description":"Denotes if the income is taxable or not."},"shared_owner_uuid":{"type":"string","example":"997d16d6-2b5c-42e2-966b-6c76fa2f93b8","description":"Optional UUID of an owner account. The client must be a shared type.","format":"uuid"},"employment_uuid":{"type":"string","example":"74b00517-971e-4d89-8b65-0b7dfaad0615","description":"Employment to link to this salary, dividend, bonus, benefit type incomes.","format":"uuid"}}},"App_Http_Requests_UpdateIncomeRequest":{"type":"object","properties":{"name":{"type":"string","example":"My Salary","description":"The name of the income."},"type":{"type":"string","example":"salary","description":"\n\nThe type of income.\n\n| Value | Description |\n| ----- | ----------- |\n|salary|Salary|\n|dividend|Dividend|\n|bonus|Bonus|\n|benefit|Benefit|\n|other|Other|\n|investment|Investment|\n|rental|Rental|\n|pension|Pension|\n|capital_gains|Capital Gains|\n|business_loan|Business Loan|\n|investor_funding|Investor Funding|\n|grant|Grant|\n|charity|Charity|\n|crowdfunding|Crowdfunding|\n|gross_profit|Gross Profit|\n|operating_profit|Operating Profit|\n|operating_revenue|Operating Revenue|\n|non_operating_revenue|Non Operating Revenue|\n|net_profit|Net Profit|","enum":["salary","dividend","bonus","benefit","other","investment","rental","pension","capital_gains","business_loan","investor_funding","grant","charity","crowdfunding","gross_profit","operating_profit","operating_revenue","non_operating_revenue","net_profit"]},"type_other":{"type":"string","example":"My Other Income","description":"The type of income when the type is set to \"other\"."},"amount":{"type":"integer","example":5000000,"description":"The amount of the income in pennies. For example, £50,000 would be 5000000."},"amount_type":{"type":"string","example":"net","description":"\n\nThe type of the amount.\n\n| Value | Description |\n| ----- | ----------- |\n|net|Net|\n|gross|Gross|","enum":["net","gross"]},"start_date":{"type":"string","example":"2026-11-18","description":"The start date of the income.","format":"date"},"end_date":{"type":"string","example":"2026-11-18","description":"The end date of the income.","format":"date"},"frequency":{"type":"string","example":"daily","description":"\n\nThe frequency of the income.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"is_taxable":{"type":"boolean","example":true,"description":"Denotes if the income is taxable or not."},"shared_owner_uuid":{"type":"string","example":"c421a1d3-c65c-4b54-a500-c38d17ef4e92","description":"Optional UUID of an owner account. The client must be a shared type.","format":"uuid"},"employment_uuid":{"type":"string","example":"74e1729e-974d-4606-997c-578a1e1ce0a9","description":"Employment to link to this salary, dividend, bonus, benefit type incomes.","format":"uuid"}}},"App_Http_Requests_Client_StoreStaffMemberRequest":{"type":"object","required":["account_uuid","hired_at"],"properties":{"account_uuid":{"type":"string","example":"9d86b9ca-68b9-4abf-b267-7cff4964032f","description":"UUID of another client account in Plannr. This account must be an individual.","format":"uuid"},"hired_at":{"type":"string","example":"2018-01-15","description":"Date (y-m-d) of when the staff member was hired.","format":"date"},"left_at":{"type":"string","example":"2025-01-15","description":"Date (y-m-d) of when the staff member left.","format":"date"},"job_title":{"type":"string","example":"Chief Coffee Maker","description":"The job title of the staff member."},"basic_annual_salary":{"type":"integer","example":5000000,"description":"The basic annual salary of the staff member. Must be in pennies, for example: £50,000 would be 5000000."},"payroll_number":{"type":"string","example":"#12345","description":"The payroll number of the staff member."}}},"App_Http_Requests_Client_UpdateStaffMemberRequest":{"type":"object","properties":{"hired_at":{"type":"string","example":"2018-01-15","description":"Date (y-m-d) of when the staff member was hired.","format":"date"},"left_at":{"type":"string","example":"2025-01-15","description":"Date (y-m-d) of when the staff member left.","format":"date"},"job_title":{"type":"string","example":"Chief Coffee Maker","description":"The job title of the staff member."},"basic_annual_salary":{"type":"integer","example":5000000,"description":"The basic annual salary of the staff member. Must be in pennies, for example: £50,000 would be 5000000."},"payroll_number":{"type":"string","example":"#12345","description":"The payroll number of the staff member."}}},"App_Http_Requests_StoreClientStatusRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Active","description":"The name of the status."},"colour":{"type":"string","example":"#FFFFFF","description":"The colour of the status."}}},"App_Http_Requests_UpdateClientStatusRequest":{"type":"object","properties":{"name":{"type":"string","example":"Inactive","description":"The name of the status."},"colour":{"type":"string","example":"#FFFFFF","description":"The colour of the status."}}},"App_Http_Requests_TransferClientsStatusRequest":{"type":"object","required":["new_status_uuid"],"properties":{"new_status_uuid":{"type":"string","example":"6ec4db04-d3c1-4962-807a-e7aba0af6ce9","description":"The UUID of the new status to be assigned.","format":"uuid"}}},"App_Http_Requests_External_StoreIntroducerRequest":{"type":"object","required":["first_name","last_name","entity_name","email"],"properties":{"title":{"type":"string","example":"Mr","description":"Title"},"first_name":{"type":"string","example":"Patrick","description":"First name"},"last_name":{"type":"string","example":"Stanton","description":"Last name"},"entity_name":{"type":"string","example":"PatrickCo","description":"Entity/business name"},"email":{"type":"string","example":"patrick@plannercrm.com","description":"Account email"},"assigned_adviser_uuid":{"type":"string","example":"43fe719c-40a0-48a2-bb53-2f38f4e8f53a","description":"UUID of the account that this account reports to","format":"uuid"},"groups":{"type":"array","example":["8836c4a1-61f2-4ca6-a63a-9fccf1e9b70e","aff1fe02-0634-45d5-b6f4-3e7cbd3c7dfe","e38ad986-a41e-49ed-834b-eef3708a3ef7"],"description":"Group uuids belonging to the firm.","items":{"type":"string","example":"85504669-59b0-41f4-9b54-f82de2793700","format":"uuid"}},"charge_split_schema_uuid":{"type":"string","example":"ac0d883e-4292-4df3-91bf-e1e55876b86a","description":"Charge split schema that is always used when adding a charge split for this introducer","format":"uuid"}}},"App_Http_Requests_UpdateIntroducerRequest":{"type":"object","properties":{"title":{"type":"string","example":"Mr","description":"Title"},"first_name":{"type":"string","example":"Patrick","description":"First name"},"last_name":{"type":"string","example":"Stanton","description":"Last name"},"entity_name":{"type":"string","example":"PatrickCo","description":"Entity/business name"},"assigned_adviser_uuid":{"type":"string","example":"047c0765-cac7-4c79-b615-63c47ef9fe8c","description":"UUID of the account that this account reports to","format":"uuid"},"charge_split_schema_uuid":{"type":"string","example":"313d22e2-f3eb-4957-aa6f-5aa344ca2de8","description":"Charge split schema that is always used when adding a charge split for this introducer","format":"uuid"},"groups":{"type":"array","example":["8fa3444b-dd03-41b6-aa90-e108865e481c","f8657b2a-cf75-4290-a8b5-35a65e12fb7a","a68fe72c-6b21-46a4-a31f-f04ae30a08b3"],"description":"Group UUIDs to sync introducer to. Null can be provided to clear an introducers groups","items":{"type":"string","example":"e280ba00-237c-405d-8f02-27ee73987c5a","format":"uuid"}}}},"App_Http_Requests_ReferralConnection_StoreReferralConnectionRequest":{"type":"object","required":["adviser_key"],"properties":{"adviser_key":{"type":"string","example":"ABC12345","description":"The 8-character referral code of the adviser you want to connect with."}}},"App_Http_Requests_Referral_StoreReferralRequest":{"type":"object","required":["connection_uuid","client_uuids","advice_type","shared_data"],"properties":{"connection_uuid":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000","description":"The UUID of an accepted referral connection."},"client_uuids":{"type":"array","example":["550e8400-e29b-41d4-a716-446655440001","550e8400-e29b-41d4-a716-446655440002"],"description":"Array of client account UUIDs to refer."},"advice_type":{"type":"string","example":"investments","description":"\n\nThe type of advice being referred. Options: investments, protection, mortgages, estate_planning, other, pensions and tax\n\n| Value | Description |\n| ----- | ----------- |\n|investments|Investments|\n|protection|Protection|\n|mortgages|Mortgages|\n|estate_planning|Estate Planning|\n|other|Other|\n|pensions|Pensions|\n|tax|Tax|","enum":["investments","protection","mortgages","estate_planning","other","pensions","tax"]},"duration_months":{"type":"integer","example":3,"description":"Duration in months for the referral. Options: 1, 2, 3, 6. Null for lifetime."},"shared_data":{"type":"array","example":["basic_details","contact_details","notes"],"description":"Data categories to share. Options: basic_details, contact_details, income, expenditure, dependants, investments_and_plans, pensions, liabilities, protection, cash_accounts, goals and notes"},"sla_deadline":{"type":"string","example":"2026-02-28","description":"SLA deadline for the recipient to respond.","format":"date"},"note":{"type":"string","example":"Client needs help with retirement planning.","description":"Additional notes about the referral."}}},"App_Http_Requests_Referral_RejectReferralRequest":{"type":"object","required":["rejection_reason"],"properties":{"rejection_reason":{"type":"string","example":"Unable to take on new clients at this time.","description":"The reason for rejecting this referral."}}},"App_Http_Requests_BusinessUnit_UpdateBusinessUnitBrandingRequest":{"type":"object","properties":{"settings":{"type":"array","example":[],"description":"List of scalar settings to update (colours, booleans, HTML). File fields must use dedicated upload fields.","items":{"type":"object","example":{"key":"sidebar_background","value":"#0E0E56"},"properties":{"key":{"type":"string","example":"sidebar_background","description":"The setting key (must be a valid PlannrSettingKey value)."},"value":{"type":"string","example":"#0E0E56","description":"The setting value."}}}},"logo":{"type":"string","example":"file-contents","description":"Image file for the logo. Max 10 MB.","format":"binary"},"logo_icon":{"type":"string","example":"file-contents","description":"Image file for the logo icon. Max 10 MB, 50–150px square, 1:1 ratio.","format":"binary"},"email_logo":{"type":"string","example":"file-contents","description":"Image file for the email logo. Max 10 MB.","format":"binary"},"banner":{"type":"string","example":"file-contents","description":"Image file for the banner. Max 25 MB.","format":"binary"},"branded_auth_background":{"type":"string","example":"file-contents","description":"Image file for the branded auth background. Max 25 MB.","format":"binary"}}},"App_Http_Requests_BusinessUnit_ManageBusinessUnitMembersRequest":{"type":"object","required":["accounts"],"properties":{"accounts":{"type":"array","example":["b3a7b4f5-3612-4925-9f56-49561e91c9b0","481057bc-6908-4c9d-a42d-7efdd8c7bcf1","6c1b2779-5834-4e29-8198-43c97361e9d7"],"description":"UUIDs of accounts to add to or remove from the business unit.","items":{"type":"string","example":"fe817ff7-9048-440a-be8d-1f8a24620b3a","format":"uuid"}}}},"App_Http_Requests_Group_StoreGroupRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Accounting","description":"Group name that must be unique."},"participants":{"type":"array","example":["6828a0ee-6dbf-49af-a364-8c6de036d228","a46eb2cc-a47e-48e1-bdb2-6961d8e7b376","2af8409d-fef5-4755-86a7-bb7baf88402f"],"description":"UUIDs of accounts to add to the group.","items":{"type":"string","example":"3a161ecf-5c5f-41a6-a879-68754a222776","format":"uuid"}},"business_unit":{"type":"string","example":"ea84f22b-d3b8-4833-a293-0a8d765b4466","description":"UUID of business unit to link this group to","format":"uuid","nullable":true}}},"App_Http_Requests_Group_UpdateGroupRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Accounting","description":"Group name that must be unique."},"business_unit":{"type":"string","example":"73038d24-2b3c-4d3c-847c-f9bcda68a465","description":"UUID of business unit to link this group to","format":"uuid","nullable":true}}},"App_Http_Requests_Group_AddAccountsToGroupRequest":{"type":"object","required":["participants"],"properties":{"participants":{"type":"array","example":["634232d9-1884-43b1-9b0c-6d66759f46ae","27ea36de-3653-402a-8d68-875c158b16e9","75a94565-0418-42fb-8d54-8c04801c1d48"],"description":"UUIDs of accounts to add to the group.","items":{"type":"string","example":"7bfa3db1-3039-472a-bbe2-dd2e113f5dbf","format":"uuid"}}}},"App_Http_Requests_Group_RemoveAccountsFromGroupRequest":{"type":"object","required":["participants"],"properties":{"participants":{"type":"array","example":["f06a55f5-b5dd-4c92-a873-1eaca71a9ccd","06c17c12-a3e9-48e7-803e-7eeafb34ff81","be01e3e0-6b75-439b-bf5e-b4898dc7a941"],"description":"UUIDs of accounts to remove from the group.","items":{"type":"string","example":"3de4a251-cb89-4d02-b039-b7e9990d39c3","format":"uuid"}}}},"App_Http_Requests_Cases_StoreCasesRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Patrick's Case","description":"The name of the case"},"participants":{"type":"array","example":["3aaa3ea9-29c4-47ad-a48c-8439b1108289","aa4bfc63-ceb3-4e50-9e30-cad14a39bf19","cb5c5271-665c-4d49-ac1c-0a240c97373b"],"description":"Account uuids belonging to the firm. Must include at least one client.","items":{"type":"string","example":"59ae8321-32c4-42ae-8616-c76a463d9525","format":"uuid"}},"assigned_to_uuids":{"type":"array","example":["484583aa-3aa6-4c28-ae48-4d7b37737828","8d345853-73fd-42f4-a436-77b013d416e7","50350d8a-286f-4a7b-9db4-4bf624a47cc5"],"description":"Array of account UUIDs to assign to the case.","items":{"type":"string","example":"50b052d8-92b4-4fed-a5b0-ca94d25ed340","format":"uuid"}},"group_uuids":{"type":"array","example":["7719ef4b-6b05-4c20-8518-b07e259a394d","664f9434-4103-48a9-ad0a-63f0fd12dd42","ab9bbcf5-7c40-4017-8e6a-a5ceddc43653"],"description":"UUIDs of groups that will be assigned when the case is created.","items":{"type":"string","example":"85876b81-69f3-4efa-9666-c91e2de3708c","format":"uuid"}},"status":{"type":"string","example":"8f6f7b5d-2110-415b-8b89-f394f5818f64","description":"The uuid of the status chosen for the case","format":"uuid"},"review_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The date the case should be reviewed","format":"date-time"},"type":{"type":"string","example":"dc7548e6-8555-4e91-a587-c45a1b203995","description":"The uuid of the type chosen for the case","format":"uuid"},"value":{"type":"integer","example":15099,"description":"Expect value the case will generate in pennies"},"plans":{"type":"array","example":["5c967192-b28b-4f62-be39-ea00a0b673dc","857674d7-0778-40c4-bd87-5d3f2be57bcd","5e3cb1a7-c48f-49d2-94ca-bd959c635443"],"description":"The uuids of the plans chosen for the case","items":{"type":"string","example":"c956f9f9-8704-46d6-a059-2cc4d5448564","format":"uuid"}},"custom_fields":{"type":"object","description":"Custom field values keyed by the custom field reference. Only references configured for cases (and matching the supplied case type/status, where conditional) are accepted.","example":{"ongoing_case":"Ongoing"},"additionalProperties":true}}},"App_Http_Requests_Cases_UpdateCasesRequest":{"type":"object","properties":{"name":{"type":"string","example":"Annual review","description":"Name of the case"},"status":{"type":"string","example":"76588dfd-9d28-4066-bda7-335c023896e9","description":"The uuid of the status chosen for the case","format":"uuid"},"status_position":{"type":"integer","example":4,"description":"The case status's new position on the status list. Starting from 1. Only used if you are formatting cases in a kanban layout."},"assigned_to_uuids":{"type":"array","example":["f53fe6c4-0def-4a6b-be56-1d2d006b4dbc","dbe2d490-e08f-4b61-817a-0bbebc9ba734","606b9234-d3ce-4e64-a4c1-a34ddbce7feb"],"description":"Array of account UUIDs","items":{"type":"string","example":"9a428329-ee88-42de-88d8-f5ea5059760c","format":"uuid"}},"group_uuids":{"type":"array","example":["54fc98ae-9696-4fc3-a927-fa5451ad20a3","681aab12-4989-40b9-ae73-eb76525152c6","d081911c-52a0-4fdd-9e86-e286076753d7"],"description":"UUIDs of groups that will be assigned when the case is created.","items":{"type":"string","example":"2aa7a125-55c1-4c36-85f1-beb28b06c669","format":"uuid"}},"review_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"Timestamp of when the case will be reviewed","format":"date-time"},"type":{"type":"string","example":"0b8122e9-9908-47b2-b38e-565696a58771","description":"The uuid of the type chosen for the case","format":"uuid"},"value":{"type":"integer","example":15099,"description":"Expect value the case will generate in pennies"},"completed_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"Timestamp of when the case was completed","format":"date-time"},"plans":{"type":"array","example":["993f9505-50df-40b3-8384-8b45c39d8d27","bebf3b71-fe85-434e-a140-b6aaed501b53","690eac98-974d-43c4-baa3-3883d245a8f2"],"description":"The uuids of the plans that will be associated to the case when it is created. Leave NULL to disassociate all plans from the case.","items":{"type":"string","example":"aa46a533-b37a-449d-889b-54e641574d8f","format":"uuid"}},"custom_fields":{"type":"object","description":"Custom field values keyed by the custom field reference. Only references configured for cases (and matching the case's type/status, where conditional) are accepted.","example":{"ongoing_case":"Not Ongoing"},"additionalProperties":true}}},"App_Http_Requests_Cases_AddAccountsToCasesRequest":{"type":"object","required":["participants"],"properties":{"participants":{"type":"array","example":["31656096-713c-4cdb-8b8e-d5ffeb15e99f","1ab65afd-5358-40e4-bf0a-dca8fb5cc2f6","81cfb5e1-a746-4d68-8b19-876207d92d27"],"description":"Account uuids belonging to the firm.","items":{"type":"string","example":"46c9a3ab-0478-4825-a1dc-fe27a6696d54","format":"uuid"}}}},"App_Http_Requests_Cases_RemoveAccountsFromCasesRequest":{"type":"object","required":["participants"],"properties":{"participants":{"type":"array","example":["c8f9c309-04ee-4436-9ff7-7a0a2055b20d","3f851b55-fd4f-4fdc-98aa-53652d32737f","4287268b-727a-415c-a973-6230dea4846b"],"description":"Account uuids belonging to the firm.  At least one client must remain in the case.","items":{"type":"string","example":"99e0c33a-ee8b-403a-a3b4-493a32fcda62","format":"uuid"}}}},"App_Http_Requests_CasesStatus_StoreCaseStatusRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"In Progress","description":"The name of the status."},"colour":{"type":"string","example":"#23852B","description":"The colour of the status."}}},"App_Http_Requests_CasesStatus_UpdateCaseStatusRequest":{"type":"object","properties":{"name":{"type":"string","example":"In Progress","description":"The name of the status."},"colour":{"type":"string","example":"#23852B","description":"The colour of the status."},"position":{"type":"integer","example":5,"description":"The position of the status."}}},"App_Http_Requests_CasesType_StoreCasesTypeRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Mortgage Plan","description":"name of the type"}}},"App_Http_Requests_CasesType_UpdateCasesTypeRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Mortgage Plan","description":"name of the type"}}},"App_Http_Requests_ServiceLevel_StoreServiceLevelRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Gold","description":"Name of the service level"}}},"App_Http_Requests_ServiceLevel_UpdateServiceLevelRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Gold","description":"Name of the service level"}}},"App_Http_Requests_LeadInterest_StoreLeadInterestRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Wealth","description":"Name of the lead interest. Must be unique within the firm.","maxLength":255},"description":{"type":"string","example":"Investment and wealth management enquiries","description":"Optional description of the lead interest.","nullable":true}}},"App_Http_Requests_LeadInterest_UpdateLeadInterestRequest":{"type":"object","properties":{"name":{"type":"string","example":"Wealth","description":"Name of the lead interest. Must be unique within the firm.","maxLength":255},"description":{"type":"string","example":"Investment and wealth management enquiries","description":"Optional description of the lead interest.","nullable":true},"position":{"type":"integer","example":1,"description":"New position within the firm's list. Other lead interests shift to keep positions contiguous.","minimum":1},"archived":{"type":"boolean","example":false,"description":"Archive or unarchive the lead interest. Archived lead interests are hidden from the default list."}}},"App_Http_Requests_Leads_Sources_StoreLeadSourceRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Website","description":"Name of the lead source. Must be unique within the firm.","maxLength":255},"description":{"type":"string","example":"Enquiries via the contact page","description":"Optional description of the lead source.","nullable":true}}},"App_Http_Requests_Leads_Sources_UpdateLeadSourceRequest":{"type":"object","properties":{"name":{"type":"string","example":"Website","description":"Name of the lead source. Must be unique within the firm.","maxLength":255},"description":{"type":"string","example":"Enquiries via the contact page","description":"Optional description of the lead source.","nullable":true},"position":{"type":"integer","example":1,"description":"New position within the firm's list. Other lead sources shift to keep positions contiguous.","minimum":1},"archived":{"type":"boolean","example":false,"description":"Archive or unarchive the lead source. Archived lead sources are hidden from the default list."}}},"App_Http_Requests_Leads_SubSources_StoreLeadSubSourceRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Google","description":"Name of the sub-source. Must be unique within its lead source.","maxLength":255},"description":{"type":"string","example":"Paid search on Google","description":"Optional description of the sub-source.","nullable":true}}},"App_Http_Requests_Leads_SubSources_UpdateLeadSubSourceRequest":{"type":"object","properties":{"name":{"type":"string","example":"Google","description":"Name of the sub-source. Must be unique within its lead source.","maxLength":255},"description":{"type":"string","example":"Paid search on Google","description":"Optional description of the sub-source.","nullable":true},"position":{"type":"integer","example":1,"description":"New position within the lead source's list. Other sub-sources shift to keep positions contiguous.","minimum":1},"archived":{"type":"boolean","example":false,"description":"Archive or unarchive the sub-source. Archived sub-sources are hidden from the default list."}}},"App_Http_Requests_Leads_Leads_StoreLeadRequest":{"type":"object","required":["first_name","last_name","contact_details"],"properties":{"title":{"type":"string","example":"mr","description":"Title of the lead.","maxLength":25,"nullable":true},"first_name":{"type":"string","example":"Sam","description":"First name of the lead.","maxLength":255},"last_name":{"type":"string","example":"Patel","description":"Last name of the lead.","maxLength":255},"entity_name":{"type":"string","example":"Acme Holdings","description":"Entity name for non-individual leads.","maxLength":255,"nullable":true},"client_type":{"type":"string","example":"individual","description":"\n\nClient type of the lead. One of individual, joint, trust and business. Defaults to individual.\n\n| Value | Description |\n| ----- | ----------- |\n|individual|Individual|\n|joint|Joint|\n|trust|Trust|\n|business|Business|","enum":["individual","joint","trust","business"]},"date_of_birth":{"type":"string","example":"1985-04-12","description":"Date of birth. The lead must be at least 18 years old.","format":"date","nullable":true},"contact_details":{"type":"array","example":[],"description":"Email addresses and phone numbers of the lead. At least one is required. The first contact detail of each type becomes primary unless one is flagged.","items":{"type":"object","example":{"type":"email","name":"Email","value":"sam@example.com","primary":true},"properties":{"type":{"type":"string","example":"email","description":"\n\nType of contact detail. One of email and phone_number.\n\n| Value | Description |\n| ----- | ----------- |\n|email|Email|\n|phone_number|Phone Number|","enum":["email","phone_number"]},"name":{"type":"string","example":"Mobile","description":"Description of the contact detail.","maxLength":255},"value":{"type":"string","example":"07700900123","description":"Value of the contact detail. A phone number is assumed to be GB when it has no country code and is stored in E.164 format. You can provide an array `[\"country\" =\u003e \"AU\", \"number\" =\u003e \"+61 2 3456 7890\"]` to use a different country."},"primary":{"type":"boolean","example":true,"description":"Make this the lead's primary contact detail of its type."}}}},"address":{"type":"object","description":"Optional address, stored as the primary address.","example":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom","move_in_date":"2024-06-20","moved_in_month":6,"moved_in_year":2022,"moved_out_month":1,"moved_out_year":2024,"residential_status":"homeowner","residential_status_other":"Non-tenant occupier"},"properties":{"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"},"move_in_date":{"type":"string","example":"2024-06-20","description":"Move in date"},"moved_in_month":{"type":"integer","example":6,"description":"The month the client moved into this address."},"moved_in_year":{"type":"integer","example":2022,"description":"The year the client moved into this address."},"moved_out_month":{"type":"integer","example":1,"description":"The month the client moved out of this address."},"moved_out_year":{"type":"integer","example":2024,"description":"The year the client moved out of this address."},"residential_status":{"type":"string","example":"homeowner","description":"\n\nThe client's residential status when living at the address.\n\n| Value | Description |\n| ----- | ----------- |\n|homeowner|Homeowner|\n|renting|Renting|\n|living_with_parents|Living With Parents|\n|other|Other|","enum":["homeowner","renting","living_with_parents","other"]},"residential_status_other":{"type":"string","example":"Non-tenant occupier","description":"The client's residential status if it is not provided in the residential_status options. Must only be provided if residential_status is other."}},"nullable":true},"status":{"type":"string","example":"new","description":"\n\nStatus of the lead. One of new, contacted, pending_call_back, awaiting_client_action, meeting_booked and uncontactable. Defaults to new.\n\n| Value | Description |\n| ----- | ----------- |\n|new|New|\n|contacted|Contacted|\n|pending_call_back|Pending Call Back|\n|awaiting_client_action|Awaiting Client Action|\n|meeting_booked|Meeting Booked|\n|uncontactable|Uncontactable|","enum":["new","contacted","pending_call_back","awaiting_client_action","meeting_booked","uncontactable"]},"is_vulnerable":{"type":"string","example":"yes","description":"\n\nWhether the lead is vulnerable. One of yes, no and possibly.\n\n| Value | Description |\n| ----- | ----------- |\n|yes|Yes|\n|no|No|\n|possibly|Possibly|","enum":["yes","no","possibly"],"nullable":true},"source_uuid":{"type":"string","example":"37b32bef-3ad9-45b5-8f72-68b0ac3ccc2d","description":"UUID of an unarchived lead source in the firm. Required when sub_source_uuid is sent.","format":"uuid","nullable":true},"sub_source_uuid":{"type":"string","example":"48254541-c051-4d1d-bf22-75eef46e04d0","description":"UUID of an unarchived sub-source belonging to the chosen lead source.","format":"uuid","nullable":true},"campaign":{"type":"string","example":"Spring campaign","description":"Campaign the lead came from.","maxLength":255,"nullable":true},"assigned_account_uuid":{"type":"string","example":"6ad7e968-b820-4262-b445-cefe78b5d6be","description":"UUID of the employee to assign the lead to. Assigning anyone other than yourself requires the leads:updateAll permission.","format":"uuid","nullable":true},"introduced_by_uuid":{"type":"string","example":"4ef1b915-f5d3-4699-b085-2d3c578a4b45","description":"UUID of an introducer in the firm. Not accepted from an introducer, who is recorded as the introducer automatically.","format":"uuid","nullable":true},"lead_interest_uuids":{"type":"array","example":["2dfdf62f-cf42-49b0-900d-60a8dd123ff3","bb220c37-d2d3-4ead-97b2-b5293354b1ff","168fe9c8-f3a8-4ac7-b791-fd06335b6c97"],"description":"UUIDs of unarchived lead interests in the firm.","items":{"type":"string","example":"e3a88902-8918-45aa-9361-6bb633af2a62","format":"uuid"}},"custom_fields":{"type":"object","description":"Custom field values keyed by the custom field reference. Only references configured for leads are accepted.","example":{"enquiry_channel":"Phone"},"additionalProperties":true}}},"App_Http_Requests_Leads_Leads_UpdateLeadRequest":{"type":"object","properties":{"title":{"type":"string","example":"mr","description":"Title of the lead.","maxLength":25,"nullable":true},"first_name":{"type":"string","example":"Sam","description":"First name of the lead.","maxLength":255},"last_name":{"type":"string","example":"Patel","description":"Last name of the lead.","maxLength":255},"entity_name":{"type":"string","example":"Acme Holdings","description":"Entity name for non-individual leads.","maxLength":255,"nullable":true},"client_type":{"type":"string","example":"individual","description":"\n\nClient type of the lead. One of individual, joint, trust and business.\n\n| Value | Description |\n| ----- | ----------- |\n|individual|Individual|\n|joint|Joint|\n|trust|Trust|\n|business|Business|","enum":["individual","joint","trust","business"]},"date_of_birth":{"type":"string","example":"1985-04-12","description":"Date of birth. The lead must be at least 18 years old.","format":"date","nullable":true},"status":{"type":"string","example":"new","description":"\n\nStatus of the lead. One of new, contacted, pending_call_back, awaiting_client_action, meeting_booked and uncontactable. A change updates status_changed_at.\n\n| Value | Description |\n| ----- | ----------- |\n|new|New|\n|contacted|Contacted|\n|pending_call_back|Pending Call Back|\n|awaiting_client_action|Awaiting Client Action|\n|meeting_booked|Meeting Booked|\n|uncontactable|Uncontactable|","enum":["new","contacted","pending_call_back","awaiting_client_action","meeting_booked","uncontactable"]},"is_vulnerable":{"type":"string","example":"yes","description":"\n\nWhether the lead is vulnerable. One of yes, no and possibly.\n\n| Value | Description |\n| ----- | ----------- |\n|yes|Yes|\n|no|No|\n|possibly|Possibly|","enum":["yes","no","possibly"],"nullable":true},"source_uuid":{"type":"string","example":"78fdcdb5-5159-4f43-9290-3664a1148b38","description":"UUID of a lead source in the firm, or null to remove the source. An archived source is only accepted when it is already the lead's source. Changing or removing the source without sending sub_source_uuid clears the sub-source.","format":"uuid","nullable":true},"sub_source_uuid":{"type":"string","example":"821d5406-7c6c-4d36-9edf-e50d2fd795fd","description":"UUID of a sub-source belonging to the lead's source (or to source_uuid when both are sent). An archived sub-source is only accepted when it is already the lead's sub-source.","format":"uuid","nullable":true},"campaign":{"type":"string","example":"Spring campaign","description":"Campaign the lead came from.","maxLength":255,"nullable":true},"lead_interest_uuids":{"type":"array","example":["a78fb443-7532-4ca5-812f-8d86a9c6b949","97176409-13ad-4f04-9983-566383a248f4","4ff4cce8-5724-4b4b-a2de-c8496300d3ea"],"description":"UUIDs of lead interests in the firm; replaces the current set. An archived interest is only accepted when it is already attached.","items":{"type":"string","example":"3af89384-47b1-433e-a136-0b2e0c5519a5","format":"uuid"}},"custom_fields":{"type":"object","description":"Custom field values keyed by the custom field reference. Only references configured for leads are accepted. References left out keep their current value.","example":{"enquiry_channel":"Phone"},"additionalProperties":true}}},"App_Http_Requests_Leads_Leads_DisqualifyLeadRequest":{"type":"object","properties":{"reason":{"type":"string","example":"No longer interested","description":"Why the lead dropped off. Required unless the caller has leads:updateAll."}}},"App_Http_Requests_Leads_Leads_AssignLeadRequest":{"type":"object","required":["account_uuid"],"properties":{"account_uuid":{"type":"string","example":"62f89e04-86ca-42b3-8dbd-599c16ac63ea","description":"UUID of the employee to assign the lead to.","format":"uuid"}}},"App_Http_Requests_Leads_Leads_UpdateLeadIntroducerRequest":{"type":"object","required":["account_uuid"],"properties":{"account_uuid":{"type":"string","example":"e9b61f1d-f2de-454f-ba92-2ccc4969d176","description":"UUID of the introducer to link the lead to.","format":"uuid"}}},"App_Http_Requests_Leads_ContactDetails_StoreLeadContactDetailRequest":{"type":"object","required":["type","name","value"],"properties":{"type":{"type":"string","example":"email","description":"\n\nType of contact detail. One of email and phone_number.\n\n| Value | Description |\n| ----- | ----------- |\n|email|Email|\n|phone_number|Phone Number|","enum":["email","phone_number"]},"name":{"type":"string","example":"Work phone number","description":"Description of the contact detail.","maxLength":255},"value":{"type":"string","example":"+443330903630","description":"Value of the contact detail. A phone number is assumed to be GB when it has no country code and is stored in E.164 format. You can provide an array `[\"country\" =\u003e \"AU\", \"number\" =\u003e \"+61 2 3456 7890\"]` to use a different country."},"primary":{"type":"boolean","example":true,"description":"Make this the lead's primary contact detail of its type. The first contact detail of a type becomes primary automatically."}}},"App_Http_Requests_Leads_ContactDetails_UpdateLeadContactDetailRequest":{"type":"object","properties":{"name":{"type":"string","example":"Work phone number","description":"Description of the contact detail.","maxLength":255},"value":{"type":"string","example":"+443330903630","description":"Value of the contact detail, validated against its existing type. A phone number is re-parsed and stored in E.164 format."},"primary":{"type":"boolean","example":true,"description":"True makes this the lead's primary contact detail of its type. False clears the primary when this contact detail is the primary."}}},"App_Http_Requests_Leads_Addresses_StoreLeadAddressRequest":{"type":"object","required":["name","address_1"],"properties":{"name":{"type":"string","example":"Home","description":"Name of the address.","maxLength":255},"address_1":{"type":"string","example":"Suite E, 5 The Briars","description":"First line of the address.","maxLength":255},"address_2":{"type":"string","example":"Waterberry Drive","description":"Second line of the address.","maxLength":255,"nullable":true},"address_3":{"type":"string","example":"The Innovative Centre","description":"Third line of the address.","maxLength":255,"nullable":true},"address_4":{"type":"string","example":"Waterlooville","description":"Fourth line of the address.","maxLength":255,"nullable":true},"town_city":{"type":"string","example":"Waterlooville","description":"Town or city.","maxLength":255,"nullable":true},"county":{"type":"string","example":"Hampshire","description":"County.","maxLength":255,"nullable":true},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode.","maxLength":10,"nullable":true},"country":{"type":"string","example":"United Kingdom","description":"Country.","maxLength":255,"nullable":true},"move_in_date":{"type":"string","example":"2022-06-01","description":"Date the lead moved into this address. Sets moved_in_month and moved_in_year.","format":"date","nullable":true},"moved_in_month":{"type":"integer","example":6,"description":"The month the lead moved into this address.","nullable":true},"moved_in_year":{"type":"integer","example":2022,"description":"The year the lead moved into this address.","nullable":true},"moved_out_month":{"type":"integer","example":1,"description":"The month the lead moved out of this address.","nullable":true},"moved_out_year":{"type":"integer","example":2024,"description":"The year the lead moved out of this address.","nullable":true},"residential_status":{"type":"string","example":"homeowner","description":"\n\nThe lead's residential status at the address. One of homeowner, renting, living_with_parents and other.\n\n| Value | Description |\n| ----- | ----------- |\n|homeowner|Homeowner|\n|renting|Renting|\n|living_with_parents|Living With Parents|\n|other|Other|","enum":["homeowner","renting","living_with_parents","other"],"nullable":true},"residential_status_other":{"type":"string","example":"Non-tenant occupier","description":"The residential status when it is not one of the residential_status options. Only allowed when residential_status is other.","maxLength":255,"nullable":true},"primary":{"type":"boolean","example":true,"description":"Make this the lead's primary address. The first address becomes primary automatically."}}},"App_Http_Requests_Leads_Addresses_UpdateLeadAddressRequest":{"type":"object","properties":{"name":{"type":"string","example":"Home","description":"Name of the address.","maxLength":255},"address_1":{"type":"string","example":"Suite E, 5 The Briars","description":"First line of the address.","maxLength":255},"address_2":{"type":"string","example":"Waterberry Drive","description":"Second line of the address.","maxLength":255,"nullable":true},"address_3":{"type":"string","example":"The Innovative Centre","description":"Third line of the address.","maxLength":255,"nullable":true},"address_4":{"type":"string","example":"Waterlooville","description":"Fourth line of the address.","maxLength":255,"nullable":true},"town_city":{"type":"string","example":"Waterlooville","description":"Town or city.","maxLength":255,"nullable":true},"county":{"type":"string","example":"Hampshire","description":"County.","maxLength":255,"nullable":true},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode.","maxLength":10,"nullable":true},"country":{"type":"string","example":"United Kingdom","description":"Country.","maxLength":255,"nullable":true},"move_in_date":{"type":"string","example":"2022-06-01","description":"Date the lead moved into this address. Sets moved_in_month and moved_in_year.","format":"date","nullable":true},"moved_in_month":{"type":"integer","example":6,"description":"The month the lead moved into this address.","nullable":true},"moved_in_year":{"type":"integer","example":2022,"description":"The year the lead moved into this address.","nullable":true},"moved_out_month":{"type":"integer","example":1,"description":"The month the lead moved out of this address.","nullable":true},"moved_out_year":{"type":"integer","example":2024,"description":"The year the lead moved out of this address.","nullable":true},"residential_status":{"type":"string","example":"homeowner","description":"\n\nThe lead's residential status at the address. One of homeowner, renting, living_with_parents and other.\n\n| Value | Description |\n| ----- | ----------- |\n|homeowner|Homeowner|\n|renting|Renting|\n|living_with_parents|Living With Parents|\n|other|Other|","enum":["homeowner","renting","living_with_parents","other"],"nullable":true},"residential_status_other":{"type":"string","example":"Non-tenant occupier","description":"The residential status when it is not one of the residential_status options. Only allowed when residential_status is other.","maxLength":255,"nullable":true},"primary":{"type":"boolean","example":true,"description":"True makes this the lead's primary address. False clears the primary when this address is the primary."}}},"App_Http_Requests_Conversation_StoreConversationWithInlineFilesRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Annual Review","description":"Conversation title"},"case":{"type":"string","example":"a86a4d34-06e7-4694-8090-a8fbedd9b90c","description":"Case UUID to assign this conversation to","format":"uuid"},"participants":{"type":"array","example":["73f69002-0b36-42b8-afa0-f074f2f4021f","bf8e6bef-4a41-44af-8908-a7d8f82b166e","8c3594fc-16bf-45dc-abf1-219ae6899600"],"description":"Account UUIDs belonging to the firm","items":{"type":"string","example":"186540d7-a8a3-4d41-8f04-773d85946e76","format":"uuid"}},"message":{"type":"string","example":"Hello world!","description":"Contents of first message to be created alongside the conversation."},"files":{"type":"array","example":["5278fd1d-168d-49c2-a71b-a12ebf57af3a","ade5b628-2313-4fb9-8398-0782c5ab1174","36d25176-7292-4b28-8e21-565e8444fd07"],"description":"File UUIDs to attach to the first message of the conversation.","items":{"type":"string","example":"8dc5ed90-5215-4865-a4de-b391c7f5165c","format":"uuid"}}}},"App_Http_Requests_Conversation_StoreConversationRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Annual Review","description":"Conversation title"},"case":{"type":"string","example":"33368baf-37c7-436f-a2d9-f19e5118bd2d","description":"Case UUID to assign this conversation to","format":"uuid"},"participants":{"type":"array","example":["a052d6cd-008b-42ea-ad0e-fb141d266b1f","6a28f384-6448-427e-b6f1-1fc397b5efc2","f877e0a8-6bc2-42d9-a2e4-66363c374463"],"description":"Account UUIDs belonging to the firm","items":{"type":"string","example":"36b6776d-0ec3-4295-9bb9-fb95a61aba37","format":"uuid"}},"message":{"type":"string","example":"Hello world!","description":"Contents of first message to be created alongside the conversation."},"files":{"type":"array","example":["76303f3b-6da2-427f-ad03-1ce0925a7fcf","707257fa-f184-4a34-bd6a-cb7a3648d403","d34f33b3-177d-4e39-8ef2-31c7377d0d4a"],"description":"File UUIDs to attach to the first message of the conversation.","items":{"type":"string","example":"bd293c76-dff1-44c2-8504-8eff424ab156","format":"uuid"}}}},"App_Http_Requests_Conversation_UpdateConversationRequest":{"type":"object","properties":{"name":{"type":"string","example":"Annual Review","description":"Conversation title"}}},"App_Http_Requests_Conversation_ConversationNotificationsRequest":{"type":"object","properties":{"timestamp":{"type":"string","example":"2022-01-30 12:00:00","description":"Timestamp to mute notifications until.  Null to unmute a conversation."}}},"App_Http_Requests_Conversation_PinConversationRequest":{"type":"object","required":["pin"],"properties":{"pin":{"type":"boolean","example":true,"description":"Boolean to denote the whether the conversation is to be pinned for the account or not."}}},"App_Http_Requests_Conversation_AddAccountsToConversationRequest":{"type":"object","required":["participants"],"properties":{"participants":{"type":"array","example":["6dfe30b6-ba66-427f-a0f5-2e72fde09e84","8ea3d0bd-2236-4ee9-9079-5a03443ed2aa","5258f450-9bfc-48cb-91fb-22b3be73f648"],"description":"Account uuids belonging to the firm","items":{"type":"string","example":"2c2a3667-06c3-470c-8cd6-ce26a1369802","format":"uuid"}}}},"App_Http_Requests_Conversation_RemoveAccountsFromConversationRequest":{"type":"object","required":["participants"],"properties":{"participants":{"type":"array","example":["31f64fa8-eec7-4a4a-aa74-26851fcbecfe","36cb6b91-05b6-417a-b088-91b8dc7eb1e5","c30c1600-bce0-4351-bccc-a1ae53390734"],"description":"Conversation participant account uuids to remove from conversation","items":{"type":"string","example":"ba580850-acf4-42fe-9788-2b46c2e0fcc0","format":"uuid"}}}},"App_Http_Requests_Conversation_PromoteToConversationAdminRequest":{"type":"object","required":["participant"],"properties":{"participant":{"type":"string","example":"4dedaae6-99c1-4f67-af8c-c2db64450adc","description":"Conversation participant account uuids to promote to conversation admin","format":"uuid"}}},"App_Http_Requests_Conversation_RevokeConversationAdminRequest":{"type":"object","required":["participant"],"properties":{"participant":{"type":"string","example":"eabbeafe-e889-44ba-a87b-4d303e358e56","description":"Conversation admins account uuids to revoke admin privileges","format":"uuid"}}},"App_Http_Requests_Message_StoreMessageWithInlineFilesRequest":{"type":"object","required":["files"],"properties":{"contents":{"type":"string","example":"Hello, welcome to Plannr.","description":"Contents of the message."},"files":{"type":"array","example":[],"description":"An array of files. This request should be sent with a Content-Type of multipart/form-data.","items":{"type":"string","example":"file-contents","format":"binary"}}}},"App_Http_Requests_Message_StoreMessageRequest":{"type":"object","properties":{"contents":{"type":"string","example":"Hello, welcome to Plannr.","description":"Contents of the message."},"files":{"type":"array","example":["1d9f26e8-2a56-4dfe-8509-f07e4ea0cf4d","35d9d284-5181-4115-9256-f9e070c897ae","f61dd7ba-ce55-44d8-ad59-0dc00f0270fc"],"description":"File UUIDs which are uploading, or has been uploaded but not yet been assigned to a model.","items":{"type":"string","example":"c3f526f9-f769-4e47-9ba1-bffc53c0b7de","format":"uuid"}}}},"App_Http_Requests_Message_UpdateMessageRequest":{"type":"object","required":["contents"],"properties":{"contents":{"type":"string","example":"Hello, welcome to Plannr.","description":"Contents of the message"}}},"App_Http_Requests_FormBuilder_StoreFormRequest":{"type":"object","required":["title"],"properties":{"title":{"type":"string","example":"Annual Survey Form","description":"The title of the form"},"description":{"type":"string","example":"This is the annual survey form for 2022","description":"The description of the form"},"visibility":{"type":"string","example":"public","description":"\n\nThe visibility of the form.\n\n| Value | Description |\n| ----- | ----------- |\n|public|Public|\n|private|Private|\n|hidden|Hidden|\n|internal|Internal|","enum":["public","private","hidden","internal"]},"allowed_hosts":{"type":"array","example":["example.com","example.org"],"description":"Domain hosts to allow viewing this form when embedded","items":{"type":"string","example":"example.com","format":"hostname"}},"create_client":{"type":"boolean","example":false,"description":"Should this form create a new client if a submission comes form no registered account"},"client_type":{"type":"string","example":"client","description":"\n\nRequired if create client is true, the type of client to create on form submission.\n\n| Value | Description |\n| ----- | ----------- |\n|client|Client|\n|prospect|Prospect|","enum":["client","prospect"]}}},"App_Http_Requests_FormBuilder_UpdateFormRequest":{"type":"object","properties":{"title":{"type":"string","example":"Annual Survey 2022 Form","description":"The title of the form"},"description":{"type":"string","example":"This is the annual survey form for 2022","description":"The description of the form"},"visibility":{"type":"string","example":"public","description":"\n\nThe visibility of the form.\n\n| Value | Description |\n| ----- | ----------- |\n|public|Public|\n|private|Private|\n|hidden|Hidden|\n|internal|Internal|","enum":["public","private","hidden","internal"]},"allowed_hosts":{"type":"array","example":["example.com","example.org"],"description":"Domain hosts to allow viewing this form when embedded","items":{"type":"string","example":"example.com","format":"hostname"}},"create_client":{"type":"boolean","example":false,"description":"Should this form create a new client if a submission comes form no registered account"},"client_type":{"type":"string","example":"client","description":"\n\nRequired if create client is true, the type of client to create on form submission.\n\n| Value | Description |\n| ----- | ----------- |\n|client|Client|\n|prospect|Prospect|","enum":["client","prospect"]}}},"App_Http_Requests_FormBuilder_StoreFormSectionRequest":{"type":"object","required":["title"],"properties":{"title":{"type":"string","example":"Section 1.1","description":"The title of the section"}}},"App_Http_Requests_FormBuilder_UpdateFormSectionRequest":{"type":"object","required":["title"],"properties":{"title":{"type":"string","example":"Section 1.1","description":"The title of the section"},"position":{"type":"integer","example":0,"description":"The position of the section in the form."}}},"App_Http_Requests_FormBuilder_StoreFormQuestionRequest":{"type":"object","required":["type","required","title","position","selection_options","section_uuid"],"properties":{"type":{"type":"string","example":"string","description":"The type of the question"},"required":{"type":"boolean","example":true,"description":"Whether the question is required or not"},"title":{"type":"string","example":"What is your name?","description":"The title of the question"},"help_text":{"type":"string","example":"Gareth","description":"Input placeholder"},"caption":{"type":"string","example":"Enter your full legal name","description":"User friendly description of what should be input"},"position":{"type":"integer","example":0,"description":"The position of the question in the section."},"selection_options":{"type":"array","example":["apple","orange"],"description":"The selection options for the question IF the question is of type selection."},"section_uuid":{"type":"string","example":"02311e3f-b8c4-4140-8701-d8d46d5815fa","description":"The uuid of the section to move the question to.","format":"uuid"},"target_field":{"type":"string","example":"client.first_name","description":"The field to update if the question is filled in"},"linked_question_field":{"type":"string","example":"first_name","description":"Create a question from a linked field, with this, the type and selection options can be ignored"},"linked_primary":{"type":"boolean","example":false,"description":"If this is a contact detail or address field, should it be made primary?"}}},"App_Http_Requests_FormBuilder_UpdateFormQuestionRequest":{"type":"object","required":["section_uuid"],"properties":{"type":{"type":"string","example":"string","description":"The type of the question"},"required":{"type":"boolean","example":true,"description":"Whether the question is required or not"},"title":{"type":"string","example":"What is your name?","description":"The title of the question"},"help_text":{"type":"string","example":"Gareth","description":"Input placeholder"},"caption":{"type":"string","example":"Enter your full legal name","description":"Field description"},"position":{"type":"integer","example":2,"description":"The position of the question in the section."},"selection_options":{"type":"array","example":["apple","orange"],"description":"The selection options for the question IF the question is of type selection.","items":{"type":"string","example":"apple"}},"section_uuid":{"type":"string","example":"ac64fd34-693d-4075-bb41-c1389805d773","description":"The uuid of the section to move the question to.","format":"uuid"}}},"App_Http_Requests_FormBuilder_StoreFormSubmissionRequest":{"type":"object","properties":{"account_uuid":{"type":"string","example":"88939421-2a82-476c-b8e2-bd2970c522fa","description":"UUID of the account to attach the form submission to, if left blank will use the authenticated account","format":"uuid"}}},"App_Http_Requests_FormBuilder_AnswerFormSubmissionRequest":{"type":"object","required":["answers"],"properties":{"answers":{"type":"object","description":"Answers linked with questions keys array","example":{"first_name":"John","last_name":"Cena","another.field":"Some value"},"additionalProperties":true}}},"App_Http_Requests_FormBuilder_UpdateFormSubmissionRequestRequest":{"type":"object","properties":{"description":{"type":"string","example":"Please can you submit your annual survey form","description":"Description of the submission request"}}},"App_Http_Requests_FormBuilder_StoreFormSubmissionRequestRequest":{"type":"object","properties":{"description":{"type":"string","example":"Please can you submit your annual survey form","description":"Description of the submission request"}}},"App_Http_Requests_Tasks_StoreTaskStatusRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Incomplete","description":"Name of the task status"},"colour":{"type":"string","example":"#ff0000","description":"Colour of the task status"}}},"App_Http_Requests_Tasks_UpdateTaskStatusRequest":{"type":"object","properties":{"name":{"type":"string","example":"Incomplete","description":"Name of the task status"},"colour":{"type":"string","example":"#ff0000","description":"Colour of the task status"},"position":{"type":"integer","example":1,"description":"Position of the task status"}}},"App_Http_Requests_Tasks_StoreTaskRequest":{"type":"object","required":["name","taskable_type","taskable_uuid","task_status_uuid"],"properties":{"name":{"type":"string","example":"Check details","description":"The name of the task"},"description":{"type":"string","example":"Check details","description":"The description of the task"},"priority":{"type":"string","example":"low","description":"\n\nThe task's priority. Available options: low, medium, high and highest\n\n| Value | Description |\n| ----- | ----------- |\n|low|Low|\n|medium|Medium|\n|high|High|\n|highest|Highest|","enum":["low","medium","high","highest"]},"due_at":{"type":"string","example":"2026-11-23","description":"The task due date","format":"date"},"taskable_type":{"type":"string","example":"client","description":"The taskable type. Available Options: client, employee, case, plan","enum":["client","employee","case","plan"]},"taskable_uuid":{"type":"string","example":"7cf36be2-8e67-45b3-a619-1a7910622db1","description":"The taskable UUID","format":"uuid"},"task_status_uuid":{"type":"string","example":"712c8a28-7766-4a07-ab96-0834b1080a5e","description":"The task status UUID","format":"uuid"},"parent_task_uuid":{"type":"string","example":"55952308-e615-446c-a92e-fdf28d71da7b","description":"The parent task UUID","format":"uuid"},"assigned_to_uuids":{"type":"array","example":["a0f80744-f358-4ec1-8822-8cd9af27b08a","376f74ca-0bab-4749-aa87-a6f8adf1379a","822bbd58-616a-4e0a-8da5-d2918ab352df"],"description":"Array of account UUIDs","items":{"type":"string","example":"c10f2b1f-4583-44bd-bde6-7e2341113a5f","format":"uuid"}},"custom_fields":{"type":"object","description":"Additional custom fields","example":{"favourite_pet":"Dog"},"additionalProperties":true},"group_uuids":{"type":"array","example":["2139635a-add5-487e-8bfd-d5b3868d3fe7","5292b592-625f-406c-9275-cce048d107cc","c7dcbcae-c78f-4d83-957c-ca17afab53f0"],"description":"UUIDs of groups that will be assigned when the task is created.","items":{"type":"string","example":"20942df0-963f-459b-ac7c-ccd3e35ca381","format":"uuid"}},"is_recurring":{"type":"boolean","example":true,"description":"Whether the task should be recurring or not. Subtasks cannot be recurring."},"recurring_frequency":{"type":"string","example":"daily","description":"\n\nThe frequency at which the task should recur. This field is required if is_recurring is set to true.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|weekdays|Weekdays|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","weekdays"]}}},"App_Http_Requests_Tasks_UpdateTaskRequest":{"type":"object","properties":{"name":{"type":"string","example":"Check details","description":"The name of the task"},"description":{"type":"string","example":"Check details","description":"The description of the task"},"priority":{"type":"string","example":"low","description":"\n\nThe task's priority. Available options: low, medium, high and highest\n\n| Value | Description |\n| ----- | ----------- |\n|low|Low|\n|medium|Medium|\n|high|High|\n|highest|Highest|","enum":["low","medium","high","highest"]},"due_at":{"type":"string","example":"2026-11-25","description":"The task due date","format":"date"},"taskable_type":{"type":"string","example":"client","description":"The taskable type. Available Options: client, employee, case, plan","enum":["client","employee","case","plan"]},"taskable_uuid":{"type":"string","example":"9aa8b54e-f44f-4125-b1f5-ede5cca7e08e","description":"The taskable UUID","format":"uuid"},"task_status_uuid":{"type":"string","example":"e729c763-2f72-46f1-b98e-1df362803fd7","description":"The task status UUID","format":"uuid"},"parent_task_uuid":{"type":"string","example":"81a8b98d-c73b-4863-9ea7-db27bec114f3","description":"The parent task UUID","format":"uuid"},"assigned_to_uuids":{"type":"array","example":["f30b1d10-3dde-4575-84d3-b2ba791c25a4","28eb7911-21fa-4474-b75c-fb89305c9f8a","056a42de-2bf7-476b-bbdf-b6e53cf8f7bc"],"description":"Array of account UUIDs","items":{"type":"string","example":"ebf1099e-65e9-4fbe-9575-2492b5d4616f","format":"uuid"}},"custom_fields":{"type":"object","description":"Additional custom fields","example":{"favourite_pet":"Dog"},"additionalProperties":true},"group_uuids":{"type":"array","example":["8842c2be-fd15-45b7-a57c-79b5306b9f42","045e4b53-5b6d-4fe9-837f-9a58258d067c","d864b1f9-6d73-4fd8-99f6-25fac3e5fa40"],"description":"UUIDs of groups that will be assigned when the task is updated.","items":{"type":"string","example":"70e56588-503b-4cbd-8445-6b24820a2065","format":"uuid"}},"is_recurring":{"type":"boolean","example":true,"description":"Whether the task should be recurring or not. Subtasks cannot be recurring."},"recurring_frequency":{"type":"string","example":"daily","description":"\n\nThe frequency at which the task should recur. This field is required if is_recurring is set to true.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|weekdays|Weekdays|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","weekdays"]}}},"App_Http_Requests_Checklist_StoreChecklistRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Pre-meeting checks","description":"The name of the checklist."}}},"App_Http_Requests_Checklist_UpdateChecklistRequest":{"type":"object","properties":{"name":{"type":"string","example":"Post-meeting actions","description":"The updated name of the checklist."},"order":{"type":"integer","example":1,"description":"The display order of the checklist."}}},"App_Http_Requests_Checklist_StoreChecklistItemRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Send calendar invite","description":"The label for the checklist item."}}},"App_Http_Requests_Checklist_UpdateChecklistItemRequest":{"type":"object","properties":{"name":{"type":"string","example":"Send calendar invite","description":"The updated label for the checklist item."},"is_checked":{"type":"boolean","example":true,"description":"Whether the item has been checked off."},"order":{"type":"integer","example":0,"description":"The display order of the item within its checklist."}}},"App_Http_Requests_Board_StoreWorkflowRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Pension Review","description":"The name of the workflow, must be unique."}}},"App_Http_Requests_Board_UpdateWorkflowRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Pension Review","description":"The name of the workflow, must be unique."}}},"App_Http_Requests_Board_StoreWorkflowTaskRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Mortgage Review","description":"The name of the task."},"visible_to_clients":{"type":"boolean","example":true,"description":"Denotes if the task is visible to clients."},"priority":{"type":"string","example":"low","description":"The priority of the workflow task. Possible values are: high, low and null"},"description":{"type":"string","example":"We need to run through a mortgage review with Gareth, as he can probably find a better deal.","description":"The extra description added to a task."},"task_status_uuid":{"type":"string","example":"5f4d51cf-dc43-433f-bc9d-f33d8b113fdf","description":"The UUID of the task status to use as the default for new tasks created in this workflow."},"offset_due_at_by":{"type":"integer","example":5,"description":"The number of days the due_at should be set when the workflow has been triggered."},"participants":{"type":"array","example":["2667576d-b3d2-4077-b0ee-a94919442426","556c17e6-3b05-4126-9672-a0ed3b269b03","4ea5d3f9-b6d7-440f-84a3-f1f457c4878f"],"description":"Account UUIDs to be assigned to the task.","items":{"type":"string","example":"b7e87c66-9ef7-4311-a962-d435c0b5af34","format":"uuid"}},"parent_uuid":{"type":"string","example":"6f8a611d-1cbf-4ba5-868c-891f9b4523cf","description":"The parent task. Apply this if you want the task to be one of a tasks sub-tasks.","format":"uuid"},"trigger_uuid":{"type":"string","example":"e51684ea-f032-44c9-8651-10015fd3cc39","description":"The task that will trigger this task to be created.","format":"uuid"},"auto_assign_assigned_adviser":{"type":"boolean","example":true,"description":"Denotes that when the workflow is run, should we assign the assigned adviser of the client as a participant of the task. Only works when a workflow is run on a client."},"auto_assign_assigned_administrator":{"type":"boolean","example":true,"description":"Denotes that when the workflow is run, should we assign the administrator of the client as a participant of the task. Only works when a workflow is run on a client."},"auto_assign_assigned_paraplanner":{"type":"boolean","example":true,"description":"Denotes that when the workflow is run, should we assign the assigned paraplanner of the client as a participant of the task. Only works when a workflow is run on a client."},"auto_assign_clients":{"type":"boolean","example":true,"description":"Denotes that when the workflow is run, should we assign the client as a participant of the task."},"groups":{"type":"array","example":["01e77cb6-123b-4e93-877c-f3ccdc51c988","d45ec354-a4bf-47e4-a9ce-3561ea39d232","b73bd26c-bd5a-49a9-8d71-b9f73c04458f"],"description":"UUIDs of groups that will be assigned when the task is created.","items":{"type":"string","example":"282e8dc1-ff7d-4e2a-b9a3-d24e70a462bd","format":"uuid"}}}},"App_Http_Requests_Board_UpdateWorkflowTaskRequest":{"type":"object","properties":{"name":{"type":"string","example":"Mortgage Review","description":"The name of the task."},"visible_to_clients":{"type":"boolean","example":true,"description":"Denotes if the task is visible to clients."},"priority":{"type":"string","example":"low","description":"\n\nThe priority of the workflow task. Possible values are: high, low and null.\n\n| Value | Description |\n| ----- | ----------- |\n|low|Low|\n|medium|Medium|\n|high|High|\n|highest|Highest|","enum":["low","medium","high","highest"]},"description":{"type":"string","example":"We need to run through a mortgage review with Gareth, as he can probably find a better deal.","description":"The extra description added to a task."},"position":{"type":"integer","example":4,"description":"The task positioning within the sub tasks or trigger tasks."},"offset_due_at_by":{"type":"integer","example":5,"description":"The number of days the due_at should be set when the workflow has been triggered."},"task_status_uuid":{"type":"string","example":"9a95592d-a213-4bb5-a1a2-dc0c3a727882","description":"The UUID of the task status to use as the default for new tasks created in this workflow."},"participants":{"type":"array","example":["9068c20b-c9db-44d2-bb30-04c139519a91","a1546ea5-e3e1-4e08-9706-a3c77b1b911d","ca00d34c-faa5-4599-b78b-9f4b35c9c613"],"description":"Account UUIDs to be assigned to the task.","items":{"type":"string","example":"e58b6e72-eae4-4a17-822e-5c3128f75620","format":"uuid"}},"parent_uuid":{"type":"string","example":"8d3f48d5-da2c-4101-82ab-6b91056653a0","description":"The parent task. Apply this if you want the task to be one of a tasks sub-tasks.","format":"uuid"},"trigger_uuid":{"type":"string","example":"40a21f1a-ada9-40a1-bfa2-fea3b0eda6ea","description":"The task that will trigger this task to be created.","format":"uuid"},"auto_assign_assigned_adviser":{"type":"boolean","example":true,"description":"Denotes that when the workflow is run, should we assign the assigned adviser of the client as a participant of the task. Only works when a workflow is run on a client."},"auto_assign_assigned_administrator":{"type":"boolean","example":true,"description":"Denotes that when the workflow is run, should we assign the administrator of the client as a participant of the task. Only works when a workflow is run on a client."},"auto_assign_assigned_paraplanner":{"type":"boolean","example":true,"description":"Denotes that when the workflow is run, should we assign the assigned paraplanner of the client as a participant of the task. Only works when a workflow is run on a client."},"auto_assign_clients":{"type":"boolean","example":true,"description":"Denotes that when the workflow is run, should we assign the client as a participant of the task."},"groups":{"type":"array","example":["90590519-0a6f-455b-ae41-9e3b1b12bddd","d8e67c6b-a8be-4840-b400-bcc583e3846c","ccd28a5c-c7df-4bfe-8a04-8eb3cf7c28cb"],"description":"UUIDs of groups that will be assigned when the task is created.","items":{"type":"string","example":"652bc0af-967c-4262-8201-28c1bffb4544","format":"uuid"}}}},"App_Http_Requests_Board_AddParticipantsToWorkflowTaskRequest":{"type":"object","properties":{"participants":{"type":"array","example":["3a881ce0-a9a2-41ca-9e3f-a78a724d3d58","58a0e6e0-3181-4f73-bc5e-3d4be0b11c27","df99a4aa-5f02-4b03-946a-696cdb8be85c"],"description":"Account uuids belonging to the workflow board task.","items":{"type":"string","example":"0b6752db-ffe2-49e1-b00f-d1ad5ea2653d","format":"uuid"}}}},"App_Http_Requests_Board_RemoveParticipantsFromWorkflowTaskRequest":{"type":"object","properties":{"participants":{"type":"array","example":["8d752fe0-c7ca-4127-9367-b87bed146463","3b25a968-265c-4183-a982-fdc0f7c0fc5d","3c190cde-43d5-4f14-962a-19942405b18a"],"description":"Account uuids belonging to the workflow board task.","items":{"type":"string","example":"970139a3-6268-48c7-aa9f-6a2d7c3ff0f4","format":"uuid"}}}},"App_Http_Requests_Board_RunWorkflowRequest":{"type":"object","required":["model_type","model_uuid"],"properties":{"model_type":{"type":"string","example":"client","description":"\n\nThe type of model to trigger a workflow on.\n\n| Value | Description |\n| ----- | ----------- |\n|client|Client|\n|case|Case|","enum":["client","case"]},"model_uuid":{"type":"string","example":"e8563680-bf6e-4ae9-b3ec-c6bfb07fa1d7","description":"The uuid of the model to trigger a workflow on.","format":"uuid"}}},"App_Http_Requests_Tag_StoreTagRequest":{"type":"object","required":["mode","taggable_type","taggable_uuid","tags"],"properties":{"mode":{"type":"string","example":"attach","description":"Mode for dealing with tags. Attach will add the tags to the model, sync will remove all other tags and add the ones provided, detach will remove the tags from the model, create will create the tags without attaching them to a model.","enum":["attach","sync","detach","create"]},"taggable_type":{"type":"string","example":"account","description":"Model type to assign these tags to.","enum":["account","board","board_task","case","conversation","file","note","plan"]},"taggable_uuid":{"type":"string","example":"1dc6bd56-872d-4af7-9db4-4c3ecbf63c31","description":"Model UUID to assign these tags to.","format":"uuid"},"tags":{"type":"array","example":["Reviewed","40c137a2-b331-400a-a92e-9d410df7d0f8",{"name":"Urgent","colour":"#FF0000"}],"description":"Tags can be provided in various formats. If you do not provide a colour a random one will be chosen for you.","items":{"anyOf":[{"type":"string","example":"Reviewed","description":"Tag name as a string. The tag will be created if it does not already exist."},{"type":"string","example":"de2bb9a4-89d4-46e8-83e4-6a54dd45c6cd","description":"Tag UUID. The tag must already exist.","format":"uuid"},{"type":"object","description":"Tag object with name and optional colour.","example":{"name":"Urgent","colour":"#FF0000"},"properties":{"name":{"type":"string","example":"Urgent","description":"Name of the tag to create."},"colour":{"type":"string","example":"#FF0000","description":"Hex colour code for the tag. If not provided a random colour will be chosen."}},"required":["name"]}]}}}},"App_Http_Requests_Tag_UpdateTagRequest":{"type":"object","required":["name","colour"],"properties":{"name":{"type":"string","example":"Urgent","description":"Update tag description"},"colour":{"type":"string","example":"#ef4582","description":"Update tag colour"}}},"App_Http_Requests_ExecuteBulkActionRequest":{"type":"object","required":["items"],"properties":{"type":{"type":"string","example":"linked_policy_numbers_delete","description":"\n\nThe name of the bulk action to perform. Options:linked_policy_numbers_delete, tasks_archive, tasks_attach, tasks_complete, tasks_delete, tasks_detach, tasks_due_date, tasks_priority, tasks_status, tasks_sync and tasks_taskable.\n                * \"tasks_complete\" allows for the mass completion of tasks.\n                * \"tasks_delete\" allows for the mass deletion of tasks.\n                * \"tasks_sync\" is intended for syncing the chosen tasks with the selected accounts (This will overwrite any members previously selected with the newly chosen members.).\n                * \"tasks_attach\" is intended for attaching the chosen members to the selected tasks.\n                * \"tasks_detach\" is intended for detaching the chosen members from the selected tasks.\n                * \"tasks_archive\" is intended for archiving the chosen tasks.\n                \n\n| Value | Description |\n| ----- | ----------- |\n|linked_policy_numbers_delete|Delete Linked Policy Numbers|\n|tasks_archive|Archive Tasks|\n|tasks_attach|Attach Assignee To Tasks|\n|tasks_complete|Complete Tasks|\n|tasks_delete|Delete Tasks|\n|tasks_detach|Detach Assignee From Tasks|\n|tasks_due_date|Update Due Date On Tasks|\n|tasks_priority|Prioritise Tasks|\n|tasks_status|Update Status On Tasks|\n|tasks_sync|Sync Assignees On Tasks|\n|tasks_taskable|Update Taskable On Tasks|","enum":["linked_policy_numbers_delete","tasks_archive","tasks_attach","tasks_complete","tasks_delete","tasks_detach","tasks_due_date","tasks_priority","tasks_status","tasks_sync","tasks_taskable"]},"is_recursive":{"type":"boolean","example":true,"description":"Only used for task bulk actions, whether to perform the bulk action recursively over all sub-tasks."},"items":{"type":"array","example":["c29cdb08-154b-45be-903a-1db7d35aece0","d9e79457-b168-47cf-b7e6-3585b58f5ed0"],"description":"The items to perform the bulk action on. Send an array with a single * value instead of an array to select all items. Use filter to constrain all items."},"filters":{"type":"object","description":"The filters to apply to the bulk action. These can only be used on a catch-all bulk action.","example":{"taskable_uuid":"e31c299f-6428-4844-b2cd-ec54f05d4f37","taskable_type":"client"},"properties":{"taskable_uuid":{"type":"string","example":"e31c299f-6428-4844-b2cd-ec54f05d4f37","description":"Filter by uuid","format":"uuid"},"taskable_type":{"type":"string","example":"client","description":"Taskable type","enum":["client","employee","case","plan"]}}},"data":{"type":"object","description":"Optional data reserved for specific bulk action requirements.","additionalProperties":true}}},"App_Http_Requests_Folder_StoreFolderRequest":{"type":"object","required":["name","parent"],"properties":{"name":{"type":"string","example":"Important Documents","description":"Folder name."},"parent":{"type":"string","example":"e814786d-ec28-48e7-9966-99dbbae09484","description":"Parent folder UUID to create this folder under.","format":"uuid"}}},"App_Http_Requests_Folder_UpdateFolderRequest":{"type":"object","properties":{"name":{"type":"string","example":"Important Documents","description":"Folder name."},"parent":{"type":"string","example":"3fb1d5c1-e959-461b-8fc6-0cb2fd079149","description":"Move current folder in to this parent folder.","format":"uuid"}}},"App_Http_Requests_Folder_UpdateFolderPermissionRequest":{"type":"object","required":["clients_read","clients_write"],"properties":{"clients_read":{"type":"boolean","example":false,"description":"Give read access to all clients that can view the documentable item."},"clients_write":{"type":"boolean","example":false,"description":"Give write access to all clients that can view the documentable item."},"participants":{"type":"array","example":[],"description":"Give read and write access to specific people that can view the documentable item.","items":{"type":"object","example":[{"uuid":"86a8279a-3d44-4527-968a-d26e28e2443d","write":false},{"uuid":"53887bbb-a6cb-402c-bf80-22f46bf5fa9f","write":true}],"properties":{"uuid":{"type":"string","example":"29a89440-8763-4804-9f87-b5bfcc534234","description":"The UUID of the participant to give permissions to.","format":"uuid"},"write":{"type":"boolean","example":false,"description":"Write permission for this participant."}}}}}},"App_Http_Requests_File_DirectFileUploadRequest":{"type":"object","required":["name","file","folder_uuid"],"properties":{"name":{"type":"string","example":"Plannr Welcome Pack","description":"The name of the file."},"file":{"type":"string","example":"file-contents","description":"The file being uploaded.","format":"binary"},"folder_uuid":{"type":"string","example":"423f5008-1006-415e-b451-76d9c348ace1","description":"The UUID of the folder to upload the file to.","format":"uuid"},"original_created_at":{"type":"string","example":"2026-11-18 20:11:44","description":"The original created at date of the file.","format":"date"}}},"App_Http_Requests_File_StoreFileRequest":{"type":"object","required":["files"],"properties":{"folder":{"type":"string","example":"d3b4bd14-d3e9-430b-9cdd-a540854c168a","description":"Parent folder UUID to store this file under.","format":"uuid"},"files":{"type":"array","example":["a5ed775e-90b2-40ed-bcb6-c2894033e931","2f8e5081-22a5-4fd7-886e-7d77343839eb","feca2a0f-5122-48a1-88b7-8326435b8346"],"description":"File UUIDs which are uploading, or has been uploaded but not yet been assigned to a model.","items":{"type":"string","example":"d9e590f5-1e42-448e-b08d-455e35e5039d","format":"uuid"}}}},"App_Http_Requests_File_UpdateFileRequest":{"type":"object","required":["name","folder_uuid"],"properties":{"name":{"type":"string","example":"Important Document","description":"Rename the file."},"folder_uuid":{"type":"string","example":"cd6dffe6-c1a9-47a9-b3c4-efcba18786d7","description":"Move the file to this folder.","format":"uuid"},"original_created_at":{"type":"string","example":"2026-11-18 20:11:44","description":"Update the original created at date of the file.","format":"date"}}},"App_Http_Requests_File_CopyFileRequest":{"type":"object","required":["folder"],"properties":{"folder":{"type":"string","example":"9ac9e30b-8cd0-41cf-9998-00619e40ca07","description":"Copy file to this folder.","format":"uuid"}}},"App_Http_Requests_TimeEntry_StoreTimeEntryRequest":{"type":"object","required":["trackable_type","trackable_uuid","name"],"properties":{"trackable_type":{"type":"string","example":"client","description":"The type of the model that is being tracked..  Valid types are: client, board_task, case, circle, firm, task","enum":["client","board_task","case","circle","firm","task"]},"trackable_uuid":{"type":"string","example":"462dc1b0-6eb3-4d94-a6f4-7510b7eb1fbb","description":"The UUID of the model that is being tracked","format":"uuid"},"name":{"type":"string","example":"Research","description":"The name of the time entry."},"description":{"type":"string","example":"Research for the new project.","description":"The description of the time entry."},"start_date":{"type":"string","example":"2026-10-04","description":"The start time of the time entry.","format":"date"},"end_date":{"type":"string","example":"2026-11-18","description":"The end time of the time entry.","format":"date"},"total_time_in_minutes":{"type":"integer","example":200,"description":"The length of the time entry, can be used instead of dates."}}},"App_Http_Requests_TimeEntry_UpdateTimeEntryRequest":{"type":"object","required":["trackable_type","trackable_uuid"],"properties":{"trackable_type":{"type":"string","example":"client","description":"The type of the model that is being tracked..  Valid types are: client, board_task, case, circle, firm, task","enum":["client","board_task","case","circle","firm","task"]},"trackable_uuid":{"type":"string","example":"6b13dab0-3257-4cc1-aaf0-eb823690a9d1","description":"The UUID of the model that is being tracked","format":"uuid"},"name":{"type":"string","example":"Research","description":"The name of the time entry."},"description":{"type":"string","example":"Research for the client","description":"The description of the time entry."},"start_date":{"type":"string","example":"2026-10-04","description":"The start time of the time entry.","format":"date"},"end_date":{"type":"string","example":"2026-11-18","description":"The end time of the time entry.","format":"date"},"total_time_in_minutes":{"type":"integer","example":200,"description":"The length of the time entry, can be used instead of dates."}}},"App_Http_Requests_Note_StoreNoteRequest":{"type":"object","required":["notable_type","notable_uuid","contents"],"properties":{"notable_type":{"type":"string","example":"account","description":"The model type that the note is for. Available options are: account, bank_transaction, case, charge, check, circle, conversation, expectation, illustration, lead, mortgage_search, plan, risk, statement, statement_transaction, task","enum":["account","bank_transaction","case","charge","check","circle","conversation","expectation","illustration","lead","mortgage_search","plan","risk","statement","statement_transaction","task"]},"notable_uuid":{"type":"string","example":"25ef1835-3526-449c-8726-ffd7ec37aebf","description":"The UUID of the model that the note is for.","format":"uuid"},"contents":{"type":"string","example":"This guy rocks.","description":"The note's contents."},"type":{"type":"string","example":"call","description":"\n\nType of note. Available note types are: call, note, meeting and email\n\n| Value | Description |\n| ----- | ----------- |\n|call|Call|\n|note|Note|\n|meeting|Meeting|\n|email|Email|","enum":["call","note","meeting","email"]},"path":{"type":"string","example":"gifts","description":"Note path, used for note grouping"},"is_pinned":{"type":"boolean","example":false,"description":"Is this note pinned to the top of any results"},"visible_to_clients":{"type":"boolean","example":false,"description":"Is this note visible to client accounts"},"created_at":{"type":"string","example":"2026-11-09","description":"Timestamp the note was created at","format":"date"}}},"App_Http_Requests_Note_UpdateNoteRequest":{"type":"object","required":["contents"],"properties":{"contents":{"type":"string","example":"This guy rocks.","description":"The note's contents."},"type":{"type":"string","example":"meeting","description":"Type of note. Available note types are: call, note, meeting and email"},"path":{"type":"string","example":"gifts","description":"Note path, used for note grouping"},"is_pinned":{"type":"boolean","example":false,"description":"Is this note pinned to the top of any results"},"visible_to_clients":{"type":"boolean","example":false,"description":"Is this note visible to client accounts"},"created_at":{"type":"string","example":"2026-11-09","description":"Timestamp the note was created at","format":"date"}}},"App_Http_Requests_DocumentBuilder_StoreDocumentTemplateRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Client Service Agreement","description":"The name of the document template."}}},"App_Http_Requests_DocumentBuilder_UpdateDocumentTemplateRequest":{"type":"object","properties":{"name":{"type":"string","example":"Welcome Template","description":"The name of the document template."}}},"App_Http_Requests_DocumentBuilder_UploadTemplateDocxContentRequest":{"type":"object","required":["file"],"properties":{"file":{"type":"string","example":"file-contents","description":"The DOCX file - must be less than 50mb in size.","format":"binary"}}},"App_Http_Requests_DocumentBuilder_StoreDocumentRequest":{"type":"object","required":["name","client_uuids"],"properties":{"name":{"type":"string","example":"Client Service Agreement","description":"The name of the document."},"client_uuids":{"type":"array","example":["e6140ab6-e962-4b90-9485-8bfaa96abbc1","507ed361-7ded-4e63-ac67-fe5811ef752e","ff56721e-eaf2-42d8-88b2-7180e0dfd18d"],"description":"An array containing the client uuids that should be sent the document when it is built.","items":{"type":"string","example":"898998de-b9da-48c2-beee-8be5cbde661f","format":"uuid"}},"template_uuid":{"type":"string","example":"e7d43808-668c-4598-9456-28d1f940c7fd","description":"The UUID of the document template you want to be used with this document. You must not provide the sfdt or docx fields when creating from a template.","format":"uuid"},"known_dependants":{"type":"object","description":"Optional: The document variable dependants. Used to swap variables out for real data.","example":{"client-1":"77e8d15a-bcfb-4e14-8f0e-daa7ee3b7cd9"},"additionalProperties":true}}},"App_Http_Requests_DocumentBuilder_UpdateDocumentRequest":{"type":"object","properties":{"name":{"type":"string","example":"Client Service Agreement","description":"The name of the document."},"client_uuids":{"type":"array","example":["2c9d7303-6c02-42c0-b859-fdb9a41f7037","54145840-afd0-49ef-ada6-678d1a89c5c8","c1dd163c-180a-422c-984d-d6fc63156401"],"description":"An array containing the client uuids that should be sent the document when it is built.","items":{"type":"string","example":"f32ddbc6-aad9-45e9-b249-f6c7c53f4e5d","format":"uuid"}},"known_dependants":{"type":"object","description":"Optional: The document variable dependants. Used to swap variables out for real data.","example":{"client-1":"ce6367e2-95ee-408c-97fe-a5487ec7fd96"},"additionalProperties":true}}},"App_Http_Requests_DocumentBuilder_UploadDocumentDocxContentRequest":{"type":"object","required":["file"],"properties":{"file":{"type":"string","example":"file-contents","description":"The DOCX file - must be less than 50mb in size.","format":"binary"}}},"App_Http_Requests_DocumentSigning_StoreDocumentPackRequest":{"type":"object","required":["name","description"],"properties":{"name":{"type":"string","example":"Terms and Conditions","description":"Name of the document pack."},"description":{"type":"string","example":"Terms and Conditions for our services","description":"Short description of the document pack."},"is_template":{"type":"boolean","example":true,"description":"Denotes whether document pack is a template or not."}}},"App_Http_Requests_DocumentSigning_UpdateDocumentPackRequest":{"type":"object","required":["name","description"],"properties":{"name":{"type":"string","example":"Terms and Conditions","description":"Name of the document pack."},"description":{"type":"string","example":"Terms and Conditions for our services","description":"Short description of the document pack."},"is_template":{"type":"boolean","example":true,"description":"Denotes whether document pack is a template or not."}}},"App_Http_Requests_DocumentBuilder_LaunchDocumentSigningRequest":{"type":"object","required":["participant_uuids","document_template_uuids"],"properties":{"participant_uuids":{"type":"array","example":["9d7e7e8d-4b7e-414a-bc3d-d0d018921ce0","66b02186-2411-41d7-a928-8022b141f53c","81391273-43f3-4354-a06b-3fd39c831959"],"description":"Participants who will be viewing and signing the documents. Must be given in the order you would like the participants to view the documents.","items":{"type":"string","example":"fcc33625-5b88-43c1-ad6b-cd92f7444a49","format":"uuid"}},"document_template_uuids":{"type":"array","example":["990e7056-9002-430b-aa10-bd7417df8e78","8f6228a3-7fef-4094-98b6-5bde38b4df53","c8d266ed-41be-4376-93c3-29b4f4d11bef"],"description":"Array document template UUIDs to be added as adhoc documents of the document signing process. Required without document_pack.","items":{"type":"string","example":"62eda1e3-58d7-4523-be1b-f196e7b09cd2","format":"uuid"}},"document_template_dependants":{"type":"object","description":"Array variable dependant models that are needed for variable replacing across all documents that are provided.","example":{"client-1":"48b7a420-2af3-4feb-84be-77f4105f0f2d","client-2":"12fc1df9-1401-4575-be83-61f6b9f5a51b"},"additionalProperties":true}}},"App_Http_Requests_Plans_StorePlanRequest":{"type":"object","required":["client_uuid","type","sub_type","provider_uuid","status","visible_on_client_portal","include_in_client_valuation","on_panel"],"properties":{"name":{"type":"string","example":"Johns ISA","description":"Descriptive name of the plan","maxLength":255,"nullable":true},"client_uuid":{"type":"string","example":"62d33e13-6768-4753-9cb0-b244ce626c9e","description":"[DEPRECATED] Please use accounts instead. Account uuid linked with the plan","format":"uuid"},"accounts":{"type":"array","example":[],"description":"Accounts that own this plan, along with their percentage ownership. Any percentages that have not be defined will be split equally against the remaining percentage.","items":{"type":"object","example":[{"account_uuid":"4435add3-ec02-4c79-b665-ce9b4f4c65bc"},{"account_uuid":"522167f2-101c-46b1-938a-37239c96447f","ownership_percentage":75.0},{"account_uuid":"902c6c83-ea8b-48ba-8b20-d6dea98dbc95","ownership_percentage":null}],"properties":{"account_uuid":{"type":"string","example":"0b8a7776-074b-406d-b735-4fc7b86055f2","description":"uuid of the account owner","format":"uuid"},"ownership_percentage":{"type":"number","example":75.0,"description":"Percentage ownership of this account. If not provided, the remaining percentage will be split equally between any accounts without a defined percentage.","format":"float","minimum":0.0,"maximum":100.0,"nullable":true}}}},"type":{"type":"string","example":"annuity","description":"\n\nType of plan.\n\n| Value | Description |\n| ----- | ----------- |\n|annuity|Annuity|\n|cash_account|Cash Account|\n|fixed_asset|Fixed Asset|\n|general_insurance|General Insurance|\n|group_protection|Group Protection|\n|investment|Investment|\n|loan_credit|Loan Credit|\n|mortgage|Mortgage|\n|pension|Pension|\n|protection_policy|Protection Policy|","enum":["annuity","cash_account","fixed_asset","general_insurance","group_protection","investment","loan_credit","mortgage","pension","protection_policy"]},"sub_type":{"type":"string","example":"cash_account","description":"\n\nPlan sub type\n\n| Value | Description |\n| ----- | ----------- |\n|cash_account|Cash Account|\n|cash_deposit|Cash Deposit|\n|isa_mini_cash|ISA (Mini Cash)|\n|isa_tessa_only|ISA (TESSA Only)|\n|lifetime_isa_cash|Lifetime ISA (Cash)|\n|national_savings|National Savings|\n|national_savings_child_bonus_bond|National Savings (Child Bonus Bond)|\n|national_savings_fixed_interest_certificate|National Savings (Fixed Interest Certificate)|\n|national_savings_guaranteed_equity_bond|National Savings (Guaranteed Equity Bond)|\n|national_savings_income_bond|National Savings (Income Bond)|\n|national_savings_index_linked_certificate|National Savings (Index Linked Certificate)|\n|national_savings_national_savings_certificate|National Savings (National Savings Certificate)|\n|national_savings_premium_bonds|National Savings (Premium Bonds)|\n|cash_account_unknown|Unknown|\n|aim_investment_tax_service|AIM Investment Tax Service|\n|bes|BES|\n|business_premises_renovation_allowance|Business Premises Renovation Allowance|\n|child_trust_fund|Child Trust Fund|\n|collective_investment_account|Collective Investment Account|\n|commercial_property_purchase_scheme|Commercial Property Purchase Scheme|\n|debenture|Debenture|\n|discretionary_managed_service|Discretionary Managed Service|\n|employee_benefit_trust|Employee Benefit Trust|\n|enterprise_investment_scheme_non_regulated|Enterprise Investment Scheme (Non-Regulated)|\n|enterprise_investment_scheme_regulated|Enterprise Investment Scheme (Regulated)|\n|enterprise_investment_zone_trust|Enterprise Investment Zone Trust|\n|enterprise_zone_syndicate|Enterprise Zone Syndicate|\n|equity_holdings|Equity Holdings|\n|exchange_traded_fund|Exchange Traded Fund|\n|exempt_property_unit_trust|Exempt Property Unit Trust|\n|film_partnership|Film Partnership|\n|geared_investments|Geared Investments|\n|general_investment_account|General Investment Account|\n|hedge_fund|Hedge Fund|\n|investment_bond|Investment Bond|\n|investment_tax_service|Investment Tax Service|\n|investment_trust|Investment Trust|\n|isa_aim|ISA (AIM)|\n|isa_cash|ISA (Cash)|\n|isa_help_to_buy|ISA (Help To Buy)|\n|isa_maxi|ISA (Maxi)|\n|isa_maxi_mini_transfer|ISA (Maxi/Mini Transfer)|\n|isa_mini_equity|ISA (Mini Equity)|\n|isa_nisa|ISA (Nisa)|\n|isa_stocks_and_shares|ISA (Stocks And Shares)|\n|junior_isa_cash|Junior ISA (Cash)|\n|junior_isa_nisa|Junior ISA (Nisa)|\n|junior_isa_stocks_and_shares|Junior ISA (Stocks And Shares)|\n|lifetime_isa_stocks_and_shares|Lifetime ISA (Stocks And Shares)|\n|maximum_investment_plan_investment|Maximum Investment Plan|\n|non_discretionary_managed_service|Non Discretionary Managed Service|\n|oeic_unit_trust|Oeic/Unit Trust|\n|offshore_bond|Offshore Bond|\n|offshore_deposit|Offshore Deposit|\n|offshore_oeic_fund|Offshore Oeic/Fund|\n|offshore_savings_plan|Offshore Savings Plan|\n|onshore_bond|Onshore Bond|\n|personal_equity_plan|Personal Equity Plan|\n|property_holdings|Property Holdings|\n|property_partnership|Property Partnership|\n|property_syndicate|Property Syndicate|\n|residential_property_development|Residential Property Development|\n|savings_account|Savings Account|\n|seed_enterprise_investment_scheme_non_regulated|Seed Enterprise Investment Scheme (Non-Regulated)|\n|seed_enterprise_investment_scheme_regulated|Seed Enterprise Investment Scheme (Regulated)|\n|share_incentive_plan|Share Incentive Plan|\n|share_save_scheme|Share Save Scheme|\n|sicav|SICAV|\n|structured_plan|Structured Plan|\n|structured_plan_cash_isa|Structured Plan (Cash ISA)|\n|structured_plan_deposit|Structured Plan (Deposit)|\n|structured_plan_medium_term_note|Structured Plan (Medium Term Note)|\n|structured_plan_stocks_shares_isa|Structured Plan (Stocks \u0026 Shares ISA)|\n|tessa|TESSA|\n|trust|Trust|\n|unit_trust|Unit Trust|\n|unregulated_collective_investments|Unregulated Collective Investments|\n|venture_capital_trust_non_regulated|Venture Capital Trust (Non-Regulated)|\n|venture_capital_trust_regulated|Venture Capital Trust (Regulated)|\n|wrap|Wrap|\n|investment_unknown|Unknown|\n|accident_and_sickness_insurance|Accident And Sickness Insurance|\n|accident_sickness_and_unemployment_insurance|Accident Sickness And Unemployment Insurance|\n|accidental_death_insurance|Accidental Death Insurance|\n|business_loan_protection|Business Loan Protection|\n|capital_redemption_policy|Capital Redemption Policy|\n|death_in_service|Death In Service|\n|endowment|Endowment|\n|flexible_plan|Flexible Plan|\n|general_insurance_income_protection|General Insurance (Income Protection)|\n|gift_inter_vivos|Gift Inter Vivos|\n|health_assessment|Health Assessment|\n|income_protection|Income Protection|\n|income_protection_executive|Income Protection (Executive)|\n|income_protection_key_person|Income Protection (Key Person)|\n|life_settlement_fund|Life Settlement Fund|\n|maximum_investment_plan|Maximum Investment Plan|\n|multi_benefit_protection|Multi Benefit Protection|\n|pension_contribution_insurance|Pension Contribution Insurance|\n|pension_term_assurance|Pension Term Assurance|\n|pre_paid_funeral_plan|Pre-Paid Funeral Plan|\n|redundancy_insurance|Redundancy Insurance|\n|relevant_life_policy|Relevant Life Policy|\n|renewable_convertible_term|Renewable Convertible Term|\n|term_protection|Term Protection|\n|term_protection_convertible|Term Protection (Convertible)|\n|term_protection_critical_illness|Term Protection (Critical Illness)|\n|term_protection_decreasing_term|Term Protection (Decreasing Term)|\n|term_protection_decreasing_term_ci|Term Protection (Decreasing Term - CI)|\n|term_protection_decreasing_term_life_ci|Term Protection (Decreasing Term - Life \u0026 CI)|\n|term_protection_directors_share_protection|Term Protection (Directors Share Protection)|\n|term_protection_family_income_protection|Term Protection (Family Income Protection)|\n|term_protection_family_income_protection_ci|Term Protection (Family Income Protection - CI)|\n|term_protection_family_income_protection_life_ci|Term Protection (Family Income Protection - Life \u0026 CI)|\n|term_protection_increasing_term|Term Protection (Increasing Term)|\n|term_protection_key_person_assurance|Term Protection (Key Person Assurance)|\n|term_protection_level|Term Protection (Level)|\n|term_protection_level_ci|Term Protection (Level - CI)|\n|term_protection_level_life_ci|Term Protection (Level - Life \u0026 CI)|\n|term_protection_mortgage_protection|Term Protection (Mortgage Protection)|\n|term_protection_partnership_protection|Term Protection (Partnership Protection)|\n|term_protection_renewable|Term Protection (Renewable)|\n|unemployment_insurance|Unemployment Insurance|\n|whole_of_life|Whole Of Life|\n|whole_of_life_non_investment|Whole Of Life (Non Investment)|\n|will|Will|\n|protection_policy_unknown|Unknown|\n|alternatively_secured_pension_plan|Alternatively Secured Pension Plan|\n|appropriate_personal_pension|Appropriate Personal Pension|\n|avc|AVC|\n|cimp|CIMP|\n|cimp_comp|CIMP \u0026 COMP|\n|comp|COMP|\n|deferred_sipp|Deferred SIPP|\n|defined_benefit_pension|Defined Benefit Pension|\n|dependants_pension|Dependants Pension|\n|efrbs|EFRBS|\n|equivalent_pension_benefits|Equivalent Pension Benefits|\n|executive_pension_plan|Executive Pension Plan|\n|family_sipp|Family SIPP|\n|final_salary_scheme|Final Salary Scheme|\n|fsavc|FSAVC|\n|furbs|FURBS|\n|group_cimp|Group CIMP|\n|group_comp|Group COMP|\n|group_dependants_pension|Group Dependants Pension|\n|group_offshore_pension_scheme|Group Offshore Pension Scheme|\n|group_personal_pension|Group Personal Pension|\n|group_s32_buyout_bond|Group S32 Buyout Bond|\n|group_sipp|Group SIPP|\n|group_stakeholder_pension|Group Stakeholder Pension|\n|income_drawdown_beneficiary|Income Drawdown (Beneficiary)|\n|income_drawdown_capped|Income Drawdown (Capped)|\n|income_drawdown_flexi_access|Income Drawdown (Flexi-Access)|\n|income_drawdown_flexible|Income Drawdown (Flexible)|\n|independent_retirement_advice|Independent Retirement Advice (IRA)|\n|individual_retirement_account|Individual Retirement Account|\n|inherited_independent_retirement_advice|Inherited Independent Retirement Advice (Inherited IRA)|\n|junior_sipp|Junior SIPP|\n|master_trust_pension|Master Trust Pension|\n|money_purchase_contracted|Money Purchase Contracted|\n|national_employers_savings_trust|National Employers Savings Trust (NEST)|\n|offshore_pension|Offshore Pension|\n|pension_fund_withdrawal|Pension Fund Withdrawal|\n|personal_pension_plan|Personal Pension Plan|\n|phased_retirement|Phased Retirement|\n|pia_non_protected_rights|PIA (Non Protected Rights)|\n|qnups|QNUPs|\n|qnups_wrapper|QNUPs Wrapper|\n|qrops|QROPs|\n|qrops_wrapper|QROPs Wrapper|\n|rnups_wrapper|RNUPs Wrapper|\n|roth_inherited_independent_retirement_advice|Roth Inherited Independent Retirement Advice (Roth IRA)|\n|s226_rac|S226 RAC|\n|s32_buyout_bond|S32 Buyout Bond|\n|sipp|SIPP|\n|sipp_wrapper|SIPP Wrapper|\n|ssas|Ssas|\n|stakeholder_individual|Stakeholder Individual|\n|third_way_pensions|Third Way Pensions|\n|trustee_investment_plan|Trustee Investment Plan|\n|unsecured_pension|Unsecured Pension|\n|uurbs|UURBs|\n|workplace_pension_scheme|Workplace Pension Scheme|\n|pension_unknown|Unknown|\n|annuity_non_pension|Annuity (Non Pension)|\n|compulsory_purchase_life_annuity|Compulsory Purchase Life Annuity|\n|deferred_annuity|Deferred Annuity|\n|defined_benefit_trustee_buy_in|Defined Benefit Trustee Buy In|\n|enhanced_pension_annuity|Enhanced Pension Annuity|\n|fixed_term_annuity|Fixed Term Annuity|\n|group_final_salary|Group Final Salary|\n|hancock_annuity|Hancock Annuity|\n|impaired_life_annuity|Impaired Life Annuity|\n|ivpp|IVPP|\n|lifetime_annuity|Lifetime Annuity|\n|pension_annuity|Pension Annuity|\n|pension_annuity_conventional|Pension Annuity (Conventional)|\n|pension_annuity_flexible|Pension Annuity (Flexible)|\n|pension_annuity_impaired_life|Pension Annuity (Impaired Life)|\n|pension_annuity_temporary|Pension Annuity (Temporary)|\n|pension_annuity_unit_linked|Pension Annuity (Unit Linked)|\n|pension_annuity_with_profits|Pension Annuity (With Profits)|\n|purchased_life_annuity|Purchased Life Annuity|\n|scheme_pension|Scheme Pension|\n|annuity_unknown|Unknown|\n|dental_insurance|Dental Insurance|\n|general_insurance_building|General Insurance (Building)|\n|general_insurance_building_contents|General Insurance (Building \u0026 Contents)|\n|general_insurance_commercial_combined|General Insurance (Commercial Combined)|\n|general_insurance_commercial_motor|General Insurance (Commercial Motor)|\n|general_insurance_contents|General Insurance (Contents)|\n|general_insurance_directors_and_officers|General Insurance (Directors And Officers)|\n|general_insurance_extended_warranty|General Insurance (Extended Warranty)|\n|general_insurance_legal_expenses|General Insurance (Legal Expenses)|\n|general_insurance_let_property|General Insurance (Let Property)|\n|general_insurance_liability|General Insurance (Liability)|\n|general_insurance_other|General Insurance Other|\n|general_insurance_payment_protection|General Insurance (Payment Protection)|\n|general_insurance_private_motor|General Insurance (Private Motor)|\n|general_insurance_professional_indemnity|General Insurance (Professional Indemnity)|\n|general_insurance_travel|General Insurance (Travel)|\n|group_travel_insurance|Group Travel Insurance|\n|healthcare_cash_plan|Healthcare Cash Plan|\n|international_private_medical_insurance|International Private Medical Insurance (IPMI)|\n|locum_insurance|Locum Insurance|\n|long_term_care|Long Term Care|\n|long_term_care_immediate|Long Term Care (Immediate)|\n|long_term_care_pre_funded|Long Term Care (Pre-Funded)|\n|private_medical_insurance|Private Medical Insurance|\n|general_insurance_unknown|Unknown|\n|cpb|CPB|\n|employee_assistance_scheme|Employee Assistance Scheme|\n|flexible_benefits|Flexible Benefits|\n|group_accident_and_sickness|Group Accident And Sickness|\n|group_critical_illness|Group Critical Illness|\n|group_death_in_service|Group Death In Service|\n|group_dental_insurance|Group Dental Insurance|\n|group_healthcare_cash_plan|Group Healthcare Cash Plan|\n|group_income_protection|Group Income Protection|\n|group_income_protection_key_person|Group Income Protection (Key Person)|\n|group_key_person_assurance|Group Key Person Assurance|\n|group_life|Group Life|\n|group_life_excepted|Group Life (Excepted)|\n|group_life_registered|Group Life (Registered)|\n|group_partnership_protection|Group Partnership Protection|\n|group_personal_accident|Group Personal Accident|\n|group_pmi|Group PMI|\n|group_relevant_life|Group Relevant Life|\n|group_term|Group Term|\n|group_protection_unknown|Unknown|\n|equity_release|Equity Release|\n|mortgage|Mortgage|\n|mortgage_bridging_loan|Bridging Loan Mortgage|\n|mortgage_business_buy_to_let|Mortgage Business Buy To Let|\n|mortgage_buy_to_let|Buy To Let Mortgage|\n|mortgage_consumer_buy_to_let|Consumer Buy To Let Mortgage|\n|mortgage_council_tenant_to_buy|Council/Tenant To Buy Mortgage|\n|mortgage_foreign_currency|Foreign Currency Mortgage|\n|mortgage_full_status|Mortgage Full Status|\n|mortgage_further_advance|Further Advance Mortgage|\n|mortgage_government_home_ownership_scheme|Government Home Ownership Scheme Mortgage|\n|mortgage_home_purchase_plan|Home Purchase Plan Mortgage|\n|mortgage_investment_property_islamic|Investment Property Islamic Mortgage|\n|mortgage_let_to_buy|Let To Buy Mortgage|\n|mortgage_lifetime|Mortgage Lifetime|\n|mortgage_non_status|Mortgage Non Status|\n|mortgage_primary_residence_islamic|Primary Residence Islamic Mortgage|\n|mortgage_product_transfer|Product Transfer Mortgage|\n|mortgage_remortgage|Remortgage Mortgage|\n|mortgage_right_to_buy|Right To Buy Mortgage|\n|mortgage_second_charge|Second Charge Mortgage|\n|mortgage_second_home|Second Home Mortgage|\n|mortgage_self_build|Self-Build Mortgage|\n|mortgage_self_cert|Mortgage Self Cert|\n|mortgage_shared_ownership|Shared Ownership Mortgage|\n|mortgage_standard_residential|Standard Residential Mortgage|\n|mortgage_non_regulated_bridging_loan|Non-Regulated Bridging Loan Mortgage|\n|mortgage_non_regulated_buy_to_let|Non-Regulated Buy To Let Mortgage|\n|mortgage_non_regulated_commercial|Non-Regulated Commercial Mortgage|\n|mortgage_non_regulated_further_advance|Non-Regulated Further Advance Mortgage|\n|mortgage_non_regulated_offshore|Non-Regulated Offshore Mortgage|\n|mortgage_non_regulated_overseas|Non-Regulated Overseas Mortgage|\n|mortgage_non_regulated_product_transfer|Non-Regulated Product Transfer Mortgage|\n|third_party_mortgage|Third Party Mortgage|\n|mortgage_unknown|Unknown|\n|bridging_loan|Bridging Loan|\n|car_finance|Car Finance|\n|commercial_finance|Commercial Finance|\n|consumer_finance|Consumer Finance|\n|credit_card|Credit Card|\n|landlords|Landlords|\n|lombard_loan|Lombard Loan|\n|other_long_term_loan|Other Long Term Loan|\n|overdraft|Overdraft|\n|partner_loan|Partner Loan|\n|peer_to_peer_loan|Peer To Peer Loan|\n|personal_loan|Personal Loan|\n|personal_loan_secured|Personal Loan (Secured)|\n|personal_loan_unsecured|Personal Loan (Unsecured)|\n|public_liability|Public Liability|\n|student_loan|Student Loan|\n|will_trust_loan|Will Trust Loan|\n|loan_credit_unknown|Unknown|\n|boat|Boat|\n|collectible_art_other|Collectible/Art/Other|\n|land|Land|\n|motor_vehicle|Motor Vehicle|\n|other|Other|\n|own_business|Own Business|\n|property|Property|\n|property_btl|Property (Btl)|\n|property_investment|Property (Investment)|\n|property_rental|Property (Rental)|\n|property_other|Property (Other)|\n|property_overseas|Property (Overseas)|\n|fixed_asset_unknown|Unknown|","enum":["cash_account","cash_deposit","isa_mini_cash","isa_tessa_only","lifetime_isa_cash","national_savings","national_savings_child_bonus_bond","national_savings_fixed_interest_certificate","national_savings_guaranteed_equity_bond","national_savings_income_bond","national_savings_index_linked_certificate","national_savings_national_savings_certificate","national_savings_premium_bonds","cash_account_unknown","aim_investment_tax_service","bes","business_premises_renovation_allowance","child_trust_fund","collective_investment_account","commercial_property_purchase_scheme","debenture","discretionary_managed_service","employee_benefit_trust","enterprise_investment_scheme_non_regulated","enterprise_investment_scheme_regulated","enterprise_investment_zone_trust","enterprise_zone_syndicate","equity_holdings","exchange_traded_fund","exempt_property_unit_trust","film_partnership","geared_investments","general_investment_account","hedge_fund","investment_bond","investment_tax_service","investment_trust","isa_aim","isa_cash","isa_help_to_buy","isa_maxi","isa_maxi_mini_transfer","isa_mini_equity","isa_nisa","isa_stocks_and_shares","junior_isa_cash","junior_isa_nisa","junior_isa_stocks_and_shares","lifetime_isa_stocks_and_shares","maximum_investment_plan_investment","non_discretionary_managed_service","oeic_unit_trust","offshore_bond","offshore_deposit","offshore_oeic_fund","offshore_savings_plan","onshore_bond","personal_equity_plan","property_holdings","property_partnership","property_syndicate","residential_property_development","savings_account","seed_enterprise_investment_scheme_non_regulated","seed_enterprise_investment_scheme_regulated","share_incentive_plan","share_save_scheme","sicav","structured_plan","structured_plan_cash_isa","structured_plan_deposit","structured_plan_medium_term_note","structured_plan_stocks_shares_isa","tessa","trust","unit_trust","unregulated_collective_investments","venture_capital_trust_non_regulated","venture_capital_trust_regulated","wrap","investment_unknown","accident_and_sickness_insurance","accident_sickness_and_unemployment_insurance","accidental_death_insurance","business_loan_protection","capital_redemption_policy","death_in_service","endowment","flexible_plan","general_insurance_income_protection","gift_inter_vivos","health_assessment","income_protection","income_protection_executive","income_protection_key_person","life_settlement_fund","maximum_investment_plan","multi_benefit_protection","pension_contribution_insurance","pension_term_assurance","pre_paid_funeral_plan","redundancy_insurance","relevant_life_policy","renewable_convertible_term","term_protection","term_protection_convertible","term_protection_critical_illness","term_protection_decreasing_term","term_protection_decreasing_term_ci","term_protection_decreasing_term_life_ci","term_protection_directors_share_protection","term_protection_family_income_protection","term_protection_family_income_protection_ci","term_protection_family_income_protection_life_ci","term_protection_increasing_term","term_protection_key_person_assurance","term_protection_level","term_protection_level_ci","term_protection_level_life_ci","term_protection_mortgage_protection","term_protection_partnership_protection","term_protection_renewable","unemployment_insurance","whole_of_life","whole_of_life_non_investment","will","protection_policy_unknown","alternatively_secured_pension_plan","appropriate_personal_pension","avc","cimp","cimp_comp","comp","deferred_sipp","defined_benefit_pension","dependants_pension","efrbs","equivalent_pension_benefits","executive_pension_plan","family_sipp","final_salary_scheme","fsavc","furbs","group_cimp","group_comp","group_dependants_pension","group_offshore_pension_scheme","group_personal_pension","group_s32_buyout_bond","group_sipp","group_stakeholder_pension","income_drawdown_beneficiary","income_drawdown_capped","income_drawdown_flexi_access","income_drawdown_flexible","independent_retirement_advice","individual_retirement_account","inherited_independent_retirement_advice","junior_sipp","master_trust_pension","money_purchase_contracted","national_employers_savings_trust","offshore_pension","pension_fund_withdrawal","personal_pension_plan","phased_retirement","pia_non_protected_rights","qnups","qnups_wrapper","qrops","qrops_wrapper","rnups_wrapper","roth_inherited_independent_retirement_advice","s226_rac","s32_buyout_bond","sipp","sipp_wrapper","ssas","stakeholder_individual","third_way_pensions","trustee_investment_plan","unsecured_pension","uurbs","workplace_pension_scheme","pension_unknown","annuity_non_pension","compulsory_purchase_life_annuity","deferred_annuity","defined_benefit_trustee_buy_in","enhanced_pension_annuity","fixed_term_annuity","group_final_salary","hancock_annuity","impaired_life_annuity","ivpp","lifetime_annuity","pension_annuity","pension_annuity_conventional","pension_annuity_flexible","pension_annuity_impaired_life","pension_annuity_temporary","pension_annuity_unit_linked","pension_annuity_with_profits","purchased_life_annuity","scheme_pension","annuity_unknown","dental_insurance","general_insurance_building","general_insurance_building_contents","general_insurance_commercial_combined","general_insurance_commercial_motor","general_insurance_contents","general_insurance_directors_and_officers","general_insurance_extended_warranty","general_insurance_legal_expenses","general_insurance_let_property","general_insurance_liability","general_insurance_other","general_insurance_payment_protection","general_insurance_private_motor","general_insurance_professional_indemnity","general_insurance_travel","group_travel_insurance","healthcare_cash_plan","international_private_medical_insurance","locum_insurance","long_term_care","long_term_care_immediate","long_term_care_pre_funded","private_medical_insurance","general_insurance_unknown","cpb","employee_assistance_scheme","flexible_benefits","group_accident_and_sickness","group_critical_illness","group_death_in_service","group_dental_insurance","group_healthcare_cash_plan","group_income_protection","group_income_protection_key_person","group_key_person_assurance","group_life","group_life_excepted","group_life_registered","group_partnership_protection","group_personal_accident","group_pmi","group_relevant_life","group_term","group_protection_unknown","equity_release","mortgage","mortgage_bridging_loan","mortgage_business_buy_to_let","mortgage_buy_to_let","mortgage_consumer_buy_to_let","mortgage_council_tenant_to_buy","mortgage_foreign_currency","mortgage_full_status","mortgage_further_advance","mortgage_government_home_ownership_scheme","mortgage_home_purchase_plan","mortgage_investment_property_islamic","mortgage_let_to_buy","mortgage_lifetime","mortgage_non_status","mortgage_primary_residence_islamic","mortgage_product_transfer","mortgage_remortgage","mortgage_right_to_buy","mortgage_second_charge","mortgage_second_home","mortgage_self_build","mortgage_self_cert","mortgage_shared_ownership","mortgage_standard_residential","mortgage_non_regulated_bridging_loan","mortgage_non_regulated_buy_to_let","mortgage_non_regulated_commercial","mortgage_non_regulated_further_advance","mortgage_non_regulated_offshore","mortgage_non_regulated_overseas","mortgage_non_regulated_product_transfer","third_party_mortgage","mortgage_unknown","bridging_loan","car_finance","commercial_finance","consumer_finance","credit_card","landlords","lombard_loan","other_long_term_loan","overdraft","partner_loan","peer_to_peer_loan","personal_loan","personal_loan_secured","personal_loan_unsecured","public_liability","student_loan","will_trust_loan","loan_credit_unknown","boat","collectible_art_other","land","motor_vehicle","other","own_business","property","property_btl","property_investment","property_rental","property_other","property_overseas","fixed_asset_unknown"]},"provider_uuid":{"type":"string","example":"91b431db-c98d-4ea1-8108-1bb5b12c839c","description":"uuid of the provider","format":"uuid","nullable":true},"policy_number":{"type":"string","example":"AVI-43135","description":"Main policy number for the plan, will be stored as the main accounts policy number","maxLength":255,"nullable":true},"proposal_reference":{"type":"string","example":"AB12345","description":"Main proposal reference for the plan, will be stored as the main accounts proposal reference","maxLength":255,"nullable":true},"status":{"type":"string","example":"active","description":"\n\nStatus of plan.\n\n| Value | Description |\n| ----- | ----------- |\n|active|Active|\n|inactive|Inactive|\n|proposed|Proposed|","enum":["active","inactive","proposed"]},"opened_at":{"type":"string","example":"2026-11-14","description":"date when the plan was purchased or account was opened","format":"date","nullable":true},"inactive_at":{"type":"string","example":"2026-11-18","description":"Date when plan went inactive","format":"date","nullable":true},"inactive_reason":{"type":"string","example":"accepted","description":"\n\nReason for inactivity.\n\n| Value | Description |\n| ----- | ----------- |\n|accepted|Accepted|\n|agency_transferred|Agency Transferred|\n|cancelled|Cancelled|\n|claimed|Claimed|\n|complete|Complete|\n|death_event|Death Event|\n|deferred|Deferred|\n|drawdown|Drawdown|\n|expired|Expired|\n|full_drawdown|Full Drawdown|\n|issued|Issued|\n|lapsed|Lapsed|\n|matured|Matured|\n|not_proceeded_with|Not Proceeded With|\n|not_taken_up|Not Taken Up|\n|offered|Offered|\n|paid_up|Paid Up|\n|partial_drawdown|Partial Drawdown|\n|partial_surrender|Partial Surrender|\n|proposed|Proposed|\n|prospect|Prospect|\n|refunded|Refunded|\n|refused|Refused|\n|surrendered|Surrendered|\n|transfer|Transfer|\n|transferred|Transferred|\n|underwriting|Underwriting|\n|vested|Vested|\n|declined|Declined|\n|encashment|Encashment|\n|left_service|Left Service|\n|premium_holiday|Premium Holiday|\n|other|Other|","enum":["accepted","agency_transferred","cancelled","claimed","complete","death_event","deferred","drawdown","expired","full_drawdown","issued","lapsed","matured","not_proceeded_with","not_taken_up","offered","paid_up","partial_drawdown","partial_surrender","proposed","prospect","refunded","refused","surrendered","transfer","transferred","underwriting","vested","declined","encashment","left_service","premium_holiday","other"],"nullable":true},"agency_in_your_name":{"type":"boolean","example":true,"description":"Agency in your name","nullable":true},"agency_in_your_name_from":{"type":"string","example":"2026-08-10","description":"Date agency was in your name from","format":"date","nullable":true},"originally_sold_by_firm":{"type":"boolean","example":true,"description":"Whether the plan was originally sold by your firm","nullable":true},"under_advice":{"type":"boolean","example":true,"description":"Under advice","nullable":true},"visible_on_client_portal":{"type":"boolean","example":true,"description":"Whether this plan will be shown to clients in their client portal. Will default to true if not provided."},"include_in_client_valuation":{"type":"boolean","example":true,"description":"Include in client valuation. Will default to true if not provided."},"show_on_joint":{"type":"boolean","example":true,"description":"@Deprecated","nullable":true},"shown_on_circles":{"type":"boolean","example":false,"description":"Determines if plan should be shown on a circle"},"review_date":{"type":"string","example":"2027-11-18","description":"Next review date","format":"date","nullable":true},"on_panel":{"type":"boolean","example":true,"description":"On panel","nullable":true},"cases":{"type":"array","example":["e5138670-7afc-45d5-b26a-c71ccd3e2dc3","9d7625d5-acf1-4ada-adfe-439dcf1c1aa3","ebd3d402-b5b6-4be4-a633-8bf21b290fbb"],"description":"Array of case uuids","items":{"type":"string","example":"ed3a259f-5551-43ac-a157-b40305653172","format":"uuid"}},"seller_uuid":{"type":"string","example":"da487349-df97-4672-be41-a2fc10068c1c","description":"Employee account that sold this plan","format":"uuid","nullable":true},"seller_name":{"type":"string","example":"Jane Doe","description":"Name of the employee that sold this plan","maxLength":255,"nullable":true},"active_adviser_uuid":{"type":"string","example":"3a3ec02e-2358-4d7c-9e96-be607b731583","description":"Employee account that is managing this plan","format":"uuid","nullable":true},"adviser_split_uuid":{"type":"string","example":"4b7138a1-2457-42b6-8e50-fe1050818155","description":"A plan adviser split to be applied to charges to this plan","format":"uuid"},"linked_owners":{"type":"array","example":["f2a0431d-f0c8-4df6-913d-2ac0216e315d","1f273a26-8469-4746-bc8b-522b75fb01c9","80b041da-4c99-4ebd-9f7b-ed07e0d8ba68"],"description":"Linked clients who should be added as extra owners of the plan.","items":{"type":"string","example":"cf367296-3430-4552-8f85-87b5e59e401e","format":"uuid"}},"visible_to_circles_uuids":{"type":"array","example":["5d2fb16e-d8df-445d-b3cb-f3caa32daa45","e7823609-78b4-4c75-9c30-972558d8716f","50937589-a7cc-43d1-98b1-5c4ae681dc62"],"description":"Circles UUIDs that can view the plan when filtering plans by circles. Leaving blank means the plan will be visible for all circles which contains the plan owners.","items":{"type":"string","example":"909502d5-1598-4002-a5f0-fed12e7dba56","format":"uuid"},"nullable":true},"current_value":{"type":"integer","example":5000,"description":"The current value of the plan in pennies. Can be provided with `current_value_at` to specify the date that the plan was valued at.","nullable":true},"current_value_at":{"type":"string","example":"2026-11-18","description":"Optional date to be used with `current_value`. If left blank it will default to the current day.","format":"date","nullable":true},"is_group_scheme":{"type":"boolean","example":false,"description":"Denotes if the plan is a group scheme plan. When a plan is a group scheme plan you will be able to manage group scheme members and sub schemes. Only business clients can have group schemes. Will default to false if not provided.","nullable":true},"is_wrap_product":{"type":"boolean","example":false,"description":"Denotes if the plan is a wrap product, and can have plans linked under it. Will default to false if not provided.","nullable":true},"wrap_uuid":{"type":"string","example":"a971ab08-a97d-4959-b1ab-015ae6c56823","description":"The UUID of the wrap product to link this plan too","format":"uuid","nullable":true},"contract_enquiry_account_uuid":{"type":"string","example":"8868a610-4a9e-449a-a8fe-14b28a370ab5","description":"The UUID of the account used for contract enquiry.","format":"uuid","nullable":true},"mortgage_product_uuid":{"type":"string","example":"8a392c57-db9c-4bcb-b416-c14956a56a0d","description":"The UUID of the mortgage search product this plan is being created from.","format":"uuid","nullable":true},"beneficiaries":{"type":"array","example":[],"description":"The beneficiaries of the plan.","items":{"type":"object","example":[{"name":"John Smith","percentage":20.5},{"name":"Jane Doe","percentage":50.5}],"properties":{"name":{"type":"string","example":"John Smith","description":"Name of the beneficiary."},"percentage":{"type":"number","example":20.5,"description":"Percentage share of the beneficiary.","format":"float","minimum":0.0,"maximum":100.0}}}},"platform_provider":{"example":"(platform_provider)","description":"platform_provider field, this is found on types (annuity cash_account investment pension)","type":"string"},"life_assured":{"example":"(life_assured)","description":"life_assured field, this is found on types (annuity)","type":"string"},"sum_assured":{"example":"(sum_assured)","description":"sum_assured field, this is found on types (annuity)","type":"string"},"term_type":{"example":"(term_type)","description":"term_type field, this is found on types (annuity cash_account general_insurance group_protection investment loan_credit mortgage pension protection_policy)","type":"string"},"term_maturity_date":{"example":"(term_maturity_date)","description":"term_maturity_date field, this is found on types (annuity cash_account general_insurance investment loan_credit mortgage pension protection_policy)","type":"string"},"term_age":{"example":"(term_age)","description":"term_age field, this is found on types (annuity cash_account general_insurance investment loan_credit mortgage pension protection_policy)","type":"string"},"term_maturity_value":{"example":"(term_maturity_value)","description":"term_maturity_value field, this is found on types (annuity)","type":"string"},"guaranteed_term":{"example":"(guaranteed_term)","description":"guaranteed_term field, this is found on types (annuity)","type":"string"},"payment_type":{"example":"(payment_type)","description":"payment_type field, this is found on types (annuity)","type":"string"},"income_amount":{"example":"(income_amount)","description":"income_amount field, this is found on types (annuity)","type":"string"},"income_frequency":{"example":"(income_frequency)","description":"income_frequency field, this is found on types (annuity)","type":"string"},"income_from":{"example":"(income_from)","description":"income_from field, this is found on types (annuity)","type":"string"},"income_escalation":{"example":"(income_escalation)","description":"income_escalation field, this is found on types (annuity)","type":"string"},"initial_purchase_amount":{"example":"(initial_purchase_amount)","description":"initial_purchase_amount field, this is found on types (annuity)","type":"string"},"interest_type":{"example":"(interest_type)","description":"interest_type field, this is found on types (cash_account investment loan_credit mortgage)","type":"string"},"interest_rate":{"example":"(interest_rate)","description":"interest_rate field, this is found on types (cash_account investment loan_credit mortgage)","type":"string"},"address_1":{"example":"(address_1)","description":"address_1 field, this is found on types (fixed_asset)","type":"string"},"address_2":{"example":"(address_2)","description":"address_2 field, this is found on types (fixed_asset)","type":"string"},"address_3":{"example":"(address_3)","description":"address_3 field, this is found on types (fixed_asset)","type":"string"},"address_4":{"example":"(address_4)","description":"address_4 field, this is found on types (fixed_asset)","type":"string"},"town_city":{"example":"(town_city)","description":"town_city field, this is found on types (fixed_asset)","type":"string"},"county":{"example":"(county)","description":"county field, this is found on types (fixed_asset)","type":"string"},"postcode":{"example":"(postcode)","description":"postcode field, this is found on types (fixed_asset)","type":"string"},"country":{"example":"(country)","description":"country field, this is found on types (fixed_asset)","type":"string"},"new_property":{"example":"(new_property)","description":"new_property field, this is found on types (fixed_asset)","type":"string"},"price_listed":{"example":"(price_listed)","description":"price_listed field, this is found on types (fixed_asset)","type":"string"},"purchase_price":{"example":"(purchase_price)","description":"purchase_price field, this is found on types (fixed_asset)","type":"string"},"asset_description":{"example":"(asset_description)","description":"asset_description field, this is found on types (fixed_asset)","type":"string"},"asset_image":{"example":"(asset_image)","description":"asset_image field, this is found on types (fixed_asset)","type":"string"},"ncd":{"example":"(ncd)","description":"ncd field, this is found on types (general_insurance)","type":"string"},"ncd_protected":{"example":"(ncd_protected)","description":"ncd_protected field, this is found on types (general_insurance)","type":"string"},"ncd_years":{"example":"(ncd_years)","description":"ncd_years field, this is found on types (general_insurance)","type":"string"},"renewal_date":{"example":"(renewal_date)","description":"renewal_date field, this is found on types (general_insurance group_protection)","type":"string"},"offshore":{"example":"(offshore)","description":"offshore field, this is found on types (investment)","type":"string"},"in_trust":{"example":"(in_trust)","description":"in_trust field, this is found on types (investment protection_policy)","type":"string"},"trustee_details":{"example":"(trustee_details)","description":"trustee_details field, this is found on types (investment protection_policy)","type":"string"},"original_balance":{"example":"(original_balance)","description":"original_balance field, this is found on types (loan_credit mortgage)","type":"string"},"outstanding_balance":{"example":"(outstanding_balance)","description":"outstanding_balance field, this is found on types (loan_credit mortgage)","type":"string"},"loan_amount":{"example":"(loan_amount)","description":"loan_amount field, this is found on types (loan_credit)","type":"string"},"repayment_amount":{"example":"(repayment_amount)","description":"repayment_amount field, this is found on types (loan_credit)","type":"string"},"repayment_frequency":{"example":"(repayment_frequency)","description":"repayment_frequency field, this is found on types (loan_credit)","type":"string"},"details":{"example":"(details)","description":"details field, this is found on types (loan_credit)","type":"string"},"property_type":{"example":"(property_type)","description":"property_type field, this is found on types (mortgage)","type":"string"},"payment_amount":{"example":"(payment_amount)","description":"payment_amount field, this is found on types (mortgage)","type":"string"},"payment_frequency":{"example":"(payment_frequency)","description":"payment_frequency field, this is found on types (mortgage)","type":"string"},"initial_interest":{"example":"(initial_interest)","description":"initial_interest field, this is found on types (mortgage)","type":"string"},"initial_period_end":{"example":"(initial_period_end)","description":"initial_period_end field, this is found on types (mortgage)","type":"string"},"initial_payment":{"example":"(initial_payment)","description":"initial_payment field, this is found on types (mortgage)","type":"string"},"equity_released":{"example":"(equity_released)","description":"equity_released field, this is found on types (mortgage)","type":"string"},"loan_quote":{"example":"(loan_quote)","description":"loan_quote field, this is found on types (mortgage)","type":"string"},"loan_type":{"example":"(loan_type)","description":"loan_type field, this is found on types (mortgage)","type":"string"},"mig_added":{"example":"(mig_added)","description":"mig_added field, this is found on types (mortgage)","type":"string"},"mig_premium":{"example":"(mig_premium)","description":"mig_premium field, this is found on types (mortgage)","type":"string"},"repayment_type":{"example":"(repayment_type)","description":"repayment_type field, this is found on types (mortgage)","type":"string"},"repayment_method":{"example":"(repayment_method)","description":"repayment_method field, this is found on types (mortgage)","type":"string"},"repayment_term":{"example":"(repayment_term)","description":"repayment_term field, this is found on types (mortgage)","type":"string"},"other_repayment_method":{"example":"(other_repayment_method)","description":"other_repayment_method field, this is found on types (mortgage)","type":"string"},"scheme_fixed_date":{"example":"(scheme_fixed_date)","description":"scheme_fixed_date field, this is found on types (mortgage)","type":"string"},"transaction_details":{"example":"(transaction_details)","description":"transaction_details field, this is found on types (mortgage)","type":"string"},"base_payment":{"example":"(base_payment)","description":"base_payment field, this is found on types (mortgage)","type":"string"},"has_transfer_penalties":{"example":"(has_transfer_penalties)","description":"has_transfer_penalties field, this is found on types (mortgage)","type":"string"},"is_portable_mortgage":{"example":"(is_portable_mortgage)","description":"is_portable_mortgage field, this is found on types (mortgage)","type":"string"},"transfer_consent":{"example":"(transfer_consent)","description":"transfer_consent field, this is found on types (mortgage)","type":"string"},"transfer_penalty":{"example":"(transfer_penalty)","description":"transfer_penalty field, this is found on types (mortgage)","type":"string"},"contract_exchanged":{"example":"(contract_exchanged)","description":"contract_exchanged field, this is found on types (mortgage)","type":"string"},"date_complete":{"example":"(date_complete)","description":"date_complete field, this is found on types (mortgage)","type":"string"},"date_confirmed":{"example":"(date_confirmed)","description":"date_confirmed field, this is found on types (mortgage)","type":"string"},"date_exchanged":{"example":"(date_exchanged)","description":"date_exchanged field, this is found on types (mortgage)","type":"string"},"date_submitted":{"example":"(date_submitted)","description":"date_submitted field, this is found on types (mortgage)","type":"string"},"mortgage_completed":{"example":"(mortgage_completed)","description":"mortgage_completed field, this is found on types (mortgage)","type":"string"},"offer_confirmed":{"example":"(offer_confirmed)","description":"offer_confirmed field, this is found on types (mortgage)","type":"string"},"offer_confirmed_date":{"example":"(offer_confirmed_date)","description":"offer_confirmed_date field, this is found on types (mortgage)","type":"string"},"offer_date":{"example":"(offer_date)","description":"offer_date field, this is found on types (mortgage)","type":"string"},"offer_issued":{"example":"(offer_issued)","description":"offer_issued field, this is found on types (mortgage)","type":"string"},"on_risk":{"example":"(on_risk)","description":"on_risk field, this is found on types (mortgage)","type":"string"},"proposal_date":{"example":"(proposal_date)","description":"proposal_date field, this is found on types (mortgage)","type":"string"},"submitted":{"example":"(submitted)","description":"submitted field, this is found on types (mortgage)","type":"string"},"declined_notes":{"example":"(declined_notes)","description":"declined_notes field, this is found on types (mortgage)","type":"string"},"accrual_rate":{"example":"(accrual_rate)","description":"accrual_rate field, this is found on types (pension)","type":"string"},"year_accrued":{"example":"(year_accrued)","description":"year_accrued field, this is found on types (pension)","type":"string"},"retirement_date":{"example":"(retirement_date)","description":"retirement_date field, this is found on types (pension)","type":"string"},"pensionable_salary":{"example":"(pensionable_salary)","description":"pensionable_salary field, this is found on types (pension)","type":"string"},"transfer_value":{"example":"(transfer_value)","description":"transfer_value field, this is found on types (pension)","type":"string"},"date_of_transfer_valuation":{"example":"(date_of_transfer_valuation)","description":"date_of_transfer_valuation field, this is found on types (pension)","type":"string"},"widows_percentage":{"example":"(widows_percentage)","description":"widows_percentage field, this is found on types (pension)","type":"string"},"contracted_out":{"example":"(contracted_out)","description":"contracted_out field, this is found on types (pension)","type":"string"},"had_avc":{"example":"(had_avc)","description":"had_avc field, this is found on types (pension)","type":"string"},"in_house_avc_amount":{"example":"(in_house_avc_amount)","description":"in_house_avc_amount field, this is found on types (pension)","type":"string"},"in_house_avc_percentage":{"example":"(in_house_avc_percentage)","description":"in_house_avc_percentage field, this is found on types (pension)","type":"string"},"death_benefit_amount":{"example":"(death_benefit_amount)","description":"death_benefit_amount field, this is found on types (pension)","type":"string"},"projected_income":{"example":"(projected_income)","description":"projected_income field, this is found on types (pension)","type":"string"},"plan_retirement_age":{"example":"(plan_retirement_age)","description":"plan_retirement_age field, this is found on types (pension)","type":"string"},"state_retirement_age":{"example":"(state_retirement_age)","description":"state_retirement_age field, this is found on types (pension)","type":"string"},"salary_sacrifice":{"example":"(salary_sacrifice)","description":"salary_sacrifice field, this is found on types (pension)","type":"string"},"waiver":{"example":"(waiver)","description":"waiver field, this is found on types (pension)","type":"string"},"is_crystallised":{"example":"(is_crystallised)","description":"is_crystallised field, this is found on types (pension)","type":"string"},"crystallisation_amount":{"example":"(crystallisation_amount)","description":"crystallisation_amount field, this is found on types (pension)","type":"string"},"crystallisation_benefit":{"example":"(crystallisation_benefit)","description":"crystallisation_benefit field, this is found on types (pension)","type":"string"},"crystallisation_fund":{"example":"(crystallisation_fund)","description":"crystallisation_fund field, this is found on types (pension)","type":"string"},"crystallisation_start_date":{"example":"(crystallisation_start_date)","description":"crystallisation_start_date field, this is found on types (pension)","type":"string"},"crystallisation_end_date":{"example":"(crystallisation_end_date)","description":"crystallisation_end_date field, this is found on types (pension)","type":"string"},"crystallisation_frequency":{"example":"(crystallisation_frequency)","description":"crystallisation_frequency field, this is found on types (pension)","type":"string"},"fund_amount":{"example":"(fund_amount)","description":"fund_amount field, this is found on types (pension)","type":"string"},"uncrystallised_fund":{"example":"(uncrystallised_fund)","description":"uncrystallised_fund field, this is found on types (pension)","type":"string"},"income_taken_amount":{"example":"(income_taken_amount)","description":"income_taken_amount field, this is found on types (pension)","type":"string"},"maximum_income_amount":{"example":"(maximum_income_amount)","description":"maximum_income_amount field, this is found on types (pension)","type":"string"},"tax_free_amount":{"example":"(tax_free_amount)","description":"tax_free_amount field, this is found on types (pension)","type":"string"},"lifetime_allowance_percentage":{"example":"(lifetime_allowance_percentage)","description":"lifetime_allowance_percentage field, this is found on types (pension)","type":"string"},"lta_applied":{"example":"(lta_applied)","description":"lta_applied field, this is found on types (pension)","type":"string"},"mpaa_trigger":{"example":"(mpaa_trigger)","description":"mpaa_trigger field, this is found on types (pension)","type":"string"},"pcls_percentage":{"example":"(pcls_percentage)","description":"pcls_percentage field, this is found on types (pension)","type":"string"},"reason":{"example":"(reason)","description":"reason field, this is found on types (pension)","type":"string"},"has_pre_existing_conditions":{"example":"(has_pre_existing_conditions)","description":"has_pre_existing_conditions field, this is found on types (protection_policy)","type":"string"},"pre_existing_conditions_notes":{"example":"(pre_existing_conditions_notes)","description":"pre_existing_conditions_notes field, this is found on types (protection_policy)","type":"string"},"external_reference":{"allOf":[{"$ref":"#/components/schemas/ExternalReference"}],"description":"A third-party external reference to attach when creating the model."}}},"App_Http_Requests_Plans_UpdatePlanRequest":{"type":"object","properties":{"name":{"type":"string","example":"Johns ISA","description":"Descriptive name of the plan","maxLength":255,"nullable":true},"client_uuid":{"type":"string","example":"b11ce370-c601-45a0-87d8-296c9a03ddc0","description":"[DEPRECATED] Please use accounts instead. Account uuid linked with the plan","format":"uuid"},"accounts":{"type":"array","example":[],"description":"Accounts that own this plan, along with their percentage ownership. Any percentages that have not be defined will be split equally against the remaining percentage.","items":{"type":"object","example":[{"account_uuid":"c510d2a1-9655-4ba3-aa45-a2a5d3843885"},{"account_uuid":"a2d1c403-4fe4-4ba0-a7b6-362d0d75e267","ownership_percentage":75.0},{"account_uuid":"f2db7221-cf02-4eef-bf74-d5450c1c0417","ownership_percentage":null}],"properties":{"account_uuid":{"type":"string","example":"e5b8abbd-4540-4e6a-b265-85a83d8c2d50","description":"uuid of the account owner","format":"uuid"},"ownership_percentage":{"type":"number","example":75.0,"description":"Percentage ownership of this account. If not provided, the remaining percentage will be split equally between any accounts without a defined percentage.","format":"float","minimum":0.0,"maximum":100.0,"nullable":true}}}},"sub_type":{"type":"string","example":"cash_account","description":"\n\nPlan sub type\n\n| Value | Description |\n| ----- | ----------- |\n|cash_account|Cash Account|\n|cash_deposit|Cash Deposit|\n|isa_mini_cash|ISA (Mini Cash)|\n|isa_tessa_only|ISA (TESSA Only)|\n|lifetime_isa_cash|Lifetime ISA (Cash)|\n|national_savings|National Savings|\n|national_savings_child_bonus_bond|National Savings (Child Bonus Bond)|\n|national_savings_fixed_interest_certificate|National Savings (Fixed Interest Certificate)|\n|national_savings_guaranteed_equity_bond|National Savings (Guaranteed Equity Bond)|\n|national_savings_income_bond|National Savings (Income Bond)|\n|national_savings_index_linked_certificate|National Savings (Index Linked Certificate)|\n|national_savings_national_savings_certificate|National Savings (National Savings Certificate)|\n|national_savings_premium_bonds|National Savings (Premium Bonds)|\n|cash_account_unknown|Unknown|\n|aim_investment_tax_service|AIM Investment Tax Service|\n|bes|BES|\n|business_premises_renovation_allowance|Business Premises Renovation Allowance|\n|child_trust_fund|Child Trust Fund|\n|collective_investment_account|Collective Investment Account|\n|commercial_property_purchase_scheme|Commercial Property Purchase Scheme|\n|debenture|Debenture|\n|discretionary_managed_service|Discretionary Managed Service|\n|employee_benefit_trust|Employee Benefit Trust|\n|enterprise_investment_scheme_non_regulated|Enterprise Investment Scheme (Non-Regulated)|\n|enterprise_investment_scheme_regulated|Enterprise Investment Scheme (Regulated)|\n|enterprise_investment_zone_trust|Enterprise Investment Zone Trust|\n|enterprise_zone_syndicate|Enterprise Zone Syndicate|\n|equity_holdings|Equity Holdings|\n|exchange_traded_fund|Exchange Traded Fund|\n|exempt_property_unit_trust|Exempt Property Unit Trust|\n|film_partnership|Film Partnership|\n|geared_investments|Geared Investments|\n|general_investment_account|General Investment Account|\n|hedge_fund|Hedge Fund|\n|investment_bond|Investment Bond|\n|investment_tax_service|Investment Tax Service|\n|investment_trust|Investment Trust|\n|isa_aim|ISA (AIM)|\n|isa_cash|ISA (Cash)|\n|isa_help_to_buy|ISA (Help To Buy)|\n|isa_maxi|ISA (Maxi)|\n|isa_maxi_mini_transfer|ISA (Maxi/Mini Transfer)|\n|isa_mini_equity|ISA (Mini Equity)|\n|isa_nisa|ISA (Nisa)|\n|isa_stocks_and_shares|ISA (Stocks And Shares)|\n|junior_isa_cash|Junior ISA (Cash)|\n|junior_isa_nisa|Junior ISA (Nisa)|\n|junior_isa_stocks_and_shares|Junior ISA (Stocks And Shares)|\n|lifetime_isa_stocks_and_shares|Lifetime ISA (Stocks And Shares)|\n|maximum_investment_plan_investment|Maximum Investment Plan|\n|non_discretionary_managed_service|Non Discretionary Managed Service|\n|oeic_unit_trust|Oeic/Unit Trust|\n|offshore_bond|Offshore Bond|\n|offshore_deposit|Offshore Deposit|\n|offshore_oeic_fund|Offshore Oeic/Fund|\n|offshore_savings_plan|Offshore Savings Plan|\n|onshore_bond|Onshore Bond|\n|personal_equity_plan|Personal Equity Plan|\n|property_holdings|Property Holdings|\n|property_partnership|Property Partnership|\n|property_syndicate|Property Syndicate|\n|residential_property_development|Residential Property Development|\n|savings_account|Savings Account|\n|seed_enterprise_investment_scheme_non_regulated|Seed Enterprise Investment Scheme (Non-Regulated)|\n|seed_enterprise_investment_scheme_regulated|Seed Enterprise Investment Scheme (Regulated)|\n|share_incentive_plan|Share Incentive Plan|\n|share_save_scheme|Share Save Scheme|\n|sicav|SICAV|\n|structured_plan|Structured Plan|\n|structured_plan_cash_isa|Structured Plan (Cash ISA)|\n|structured_plan_deposit|Structured Plan (Deposit)|\n|structured_plan_medium_term_note|Structured Plan (Medium Term Note)|\n|structured_plan_stocks_shares_isa|Structured Plan (Stocks \u0026 Shares ISA)|\n|tessa|TESSA|\n|trust|Trust|\n|unit_trust|Unit Trust|\n|unregulated_collective_investments|Unregulated Collective Investments|\n|venture_capital_trust_non_regulated|Venture Capital Trust (Non-Regulated)|\n|venture_capital_trust_regulated|Venture Capital Trust (Regulated)|\n|wrap|Wrap|\n|investment_unknown|Unknown|\n|accident_and_sickness_insurance|Accident And Sickness Insurance|\n|accident_sickness_and_unemployment_insurance|Accident Sickness And Unemployment Insurance|\n|accidental_death_insurance|Accidental Death Insurance|\n|business_loan_protection|Business Loan Protection|\n|capital_redemption_policy|Capital Redemption Policy|\n|death_in_service|Death In Service|\n|endowment|Endowment|\n|flexible_plan|Flexible Plan|\n|general_insurance_income_protection|General Insurance (Income Protection)|\n|gift_inter_vivos|Gift Inter Vivos|\n|health_assessment|Health Assessment|\n|income_protection|Income Protection|\n|income_protection_executive|Income Protection (Executive)|\n|income_protection_key_person|Income Protection (Key Person)|\n|life_settlement_fund|Life Settlement Fund|\n|maximum_investment_plan|Maximum Investment Plan|\n|multi_benefit_protection|Multi Benefit Protection|\n|pension_contribution_insurance|Pension Contribution Insurance|\n|pension_term_assurance|Pension Term Assurance|\n|pre_paid_funeral_plan|Pre-Paid Funeral Plan|\n|redundancy_insurance|Redundancy Insurance|\n|relevant_life_policy|Relevant Life Policy|\n|renewable_convertible_term|Renewable Convertible Term|\n|term_protection|Term Protection|\n|term_protection_convertible|Term Protection (Convertible)|\n|term_protection_critical_illness|Term Protection (Critical Illness)|\n|term_protection_decreasing_term|Term Protection (Decreasing Term)|\n|term_protection_decreasing_term_ci|Term Protection (Decreasing Term - CI)|\n|term_protection_decreasing_term_life_ci|Term Protection (Decreasing Term - Life \u0026 CI)|\n|term_protection_directors_share_protection|Term Protection (Directors Share Protection)|\n|term_protection_family_income_protection|Term Protection (Family Income Protection)|\n|term_protection_family_income_protection_ci|Term Protection (Family Income Protection - CI)|\n|term_protection_family_income_protection_life_ci|Term Protection (Family Income Protection - Life \u0026 CI)|\n|term_protection_increasing_term|Term Protection (Increasing Term)|\n|term_protection_key_person_assurance|Term Protection (Key Person Assurance)|\n|term_protection_level|Term Protection (Level)|\n|term_protection_level_ci|Term Protection (Level - CI)|\n|term_protection_level_life_ci|Term Protection (Level - Life \u0026 CI)|\n|term_protection_mortgage_protection|Term Protection (Mortgage Protection)|\n|term_protection_partnership_protection|Term Protection (Partnership Protection)|\n|term_protection_renewable|Term Protection (Renewable)|\n|unemployment_insurance|Unemployment Insurance|\n|whole_of_life|Whole Of Life|\n|whole_of_life_non_investment|Whole Of Life (Non Investment)|\n|will|Will|\n|protection_policy_unknown|Unknown|\n|alternatively_secured_pension_plan|Alternatively Secured Pension Plan|\n|appropriate_personal_pension|Appropriate Personal Pension|\n|avc|AVC|\n|cimp|CIMP|\n|cimp_comp|CIMP \u0026 COMP|\n|comp|COMP|\n|deferred_sipp|Deferred SIPP|\n|defined_benefit_pension|Defined Benefit Pension|\n|dependants_pension|Dependants Pension|\n|efrbs|EFRBS|\n|equivalent_pension_benefits|Equivalent Pension Benefits|\n|executive_pension_plan|Executive Pension Plan|\n|family_sipp|Family SIPP|\n|final_salary_scheme|Final Salary Scheme|\n|fsavc|FSAVC|\n|furbs|FURBS|\n|group_cimp|Group CIMP|\n|group_comp|Group COMP|\n|group_dependants_pension|Group Dependants Pension|\n|group_offshore_pension_scheme|Group Offshore Pension Scheme|\n|group_personal_pension|Group Personal Pension|\n|group_s32_buyout_bond|Group S32 Buyout Bond|\n|group_sipp|Group SIPP|\n|group_stakeholder_pension|Group Stakeholder Pension|\n|income_drawdown_beneficiary|Income Drawdown (Beneficiary)|\n|income_drawdown_capped|Income Drawdown (Capped)|\n|income_drawdown_flexi_access|Income Drawdown (Flexi-Access)|\n|income_drawdown_flexible|Income Drawdown (Flexible)|\n|independent_retirement_advice|Independent Retirement Advice (IRA)|\n|individual_retirement_account|Individual Retirement Account|\n|inherited_independent_retirement_advice|Inherited Independent Retirement Advice (Inherited IRA)|\n|junior_sipp|Junior SIPP|\n|master_trust_pension|Master Trust Pension|\n|money_purchase_contracted|Money Purchase Contracted|\n|national_employers_savings_trust|National Employers Savings Trust (NEST)|\n|offshore_pension|Offshore Pension|\n|pension_fund_withdrawal|Pension Fund Withdrawal|\n|personal_pension_plan|Personal Pension Plan|\n|phased_retirement|Phased Retirement|\n|pia_non_protected_rights|PIA (Non Protected Rights)|\n|qnups|QNUPs|\n|qnups_wrapper|QNUPs Wrapper|\n|qrops|QROPs|\n|qrops_wrapper|QROPs Wrapper|\n|rnups_wrapper|RNUPs Wrapper|\n|roth_inherited_independent_retirement_advice|Roth Inherited Independent Retirement Advice (Roth IRA)|\n|s226_rac|S226 RAC|\n|s32_buyout_bond|S32 Buyout Bond|\n|sipp|SIPP|\n|sipp_wrapper|SIPP Wrapper|\n|ssas|Ssas|\n|stakeholder_individual|Stakeholder Individual|\n|third_way_pensions|Third Way Pensions|\n|trustee_investment_plan|Trustee Investment Plan|\n|unsecured_pension|Unsecured Pension|\n|uurbs|UURBs|\n|workplace_pension_scheme|Workplace Pension Scheme|\n|pension_unknown|Unknown|\n|annuity_non_pension|Annuity (Non Pension)|\n|compulsory_purchase_life_annuity|Compulsory Purchase Life Annuity|\n|deferred_annuity|Deferred Annuity|\n|defined_benefit_trustee_buy_in|Defined Benefit Trustee Buy In|\n|enhanced_pension_annuity|Enhanced Pension Annuity|\n|fixed_term_annuity|Fixed Term Annuity|\n|group_final_salary|Group Final Salary|\n|hancock_annuity|Hancock Annuity|\n|impaired_life_annuity|Impaired Life Annuity|\n|ivpp|IVPP|\n|lifetime_annuity|Lifetime Annuity|\n|pension_annuity|Pension Annuity|\n|pension_annuity_conventional|Pension Annuity (Conventional)|\n|pension_annuity_flexible|Pension Annuity (Flexible)|\n|pension_annuity_impaired_life|Pension Annuity (Impaired Life)|\n|pension_annuity_temporary|Pension Annuity (Temporary)|\n|pension_annuity_unit_linked|Pension Annuity (Unit Linked)|\n|pension_annuity_with_profits|Pension Annuity (With Profits)|\n|purchased_life_annuity|Purchased Life Annuity|\n|scheme_pension|Scheme Pension|\n|annuity_unknown|Unknown|\n|dental_insurance|Dental Insurance|\n|general_insurance_building|General Insurance (Building)|\n|general_insurance_building_contents|General Insurance (Building \u0026 Contents)|\n|general_insurance_commercial_combined|General Insurance (Commercial Combined)|\n|general_insurance_commercial_motor|General Insurance (Commercial Motor)|\n|general_insurance_contents|General Insurance (Contents)|\n|general_insurance_directors_and_officers|General Insurance (Directors And Officers)|\n|general_insurance_extended_warranty|General Insurance (Extended Warranty)|\n|general_insurance_legal_expenses|General Insurance (Legal Expenses)|\n|general_insurance_let_property|General Insurance (Let Property)|\n|general_insurance_liability|General Insurance (Liability)|\n|general_insurance_other|General Insurance Other|\n|general_insurance_payment_protection|General Insurance (Payment Protection)|\n|general_insurance_private_motor|General Insurance (Private Motor)|\n|general_insurance_professional_indemnity|General Insurance (Professional Indemnity)|\n|general_insurance_travel|General Insurance (Travel)|\n|group_travel_insurance|Group Travel Insurance|\n|healthcare_cash_plan|Healthcare Cash Plan|\n|international_private_medical_insurance|International Private Medical Insurance (IPMI)|\n|locum_insurance|Locum Insurance|\n|long_term_care|Long Term Care|\n|long_term_care_immediate|Long Term Care (Immediate)|\n|long_term_care_pre_funded|Long Term Care (Pre-Funded)|\n|private_medical_insurance|Private Medical Insurance|\n|general_insurance_unknown|Unknown|\n|cpb|CPB|\n|employee_assistance_scheme|Employee Assistance Scheme|\n|flexible_benefits|Flexible Benefits|\n|group_accident_and_sickness|Group Accident And Sickness|\n|group_critical_illness|Group Critical Illness|\n|group_death_in_service|Group Death In Service|\n|group_dental_insurance|Group Dental Insurance|\n|group_healthcare_cash_plan|Group Healthcare Cash Plan|\n|group_income_protection|Group Income Protection|\n|group_income_protection_key_person|Group Income Protection (Key Person)|\n|group_key_person_assurance|Group Key Person Assurance|\n|group_life|Group Life|\n|group_life_excepted|Group Life (Excepted)|\n|group_life_registered|Group Life (Registered)|\n|group_partnership_protection|Group Partnership Protection|\n|group_personal_accident|Group Personal Accident|\n|group_pmi|Group PMI|\n|group_relevant_life|Group Relevant Life|\n|group_term|Group Term|\n|group_protection_unknown|Unknown|\n|equity_release|Equity Release|\n|mortgage|Mortgage|\n|mortgage_bridging_loan|Bridging Loan Mortgage|\n|mortgage_business_buy_to_let|Mortgage Business Buy To Let|\n|mortgage_buy_to_let|Buy To Let Mortgage|\n|mortgage_consumer_buy_to_let|Consumer Buy To Let Mortgage|\n|mortgage_council_tenant_to_buy|Council/Tenant To Buy Mortgage|\n|mortgage_foreign_currency|Foreign Currency Mortgage|\n|mortgage_full_status|Mortgage Full Status|\n|mortgage_further_advance|Further Advance Mortgage|\n|mortgage_government_home_ownership_scheme|Government Home Ownership Scheme Mortgage|\n|mortgage_home_purchase_plan|Home Purchase Plan Mortgage|\n|mortgage_investment_property_islamic|Investment Property Islamic Mortgage|\n|mortgage_let_to_buy|Let To Buy Mortgage|\n|mortgage_lifetime|Mortgage Lifetime|\n|mortgage_non_status|Mortgage Non Status|\n|mortgage_primary_residence_islamic|Primary Residence Islamic Mortgage|\n|mortgage_product_transfer|Product Transfer Mortgage|\n|mortgage_remortgage|Remortgage Mortgage|\n|mortgage_right_to_buy|Right To Buy Mortgage|\n|mortgage_second_charge|Second Charge Mortgage|\n|mortgage_second_home|Second Home Mortgage|\n|mortgage_self_build|Self-Build Mortgage|\n|mortgage_self_cert|Mortgage Self Cert|\n|mortgage_shared_ownership|Shared Ownership Mortgage|\n|mortgage_standard_residential|Standard Residential Mortgage|\n|mortgage_non_regulated_bridging_loan|Non-Regulated Bridging Loan Mortgage|\n|mortgage_non_regulated_buy_to_let|Non-Regulated Buy To Let Mortgage|\n|mortgage_non_regulated_commercial|Non-Regulated Commercial Mortgage|\n|mortgage_non_regulated_further_advance|Non-Regulated Further Advance Mortgage|\n|mortgage_non_regulated_offshore|Non-Regulated Offshore Mortgage|\n|mortgage_non_regulated_overseas|Non-Regulated Overseas Mortgage|\n|mortgage_non_regulated_product_transfer|Non-Regulated Product Transfer Mortgage|\n|third_party_mortgage|Third Party Mortgage|\n|mortgage_unknown|Unknown|\n|bridging_loan|Bridging Loan|\n|car_finance|Car Finance|\n|commercial_finance|Commercial Finance|\n|consumer_finance|Consumer Finance|\n|credit_card|Credit Card|\n|landlords|Landlords|\n|lombard_loan|Lombard Loan|\n|other_long_term_loan|Other Long Term Loan|\n|overdraft|Overdraft|\n|partner_loan|Partner Loan|\n|peer_to_peer_loan|Peer To Peer Loan|\n|personal_loan|Personal Loan|\n|personal_loan_secured|Personal Loan (Secured)|\n|personal_loan_unsecured|Personal Loan (Unsecured)|\n|public_liability|Public Liability|\n|student_loan|Student Loan|\n|will_trust_loan|Will Trust Loan|\n|loan_credit_unknown|Unknown|\n|boat|Boat|\n|collectible_art_other|Collectible/Art/Other|\n|land|Land|\n|motor_vehicle|Motor Vehicle|\n|other|Other|\n|own_business|Own Business|\n|property|Property|\n|property_btl|Property (Btl)|\n|property_investment|Property (Investment)|\n|property_rental|Property (Rental)|\n|property_other|Property (Other)|\n|property_overseas|Property (Overseas)|\n|fixed_asset_unknown|Unknown|","enum":["cash_account","cash_deposit","isa_mini_cash","isa_tessa_only","lifetime_isa_cash","national_savings","national_savings_child_bonus_bond","national_savings_fixed_interest_certificate","national_savings_guaranteed_equity_bond","national_savings_income_bond","national_savings_index_linked_certificate","national_savings_national_savings_certificate","national_savings_premium_bonds","cash_account_unknown","aim_investment_tax_service","bes","business_premises_renovation_allowance","child_trust_fund","collective_investment_account","commercial_property_purchase_scheme","debenture","discretionary_managed_service","employee_benefit_trust","enterprise_investment_scheme_non_regulated","enterprise_investment_scheme_regulated","enterprise_investment_zone_trust","enterprise_zone_syndicate","equity_holdings","exchange_traded_fund","exempt_property_unit_trust","film_partnership","geared_investments","general_investment_account","hedge_fund","investment_bond","investment_tax_service","investment_trust","isa_aim","isa_cash","isa_help_to_buy","isa_maxi","isa_maxi_mini_transfer","isa_mini_equity","isa_nisa","isa_stocks_and_shares","junior_isa_cash","junior_isa_nisa","junior_isa_stocks_and_shares","lifetime_isa_stocks_and_shares","maximum_investment_plan_investment","non_discretionary_managed_service","oeic_unit_trust","offshore_bond","offshore_deposit","offshore_oeic_fund","offshore_savings_plan","onshore_bond","personal_equity_plan","property_holdings","property_partnership","property_syndicate","residential_property_development","savings_account","seed_enterprise_investment_scheme_non_regulated","seed_enterprise_investment_scheme_regulated","share_incentive_plan","share_save_scheme","sicav","structured_plan","structured_plan_cash_isa","structured_plan_deposit","structured_plan_medium_term_note","structured_plan_stocks_shares_isa","tessa","trust","unit_trust","unregulated_collective_investments","venture_capital_trust_non_regulated","venture_capital_trust_regulated","wrap","investment_unknown","accident_and_sickness_insurance","accident_sickness_and_unemployment_insurance","accidental_death_insurance","business_loan_protection","capital_redemption_policy","death_in_service","endowment","flexible_plan","general_insurance_income_protection","gift_inter_vivos","health_assessment","income_protection","income_protection_executive","income_protection_key_person","life_settlement_fund","maximum_investment_plan","multi_benefit_protection","pension_contribution_insurance","pension_term_assurance","pre_paid_funeral_plan","redundancy_insurance","relevant_life_policy","renewable_convertible_term","term_protection","term_protection_convertible","term_protection_critical_illness","term_protection_decreasing_term","term_protection_decreasing_term_ci","term_protection_decreasing_term_life_ci","term_protection_directors_share_protection","term_protection_family_income_protection","term_protection_family_income_protection_ci","term_protection_family_income_protection_life_ci","term_protection_increasing_term","term_protection_key_person_assurance","term_protection_level","term_protection_level_ci","term_protection_level_life_ci","term_protection_mortgage_protection","term_protection_partnership_protection","term_protection_renewable","unemployment_insurance","whole_of_life","whole_of_life_non_investment","will","protection_policy_unknown","alternatively_secured_pension_plan","appropriate_personal_pension","avc","cimp","cimp_comp","comp","deferred_sipp","defined_benefit_pension","dependants_pension","efrbs","equivalent_pension_benefits","executive_pension_plan","family_sipp","final_salary_scheme","fsavc","furbs","group_cimp","group_comp","group_dependants_pension","group_offshore_pension_scheme","group_personal_pension","group_s32_buyout_bond","group_sipp","group_stakeholder_pension","income_drawdown_beneficiary","income_drawdown_capped","income_drawdown_flexi_access","income_drawdown_flexible","independent_retirement_advice","individual_retirement_account","inherited_independent_retirement_advice","junior_sipp","master_trust_pension","money_purchase_contracted","national_employers_savings_trust","offshore_pension","pension_fund_withdrawal","personal_pension_plan","phased_retirement","pia_non_protected_rights","qnups","qnups_wrapper","qrops","qrops_wrapper","rnups_wrapper","roth_inherited_independent_retirement_advice","s226_rac","s32_buyout_bond","sipp","sipp_wrapper","ssas","stakeholder_individual","third_way_pensions","trustee_investment_plan","unsecured_pension","uurbs","workplace_pension_scheme","pension_unknown","annuity_non_pension","compulsory_purchase_life_annuity","deferred_annuity","defined_benefit_trustee_buy_in","enhanced_pension_annuity","fixed_term_annuity","group_final_salary","hancock_annuity","impaired_life_annuity","ivpp","lifetime_annuity","pension_annuity","pension_annuity_conventional","pension_annuity_flexible","pension_annuity_impaired_life","pension_annuity_temporary","pension_annuity_unit_linked","pension_annuity_with_profits","purchased_life_annuity","scheme_pension","annuity_unknown","dental_insurance","general_insurance_building","general_insurance_building_contents","general_insurance_commercial_combined","general_insurance_commercial_motor","general_insurance_contents","general_insurance_directors_and_officers","general_insurance_extended_warranty","general_insurance_legal_expenses","general_insurance_let_property","general_insurance_liability","general_insurance_other","general_insurance_payment_protection","general_insurance_private_motor","general_insurance_professional_indemnity","general_insurance_travel","group_travel_insurance","healthcare_cash_plan","international_private_medical_insurance","locum_insurance","long_term_care","long_term_care_immediate","long_term_care_pre_funded","private_medical_insurance","general_insurance_unknown","cpb","employee_assistance_scheme","flexible_benefits","group_accident_and_sickness","group_critical_illness","group_death_in_service","group_dental_insurance","group_healthcare_cash_plan","group_income_protection","group_income_protection_key_person","group_key_person_assurance","group_life","group_life_excepted","group_life_registered","group_partnership_protection","group_personal_accident","group_pmi","group_relevant_life","group_term","group_protection_unknown","equity_release","mortgage","mortgage_bridging_loan","mortgage_business_buy_to_let","mortgage_buy_to_let","mortgage_consumer_buy_to_let","mortgage_council_tenant_to_buy","mortgage_foreign_currency","mortgage_full_status","mortgage_further_advance","mortgage_government_home_ownership_scheme","mortgage_home_purchase_plan","mortgage_investment_property_islamic","mortgage_let_to_buy","mortgage_lifetime","mortgage_non_status","mortgage_primary_residence_islamic","mortgage_product_transfer","mortgage_remortgage","mortgage_right_to_buy","mortgage_second_charge","mortgage_second_home","mortgage_self_build","mortgage_self_cert","mortgage_shared_ownership","mortgage_standard_residential","mortgage_non_regulated_bridging_loan","mortgage_non_regulated_buy_to_let","mortgage_non_regulated_commercial","mortgage_non_regulated_further_advance","mortgage_non_regulated_offshore","mortgage_non_regulated_overseas","mortgage_non_regulated_product_transfer","third_party_mortgage","mortgage_unknown","bridging_loan","car_finance","commercial_finance","consumer_finance","credit_card","landlords","lombard_loan","other_long_term_loan","overdraft","partner_loan","peer_to_peer_loan","personal_loan","personal_loan_secured","personal_loan_unsecured","public_liability","student_loan","will_trust_loan","loan_credit_unknown","boat","collectible_art_other","land","motor_vehicle","other","own_business","property","property_btl","property_investment","property_rental","property_other","property_overseas","fixed_asset_unknown"]},"provider_uuid":{"type":"string","example":"25a6066d-bb8e-42ab-9e16-3bbb7b6250bb","description":"UUID of the provider. Use null to remove the provider from the plan","format":"uuid","nullable":true},"policy_number":{"type":"string","example":"AVI-43135","description":"Main policy number for the plan, will be stored as the main accounts policy number","maxLength":255,"nullable":true},"proposal_reference":{"type":"string","example":"AB12345","description":"Main proposal reference for the plan, will be stored as the main accounts proposal reference","maxLength":255,"nullable":true},"opened_at":{"type":"string","example":"2026-11-11","description":"date when the plan was purchased or account was opened","format":"date","nullable":true},"status":{"type":"string","example":"active","description":"\n\nStatus of plan\n\n| Value | Description |\n| ----- | ----------- |\n|active|Active|\n|inactive|Inactive|\n|proposed|Proposed|","enum":["active","inactive","proposed"]},"inactive_at":{"type":"string","example":"2026-11-16","description":"Date when plan went inactive","format":"date","nullable":true},"inactive_reason":{"type":"string","example":"accepted","description":"\n\nReason of inactivity\n\n| Value | Description |\n| ----- | ----------- |\n|accepted|Accepted|\n|agency_transferred|Agency Transferred|\n|cancelled|Cancelled|\n|claimed|Claimed|\n|complete|Complete|\n|death_event|Death Event|\n|deferred|Deferred|\n|drawdown|Drawdown|\n|expired|Expired|\n|full_drawdown|Full Drawdown|\n|issued|Issued|\n|lapsed|Lapsed|\n|matured|Matured|\n|not_proceeded_with|Not Proceeded With|\n|not_taken_up|Not Taken Up|\n|offered|Offered|\n|paid_up|Paid Up|\n|partial_drawdown|Partial Drawdown|\n|partial_surrender|Partial Surrender|\n|proposed|Proposed|\n|prospect|Prospect|\n|refunded|Refunded|\n|refused|Refused|\n|surrendered|Surrendered|\n|transfer|Transfer|\n|transferred|Transferred|\n|underwriting|Underwriting|\n|vested|Vested|\n|declined|Declined|\n|encashment|Encashment|\n|left_service|Left Service|\n|premium_holiday|Premium Holiday|\n|other|Other|","enum":["accepted","agency_transferred","cancelled","claimed","complete","death_event","deferred","drawdown","expired","full_drawdown","issued","lapsed","matured","not_proceeded_with","not_taken_up","offered","paid_up","partial_drawdown","partial_surrender","proposed","prospect","refunded","refused","surrendered","transfer","transferred","underwriting","vested","declined","encashment","left_service","premium_holiday","other"],"nullable":true},"agency_in_your_name":{"type":"boolean","example":true,"description":"Agency in your name","nullable":true},"agency_in_your_name_from":{"type":"string","example":"2026-08-10","description":"Date agency was in your name from","format":"date","nullable":true},"originally_sold_by_firm":{"type":"boolean","example":true,"description":"Whether the plan was originally sold by your firm","nullable":true},"under_advice":{"type":"boolean","example":true,"description":"Under advice","nullable":true},"visible_on_client_portal":{"type":"boolean","example":true,"description":"Whether this plan will be shown to clients in their client portal"},"include_in_client_valuation":{"type":"boolean","example":true,"description":"Include in client valuation"},"show_on_joint":{"type":"boolean","example":true,"description":"@Deprecated"},"shown_on_circles":{"type":"boolean","example":false,"description":"Determines if plan should be shown on a circle"},"review_date":{"type":"string","example":"2027-11-18","description":"Next review date","format":"date","nullable":true},"on_panel":{"type":"boolean","example":true,"description":"On panel","nullable":true},"cases":{"type":"array","example":["d03f6247-ff43-4c4d-9d0f-d8988c410256","4068c645-08bc-478c-bd2f-2e8d500d5329","f1189b50-2459-4a2b-a54f-9f7b8edd2e86"],"description":"Array of case UUIDs that you want to associate to the plan with. To remove cases from the plan, pass in null","items":{"type":"string","example":"1ad92b25-c56e-4f18-a79a-690ce13ca3ef","format":"uuid"},"nullable":true},"seller_uuid":{"type":"string","example":"5b525756-a999-481b-9f26-6cc1b4681a58","description":"Employee account UUID that sold the plan. Updating this will affect future charge splitting","format":"uuid","nullable":true},"seller_name":{"type":"string","example":"Jane Doe","description":"Name of the employee that sold the plan. Used if seller_uuid is not provided","maxLength":255,"nullable":true},"active_adviser_uuid":{"type":"string","example":"9232fad3-ce83-4bd7-8d04-07d94fc77e80","description":"Employee account that is managing this plan","format":"uuid","nullable":true},"adviser_split_uuid":{"type":"string","example":"ae0de856-e0c8-47e2-899e-78463460bcdc","description":"A plan adviser split to be applied to charges to this plan","format":"uuid"},"linked_owners":{"type":"array","example":["130b2cb2-62de-437d-9ea4-8cd2623078a2","a03d3bbe-b640-40fb-be40-9b70d959d1b4","c310a0bb-ebbf-46ae-9ca5-9f0a6dc36738"],"description":"Linked clients who should be synced as extra owners of the plan","items":{"type":"string","example":"5bf35528-18b2-4308-9cb4-63c4eeac02da","format":"uuid"}},"linked_plans":{"type":"array","example":["1c92117a-ed27-4bf3-840c-d0ebbf18871e","bf0e1e31-480c-49af-96df-60e104413fc4","952f17ed-e83a-4338-bf18-436457242750"],"description":"Sync link other plans of the client to this plan. Providing null or empty array will unlink all linked plans.","items":{"type":"string","example":"40fb63da-0f9b-441d-a99b-113bd0770043","format":"uuid"}},"visible_to_circles_uuids":{"type":"array","example":["457a41a7-39fc-47d5-bafe-a7f912566ee3","b84ea849-bbb8-47a4-8367-021965d96caf","51bc94ed-1de7-42e8-ae19-5be9f254b1a3"],"description":"Circles UUIDs that can view the plan when filtering plans by circles. Leaving blank means the plan will be visible for all circles which contains the plan owners.","items":{"type":"string","example":"d9fb8914-eaeb-4a4b-8c77-2730f9427d52","format":"uuid"},"nullable":true},"current_value":{"type":"integer","example":5000,"description":"The current value of the plan in pennies. Can be provided with `current_value_at` to specify the date that the plan was valued at.","nullable":true},"current_value_at":{"type":"string","example":"2026-11-18","description":"Optional date to be used with `current_value`. If left blank it will default to the current day.","format":"date","nullable":true},"is_group_scheme":{"type":"boolean","example":false,"description":"Denotes if the plan is a group scheme plan. When a plan is a group scheme plan you will be able to manage group scheme members and sub schemes. Only business clients can have group schemes."},"is_wrap_product":{"type":"boolean","example":false,"description":"Denotes if the plan is a wrap product, and can have plans linked under it"},"group_scheme_member_detail":{"type":"object","description":"Additional fields to update if the is_group_scheme_member field is true.","example":{"workplace_location":"Waterlooville","employer_division":"Sales"},"properties":{"workplace_location":{"type":"string","example":"Waterlooville","description":"The workplace location of the group scheme member.","maxLength":255,"nullable":true},"employment_division":{"type":"string","example":"Sales","description":"The employment division of the group scheme member.","maxLength":255,"nullable":true}}},"wrap_uuid":{"type":"string","example":"6bec68a9-9164-42b7-a1f8-8be86db93f38","description":"The UUID of the wrap product to link this plan too","format":"uuid","nullable":true},"contract_enquiry_account_uuid":{"type":"string","example":"a9714bc9-467b-457a-9459-b0e95eb6d609","description":"The UUID of the account used for contract enquiry.","format":"uuid","nullable":true},"beneficiaries":{"type":"array","example":[],"description":"The beneficiaries of the plan.","items":{"type":"object","example":[{"uuid":"2890c453-2aa2-4237-9206-121979eed2e1","name":"John Smith","percentage":50},{"name":"Jane Doe","percentage":20}],"properties":{"uuid":{"type":"string","example":"c5618fea-ff28-4413-adb6-4974c45f833f","description":"The UUID of the beneficiary. Leave blank when creating a new beneficiary.","format":"uuid"},"name":{"type":"string","example":"John Smith","description":"The name of the beneficiary.","maxLength":255},"percentage":{"type":"number","example":50.0,"description":"The percentage allocated to the beneficiary.","format":"float","minimum":0.0,"maximum":100.0}}}},"platform_provider":{"example":"(platform_provider)","description":"platform_provider field, this is found on types (annuity cash_account investment pension)","type":"string"},"life_assured":{"example":"(life_assured)","description":"life_assured field, this is found on types (annuity)","type":"string"},"sum_assured":{"example":"(sum_assured)","description":"sum_assured field, this is found on types (annuity)","type":"string"},"term_type":{"example":"(term_type)","description":"term_type field, this is found on types (annuity cash_account general_insurance group_protection investment loan_credit mortgage pension protection_policy)","type":"string"},"term_maturity_date":{"example":"(term_maturity_date)","description":"term_maturity_date field, this is found on types (annuity cash_account general_insurance investment loan_credit mortgage pension protection_policy)","type":"string"},"term_age":{"example":"(term_age)","description":"term_age field, this is found on types (annuity cash_account general_insurance investment loan_credit mortgage pension protection_policy)","type":"string"},"term_maturity_value":{"example":"(term_maturity_value)","description":"term_maturity_value field, this is found on types (annuity)","type":"string"},"guaranteed_term":{"example":"(guaranteed_term)","description":"guaranteed_term field, this is found on types (annuity)","type":"string"},"payment_type":{"example":"(payment_type)","description":"payment_type field, this is found on types (annuity)","type":"string"},"income_amount":{"example":"(income_amount)","description":"income_amount field, this is found on types (annuity)","type":"string"},"income_frequency":{"example":"(income_frequency)","description":"income_frequency field, this is found on types (annuity)","type":"string"},"income_from":{"example":"(income_from)","description":"income_from field, this is found on types (annuity)","type":"string"},"income_escalation":{"example":"(income_escalation)","description":"income_escalation field, this is found on types (annuity)","type":"string"},"initial_purchase_amount":{"example":"(initial_purchase_amount)","description":"initial_purchase_amount field, this is found on types (annuity)","type":"string"},"interest_type":{"example":"(interest_type)","description":"interest_type field, this is found on types (cash_account investment loan_credit mortgage)","type":"string"},"interest_rate":{"example":"(interest_rate)","description":"interest_rate field, this is found on types (cash_account investment loan_credit mortgage)","type":"string"},"address_1":{"example":"(address_1)","description":"address_1 field, this is found on types (fixed_asset)","type":"string"},"address_2":{"example":"(address_2)","description":"address_2 field, this is found on types (fixed_asset)","type":"string"},"address_3":{"example":"(address_3)","description":"address_3 field, this is found on types (fixed_asset)","type":"string"},"address_4":{"example":"(address_4)","description":"address_4 field, this is found on types (fixed_asset)","type":"string"},"town_city":{"example":"(town_city)","description":"town_city field, this is found on types (fixed_asset)","type":"string"},"county":{"example":"(county)","description":"county field, this is found on types (fixed_asset)","type":"string"},"postcode":{"example":"(postcode)","description":"postcode field, this is found on types (fixed_asset)","type":"string"},"country":{"example":"(country)","description":"country field, this is found on types (fixed_asset)","type":"string"},"new_property":{"example":"(new_property)","description":"new_property field, this is found on types (fixed_asset)","type":"string"},"price_listed":{"example":"(price_listed)","description":"price_listed field, this is found on types (fixed_asset)","type":"string"},"purchase_price":{"example":"(purchase_price)","description":"purchase_price field, this is found on types (fixed_asset)","type":"string"},"asset_description":{"example":"(asset_description)","description":"asset_description field, this is found on types (fixed_asset)","type":"string"},"asset_image":{"example":"(asset_image)","description":"asset_image field, this is found on types (fixed_asset)","type":"string"},"ncd":{"example":"(ncd)","description":"ncd field, this is found on types (general_insurance)","type":"string"},"ncd_protected":{"example":"(ncd_protected)","description":"ncd_protected field, this is found on types (general_insurance)","type":"string"},"ncd_years":{"example":"(ncd_years)","description":"ncd_years field, this is found on types (general_insurance)","type":"string"},"renewal_date":{"example":"(renewal_date)","description":"renewal_date field, this is found on types (general_insurance group_protection)","type":"string"},"offshore":{"example":"(offshore)","description":"offshore field, this is found on types (investment)","type":"string"},"in_trust":{"example":"(in_trust)","description":"in_trust field, this is found on types (investment protection_policy)","type":"string"},"trustee_details":{"example":"(trustee_details)","description":"trustee_details field, this is found on types (investment protection_policy)","type":"string"},"original_balance":{"example":"(original_balance)","description":"original_balance field, this is found on types (loan_credit mortgage)","type":"string"},"outstanding_balance":{"example":"(outstanding_balance)","description":"outstanding_balance field, this is found on types (loan_credit mortgage)","type":"string"},"loan_amount":{"example":"(loan_amount)","description":"loan_amount field, this is found on types (loan_credit)","type":"string"},"repayment_amount":{"example":"(repayment_amount)","description":"repayment_amount field, this is found on types (loan_credit)","type":"string"},"repayment_frequency":{"example":"(repayment_frequency)","description":"repayment_frequency field, this is found on types (loan_credit)","type":"string"},"details":{"example":"(details)","description":"details field, this is found on types (loan_credit)","type":"string"},"property_type":{"example":"(property_type)","description":"property_type field, this is found on types (mortgage)","type":"string"},"payment_amount":{"example":"(payment_amount)","description":"payment_amount field, this is found on types (mortgage)","type":"string"},"payment_frequency":{"example":"(payment_frequency)","description":"payment_frequency field, this is found on types (mortgage)","type":"string"},"initial_interest":{"example":"(initial_interest)","description":"initial_interest field, this is found on types (mortgage)","type":"string"},"initial_period_end":{"example":"(initial_period_end)","description":"initial_period_end field, this is found on types (mortgage)","type":"string"},"initial_payment":{"example":"(initial_payment)","description":"initial_payment field, this is found on types (mortgage)","type":"string"},"equity_released":{"example":"(equity_released)","description":"equity_released field, this is found on types (mortgage)","type":"string"},"loan_quote":{"example":"(loan_quote)","description":"loan_quote field, this is found on types (mortgage)","type":"string"},"loan_type":{"example":"(loan_type)","description":"loan_type field, this is found on types (mortgage)","type":"string"},"mig_added":{"example":"(mig_added)","description":"mig_added field, this is found on types (mortgage)","type":"string"},"mig_premium":{"example":"(mig_premium)","description":"mig_premium field, this is found on types (mortgage)","type":"string"},"repayment_type":{"example":"(repayment_type)","description":"repayment_type field, this is found on types (mortgage)","type":"string"},"repayment_method":{"example":"(repayment_method)","description":"repayment_method field, this is found on types (mortgage)","type":"string"},"repayment_term":{"example":"(repayment_term)","description":"repayment_term field, this is found on types (mortgage)","type":"string"},"other_repayment_method":{"example":"(other_repayment_method)","description":"other_repayment_method field, this is found on types (mortgage)","type":"string"},"scheme_fixed_date":{"example":"(scheme_fixed_date)","description":"scheme_fixed_date field, this is found on types (mortgage)","type":"string"},"transaction_details":{"example":"(transaction_details)","description":"transaction_details field, this is found on types (mortgage)","type":"string"},"base_payment":{"example":"(base_payment)","description":"base_payment field, this is found on types (mortgage)","type":"string"},"has_transfer_penalties":{"example":"(has_transfer_penalties)","description":"has_transfer_penalties field, this is found on types (mortgage)","type":"string"},"is_portable_mortgage":{"example":"(is_portable_mortgage)","description":"is_portable_mortgage field, this is found on types (mortgage)","type":"string"},"transfer_consent":{"example":"(transfer_consent)","description":"transfer_consent field, this is found on types (mortgage)","type":"string"},"transfer_penalty":{"example":"(transfer_penalty)","description":"transfer_penalty field, this is found on types (mortgage)","type":"string"},"contract_exchanged":{"example":"(contract_exchanged)","description":"contract_exchanged field, this is found on types (mortgage)","type":"string"},"date_complete":{"example":"(date_complete)","description":"date_complete field, this is found on types (mortgage)","type":"string"},"date_confirmed":{"example":"(date_confirmed)","description":"date_confirmed field, this is found on types (mortgage)","type":"string"},"date_exchanged":{"example":"(date_exchanged)","description":"date_exchanged field, this is found on types (mortgage)","type":"string"},"date_submitted":{"example":"(date_submitted)","description":"date_submitted field, this is found on types (mortgage)","type":"string"},"mortgage_completed":{"example":"(mortgage_completed)","description":"mortgage_completed field, this is found on types (mortgage)","type":"string"},"offer_confirmed":{"example":"(offer_confirmed)","description":"offer_confirmed field, this is found on types (mortgage)","type":"string"},"offer_confirmed_date":{"example":"(offer_confirmed_date)","description":"offer_confirmed_date field, this is found on types (mortgage)","type":"string"},"offer_date":{"example":"(offer_date)","description":"offer_date field, this is found on types (mortgage)","type":"string"},"offer_issued":{"example":"(offer_issued)","description":"offer_issued field, this is found on types (mortgage)","type":"string"},"on_risk":{"example":"(on_risk)","description":"on_risk field, this is found on types (mortgage)","type":"string"},"proposal_date":{"example":"(proposal_date)","description":"proposal_date field, this is found on types (mortgage)","type":"string"},"submitted":{"example":"(submitted)","description":"submitted field, this is found on types (mortgage)","type":"string"},"declined_notes":{"example":"(declined_notes)","description":"declined_notes field, this is found on types (mortgage)","type":"string"},"accrual_rate":{"example":"(accrual_rate)","description":"accrual_rate field, this is found on types (pension)","type":"string"},"year_accrued":{"example":"(year_accrued)","description":"year_accrued field, this is found on types (pension)","type":"string"},"retirement_date":{"example":"(retirement_date)","description":"retirement_date field, this is found on types (pension)","type":"string"},"pensionable_salary":{"example":"(pensionable_salary)","description":"pensionable_salary field, this is found on types (pension)","type":"string"},"transfer_value":{"example":"(transfer_value)","description":"transfer_value field, this is found on types (pension)","type":"string"},"date_of_transfer_valuation":{"example":"(date_of_transfer_valuation)","description":"date_of_transfer_valuation field, this is found on types (pension)","type":"string"},"widows_percentage":{"example":"(widows_percentage)","description":"widows_percentage field, this is found on types (pension)","type":"string"},"contracted_out":{"example":"(contracted_out)","description":"contracted_out field, this is found on types (pension)","type":"string"},"had_avc":{"example":"(had_avc)","description":"had_avc field, this is found on types (pension)","type":"string"},"in_house_avc_amount":{"example":"(in_house_avc_amount)","description":"in_house_avc_amount field, this is found on types (pension)","type":"string"},"in_house_avc_percentage":{"example":"(in_house_avc_percentage)","description":"in_house_avc_percentage field, this is found on types (pension)","type":"string"},"death_benefit_amount":{"example":"(death_benefit_amount)","description":"death_benefit_amount field, this is found on types (pension)","type":"string"},"projected_income":{"example":"(projected_income)","description":"projected_income field, this is found on types (pension)","type":"string"},"plan_retirement_age":{"example":"(plan_retirement_age)","description":"plan_retirement_age field, this is found on types (pension)","type":"string"},"state_retirement_age":{"example":"(state_retirement_age)","description":"state_retirement_age field, this is found on types (pension)","type":"string"},"salary_sacrifice":{"example":"(salary_sacrifice)","description":"salary_sacrifice field, this is found on types (pension)","type":"string"},"waiver":{"example":"(waiver)","description":"waiver field, this is found on types (pension)","type":"string"},"is_crystallised":{"example":"(is_crystallised)","description":"is_crystallised field, this is found on types (pension)","type":"string"},"crystallisation_amount":{"example":"(crystallisation_amount)","description":"crystallisation_amount field, this is found on types (pension)","type":"string"},"crystallisation_benefit":{"example":"(crystallisation_benefit)","description":"crystallisation_benefit field, this is found on types (pension)","type":"string"},"crystallisation_fund":{"example":"(crystallisation_fund)","description":"crystallisation_fund field, this is found on types (pension)","type":"string"},"crystallisation_start_date":{"example":"(crystallisation_start_date)","description":"crystallisation_start_date field, this is found on types (pension)","type":"string"},"crystallisation_end_date":{"example":"(crystallisation_end_date)","description":"crystallisation_end_date field, this is found on types (pension)","type":"string"},"crystallisation_frequency":{"example":"(crystallisation_frequency)","description":"crystallisation_frequency field, this is found on types (pension)","type":"string"},"fund_amount":{"example":"(fund_amount)","description":"fund_amount field, this is found on types (pension)","type":"string"},"uncrystallised_fund":{"example":"(uncrystallised_fund)","description":"uncrystallised_fund field, this is found on types (pension)","type":"string"},"income_taken_amount":{"example":"(income_taken_amount)","description":"income_taken_amount field, this is found on types (pension)","type":"string"},"maximum_income_amount":{"example":"(maximum_income_amount)","description":"maximum_income_amount field, this is found on types (pension)","type":"string"},"tax_free_amount":{"example":"(tax_free_amount)","description":"tax_free_amount field, this is found on types (pension)","type":"string"},"lifetime_allowance_percentage":{"example":"(lifetime_allowance_percentage)","description":"lifetime_allowance_percentage field, this is found on types (pension)","type":"string"},"lta_applied":{"example":"(lta_applied)","description":"lta_applied field, this is found on types (pension)","type":"string"},"mpaa_trigger":{"example":"(mpaa_trigger)","description":"mpaa_trigger field, this is found on types (pension)","type":"string"},"pcls_percentage":{"example":"(pcls_percentage)","description":"pcls_percentage field, this is found on types (pension)","type":"string"},"reason":{"example":"(reason)","description":"reason field, this is found on types (pension)","type":"string"},"has_pre_existing_conditions":{"example":"(has_pre_existing_conditions)","description":"has_pre_existing_conditions field, this is found on types (protection_policy)","type":"string"},"pre_existing_conditions_notes":{"example":"(pre_existing_conditions_notes)","description":"pre_existing_conditions_notes field, this is found on types (protection_policy)","type":"string"}}},"App_Http_Requests_Plans_StoreSubAccountRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Johns ISA","description":"Descriptive name of the sub account"},"policy_number":{"type":"string","example":"AVF-4355432","description":"Sub account policy number"},"proposal_reference":{"type":"string","example":"BtMWiy0JwHtogU4","description":"Sub account proposal number"}}},"App_Http_Requests_Plans_UpdateSubAccountRequest":{"type":"object","properties":{"name":{"type":"string","example":"Johns ISA","description":"Descriptive name of the sub account"},"policy_number":{"type":"string","example":"AVF-4355432","description":"Sub account policy number"},"proposal_reference":{"type":"string","example":"BtMWiy0JwHtogU4","description":"Sub account proposal number"},"active_portfolio_uuid":{"type":"string","example":"3d0fb49e-7ab2-4d5b-a8f5-3a8edf11887b","description":"The active portfolio UUID of the sub-account.","format":"uuid"}}},"App_Http_Requests_Transaction_StoreTransactionRequest":{"type":"object","properties":{"sub_account_uuid":{"type":"string","example":"9cc6d0cb-28ab-43f9-ae90-c49678d42cd7","description":"Sub account to add the transaction to, if not provided if will go to the plan's main account","format":"uuid"},"holding_uuid":{"type":"string","example":"b0770839-bfd3-4cb5-b7f8-f60edab6f52a","description":"Holding to add the transaction to.  Holding must exist for the main account, or to the sub account if sub_account_uuid is provided","format":"uuid"},"type":{"type":"string","example":"adjustment","description":"\n\nTransaction type.\n\n| Value | Description |\n| ----- | ----------- |\n|adjustment|Adjustment|\n|adviser_fee|Adviser Fee|\n|contribution|Contribution|\n|corporate_action|Corporate Action|\n|distribution|Distribution|\n|fee|Fee|\n|income|Income|\n|payment|Payment|\n|provider_fee|Provider Fee|\n|rebate|Rebate|\n|trade|Trade|\n|transfer|Transfer|\n|withdrawal|Withdrawal|\n|other|Other|","enum":["adjustment","adviser_fee","contribution","corporate_action","distribution","fee","income","payment","provider_fee","rebate","trade","transfer","withdrawal","other"]},"sub_type":{"type":"string","example":"advice_fee_adjustments","description":"\n\nTransaction sub type\n\n| Value | Description |\n| ----- | ----------- |\n|advice_fee_adjustments|Advice Fee Adjustments|\n|advice_fee_refunds|Advice Fee Refunds|\n|advice_fees_ad_hoc|Advice Fees Ad Hoc|\n|advice_fees_annual|Advice Fees Annual|\n|advice_fees_initial|Advice Fees Initial|\n|discretionary_fund_manager_fees|Discretionary Fund Manager Fees|\n|nucleus_fee_rebates|Nucleus Fee Rebates|\n|nucleus_fees|Nucleus Fees|\n|product_fees|Product Fees|\n|provider_fee_rebates|Provider Fee Rebates|\n|provider_fees|Provider Fees|\n|bed_and_isa_transfers|Bed And Isa Transfers|\n|cash_transfers_in|Cash Transfers In|\n|cash_transfers_out|Cash Transfers Out|\n|inter_account_transfers_in|Inter Account Transfers In|\n|inter_account_transfers_out|Inter Account Transfers Out|\n|reregistrations_in|Reregistrations In|\n|reregistrations_out|Reregistrations Out|\n|acquisitions|Acquisitions|\n|asset_closures|Asset Closures|\n|bonus_issues|Bonus Issues|\n|capital_reorganisations|Capital Reorganisations|\n|capital_returns|Capital Returns|\n|closed_offers|Closed Offers|\n|compulsory_call_payments|Compulsory Call Payments|\n|consolidations|Consolidations|\n|de_mergers|De Mergers|\n|early_withdrawals|Early Withdrawals|\n|fund_mergers|Fund Mergers|\n|liquidations|Liquidations|\n|mergers|Mergers|\n|open_offers|Open Offers|\n|optional_call_conversions|Optional Call Conversions|\n|optional_call_payments|Optional Call Payments|\n|optional_conversions|Optional Conversions|\n|optional_redemptions|Optional Redemptions|\n|rights_issues|Rights Issues|\n|scheme_of_arrangements|Scheme Of Arrangements|\n|scrip_dividends|Scrip Dividends|\n|share_offers|Share Offers|\n|stock_splits|Stock Splits|\n|subdivisions|Subdivisions|\n|subscription_offers|Subscription Offers|\n|subscriptions|Subscriptions|\n|take_overs|Take Overs|\n|tender_offers|Tender Offers|\n|credit_adjustments|Credit Adjustments|\n|debit_adjustments|Debit Adjustments|\n|early_redemption|Early Redemption|\n|external_value|External Value|\n|insurance_premium_adjustments|Insurance Premium Adjustments|\n|interest_adjustments|Interest Adjustments|\n|share_capital_reductions|Share Capital Reductions|\n|surcharge_adjustments|Surcharge Adjustments|\n|trade_correction|Trade Correction|\n|lump_sum|Lump Sum|\n|regular|Regular|\n|reinvestment_of_income|Reinvestment Of Income|\n|transfer_in|Transfer In|\n|amc_cash_rebates|Amc Cash Rebates|\n|amc_unit_rebates|Amc Unit Rebates|\n|tax_rebates|Tax Rebates|\n|asset_conversions|Asset Conversions|\n|auto_disinvestments|Auto Disinvestments|\n|buys|Buys|\n|rebalances|Rebalances|\n|sells|Sells|\n|switches|Switches|\n|dividend|Dividend|\n|dividend_tax|Dividend Tax|\n|interest|Interest|\n|bed_and_isa_payments|Bed And Isa Payments|\n|corrections|Corrections|\n|lump_sum_payments|Lump Sum Payments|\n|pension_tax_relief|Pension Tax Relief|\n|regular_employer_payments|Regular Employer Payments|\n|regular_payments|Regular Payments|\n|bond_assignments|Bond Assignments|\n|lump_sum_withdrawals|Lump Sum Withdrawals|\n|natural_income|Natural Income|\n|regular_withdrawals|Regular Withdrawals|\n|income_distributions|Income Distributions|\n|interest_distributions|Interest Distributions|\n|other|Other|","enum":["advice_fee_adjustments","advice_fee_refunds","advice_fees_ad_hoc","advice_fees_annual","advice_fees_initial","discretionary_fund_manager_fees","nucleus_fee_rebates","nucleus_fees","product_fees","provider_fee_rebates","provider_fees","bed_and_isa_transfers","cash_transfers_in","cash_transfers_out","inter_account_transfers_in","inter_account_transfers_out","reregistrations_in","reregistrations_out","acquisitions","asset_closures","bonus_issues","capital_reorganisations","capital_returns","closed_offers","compulsory_call_payments","consolidations","de_mergers","early_withdrawals","fund_mergers","liquidations","mergers","open_offers","optional_call_conversions","optional_call_payments","optional_conversions","optional_redemptions","rights_issues","scheme_of_arrangements","scrip_dividends","share_offers","stock_splits","subdivisions","subscription_offers","subscriptions","take_overs","tender_offers","credit_adjustments","debit_adjustments","early_redemption","external_value","insurance_premium_adjustments","interest_adjustments","share_capital_reductions","surcharge_adjustments","trade_correction","lump_sum","regular","reinvestment_of_income","transfer_in","amc_cash_rebates","amc_unit_rebates","tax_rebates","asset_conversions","auto_disinvestments","buys","rebalances","sells","switches","dividend","dividend_tax","interest","bed_and_isa_payments","corrections","lump_sum_payments","pension_tax_relief","regular_employer_payments","regular_payments","bond_assignments","lump_sum_withdrawals","natural_income","regular_withdrawals","income_distributions","interest_distributions","other"]},"amount":{"type":"integer","example":1099,"description":"Transaction amount in pennies"},"date":{"type":"string","example":"2026-11-18","description":"Transaction date","format":"date"},"notes":{"type":"string","example":"Notes about the transaction","description":"Transaction note","maxLength":1000,"nullable":true}}},"App_Http_Requests_Transaction_UpdateTransactionRequest":{"type":"object","properties":{"type":{"type":"string","example":"adjustment","description":"\n\nTransaction type.\n\n| Value | Description |\n| ----- | ----------- |\n|adjustment|Adjustment|\n|adviser_fee|Adviser Fee|\n|contribution|Contribution|\n|corporate_action|Corporate Action|\n|distribution|Distribution|\n|fee|Fee|\n|income|Income|\n|payment|Payment|\n|provider_fee|Provider Fee|\n|rebate|Rebate|\n|trade|Trade|\n|transfer|Transfer|\n|withdrawal|Withdrawal|\n|other|Other|","enum":["adjustment","adviser_fee","contribution","corporate_action","distribution","fee","income","payment","provider_fee","rebate","trade","transfer","withdrawal","other"]},"sub_type":{"type":"string","example":"advice_fee_adjustments","description":"\n\nTransaction sub type\n\n| Value | Description |\n| ----- | ----------- |\n|advice_fee_adjustments|Advice Fee Adjustments|\n|advice_fee_refunds|Advice Fee Refunds|\n|advice_fees_ad_hoc|Advice Fees Ad Hoc|\n|advice_fees_annual|Advice Fees Annual|\n|advice_fees_initial|Advice Fees Initial|\n|discretionary_fund_manager_fees|Discretionary Fund Manager Fees|\n|nucleus_fee_rebates|Nucleus Fee Rebates|\n|nucleus_fees|Nucleus Fees|\n|product_fees|Product Fees|\n|provider_fee_rebates|Provider Fee Rebates|\n|provider_fees|Provider Fees|\n|bed_and_isa_transfers|Bed And Isa Transfers|\n|cash_transfers_in|Cash Transfers In|\n|cash_transfers_out|Cash Transfers Out|\n|inter_account_transfers_in|Inter Account Transfers In|\n|inter_account_transfers_out|Inter Account Transfers Out|\n|reregistrations_in|Reregistrations In|\n|reregistrations_out|Reregistrations Out|\n|acquisitions|Acquisitions|\n|asset_closures|Asset Closures|\n|bonus_issues|Bonus Issues|\n|capital_reorganisations|Capital Reorganisations|\n|capital_returns|Capital Returns|\n|closed_offers|Closed Offers|\n|compulsory_call_payments|Compulsory Call Payments|\n|consolidations|Consolidations|\n|de_mergers|De Mergers|\n|early_withdrawals|Early Withdrawals|\n|fund_mergers|Fund Mergers|\n|liquidations|Liquidations|\n|mergers|Mergers|\n|open_offers|Open Offers|\n|optional_call_conversions|Optional Call Conversions|\n|optional_call_payments|Optional Call Payments|\n|optional_conversions|Optional Conversions|\n|optional_redemptions|Optional Redemptions|\n|rights_issues|Rights Issues|\n|scheme_of_arrangements|Scheme Of Arrangements|\n|scrip_dividends|Scrip Dividends|\n|share_offers|Share Offers|\n|stock_splits|Stock Splits|\n|subdivisions|Subdivisions|\n|subscription_offers|Subscription Offers|\n|subscriptions|Subscriptions|\n|take_overs|Take Overs|\n|tender_offers|Tender Offers|\n|credit_adjustments|Credit Adjustments|\n|debit_adjustments|Debit Adjustments|\n|early_redemption|Early Redemption|\n|external_value|External Value|\n|insurance_premium_adjustments|Insurance Premium Adjustments|\n|interest_adjustments|Interest Adjustments|\n|share_capital_reductions|Share Capital Reductions|\n|surcharge_adjustments|Surcharge Adjustments|\n|trade_correction|Trade Correction|\n|lump_sum|Lump Sum|\n|regular|Regular|\n|reinvestment_of_income|Reinvestment Of Income|\n|transfer_in|Transfer In|\n|amc_cash_rebates|Amc Cash Rebates|\n|amc_unit_rebates|Amc Unit Rebates|\n|tax_rebates|Tax Rebates|\n|asset_conversions|Asset Conversions|\n|auto_disinvestments|Auto Disinvestments|\n|buys|Buys|\n|rebalances|Rebalances|\n|sells|Sells|\n|switches|Switches|\n|dividend|Dividend|\n|dividend_tax|Dividend Tax|\n|interest|Interest|\n|bed_and_isa_payments|Bed And Isa Payments|\n|corrections|Corrections|\n|lump_sum_payments|Lump Sum Payments|\n|pension_tax_relief|Pension Tax Relief|\n|regular_employer_payments|Regular Employer Payments|\n|regular_payments|Regular Payments|\n|bond_assignments|Bond Assignments|\n|lump_sum_withdrawals|Lump Sum Withdrawals|\n|natural_income|Natural Income|\n|regular_withdrawals|Regular Withdrawals|\n|income_distributions|Income Distributions|\n|interest_distributions|Interest Distributions|\n|other|Other|","enum":["advice_fee_adjustments","advice_fee_refunds","advice_fees_ad_hoc","advice_fees_annual","advice_fees_initial","discretionary_fund_manager_fees","nucleus_fee_rebates","nucleus_fees","product_fees","provider_fee_rebates","provider_fees","bed_and_isa_transfers","cash_transfers_in","cash_transfers_out","inter_account_transfers_in","inter_account_transfers_out","reregistrations_in","reregistrations_out","acquisitions","asset_closures","bonus_issues","capital_reorganisations","capital_returns","closed_offers","compulsory_call_payments","consolidations","de_mergers","early_withdrawals","fund_mergers","liquidations","mergers","open_offers","optional_call_conversions","optional_call_payments","optional_conversions","optional_redemptions","rights_issues","scheme_of_arrangements","scrip_dividends","share_offers","stock_splits","subdivisions","subscription_offers","subscriptions","take_overs","tender_offers","credit_adjustments","debit_adjustments","early_redemption","external_value","insurance_premium_adjustments","interest_adjustments","share_capital_reductions","surcharge_adjustments","trade_correction","lump_sum","regular","reinvestment_of_income","transfer_in","amc_cash_rebates","amc_unit_rebates","tax_rebates","asset_conversions","auto_disinvestments","buys","rebalances","sells","switches","dividend","dividend_tax","interest","bed_and_isa_payments","corrections","lump_sum_payments","pension_tax_relief","regular_employer_payments","regular_payments","bond_assignments","lump_sum_withdrawals","natural_income","regular_withdrawals","income_distributions","interest_distributions","other"]},"amount":{"type":"integer","example":1099,"description":"Transaction amount in pennies"},"date":{"type":"string","example":"2026-11-18","description":"Transaction date","format":"date"},"notes":{"type":"string","example":"Notes about the transaction","description":"Transaction note","maxLength":1000,"nullable":true}}},"App_Http_Requests_Transaction_StoreTransactionScheduleRequest":{"type":"object","required":["type","amount","frequency","start_date"],"properties":{"sub_account_uuid":{"type":"string","example":"a97ccb9e-9665-4e55-819d-dce15a9dbc7c","description":"Sub account to add the transaction to, if not provided if will go to the plan's main account","format":"uuid"},"holding_uuid":{"type":"string","example":"21a024bd-cc00-43f9-91c0-73b99e834a73","description":"Holding to add the transaction to.  Holding must exist for the main account, or to the sub account if sub_account_uuid is provided","format":"uuid"},"type":{"type":"string","example":"adjustment","description":"\n\nTransaction type.  Valid types are: adjustment, adviser_fee, contribution, corporate_action, distribution, fee, income, payment, provider_fee, rebate, trade, transfer, withdrawal and other\n\n| Value | Description |\n| ----- | ----------- |\n|adjustment|Adjustment|\n|adviser_fee|Adviser Fee|\n|contribution|Contribution|\n|corporate_action|Corporate Action|\n|distribution|Distribution|\n|fee|Fee|\n|income|Income|\n|payment|Payment|\n|provider_fee|Provider Fee|\n|rebate|Rebate|\n|trade|Trade|\n|transfer|Transfer|\n|withdrawal|Withdrawal|\n|other|Other|","enum":["adjustment","adviser_fee","contribution","corporate_action","distribution","fee","income","payment","provider_fee","rebate","trade","transfer","withdrawal","other"]},"sub_type":{"type":"string","example":"advice_fee_adjustments","description":"\n\nTransaction sub type. Valid types are: advice_fee_adjustments, advice_fee_refunds, advice_fees_ad_hoc, advice_fees_annual, advice_fees_initial, discretionary_fund_manager_fees, nucleus_fee_rebates, nucleus_fees, product_fees, provider_fee_rebates, provider_fees, bed_and_isa_transfers, cash_transfers_in, cash_transfers_out, inter_account_transfers_in, inter_account_transfers_out, reregistrations_in, reregistrations_out, acquisitions, asset_closures, bonus_issues, capital_reorganisations, capital_returns, closed_offers, compulsory_call_payments, consolidations, de_mergers, early_withdrawals, fund_mergers, liquidations, mergers, open_offers, optional_call_conversions, optional_call_payments, optional_conversions, optional_redemptions, rights_issues, scheme_of_arrangements, scrip_dividends, share_offers, stock_splits, subdivisions, subscription_offers, subscriptions, take_overs, tender_offers, credit_adjustments, debit_adjustments, early_redemption, external_value, insurance_premium_adjustments, interest_adjustments, share_capital_reductions, surcharge_adjustments, trade_correction, lump_sum, regular, reinvestment_of_income, transfer_in, amc_cash_rebates, amc_unit_rebates, tax_rebates, asset_conversions, auto_disinvestments, buys, rebalances, sells, switches, dividend, dividend_tax, interest, bed_and_isa_payments, corrections, lump_sum_payments, pension_tax_relief, regular_employer_payments, regular_payments, bond_assignments, lump_sum_withdrawals, natural_income, regular_withdrawals, income_distributions, interest_distributions and other\n\n| Value | Description |\n| ----- | ----------- |\n|advice_fee_adjustments|Advice Fee Adjustments|\n|advice_fee_refunds|Advice Fee Refunds|\n|advice_fees_ad_hoc|Advice Fees Ad Hoc|\n|advice_fees_annual|Advice Fees Annual|\n|advice_fees_initial|Advice Fees Initial|\n|discretionary_fund_manager_fees|Discretionary Fund Manager Fees|\n|nucleus_fee_rebates|Nucleus Fee Rebates|\n|nucleus_fees|Nucleus Fees|\n|product_fees|Product Fees|\n|provider_fee_rebates|Provider Fee Rebates|\n|provider_fees|Provider Fees|\n|bed_and_isa_transfers|Bed And Isa Transfers|\n|cash_transfers_in|Cash Transfers In|\n|cash_transfers_out|Cash Transfers Out|\n|inter_account_transfers_in|Inter Account Transfers In|\n|inter_account_transfers_out|Inter Account Transfers Out|\n|reregistrations_in|Reregistrations In|\n|reregistrations_out|Reregistrations Out|\n|acquisitions|Acquisitions|\n|asset_closures|Asset Closures|\n|bonus_issues|Bonus Issues|\n|capital_reorganisations|Capital Reorganisations|\n|capital_returns|Capital Returns|\n|closed_offers|Closed Offers|\n|compulsory_call_payments|Compulsory Call Payments|\n|consolidations|Consolidations|\n|de_mergers|De Mergers|\n|early_withdrawals|Early Withdrawals|\n|fund_mergers|Fund Mergers|\n|liquidations|Liquidations|\n|mergers|Mergers|\n|open_offers|Open Offers|\n|optional_call_conversions|Optional Call Conversions|\n|optional_call_payments|Optional Call Payments|\n|optional_conversions|Optional Conversions|\n|optional_redemptions|Optional Redemptions|\n|rights_issues|Rights Issues|\n|scheme_of_arrangements|Scheme Of Arrangements|\n|scrip_dividends|Scrip Dividends|\n|share_offers|Share Offers|\n|stock_splits|Stock Splits|\n|subdivisions|Subdivisions|\n|subscription_offers|Subscription Offers|\n|subscriptions|Subscriptions|\n|take_overs|Take Overs|\n|tender_offers|Tender Offers|\n|credit_adjustments|Credit Adjustments|\n|debit_adjustments|Debit Adjustments|\n|early_redemption|Early Redemption|\n|external_value|External Value|\n|insurance_premium_adjustments|Insurance Premium Adjustments|\n|interest_adjustments|Interest Adjustments|\n|share_capital_reductions|Share Capital Reductions|\n|surcharge_adjustments|Surcharge Adjustments|\n|trade_correction|Trade Correction|\n|lump_sum|Lump Sum|\n|regular|Regular|\n|reinvestment_of_income|Reinvestment Of Income|\n|transfer_in|Transfer In|\n|amc_cash_rebates|Amc Cash Rebates|\n|amc_unit_rebates|Amc Unit Rebates|\n|tax_rebates|Tax Rebates|\n|asset_conversions|Asset Conversions|\n|auto_disinvestments|Auto Disinvestments|\n|buys|Buys|\n|rebalances|Rebalances|\n|sells|Sells|\n|switches|Switches|\n|dividend|Dividend|\n|dividend_tax|Dividend Tax|\n|interest|Interest|\n|bed_and_isa_payments|Bed And Isa Payments|\n|corrections|Corrections|\n|lump_sum_payments|Lump Sum Payments|\n|pension_tax_relief|Pension Tax Relief|\n|regular_employer_payments|Regular Employer Payments|\n|regular_payments|Regular Payments|\n|bond_assignments|Bond Assignments|\n|lump_sum_withdrawals|Lump Sum Withdrawals|\n|natural_income|Natural Income|\n|regular_withdrawals|Regular Withdrawals|\n|income_distributions|Income Distributions|\n|interest_distributions|Interest Distributions|\n|other|Other|","enum":["advice_fee_adjustments","advice_fee_refunds","advice_fees_ad_hoc","advice_fees_annual","advice_fees_initial","discretionary_fund_manager_fees","nucleus_fee_rebates","nucleus_fees","product_fees","provider_fee_rebates","provider_fees","bed_and_isa_transfers","cash_transfers_in","cash_transfers_out","inter_account_transfers_in","inter_account_transfers_out","reregistrations_in","reregistrations_out","acquisitions","asset_closures","bonus_issues","capital_reorganisations","capital_returns","closed_offers","compulsory_call_payments","consolidations","de_mergers","early_withdrawals","fund_mergers","liquidations","mergers","open_offers","optional_call_conversions","optional_call_payments","optional_conversions","optional_redemptions","rights_issues","scheme_of_arrangements","scrip_dividends","share_offers","stock_splits","subdivisions","subscription_offers","subscriptions","take_overs","tender_offers","credit_adjustments","debit_adjustments","early_redemption","external_value","insurance_premium_adjustments","interest_adjustments","share_capital_reductions","surcharge_adjustments","trade_correction","lump_sum","regular","reinvestment_of_income","transfer_in","amc_cash_rebates","amc_unit_rebates","tax_rebates","asset_conversions","auto_disinvestments","buys","rebalances","sells","switches","dividend","dividend_tax","interest","bed_and_isa_payments","corrections","lump_sum_payments","pension_tax_relief","regular_employer_payments","regular_payments","bond_assignments","lump_sum_withdrawals","natural_income","regular_withdrawals","income_distributions","interest_distributions","other"]},"amount":{"type":"integer","example":1099,"description":"Transaction amount in pennies"},"frequency":{"type":"string","example":"daily","description":"\n\nHow often to automatically create transactions\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually"]},"start_date":{"type":"string","example":"2026-11-18","description":"Automatically create transactions from this date","format":"date"},"end_date":{"type":"string","example":"2029-08-14","description":"Stop automatically creating transactions after this date. Leave as null for indefinitely.","format":"date"},"provider_controlled":{"type":"boolean","example":false,"description":"Boolean to denote whether the provider feeds (if available) are responsible for creating the recurring transactions. If false then Plannr will create these recurring transactions using this transaction schedule"},"backdate_transactions":{"type":"boolean","example":true,"description":"When true this will create the transactions from the given start date"}}},"App_Http_Requests_Transaction_UpdateTransactionScheduleRequest":{"type":"object","properties":{"type":{"type":"string","example":"adjustment","description":"\n\nTransaction type.  Valid types are: adjustment, adviser_fee, contribution, corporate_action, distribution, fee, income, payment, provider_fee, rebate, trade, transfer, withdrawal and other\n\n| Value | Description |\n| ----- | ----------- |\n|adjustment|Adjustment|\n|adviser_fee|Adviser Fee|\n|contribution|Contribution|\n|corporate_action|Corporate Action|\n|distribution|Distribution|\n|fee|Fee|\n|income|Income|\n|payment|Payment|\n|provider_fee|Provider Fee|\n|rebate|Rebate|\n|trade|Trade|\n|transfer|Transfer|\n|withdrawal|Withdrawal|\n|other|Other|","enum":["adjustment","adviser_fee","contribution","corporate_action","distribution","fee","income","payment","provider_fee","rebate","trade","transfer","withdrawal","other"]},"sub_type":{"type":"string","example":"advice_fee_adjustments","description":"\n\nTransaction sub type. Valid types are: advice_fee_adjustments, advice_fee_refunds, advice_fees_ad_hoc, advice_fees_annual, advice_fees_initial, discretionary_fund_manager_fees, nucleus_fee_rebates, nucleus_fees, product_fees, provider_fee_rebates, provider_fees, bed_and_isa_transfers, cash_transfers_in, cash_transfers_out, inter_account_transfers_in, inter_account_transfers_out, reregistrations_in, reregistrations_out, acquisitions, asset_closures, bonus_issues, capital_reorganisations, capital_returns, closed_offers, compulsory_call_payments, consolidations, de_mergers, early_withdrawals, fund_mergers, liquidations, mergers, open_offers, optional_call_conversions, optional_call_payments, optional_conversions, optional_redemptions, rights_issues, scheme_of_arrangements, scrip_dividends, share_offers, stock_splits, subdivisions, subscription_offers, subscriptions, take_overs, tender_offers, credit_adjustments, debit_adjustments, early_redemption, external_value, insurance_premium_adjustments, interest_adjustments, share_capital_reductions, surcharge_adjustments, trade_correction, lump_sum, regular, reinvestment_of_income, transfer_in, amc_cash_rebates, amc_unit_rebates, tax_rebates, asset_conversions, auto_disinvestments, buys, rebalances, sells, switches, dividend, dividend_tax, interest, bed_and_isa_payments, corrections, lump_sum_payments, pension_tax_relief, regular_employer_payments, regular_payments, bond_assignments, lump_sum_withdrawals, natural_income, regular_withdrawals, income_distributions, interest_distributions and other\n\n| Value | Description |\n| ----- | ----------- |\n|advice_fee_adjustments|Advice Fee Adjustments|\n|advice_fee_refunds|Advice Fee Refunds|\n|advice_fees_ad_hoc|Advice Fees Ad Hoc|\n|advice_fees_annual|Advice Fees Annual|\n|advice_fees_initial|Advice Fees Initial|\n|discretionary_fund_manager_fees|Discretionary Fund Manager Fees|\n|nucleus_fee_rebates|Nucleus Fee Rebates|\n|nucleus_fees|Nucleus Fees|\n|product_fees|Product Fees|\n|provider_fee_rebates|Provider Fee Rebates|\n|provider_fees|Provider Fees|\n|bed_and_isa_transfers|Bed And Isa Transfers|\n|cash_transfers_in|Cash Transfers In|\n|cash_transfers_out|Cash Transfers Out|\n|inter_account_transfers_in|Inter Account Transfers In|\n|inter_account_transfers_out|Inter Account Transfers Out|\n|reregistrations_in|Reregistrations In|\n|reregistrations_out|Reregistrations Out|\n|acquisitions|Acquisitions|\n|asset_closures|Asset Closures|\n|bonus_issues|Bonus Issues|\n|capital_reorganisations|Capital Reorganisations|\n|capital_returns|Capital Returns|\n|closed_offers|Closed Offers|\n|compulsory_call_payments|Compulsory Call Payments|\n|consolidations|Consolidations|\n|de_mergers|De Mergers|\n|early_withdrawals|Early Withdrawals|\n|fund_mergers|Fund Mergers|\n|liquidations|Liquidations|\n|mergers|Mergers|\n|open_offers|Open Offers|\n|optional_call_conversions|Optional Call Conversions|\n|optional_call_payments|Optional Call Payments|\n|optional_conversions|Optional Conversions|\n|optional_redemptions|Optional Redemptions|\n|rights_issues|Rights Issues|\n|scheme_of_arrangements|Scheme Of Arrangements|\n|scrip_dividends|Scrip Dividends|\n|share_offers|Share Offers|\n|stock_splits|Stock Splits|\n|subdivisions|Subdivisions|\n|subscription_offers|Subscription Offers|\n|subscriptions|Subscriptions|\n|take_overs|Take Overs|\n|tender_offers|Tender Offers|\n|credit_adjustments|Credit Adjustments|\n|debit_adjustments|Debit Adjustments|\n|early_redemption|Early Redemption|\n|external_value|External Value|\n|insurance_premium_adjustments|Insurance Premium Adjustments|\n|interest_adjustments|Interest Adjustments|\n|share_capital_reductions|Share Capital Reductions|\n|surcharge_adjustments|Surcharge Adjustments|\n|trade_correction|Trade Correction|\n|lump_sum|Lump Sum|\n|regular|Regular|\n|reinvestment_of_income|Reinvestment Of Income|\n|transfer_in|Transfer In|\n|amc_cash_rebates|Amc Cash Rebates|\n|amc_unit_rebates|Amc Unit Rebates|\n|tax_rebates|Tax Rebates|\n|asset_conversions|Asset Conversions|\n|auto_disinvestments|Auto Disinvestments|\n|buys|Buys|\n|rebalances|Rebalances|\n|sells|Sells|\n|switches|Switches|\n|dividend|Dividend|\n|dividend_tax|Dividend Tax|\n|interest|Interest|\n|bed_and_isa_payments|Bed And Isa Payments|\n|corrections|Corrections|\n|lump_sum_payments|Lump Sum Payments|\n|pension_tax_relief|Pension Tax Relief|\n|regular_employer_payments|Regular Employer Payments|\n|regular_payments|Regular Payments|\n|bond_assignments|Bond Assignments|\n|lump_sum_withdrawals|Lump Sum Withdrawals|\n|natural_income|Natural Income|\n|regular_withdrawals|Regular Withdrawals|\n|income_distributions|Income Distributions|\n|interest_distributions|Interest Distributions|\n|other|Other|","enum":["advice_fee_adjustments","advice_fee_refunds","advice_fees_ad_hoc","advice_fees_annual","advice_fees_initial","discretionary_fund_manager_fees","nucleus_fee_rebates","nucleus_fees","product_fees","provider_fee_rebates","provider_fees","bed_and_isa_transfers","cash_transfers_in","cash_transfers_out","inter_account_transfers_in","inter_account_transfers_out","reregistrations_in","reregistrations_out","acquisitions","asset_closures","bonus_issues","capital_reorganisations","capital_returns","closed_offers","compulsory_call_payments","consolidations","de_mergers","early_withdrawals","fund_mergers","liquidations","mergers","open_offers","optional_call_conversions","optional_call_payments","optional_conversions","optional_redemptions","rights_issues","scheme_of_arrangements","scrip_dividends","share_offers","stock_splits","subdivisions","subscription_offers","subscriptions","take_overs","tender_offers","credit_adjustments","debit_adjustments","early_redemption","external_value","insurance_premium_adjustments","interest_adjustments","share_capital_reductions","surcharge_adjustments","trade_correction","lump_sum","regular","reinvestment_of_income","transfer_in","amc_cash_rebates","amc_unit_rebates","tax_rebates","asset_conversions","auto_disinvestments","buys","rebalances","sells","switches","dividend","dividend_tax","interest","bed_and_isa_payments","corrections","lump_sum_payments","pension_tax_relief","regular_employer_payments","regular_payments","bond_assignments","lump_sum_withdrawals","natural_income","regular_withdrawals","income_distributions","interest_distributions","other"]},"amount":{"type":"integer","example":1099,"description":"Transaction amount in pennies"},"frequency":{"type":"string","example":"daily","description":"\n\nHow often to automatically create transactions\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually"]},"start_date":{"type":"string","example":"2026-11-18","description":"Automatically create transactions from this date","format":"date"},"end_date":{"type":"string","example":"2029-08-14","description":"Stop automatically creating transactions after this date","format":"date"},"provider_controlled":{"type":"boolean","example":false,"description":"Boolean to denote whether the provider feeds (if available) are responsible for creating the recurring transactions. If false then Plannr will create these recurring transactions using this transaction schedule"},"paused_until":{"type":"string","example":"2027-07-18","description":"Pause creating transactions up until this date. To unpause set to null","format":"date"}}},"App_Http_Requests_Plans_StoreCoverRequest":{"type":"object","required":["cover_type","benefit_amount","benefit_frequency","benefit_status","indexation","excess"],"properties":{"client_uuid":{"type":"string","example":"01289fe8-c01e-42ea-9c30-56b1100b82dc","description":"Client who is claiming this cover. Must be able to access this plan. Only for protection policies.","format":"uuid"},"cover_type":{"type":"string","example":"asu","description":"Cover type.","enum":["asu","additional_rider_benefit","critical_illness","family_income_benefit","income_insurance","life_assurance","tpd_total_permanent_disability","trauma_insurance","waiver_of_premium","unknown","3rd_party","3rd_party_fire_and_theft","accidental_damage","ambulance","buildings","buildings_and_contents","business","comprehensive","contents","dental","extras","hospital_cash","optical","personal_possessions","private","private_hospital","specialist"]},"benefit_amount":{"type":"integer","example":892176,"description":"Benefit amount in pennies. Only for protection policies."},"benefit_frequency":{"type":"string","example":"daily","description":"\n\nBenefit frequency. Only for protection policies.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"benefit_status":{"type":"string","example":"active","description":"\n\nBenefit status. Only for protection policies.\n\n| Value | Description |\n| ----- | ----------- |\n|active|Active|\n|inactive|Inactive|\n|proposed|Proposed|","enum":["active","inactive","proposed"]},"indexation":{"type":"number","example":1.45,"description":"Indexation. Only for protection policies.","format":"float"},"excess":{"type":"integer","example":150000,"description":"Excess amount in pennies. Only for insurance policies."},"beneficiaries":{"type":"array","example":[],"description":"The beneficiaries of the plan.","items":{"type":"object","example":[{"name":"John Smith","percentage":50},{"name":"Jane Doe","percentage":20}],"properties":{"name":{"type":"string","example":"John Smith","description":"The name of the beneficiary."},"percentage":{"type":"number","example":50.0,"description":"The percentage allocated to the beneficiary.","format":"float","minimum":0.0,"maximum":100.0}}}}}},"App_Http_Requests_Plans_UpdateCoverRequest":{"type":"object","properties":{"cover_type":{"type":"string","example":"3rd_party","description":"\n\nCover type.\n\n| Value | Description |\n| ----- | ----------- |\n|3rd_party|3rd Party|\n|3rd_party_fire_and_theft|3rd Party Fire And Theft|\n|accidental_damage|Accidental Damage|\n|additional_rider_benefit|Additional Rider Benefit|\n|ambulance|Ambulance|\n|asu|ASU|\n|buildings|Buildings|\n|buildings_and_contents|Buildings And Contents|\n|business|Business|\n|comprehensive|Comprehensive|\n|contents|Contents|\n|critical_illness|Critical Illness|\n|dental|Dental|\n|extras|Extras|\n|family_income_benefit|Family Income Benefit|\n|hospital_cash|Hospital Cash|\n|income_insurance|Income Insurance|\n|life_assurance|Life Assurance|\n|optical|Optical|\n|personal_possessions|Personal Possessions|\n|private|Private|\n|private_hospital|Private Hospital|\n|specialist|Specialist|\n|tpd_total_permanent_disability|TPD (Total Permanent Disability)|\n|trauma_insurance|Trauma Insurance|\n|waiver_of_premium|Waiver Of Premium|\n|unknown|Unknown|","enum":["3rd_party","3rd_party_fire_and_theft","accidental_damage","additional_rider_benefit","ambulance","asu","buildings","buildings_and_contents","business","comprehensive","contents","critical_illness","dental","extras","family_income_benefit","hospital_cash","income_insurance","life_assurance","optical","personal_possessions","private","private_hospital","specialist","tpd_total_permanent_disability","trauma_insurance","waiver_of_premium","unknown"]},"benefit_amount":{"type":"integer","example":892176,"description":"Benefit amount in pennies. Only for protection policies."},"benefit_status":{"type":"string","example":"active","description":"\n\nBenefit status. Only for protection policies. Valid options are: active, inactive and proposed\n\n| Value | Description |\n| ----- | ----------- |\n|active|Active|\n|inactive|Inactive|\n|proposed|Proposed|","enum":["active","inactive","proposed"]},"indexation":{"type":"number","example":1.45,"description":"Indexation. Only for protection policies.","format":"float"},"excess":{"type":"integer","example":150000,"description":"Excess amount in pennies. Only for insurance policies."},"beneficiaries":{"type":"array","example":[],"description":"The beneficiaries of the plan. UUID is a required property to update an exising beneficiary. Any beneficiaries UUIDs not included will be deleted on the plan. Any beneficiaries without a UUID are assumed to be a new beneficiary and will be created.","items":{"type":"object","example":{"name":"John Smith","percentage":20.02,"uuid":"df66294a-ec11-46b5-b894-3d8612ae15c1"},"properties":{"name":{"type":"string","example":"John Smith","description":"The name of the beneficiary."},"percentage":{"type":"number","example":20.02,"description":"Percentage due to the beneficiary.","format":"float","minimum":0.0,"maximum":100.0},"uuid":{"type":"string","example":"df66294a-ec11-46b5-b894-3d8612ae15c1","description":"The UUID of the beneficiary - if not present a new beneficiary will be created.","format":"uuid"}}}}}},"App_Http_Requests_Plans_StoreClaimRequest":{"type":"object","required":["claim_amount","claim_start_date"],"properties":{"client_uuid":{"type":"string","example":"f7bf284d-bfe6-4a12-9677-142db13ba7a4","description":"Client who is claiming this cover. Must be able to access this plan.","format":"uuid"},"claim_amount":{"type":"integer","example":892176,"description":"Claim amount in pennies."},"claim_start_date":{"type":"string","example":"2024-11-18","description":"Claim start date","format":"date"},"claim_end_date":{"type":"string","example":"2031-11-18","description":"Claim end date","format":"date"},"claim_notes":{"type":"string","example":"Claim notes","description":"Claim notes","format":"date"}}},"App_Http_Requests_Plans_UpdateClaimRequest":{"type":"object","properties":{"claim_amount":{"type":"integer","example":892176,"description":"Claim amount in pennies."},"claim_start_date":{"type":"string","example":"2024-11-18","description":"Claim start date","format":"date"},"claim_end_date":{"type":"string","example":"2031-11-18","description":"Claim end date","format":"date","nullable":true},"claim_notes":{"type":"string","example":"Claim notes","description":"Claim notes","nullable":true}}},"App_Http_Requests_Plans_StoreBeneficiaryRequest":{"type":"object","required":["name","percentage"],"properties":{"name":{"type":"string","example":"John Smith","description":"Name of the beneficiary."},"percentage":{"type":"number","example":50.25,"description":"Percentage due to the beneficiary.","format":"float","minimum":0.0,"maximum":100.0}}},"App_Http_Requests_Plans_UpdateBeneficiaryRequest":{"type":"object","properties":{"name":{"type":"string","example":"John Smith","description":"Name of the beneficiary."},"percentage":{"type":"number","example":50.75,"description":"Percentage due to the beneficiary.","format":"float","minimum":0.0,"maximum":100.0}}},"App_Http_Requests_Plans_StorePremiumRequest":{"type":"object","required":["transfer_type","date_advice_given","amount","percentage","frequency","payment_method","start_date"],"properties":{"transfer_type":{"type":"string","example":"switch","description":"\n\nTransfer type.\n\n| Value | Description |\n| ----- | ----------- |\n|switch|Switch|\n|transfer|Transfer|","enum":["switch","transfer"]},"date_advice_given":{"type":"string","example":"2026-05-28","description":"Date advice given","format":"date"},"amount":{"type":"integer","example":250000,"description":"Premium amount in pennies. Either amount or percentage can be given in request"},"percentage":{"type":"number","example":5.5,"description":"Premium percentage of the plans pensionable salary. Either amount or percentage can be given in request","format":"float","minimum":0.0,"maximum":100.0},"frequency":{"type":"string","example":"daily","description":"\n\nPremium frequency\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"source":{"type":"string","example":"employee","description":"\n\nPremium source, only for pension plans.\n\n| Value | Description |\n| ----- | ----------- |\n|employee|Employee|\n|employer|Employer|","enum":["employee","employer"]},"payment_method":{"type":"string","example":"salary_sacrifice","description":"\n\nPayment method.\n\n| Value | Description |\n| ----- | ----------- |\n|salary_sacrifice|Salary Sacrifice|\n|salary_deduction|Salary Deduction|\n|direct_debit|Direct Debit|\n|standing_order|Standing Order|\n|cheque|Cheque|\n|bank_transfer|Bank Transfer|","enum":["salary_sacrifice","salary_deduction","direct_debit","standing_order","cheque","bank_transfer"]},"start_date":{"type":"string","example":"2026-10-04","description":"Start date","format":"date"},"end_date":{"type":"string","example":"2028-11-18","description":"End date. Leave blank for ongoing","format":"date"},"details":{"type":"string","example":"Any extra details about the premium","description":"Details"},"transferred_from_plan_uuid":{"type":"string","example":"d06e687d-e476-42d4-af53-eced0f4be454","description":"The plan UUID this premium was transferred from","format":"uuid"},"transferred_from_plan_type":{"type":"string","example":"annuity","description":"\n\nThe plan type this premium was transferred from if the actual plan UUID is unknown\n\n| Value | Description |\n| ----- | ----------- |\n|annuity|Annuity|\n|cash_account|Cash Account|\n|fixed_asset|Fixed Asset|\n|general_insurance|General Insurance|\n|group_protection|Group Protection|\n|investment|Investment|\n|loan_credit|Loan Credit|\n|mortgage|Mortgage|\n|pension|Pension|\n|protection_policy|Protection Policy|","enum":["annuity","cash_account","fixed_asset","general_insurance","group_protection","investment","loan_credit","mortgage","pension","protection_policy"]},"transferred_from_plan_sub_type":{"type":"string","example":"cash_account","description":"\n\nThe plan sub type this premium was transferred from if the actual plan UUID is unknown\n\n| Value | Description |\n| ----- | ----------- |\n|cash_account|Cash Account|\n|cash_deposit|Cash Deposit|\n|isa_mini_cash|ISA (Mini Cash)|\n|isa_tessa_only|ISA (TESSA Only)|\n|lifetime_isa_cash|Lifetime ISA (Cash)|\n|national_savings|National Savings|\n|national_savings_child_bonus_bond|National Savings (Child Bonus Bond)|\n|national_savings_fixed_interest_certificate|National Savings (Fixed Interest Certificate)|\n|national_savings_guaranteed_equity_bond|National Savings (Guaranteed Equity Bond)|\n|national_savings_income_bond|National Savings (Income Bond)|\n|national_savings_index_linked_certificate|National Savings (Index Linked Certificate)|\n|national_savings_national_savings_certificate|National Savings (National Savings Certificate)|\n|national_savings_premium_bonds|National Savings (Premium Bonds)|\n|cash_account_unknown|Unknown|\n|aim_investment_tax_service|AIM Investment Tax Service|\n|bes|BES|\n|business_premises_renovation_allowance|Business Premises Renovation Allowance|\n|child_trust_fund|Child Trust Fund|\n|collective_investment_account|Collective Investment Account|\n|commercial_property_purchase_scheme|Commercial Property Purchase Scheme|\n|debenture|Debenture|\n|discretionary_managed_service|Discretionary Managed Service|\n|employee_benefit_trust|Employee Benefit Trust|\n|enterprise_investment_scheme_non_regulated|Enterprise Investment Scheme (Non-Regulated)|\n|enterprise_investment_scheme_regulated|Enterprise Investment Scheme (Regulated)|\n|enterprise_investment_zone_trust|Enterprise Investment Zone Trust|\n|enterprise_zone_syndicate|Enterprise Zone Syndicate|\n|equity_holdings|Equity Holdings|\n|exchange_traded_fund|Exchange Traded Fund|\n|exempt_property_unit_trust|Exempt Property Unit Trust|\n|film_partnership|Film Partnership|\n|geared_investments|Geared Investments|\n|general_investment_account|General Investment Account|\n|hedge_fund|Hedge Fund|\n|investment_bond|Investment Bond|\n|investment_tax_service|Investment Tax Service|\n|investment_trust|Investment Trust|\n|isa_aim|ISA (AIM)|\n|isa_cash|ISA (Cash)|\n|isa_help_to_buy|ISA (Help To Buy)|\n|isa_maxi|ISA (Maxi)|\n|isa_maxi_mini_transfer|ISA (Maxi/Mini Transfer)|\n|isa_mini_equity|ISA (Mini Equity)|\n|isa_nisa|ISA (Nisa)|\n|isa_stocks_and_shares|ISA (Stocks And Shares)|\n|junior_isa_cash|Junior ISA (Cash)|\n|junior_isa_nisa|Junior ISA (Nisa)|\n|junior_isa_stocks_and_shares|Junior ISA (Stocks And Shares)|\n|lifetime_isa_stocks_and_shares|Lifetime ISA (Stocks And Shares)|\n|maximum_investment_plan_investment|Maximum Investment Plan|\n|non_discretionary_managed_service|Non Discretionary Managed Service|\n|oeic_unit_trust|Oeic/Unit Trust|\n|offshore_bond|Offshore Bond|\n|offshore_deposit|Offshore Deposit|\n|offshore_oeic_fund|Offshore Oeic/Fund|\n|offshore_savings_plan|Offshore Savings Plan|\n|onshore_bond|Onshore Bond|\n|personal_equity_plan|Personal Equity Plan|\n|property_holdings|Property Holdings|\n|property_partnership|Property Partnership|\n|property_syndicate|Property Syndicate|\n|residential_property_development|Residential Property Development|\n|savings_account|Savings Account|\n|seed_enterprise_investment_scheme_non_regulated|Seed Enterprise Investment Scheme (Non-Regulated)|\n|seed_enterprise_investment_scheme_regulated|Seed Enterprise Investment Scheme (Regulated)|\n|share_incentive_plan|Share Incentive Plan|\n|share_save_scheme|Share Save Scheme|\n|sicav|SICAV|\n|structured_plan|Structured Plan|\n|structured_plan_cash_isa|Structured Plan (Cash ISA)|\n|structured_plan_deposit|Structured Plan (Deposit)|\n|structured_plan_medium_term_note|Structured Plan (Medium Term Note)|\n|structured_plan_stocks_shares_isa|Structured Plan (Stocks \u0026 Shares ISA)|\n|tessa|TESSA|\n|trust|Trust|\n|unit_trust|Unit Trust|\n|unregulated_collective_investments|Unregulated Collective Investments|\n|venture_capital_trust_non_regulated|Venture Capital Trust (Non-Regulated)|\n|venture_capital_trust_regulated|Venture Capital Trust (Regulated)|\n|wrap|Wrap|\n|investment_unknown|Unknown|\n|accident_and_sickness_insurance|Accident And Sickness Insurance|\n|accident_sickness_and_unemployment_insurance|Accident Sickness And Unemployment Insurance|\n|accidental_death_insurance|Accidental Death Insurance|\n|business_loan_protection|Business Loan Protection|\n|capital_redemption_policy|Capital Redemption Policy|\n|death_in_service|Death In Service|\n|endowment|Endowment|\n|flexible_plan|Flexible Plan|\n|general_insurance_income_protection|General Insurance (Income Protection)|\n|gift_inter_vivos|Gift Inter Vivos|\n|health_assessment|Health Assessment|\n|income_protection|Income Protection|\n|income_protection_executive|Income Protection (Executive)|\n|income_protection_key_person|Income Protection (Key Person)|\n|life_settlement_fund|Life Settlement Fund|\n|maximum_investment_plan|Maximum Investment Plan|\n|multi_benefit_protection|Multi Benefit Protection|\n|pension_contribution_insurance|Pension Contribution Insurance|\n|pension_term_assurance|Pension Term Assurance|\n|pre_paid_funeral_plan|Pre-Paid Funeral Plan|\n|redundancy_insurance|Redundancy Insurance|\n|relevant_life_policy|Relevant Life Policy|\n|renewable_convertible_term|Renewable Convertible Term|\n|term_protection|Term Protection|\n|term_protection_convertible|Term Protection (Convertible)|\n|term_protection_critical_illness|Term Protection (Critical Illness)|\n|term_protection_decreasing_term|Term Protection (Decreasing Term)|\n|term_protection_decreasing_term_ci|Term Protection (Decreasing Term - CI)|\n|term_protection_decreasing_term_life_ci|Term Protection (Decreasing Term - Life \u0026 CI)|\n|term_protection_directors_share_protection|Term Protection (Directors Share Protection)|\n|term_protection_family_income_protection|Term Protection (Family Income Protection)|\n|term_protection_family_income_protection_ci|Term Protection (Family Income Protection - CI)|\n|term_protection_family_income_protection_life_ci|Term Protection (Family Income Protection - Life \u0026 CI)|\n|term_protection_increasing_term|Term Protection (Increasing Term)|\n|term_protection_key_person_assurance|Term Protection (Key Person Assurance)|\n|term_protection_level|Term Protection (Level)|\n|term_protection_level_ci|Term Protection (Level - CI)|\n|term_protection_level_life_ci|Term Protection (Level - Life \u0026 CI)|\n|term_protection_mortgage_protection|Term Protection (Mortgage Protection)|\n|term_protection_partnership_protection|Term Protection (Partnership Protection)|\n|term_protection_renewable|Term Protection (Renewable)|\n|unemployment_insurance|Unemployment Insurance|\n|whole_of_life|Whole Of Life|\n|whole_of_life_non_investment|Whole Of Life (Non Investment)|\n|will|Will|\n|protection_policy_unknown|Unknown|\n|alternatively_secured_pension_plan|Alternatively Secured Pension Plan|\n|appropriate_personal_pension|Appropriate Personal Pension|\n|avc|AVC|\n|cimp|CIMP|\n|cimp_comp|CIMP \u0026 COMP|\n|comp|COMP|\n|deferred_sipp|Deferred SIPP|\n|defined_benefit_pension|Defined Benefit Pension|\n|dependants_pension|Dependants Pension|\n|efrbs|EFRBS|\n|equivalent_pension_benefits|Equivalent Pension Benefits|\n|executive_pension_plan|Executive Pension Plan|\n|family_sipp|Family SIPP|\n|final_salary_scheme|Final Salary Scheme|\n|fsavc|FSAVC|\n|furbs|FURBS|\n|group_cimp|Group CIMP|\n|group_comp|Group COMP|\n|group_dependants_pension|Group Dependants Pension|\n|group_offshore_pension_scheme|Group Offshore Pension Scheme|\n|group_personal_pension|Group Personal Pension|\n|group_s32_buyout_bond|Group S32 Buyout Bond|\n|group_sipp|Group SIPP|\n|group_stakeholder_pension|Group Stakeholder Pension|\n|income_drawdown_beneficiary|Income Drawdown (Beneficiary)|\n|income_drawdown_capped|Income Drawdown (Capped)|\n|income_drawdown_flexi_access|Income Drawdown (Flexi-Access)|\n|income_drawdown_flexible|Income Drawdown (Flexible)|\n|independent_retirement_advice|Independent Retirement Advice (IRA)|\n|individual_retirement_account|Individual Retirement Account|\n|inherited_independent_retirement_advice|Inherited Independent Retirement Advice (Inherited IRA)|\n|junior_sipp|Junior SIPP|\n|master_trust_pension|Master Trust Pension|\n|money_purchase_contracted|Money Purchase Contracted|\n|national_employers_savings_trust|National Employers Savings Trust (NEST)|\n|offshore_pension|Offshore Pension|\n|pension_fund_withdrawal|Pension Fund Withdrawal|\n|personal_pension_plan|Personal Pension Plan|\n|phased_retirement|Phased Retirement|\n|pia_non_protected_rights|PIA (Non Protected Rights)|\n|qnups|QNUPs|\n|qnups_wrapper|QNUPs Wrapper|\n|qrops|QROPs|\n|qrops_wrapper|QROPs Wrapper|\n|rnups_wrapper|RNUPs Wrapper|\n|roth_inherited_independent_retirement_advice|Roth Inherited Independent Retirement Advice (Roth IRA)|\n|s226_rac|S226 RAC|\n|s32_buyout_bond|S32 Buyout Bond|\n|sipp|SIPP|\n|sipp_wrapper|SIPP Wrapper|\n|ssas|Ssas|\n|stakeholder_individual|Stakeholder Individual|\n|third_way_pensions|Third Way Pensions|\n|trustee_investment_plan|Trustee Investment Plan|\n|unsecured_pension|Unsecured Pension|\n|uurbs|UURBs|\n|workplace_pension_scheme|Workplace Pension Scheme|\n|pension_unknown|Unknown|\n|annuity_non_pension|Annuity (Non Pension)|\n|compulsory_purchase_life_annuity|Compulsory Purchase Life Annuity|\n|deferred_annuity|Deferred Annuity|\n|defined_benefit_trustee_buy_in|Defined Benefit Trustee Buy In|\n|enhanced_pension_annuity|Enhanced Pension Annuity|\n|fixed_term_annuity|Fixed Term Annuity|\n|group_final_salary|Group Final Salary|\n|hancock_annuity|Hancock Annuity|\n|impaired_life_annuity|Impaired Life Annuity|\n|ivpp|IVPP|\n|lifetime_annuity|Lifetime Annuity|\n|pension_annuity|Pension Annuity|\n|pension_annuity_conventional|Pension Annuity (Conventional)|\n|pension_annuity_flexible|Pension Annuity (Flexible)|\n|pension_annuity_impaired_life|Pension Annuity (Impaired Life)|\n|pension_annuity_temporary|Pension Annuity (Temporary)|\n|pension_annuity_unit_linked|Pension Annuity (Unit Linked)|\n|pension_annuity_with_profits|Pension Annuity (With Profits)|\n|purchased_life_annuity|Purchased Life Annuity|\n|scheme_pension|Scheme Pension|\n|annuity_unknown|Unknown|\n|dental_insurance|Dental Insurance|\n|general_insurance_building|General Insurance (Building)|\n|general_insurance_building_contents|General Insurance (Building \u0026 Contents)|\n|general_insurance_commercial_combined|General Insurance (Commercial Combined)|\n|general_insurance_commercial_motor|General Insurance (Commercial Motor)|\n|general_insurance_contents|General Insurance (Contents)|\n|general_insurance_directors_and_officers|General Insurance (Directors And Officers)|\n|general_insurance_extended_warranty|General Insurance (Extended Warranty)|\n|general_insurance_legal_expenses|General Insurance (Legal Expenses)|\n|general_insurance_let_property|General Insurance (Let Property)|\n|general_insurance_liability|General Insurance (Liability)|\n|general_insurance_other|General Insurance Other|\n|general_insurance_payment_protection|General Insurance (Payment Protection)|\n|general_insurance_private_motor|General Insurance (Private Motor)|\n|general_insurance_professional_indemnity|General Insurance (Professional Indemnity)|\n|general_insurance_travel|General Insurance (Travel)|\n|group_travel_insurance|Group Travel Insurance|\n|healthcare_cash_plan|Healthcare Cash Plan|\n|international_private_medical_insurance|International Private Medical Insurance (IPMI)|\n|locum_insurance|Locum Insurance|\n|long_term_care|Long Term Care|\n|long_term_care_immediate|Long Term Care (Immediate)|\n|long_term_care_pre_funded|Long Term Care (Pre-Funded)|\n|private_medical_insurance|Private Medical Insurance|\n|general_insurance_unknown|Unknown|\n|cpb|CPB|\n|employee_assistance_scheme|Employee Assistance Scheme|\n|flexible_benefits|Flexible Benefits|\n|group_accident_and_sickness|Group Accident And Sickness|\n|group_critical_illness|Group Critical Illness|\n|group_death_in_service|Group Death In Service|\n|group_dental_insurance|Group Dental Insurance|\n|group_healthcare_cash_plan|Group Healthcare Cash Plan|\n|group_income_protection|Group Income Protection|\n|group_income_protection_key_person|Group Income Protection (Key Person)|\n|group_key_person_assurance|Group Key Person Assurance|\n|group_life|Group Life|\n|group_life_excepted|Group Life (Excepted)|\n|group_life_registered|Group Life (Registered)|\n|group_partnership_protection|Group Partnership Protection|\n|group_personal_accident|Group Personal Accident|\n|group_pmi|Group PMI|\n|group_relevant_life|Group Relevant Life|\n|group_term|Group Term|\n|group_protection_unknown|Unknown|\n|equity_release|Equity Release|\n|mortgage|Mortgage|\n|mortgage_bridging_loan|Bridging Loan Mortgage|\n|mortgage_business_buy_to_let|Mortgage Business Buy To Let|\n|mortgage_buy_to_let|Buy To Let Mortgage|\n|mortgage_consumer_buy_to_let|Consumer Buy To Let Mortgage|\n|mortgage_council_tenant_to_buy|Council/Tenant To Buy Mortgage|\n|mortgage_foreign_currency|Foreign Currency Mortgage|\n|mortgage_full_status|Mortgage Full Status|\n|mortgage_further_advance|Further Advance Mortgage|\n|mortgage_government_home_ownership_scheme|Government Home Ownership Scheme Mortgage|\n|mortgage_home_purchase_plan|Home Purchase Plan Mortgage|\n|mortgage_investment_property_islamic|Investment Property Islamic Mortgage|\n|mortgage_let_to_buy|Let To Buy Mortgage|\n|mortgage_lifetime|Mortgage Lifetime|\n|mortgage_non_status|Mortgage Non Status|\n|mortgage_primary_residence_islamic|Primary Residence Islamic Mortgage|\n|mortgage_product_transfer|Product Transfer Mortgage|\n|mortgage_remortgage|Remortgage Mortgage|\n|mortgage_right_to_buy|Right To Buy Mortgage|\n|mortgage_second_charge|Second Charge Mortgage|\n|mortgage_second_home|Second Home Mortgage|\n|mortgage_self_build|Self-Build Mortgage|\n|mortgage_self_cert|Mortgage Self Cert|\n|mortgage_shared_ownership|Shared Ownership Mortgage|\n|mortgage_standard_residential|Standard Residential Mortgage|\n|mortgage_non_regulated_bridging_loan|Non-Regulated Bridging Loan Mortgage|\n|mortgage_non_regulated_buy_to_let|Non-Regulated Buy To Let Mortgage|\n|mortgage_non_regulated_commercial|Non-Regulated Commercial Mortgage|\n|mortgage_non_regulated_further_advance|Non-Regulated Further Advance Mortgage|\n|mortgage_non_regulated_offshore|Non-Regulated Offshore Mortgage|\n|mortgage_non_regulated_overseas|Non-Regulated Overseas Mortgage|\n|mortgage_non_regulated_product_transfer|Non-Regulated Product Transfer Mortgage|\n|third_party_mortgage|Third Party Mortgage|\n|mortgage_unknown|Unknown|\n|bridging_loan|Bridging Loan|\n|car_finance|Car Finance|\n|commercial_finance|Commercial Finance|\n|consumer_finance|Consumer Finance|\n|credit_card|Credit Card|\n|landlords|Landlords|\n|lombard_loan|Lombard Loan|\n|other_long_term_loan|Other Long Term Loan|\n|overdraft|Overdraft|\n|partner_loan|Partner Loan|\n|peer_to_peer_loan|Peer To Peer Loan|\n|personal_loan|Personal Loan|\n|personal_loan_secured|Personal Loan (Secured)|\n|personal_loan_unsecured|Personal Loan (Unsecured)|\n|public_liability|Public Liability|\n|student_loan|Student Loan|\n|will_trust_loan|Will Trust Loan|\n|loan_credit_unknown|Unknown|\n|boat|Boat|\n|collectible_art_other|Collectible/Art/Other|\n|land|Land|\n|motor_vehicle|Motor Vehicle|\n|other|Other|\n|own_business|Own Business|\n|property|Property|\n|property_btl|Property (Btl)|\n|property_investment|Property (Investment)|\n|property_rental|Property (Rental)|\n|property_other|Property (Other)|\n|property_overseas|Property (Overseas)|\n|fixed_asset_unknown|Unknown|","enum":["cash_account","cash_deposit","isa_mini_cash","isa_tessa_only","lifetime_isa_cash","national_savings","national_savings_child_bonus_bond","national_savings_fixed_interest_certificate","national_savings_guaranteed_equity_bond","national_savings_income_bond","national_savings_index_linked_certificate","national_savings_national_savings_certificate","national_savings_premium_bonds","cash_account_unknown","aim_investment_tax_service","bes","business_premises_renovation_allowance","child_trust_fund","collective_investment_account","commercial_property_purchase_scheme","debenture","discretionary_managed_service","employee_benefit_trust","enterprise_investment_scheme_non_regulated","enterprise_investment_scheme_regulated","enterprise_investment_zone_trust","enterprise_zone_syndicate","equity_holdings","exchange_traded_fund","exempt_property_unit_trust","film_partnership","geared_investments","general_investment_account","hedge_fund","investment_bond","investment_tax_service","investment_trust","isa_aim","isa_cash","isa_help_to_buy","isa_maxi","isa_maxi_mini_transfer","isa_mini_equity","isa_nisa","isa_stocks_and_shares","junior_isa_cash","junior_isa_nisa","junior_isa_stocks_and_shares","lifetime_isa_stocks_and_shares","maximum_investment_plan_investment","non_discretionary_managed_service","oeic_unit_trust","offshore_bond","offshore_deposit","offshore_oeic_fund","offshore_savings_plan","onshore_bond","personal_equity_plan","property_holdings","property_partnership","property_syndicate","residential_property_development","savings_account","seed_enterprise_investment_scheme_non_regulated","seed_enterprise_investment_scheme_regulated","share_incentive_plan","share_save_scheme","sicav","structured_plan","structured_plan_cash_isa","structured_plan_deposit","structured_plan_medium_term_note","structured_plan_stocks_shares_isa","tessa","trust","unit_trust","unregulated_collective_investments","venture_capital_trust_non_regulated","venture_capital_trust_regulated","wrap","investment_unknown","accident_and_sickness_insurance","accident_sickness_and_unemployment_insurance","accidental_death_insurance","business_loan_protection","capital_redemption_policy","death_in_service","endowment","flexible_plan","general_insurance_income_protection","gift_inter_vivos","health_assessment","income_protection","income_protection_executive","income_protection_key_person","life_settlement_fund","maximum_investment_plan","multi_benefit_protection","pension_contribution_insurance","pension_term_assurance","pre_paid_funeral_plan","redundancy_insurance","relevant_life_policy","renewable_convertible_term","term_protection","term_protection_convertible","term_protection_critical_illness","term_protection_decreasing_term","term_protection_decreasing_term_ci","term_protection_decreasing_term_life_ci","term_protection_directors_share_protection","term_protection_family_income_protection","term_protection_family_income_protection_ci","term_protection_family_income_protection_life_ci","term_protection_increasing_term","term_protection_key_person_assurance","term_protection_level","term_protection_level_ci","term_protection_level_life_ci","term_protection_mortgage_protection","term_protection_partnership_protection","term_protection_renewable","unemployment_insurance","whole_of_life","whole_of_life_non_investment","will","protection_policy_unknown","alternatively_secured_pension_plan","appropriate_personal_pension","avc","cimp","cimp_comp","comp","deferred_sipp","defined_benefit_pension","dependants_pension","efrbs","equivalent_pension_benefits","executive_pension_plan","family_sipp","final_salary_scheme","fsavc","furbs","group_cimp","group_comp","group_dependants_pension","group_offshore_pension_scheme","group_personal_pension","group_s32_buyout_bond","group_sipp","group_stakeholder_pension","income_drawdown_beneficiary","income_drawdown_capped","income_drawdown_flexi_access","income_drawdown_flexible","independent_retirement_advice","individual_retirement_account","inherited_independent_retirement_advice","junior_sipp","master_trust_pension","money_purchase_contracted","national_employers_savings_trust","offshore_pension","pension_fund_withdrawal","personal_pension_plan","phased_retirement","pia_non_protected_rights","qnups","qnups_wrapper","qrops","qrops_wrapper","rnups_wrapper","roth_inherited_independent_retirement_advice","s226_rac","s32_buyout_bond","sipp","sipp_wrapper","ssas","stakeholder_individual","third_way_pensions","trustee_investment_plan","unsecured_pension","uurbs","workplace_pension_scheme","pension_unknown","annuity_non_pension","compulsory_purchase_life_annuity","deferred_annuity","defined_benefit_trustee_buy_in","enhanced_pension_annuity","fixed_term_annuity","group_final_salary","hancock_annuity","impaired_life_annuity","ivpp","lifetime_annuity","pension_annuity","pension_annuity_conventional","pension_annuity_flexible","pension_annuity_impaired_life","pension_annuity_temporary","pension_annuity_unit_linked","pension_annuity_with_profits","purchased_life_annuity","scheme_pension","annuity_unknown","dental_insurance","general_insurance_building","general_insurance_building_contents","general_insurance_commercial_combined","general_insurance_commercial_motor","general_insurance_contents","general_insurance_directors_and_officers","general_insurance_extended_warranty","general_insurance_legal_expenses","general_insurance_let_property","general_insurance_liability","general_insurance_other","general_insurance_payment_protection","general_insurance_private_motor","general_insurance_professional_indemnity","general_insurance_travel","group_travel_insurance","healthcare_cash_plan","international_private_medical_insurance","locum_insurance","long_term_care","long_term_care_immediate","long_term_care_pre_funded","private_medical_insurance","general_insurance_unknown","cpb","employee_assistance_scheme","flexible_benefits","group_accident_and_sickness","group_critical_illness","group_death_in_service","group_dental_insurance","group_healthcare_cash_plan","group_income_protection","group_income_protection_key_person","group_key_person_assurance","group_life","group_life_excepted","group_life_registered","group_partnership_protection","group_personal_accident","group_pmi","group_relevant_life","group_term","group_protection_unknown","equity_release","mortgage","mortgage_bridging_loan","mortgage_business_buy_to_let","mortgage_buy_to_let","mortgage_consumer_buy_to_let","mortgage_council_tenant_to_buy","mortgage_foreign_currency","mortgage_full_status","mortgage_further_advance","mortgage_government_home_ownership_scheme","mortgage_home_purchase_plan","mortgage_investment_property_islamic","mortgage_let_to_buy","mortgage_lifetime","mortgage_non_status","mortgage_primary_residence_islamic","mortgage_product_transfer","mortgage_remortgage","mortgage_right_to_buy","mortgage_second_charge","mortgage_second_home","mortgage_self_build","mortgage_self_cert","mortgage_shared_ownership","mortgage_standard_residential","mortgage_non_regulated_bridging_loan","mortgage_non_regulated_buy_to_let","mortgage_non_regulated_commercial","mortgage_non_regulated_further_advance","mortgage_non_regulated_offshore","mortgage_non_regulated_overseas","mortgage_non_regulated_product_transfer","third_party_mortgage","mortgage_unknown","bridging_loan","car_finance","commercial_finance","consumer_finance","credit_card","landlords","lombard_loan","other_long_term_loan","overdraft","partner_loan","peer_to_peer_loan","personal_loan","personal_loan_secured","personal_loan_unsecured","public_liability","student_loan","will_trust_loan","loan_credit_unknown","boat","collectible_art_other","land","motor_vehicle","other","own_business","property","property_btl","property_investment","property_rental","property_other","property_overseas","fixed_asset_unknown"]},"external_reference":{"allOf":[{"$ref":"#/components/schemas/ExternalReference"}],"description":"A third-party external reference to attach when creating the model."}}},"App_Http_Requests_Plans_UpdatePremiumRequest":{"type":"object","properties":{"transfer_type":{"type":"string","example":"switch","description":"\n\nTransfer type.\n\n| Value | Description |\n| ----- | ----------- |\n|switch|Switch|\n|transfer|Transfer|","enum":["switch","transfer"],"nullable":true},"date_advice_given":{"type":"string","example":"2026-05-28","description":"Date advice given","format":"date","nullable":true},"amount":{"type":"integer","example":250000,"description":"Premium amount in pennies. Either amount or percentage can be given in request","nullable":true},"percentage":{"type":"number","example":5.5,"description":"Premium percentage of the plans pensionable salary. Either amount or percentage can be given in request","format":"float","minimum":0.0,"maximum":100.0,"nullable":true},"frequency":{"type":"string","example":"daily","description":"\n\nPremium frequency\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"source":{"type":"string","example":"employee","description":"\n\nPremium source, only for pension plans.\n\n| Value | Description |\n| ----- | ----------- |\n|employee|Employee|\n|employer|Employer|","enum":["employee","employer"],"nullable":true},"payment_method":{"type":"string","example":"salary_sacrifice","description":"\n\nPayment method.\n\n| Value | Description |\n| ----- | ----------- |\n|salary_sacrifice|Salary Sacrifice|\n|salary_deduction|Salary Deduction|\n|direct_debit|Direct Debit|\n|standing_order|Standing Order|\n|cheque|Cheque|\n|bank_transfer|Bank Transfer|","enum":["salary_sacrifice","salary_deduction","direct_debit","standing_order","cheque","bank_transfer"],"nullable":true},"start_date":{"type":"string","example":"2026-10-04","description":"Start date","format":"date"},"end_date":{"type":"string","example":"2028-11-18","description":"End date. Leave blank for ongoing","format":"date","nullable":true},"pensionable_salary":{"type":"integer","example":10000000,"description":"Update the pensionable_salary that was used for this premium. Only valid for pension plans"},"details":{"type":"string","example":"Any extra details about the premium.","description":"Details","maxLength":65000,"nullable":true},"transferred_from_plan_uuid":{"type":"string","example":"24a3a2a9-6cb7-4d1b-816b-a66ec89b6274","description":"The plan UUID this premium was transferred from","format":"uuid","nullable":true},"transferred_from_plan_type":{"type":"string","example":"annuity","description":"\n\nThe plan type this premium was transferred from if the actual plan UUID is unknown\n\n| Value | Description |\n| ----- | ----------- |\n|annuity|Annuity|\n|cash_account|Cash Account|\n|fixed_asset|Fixed Asset|\n|general_insurance|General Insurance|\n|group_protection|Group Protection|\n|investment|Investment|\n|loan_credit|Loan Credit|\n|mortgage|Mortgage|\n|pension|Pension|\n|protection_policy|Protection Policy|","enum":["annuity","cash_account","fixed_asset","general_insurance","group_protection","investment","loan_credit","mortgage","pension","protection_policy"],"nullable":true},"transferred_from_plan_sub_type":{"type":"string","example":"cash_account","description":"\n\nThe plan sub type this premium was transferred from if the actual plan UUID is unknown\n\n| Value | Description |\n| ----- | ----------- |\n|cash_account|Cash Account|\n|cash_deposit|Cash Deposit|\n|isa_mini_cash|ISA (Mini Cash)|\n|isa_tessa_only|ISA (TESSA Only)|\n|lifetime_isa_cash|Lifetime ISA (Cash)|\n|national_savings|National Savings|\n|national_savings_child_bonus_bond|National Savings (Child Bonus Bond)|\n|national_savings_fixed_interest_certificate|National Savings (Fixed Interest Certificate)|\n|national_savings_guaranteed_equity_bond|National Savings (Guaranteed Equity Bond)|\n|national_savings_income_bond|National Savings (Income Bond)|\n|national_savings_index_linked_certificate|National Savings (Index Linked Certificate)|\n|national_savings_national_savings_certificate|National Savings (National Savings Certificate)|\n|national_savings_premium_bonds|National Savings (Premium Bonds)|\n|cash_account_unknown|Unknown|\n|aim_investment_tax_service|AIM Investment Tax Service|\n|bes|BES|\n|business_premises_renovation_allowance|Business Premises Renovation Allowance|\n|child_trust_fund|Child Trust Fund|\n|collective_investment_account|Collective Investment Account|\n|commercial_property_purchase_scheme|Commercial Property Purchase Scheme|\n|debenture|Debenture|\n|discretionary_managed_service|Discretionary Managed Service|\n|employee_benefit_trust|Employee Benefit Trust|\n|enterprise_investment_scheme_non_regulated|Enterprise Investment Scheme (Non-Regulated)|\n|enterprise_investment_scheme_regulated|Enterprise Investment Scheme (Regulated)|\n|enterprise_investment_zone_trust|Enterprise Investment Zone Trust|\n|enterprise_zone_syndicate|Enterprise Zone Syndicate|\n|equity_holdings|Equity Holdings|\n|exchange_traded_fund|Exchange Traded Fund|\n|exempt_property_unit_trust|Exempt Property Unit Trust|\n|film_partnership|Film Partnership|\n|geared_investments|Geared Investments|\n|general_investment_account|General Investment Account|\n|hedge_fund|Hedge Fund|\n|investment_bond|Investment Bond|\n|investment_tax_service|Investment Tax Service|\n|investment_trust|Investment Trust|\n|isa_aim|ISA (AIM)|\n|isa_cash|ISA (Cash)|\n|isa_help_to_buy|ISA (Help To Buy)|\n|isa_maxi|ISA (Maxi)|\n|isa_maxi_mini_transfer|ISA (Maxi/Mini Transfer)|\n|isa_mini_equity|ISA (Mini Equity)|\n|isa_nisa|ISA (Nisa)|\n|isa_stocks_and_shares|ISA (Stocks And Shares)|\n|junior_isa_cash|Junior ISA (Cash)|\n|junior_isa_nisa|Junior ISA (Nisa)|\n|junior_isa_stocks_and_shares|Junior ISA (Stocks And Shares)|\n|lifetime_isa_stocks_and_shares|Lifetime ISA (Stocks And Shares)|\n|maximum_investment_plan_investment|Maximum Investment Plan|\n|non_discretionary_managed_service|Non Discretionary Managed Service|\n|oeic_unit_trust|Oeic/Unit Trust|\n|offshore_bond|Offshore Bond|\n|offshore_deposit|Offshore Deposit|\n|offshore_oeic_fund|Offshore Oeic/Fund|\n|offshore_savings_plan|Offshore Savings Plan|\n|onshore_bond|Onshore Bond|\n|personal_equity_plan|Personal Equity Plan|\n|property_holdings|Property Holdings|\n|property_partnership|Property Partnership|\n|property_syndicate|Property Syndicate|\n|residential_property_development|Residential Property Development|\n|savings_account|Savings Account|\n|seed_enterprise_investment_scheme_non_regulated|Seed Enterprise Investment Scheme (Non-Regulated)|\n|seed_enterprise_investment_scheme_regulated|Seed Enterprise Investment Scheme (Regulated)|\n|share_incentive_plan|Share Incentive Plan|\n|share_save_scheme|Share Save Scheme|\n|sicav|SICAV|\n|structured_plan|Structured Plan|\n|structured_plan_cash_isa|Structured Plan (Cash ISA)|\n|structured_plan_deposit|Structured Plan (Deposit)|\n|structured_plan_medium_term_note|Structured Plan (Medium Term Note)|\n|structured_plan_stocks_shares_isa|Structured Plan (Stocks \u0026 Shares ISA)|\n|tessa|TESSA|\n|trust|Trust|\n|unit_trust|Unit Trust|\n|unregulated_collective_investments|Unregulated Collective Investments|\n|venture_capital_trust_non_regulated|Venture Capital Trust (Non-Regulated)|\n|venture_capital_trust_regulated|Venture Capital Trust (Regulated)|\n|wrap|Wrap|\n|investment_unknown|Unknown|\n|accident_and_sickness_insurance|Accident And Sickness Insurance|\n|accident_sickness_and_unemployment_insurance|Accident Sickness And Unemployment Insurance|\n|accidental_death_insurance|Accidental Death Insurance|\n|business_loan_protection|Business Loan Protection|\n|capital_redemption_policy|Capital Redemption Policy|\n|death_in_service|Death In Service|\n|endowment|Endowment|\n|flexible_plan|Flexible Plan|\n|general_insurance_income_protection|General Insurance (Income Protection)|\n|gift_inter_vivos|Gift Inter Vivos|\n|health_assessment|Health Assessment|\n|income_protection|Income Protection|\n|income_protection_executive|Income Protection (Executive)|\n|income_protection_key_person|Income Protection (Key Person)|\n|life_settlement_fund|Life Settlement Fund|\n|maximum_investment_plan|Maximum Investment Plan|\n|multi_benefit_protection|Multi Benefit Protection|\n|pension_contribution_insurance|Pension Contribution Insurance|\n|pension_term_assurance|Pension Term Assurance|\n|pre_paid_funeral_plan|Pre-Paid Funeral Plan|\n|redundancy_insurance|Redundancy Insurance|\n|relevant_life_policy|Relevant Life Policy|\n|renewable_convertible_term|Renewable Convertible Term|\n|term_protection|Term Protection|\n|term_protection_convertible|Term Protection (Convertible)|\n|term_protection_critical_illness|Term Protection (Critical Illness)|\n|term_protection_decreasing_term|Term Protection (Decreasing Term)|\n|term_protection_decreasing_term_ci|Term Protection (Decreasing Term - CI)|\n|term_protection_decreasing_term_life_ci|Term Protection (Decreasing Term - Life \u0026 CI)|\n|term_protection_directors_share_protection|Term Protection (Directors Share Protection)|\n|term_protection_family_income_protection|Term Protection (Family Income Protection)|\n|term_protection_family_income_protection_ci|Term Protection (Family Income Protection - CI)|\n|term_protection_family_income_protection_life_ci|Term Protection (Family Income Protection - Life \u0026 CI)|\n|term_protection_increasing_term|Term Protection (Increasing Term)|\n|term_protection_key_person_assurance|Term Protection (Key Person Assurance)|\n|term_protection_level|Term Protection (Level)|\n|term_protection_level_ci|Term Protection (Level - CI)|\n|term_protection_level_life_ci|Term Protection (Level - Life \u0026 CI)|\n|term_protection_mortgage_protection|Term Protection (Mortgage Protection)|\n|term_protection_partnership_protection|Term Protection (Partnership Protection)|\n|term_protection_renewable|Term Protection (Renewable)|\n|unemployment_insurance|Unemployment Insurance|\n|whole_of_life|Whole Of Life|\n|whole_of_life_non_investment|Whole Of Life (Non Investment)|\n|will|Will|\n|protection_policy_unknown|Unknown|\n|alternatively_secured_pension_plan|Alternatively Secured Pension Plan|\n|appropriate_personal_pension|Appropriate Personal Pension|\n|avc|AVC|\n|cimp|CIMP|\n|cimp_comp|CIMP \u0026 COMP|\n|comp|COMP|\n|deferred_sipp|Deferred SIPP|\n|defined_benefit_pension|Defined Benefit Pension|\n|dependants_pension|Dependants Pension|\n|efrbs|EFRBS|\n|equivalent_pension_benefits|Equivalent Pension Benefits|\n|executive_pension_plan|Executive Pension Plan|\n|family_sipp|Family SIPP|\n|final_salary_scheme|Final Salary Scheme|\n|fsavc|FSAVC|\n|furbs|FURBS|\n|group_cimp|Group CIMP|\n|group_comp|Group COMP|\n|group_dependants_pension|Group Dependants Pension|\n|group_offshore_pension_scheme|Group Offshore Pension Scheme|\n|group_personal_pension|Group Personal Pension|\n|group_s32_buyout_bond|Group S32 Buyout Bond|\n|group_sipp|Group SIPP|\n|group_stakeholder_pension|Group Stakeholder Pension|\n|income_drawdown_beneficiary|Income Drawdown (Beneficiary)|\n|income_drawdown_capped|Income Drawdown (Capped)|\n|income_drawdown_flexi_access|Income Drawdown (Flexi-Access)|\n|income_drawdown_flexible|Income Drawdown (Flexible)|\n|independent_retirement_advice|Independent Retirement Advice (IRA)|\n|individual_retirement_account|Individual Retirement Account|\n|inherited_independent_retirement_advice|Inherited Independent Retirement Advice (Inherited IRA)|\n|junior_sipp|Junior SIPP|\n|master_trust_pension|Master Trust Pension|\n|money_purchase_contracted|Money Purchase Contracted|\n|national_employers_savings_trust|National Employers Savings Trust (NEST)|\n|offshore_pension|Offshore Pension|\n|pension_fund_withdrawal|Pension Fund Withdrawal|\n|personal_pension_plan|Personal Pension Plan|\n|phased_retirement|Phased Retirement|\n|pia_non_protected_rights|PIA (Non Protected Rights)|\n|qnups|QNUPs|\n|qnups_wrapper|QNUPs Wrapper|\n|qrops|QROPs|\n|qrops_wrapper|QROPs Wrapper|\n|rnups_wrapper|RNUPs Wrapper|\n|roth_inherited_independent_retirement_advice|Roth Inherited Independent Retirement Advice (Roth IRA)|\n|s226_rac|S226 RAC|\n|s32_buyout_bond|S32 Buyout Bond|\n|sipp|SIPP|\n|sipp_wrapper|SIPP Wrapper|\n|ssas|Ssas|\n|stakeholder_individual|Stakeholder Individual|\n|third_way_pensions|Third Way Pensions|\n|trustee_investment_plan|Trustee Investment Plan|\n|unsecured_pension|Unsecured Pension|\n|uurbs|UURBs|\n|workplace_pension_scheme|Workplace Pension Scheme|\n|pension_unknown|Unknown|\n|annuity_non_pension|Annuity (Non Pension)|\n|compulsory_purchase_life_annuity|Compulsory Purchase Life Annuity|\n|deferred_annuity|Deferred Annuity|\n|defined_benefit_trustee_buy_in|Defined Benefit Trustee Buy In|\n|enhanced_pension_annuity|Enhanced Pension Annuity|\n|fixed_term_annuity|Fixed Term Annuity|\n|group_final_salary|Group Final Salary|\n|hancock_annuity|Hancock Annuity|\n|impaired_life_annuity|Impaired Life Annuity|\n|ivpp|IVPP|\n|lifetime_annuity|Lifetime Annuity|\n|pension_annuity|Pension Annuity|\n|pension_annuity_conventional|Pension Annuity (Conventional)|\n|pension_annuity_flexible|Pension Annuity (Flexible)|\n|pension_annuity_impaired_life|Pension Annuity (Impaired Life)|\n|pension_annuity_temporary|Pension Annuity (Temporary)|\n|pension_annuity_unit_linked|Pension Annuity (Unit Linked)|\n|pension_annuity_with_profits|Pension Annuity (With Profits)|\n|purchased_life_annuity|Purchased Life Annuity|\n|scheme_pension|Scheme Pension|\n|annuity_unknown|Unknown|\n|dental_insurance|Dental Insurance|\n|general_insurance_building|General Insurance (Building)|\n|general_insurance_building_contents|General Insurance (Building \u0026 Contents)|\n|general_insurance_commercial_combined|General Insurance (Commercial Combined)|\n|general_insurance_commercial_motor|General Insurance (Commercial Motor)|\n|general_insurance_contents|General Insurance (Contents)|\n|general_insurance_directors_and_officers|General Insurance (Directors And Officers)|\n|general_insurance_extended_warranty|General Insurance (Extended Warranty)|\n|general_insurance_legal_expenses|General Insurance (Legal Expenses)|\n|general_insurance_let_property|General Insurance (Let Property)|\n|general_insurance_liability|General Insurance (Liability)|\n|general_insurance_other|General Insurance Other|\n|general_insurance_payment_protection|General Insurance (Payment Protection)|\n|general_insurance_private_motor|General Insurance (Private Motor)|\n|general_insurance_professional_indemnity|General Insurance (Professional Indemnity)|\n|general_insurance_travel|General Insurance (Travel)|\n|group_travel_insurance|Group Travel Insurance|\n|healthcare_cash_plan|Healthcare Cash Plan|\n|international_private_medical_insurance|International Private Medical Insurance (IPMI)|\n|locum_insurance|Locum Insurance|\n|long_term_care|Long Term Care|\n|long_term_care_immediate|Long Term Care (Immediate)|\n|long_term_care_pre_funded|Long Term Care (Pre-Funded)|\n|private_medical_insurance|Private Medical Insurance|\n|general_insurance_unknown|Unknown|\n|cpb|CPB|\n|employee_assistance_scheme|Employee Assistance Scheme|\n|flexible_benefits|Flexible Benefits|\n|group_accident_and_sickness|Group Accident And Sickness|\n|group_critical_illness|Group Critical Illness|\n|group_death_in_service|Group Death In Service|\n|group_dental_insurance|Group Dental Insurance|\n|group_healthcare_cash_plan|Group Healthcare Cash Plan|\n|group_income_protection|Group Income Protection|\n|group_income_protection_key_person|Group Income Protection (Key Person)|\n|group_key_person_assurance|Group Key Person Assurance|\n|group_life|Group Life|\n|group_life_excepted|Group Life (Excepted)|\n|group_life_registered|Group Life (Registered)|\n|group_partnership_protection|Group Partnership Protection|\n|group_personal_accident|Group Personal Accident|\n|group_pmi|Group PMI|\n|group_relevant_life|Group Relevant Life|\n|group_term|Group Term|\n|group_protection_unknown|Unknown|\n|equity_release|Equity Release|\n|mortgage|Mortgage|\n|mortgage_bridging_loan|Bridging Loan Mortgage|\n|mortgage_business_buy_to_let|Mortgage Business Buy To Let|\n|mortgage_buy_to_let|Buy To Let Mortgage|\n|mortgage_consumer_buy_to_let|Consumer Buy To Let Mortgage|\n|mortgage_council_tenant_to_buy|Council/Tenant To Buy Mortgage|\n|mortgage_foreign_currency|Foreign Currency Mortgage|\n|mortgage_full_status|Mortgage Full Status|\n|mortgage_further_advance|Further Advance Mortgage|\n|mortgage_government_home_ownership_scheme|Government Home Ownership Scheme Mortgage|\n|mortgage_home_purchase_plan|Home Purchase Plan Mortgage|\n|mortgage_investment_property_islamic|Investment Property Islamic Mortgage|\n|mortgage_let_to_buy|Let To Buy Mortgage|\n|mortgage_lifetime|Mortgage Lifetime|\n|mortgage_non_status|Mortgage Non Status|\n|mortgage_primary_residence_islamic|Primary Residence Islamic Mortgage|\n|mortgage_product_transfer|Product Transfer Mortgage|\n|mortgage_remortgage|Remortgage Mortgage|\n|mortgage_right_to_buy|Right To Buy Mortgage|\n|mortgage_second_charge|Second Charge Mortgage|\n|mortgage_second_home|Second Home Mortgage|\n|mortgage_self_build|Self-Build Mortgage|\n|mortgage_self_cert|Mortgage Self Cert|\n|mortgage_shared_ownership|Shared Ownership Mortgage|\n|mortgage_standard_residential|Standard Residential Mortgage|\n|mortgage_non_regulated_bridging_loan|Non-Regulated Bridging Loan Mortgage|\n|mortgage_non_regulated_buy_to_let|Non-Regulated Buy To Let Mortgage|\n|mortgage_non_regulated_commercial|Non-Regulated Commercial Mortgage|\n|mortgage_non_regulated_further_advance|Non-Regulated Further Advance Mortgage|\n|mortgage_non_regulated_offshore|Non-Regulated Offshore Mortgage|\n|mortgage_non_regulated_overseas|Non-Regulated Overseas Mortgage|\n|mortgage_non_regulated_product_transfer|Non-Regulated Product Transfer Mortgage|\n|third_party_mortgage|Third Party Mortgage|\n|mortgage_unknown|Unknown|\n|bridging_loan|Bridging Loan|\n|car_finance|Car Finance|\n|commercial_finance|Commercial Finance|\n|consumer_finance|Consumer Finance|\n|credit_card|Credit Card|\n|landlords|Landlords|\n|lombard_loan|Lombard Loan|\n|other_long_term_loan|Other Long Term Loan|\n|overdraft|Overdraft|\n|partner_loan|Partner Loan|\n|peer_to_peer_loan|Peer To Peer Loan|\n|personal_loan|Personal Loan|\n|personal_loan_secured|Personal Loan (Secured)|\n|personal_loan_unsecured|Personal Loan (Unsecured)|\n|public_liability|Public Liability|\n|student_loan|Student Loan|\n|will_trust_loan|Will Trust Loan|\n|loan_credit_unknown|Unknown|\n|boat|Boat|\n|collectible_art_other|Collectible/Art/Other|\n|land|Land|\n|motor_vehicle|Motor Vehicle|\n|other|Other|\n|own_business|Own Business|\n|property|Property|\n|property_btl|Property (Btl)|\n|property_investment|Property (Investment)|\n|property_rental|Property (Rental)|\n|property_other|Property (Other)|\n|property_overseas|Property (Overseas)|\n|fixed_asset_unknown|Unknown|","enum":["cash_account","cash_deposit","isa_mini_cash","isa_tessa_only","lifetime_isa_cash","national_savings","national_savings_child_bonus_bond","national_savings_fixed_interest_certificate","national_savings_guaranteed_equity_bond","national_savings_income_bond","national_savings_index_linked_certificate","national_savings_national_savings_certificate","national_savings_premium_bonds","cash_account_unknown","aim_investment_tax_service","bes","business_premises_renovation_allowance","child_trust_fund","collective_investment_account","commercial_property_purchase_scheme","debenture","discretionary_managed_service","employee_benefit_trust","enterprise_investment_scheme_non_regulated","enterprise_investment_scheme_regulated","enterprise_investment_zone_trust","enterprise_zone_syndicate","equity_holdings","exchange_traded_fund","exempt_property_unit_trust","film_partnership","geared_investments","general_investment_account","hedge_fund","investment_bond","investment_tax_service","investment_trust","isa_aim","isa_cash","isa_help_to_buy","isa_maxi","isa_maxi_mini_transfer","isa_mini_equity","isa_nisa","isa_stocks_and_shares","junior_isa_cash","junior_isa_nisa","junior_isa_stocks_and_shares","lifetime_isa_stocks_and_shares","maximum_investment_plan_investment","non_discretionary_managed_service","oeic_unit_trust","offshore_bond","offshore_deposit","offshore_oeic_fund","offshore_savings_plan","onshore_bond","personal_equity_plan","property_holdings","property_partnership","property_syndicate","residential_property_development","savings_account","seed_enterprise_investment_scheme_non_regulated","seed_enterprise_investment_scheme_regulated","share_incentive_plan","share_save_scheme","sicav","structured_plan","structured_plan_cash_isa","structured_plan_deposit","structured_plan_medium_term_note","structured_plan_stocks_shares_isa","tessa","trust","unit_trust","unregulated_collective_investments","venture_capital_trust_non_regulated","venture_capital_trust_regulated","wrap","investment_unknown","accident_and_sickness_insurance","accident_sickness_and_unemployment_insurance","accidental_death_insurance","business_loan_protection","capital_redemption_policy","death_in_service","endowment","flexible_plan","general_insurance_income_protection","gift_inter_vivos","health_assessment","income_protection","income_protection_executive","income_protection_key_person","life_settlement_fund","maximum_investment_plan","multi_benefit_protection","pension_contribution_insurance","pension_term_assurance","pre_paid_funeral_plan","redundancy_insurance","relevant_life_policy","renewable_convertible_term","term_protection","term_protection_convertible","term_protection_critical_illness","term_protection_decreasing_term","term_protection_decreasing_term_ci","term_protection_decreasing_term_life_ci","term_protection_directors_share_protection","term_protection_family_income_protection","term_protection_family_income_protection_ci","term_protection_family_income_protection_life_ci","term_protection_increasing_term","term_protection_key_person_assurance","term_protection_level","term_protection_level_ci","term_protection_level_life_ci","term_protection_mortgage_protection","term_protection_partnership_protection","term_protection_renewable","unemployment_insurance","whole_of_life","whole_of_life_non_investment","will","protection_policy_unknown","alternatively_secured_pension_plan","appropriate_personal_pension","avc","cimp","cimp_comp","comp","deferred_sipp","defined_benefit_pension","dependants_pension","efrbs","equivalent_pension_benefits","executive_pension_plan","family_sipp","final_salary_scheme","fsavc","furbs","group_cimp","group_comp","group_dependants_pension","group_offshore_pension_scheme","group_personal_pension","group_s32_buyout_bond","group_sipp","group_stakeholder_pension","income_drawdown_beneficiary","income_drawdown_capped","income_drawdown_flexi_access","income_drawdown_flexible","independent_retirement_advice","individual_retirement_account","inherited_independent_retirement_advice","junior_sipp","master_trust_pension","money_purchase_contracted","national_employers_savings_trust","offshore_pension","pension_fund_withdrawal","personal_pension_plan","phased_retirement","pia_non_protected_rights","qnups","qnups_wrapper","qrops","qrops_wrapper","rnups_wrapper","roth_inherited_independent_retirement_advice","s226_rac","s32_buyout_bond","sipp","sipp_wrapper","ssas","stakeholder_individual","third_way_pensions","trustee_investment_plan","unsecured_pension","uurbs","workplace_pension_scheme","pension_unknown","annuity_non_pension","compulsory_purchase_life_annuity","deferred_annuity","defined_benefit_trustee_buy_in","enhanced_pension_annuity","fixed_term_annuity","group_final_salary","hancock_annuity","impaired_life_annuity","ivpp","lifetime_annuity","pension_annuity","pension_annuity_conventional","pension_annuity_flexible","pension_annuity_impaired_life","pension_annuity_temporary","pension_annuity_unit_linked","pension_annuity_with_profits","purchased_life_annuity","scheme_pension","annuity_unknown","dental_insurance","general_insurance_building","general_insurance_building_contents","general_insurance_commercial_combined","general_insurance_commercial_motor","general_insurance_contents","general_insurance_directors_and_officers","general_insurance_extended_warranty","general_insurance_legal_expenses","general_insurance_let_property","general_insurance_liability","general_insurance_other","general_insurance_payment_protection","general_insurance_private_motor","general_insurance_professional_indemnity","general_insurance_travel","group_travel_insurance","healthcare_cash_plan","international_private_medical_insurance","locum_insurance","long_term_care","long_term_care_immediate","long_term_care_pre_funded","private_medical_insurance","general_insurance_unknown","cpb","employee_assistance_scheme","flexible_benefits","group_accident_and_sickness","group_critical_illness","group_death_in_service","group_dental_insurance","group_healthcare_cash_plan","group_income_protection","group_income_protection_key_person","group_key_person_assurance","group_life","group_life_excepted","group_life_registered","group_partnership_protection","group_personal_accident","group_pmi","group_relevant_life","group_term","group_protection_unknown","equity_release","mortgage","mortgage_bridging_loan","mortgage_business_buy_to_let","mortgage_buy_to_let","mortgage_consumer_buy_to_let","mortgage_council_tenant_to_buy","mortgage_foreign_currency","mortgage_full_status","mortgage_further_advance","mortgage_government_home_ownership_scheme","mortgage_home_purchase_plan","mortgage_investment_property_islamic","mortgage_let_to_buy","mortgage_lifetime","mortgage_non_status","mortgage_primary_residence_islamic","mortgage_product_transfer","mortgage_remortgage","mortgage_right_to_buy","mortgage_second_charge","mortgage_second_home","mortgage_self_build","mortgage_self_cert","mortgage_shared_ownership","mortgage_standard_residential","mortgage_non_regulated_bridging_loan","mortgage_non_regulated_buy_to_let","mortgage_non_regulated_commercial","mortgage_non_regulated_further_advance","mortgage_non_regulated_offshore","mortgage_non_regulated_overseas","mortgage_non_regulated_product_transfer","third_party_mortgage","mortgage_unknown","bridging_loan","car_finance","commercial_finance","consumer_finance","credit_card","landlords","lombard_loan","other_long_term_loan","overdraft","partner_loan","peer_to_peer_loan","personal_loan","personal_loan_secured","personal_loan_unsecured","public_liability","student_loan","will_trust_loan","loan_credit_unknown","boat","collectible_art_other","land","motor_vehicle","other","own_business","property","property_btl","property_investment","property_rental","property_other","property_overseas","fixed_asset_unknown"],"nullable":true}}},"App_Http_Requests_Plans_UpdatePlanOwnershipRequest":{"type":"object","required":["accounts"],"properties":{"accounts":{"type":"array","example":[],"description":"List of account ownership details.","items":{"type":"object","example":{"account_uuid":"fe9d61e3-fdde-4f2d-8d77-bf2810c0c4f8","ownership_percentage":25.0},"properties":{"account_uuid":{"type":"string","example":"fe9d61e3-fdde-4f2d-8d77-bf2810c0c4f8","description":"The account UUID of the owner.","format":"uuid"},"ownership_percentage":{"type":"number","example":25.0,"description":"The ownership percentage for this account. If omitted, the ownership will be assumed to be equal among all accounts.","format":"float","minimum":0.0,"maximum":100.0,"nullable":true}}}}}},"App_Http_Requests_Plans_StoreValuationRequest":{"type":"object","required":["valued_at","value"],"properties":{"valued_at":{"type":"string","example":"2026-11-18","description":"Date the valuation was valued at","format":"date"},"value":{"type":"integer","example":4000,"description":"Money value of the valuation as an integer eg 4000 = £40.00"}}},"App_Http_Requests_Plans_UpdateValuationRequest":{"type":"object","required":["value"],"properties":{"value":{"type":"integer","example":4000,"description":"Money value of the valuation as an integer eg 4000 = £40.00"}}},"App_Http_Requests_Contribution_StoreContributionRequest":{"type":"object","required":["type"],"properties":{"type":{"type":"string","example":"recurring","description":"\n\nThe type of contribution. Available options: recurring and adhoc\n\n| Value | Description |\n| ----- | ----------- |\n|recurring|Recurring|\n|adhoc|Adhoc|","enum":["recurring","adhoc"]},"contributor_type":{"type":"string","example":"self","description":"\n\nThe type of contributor. Available options: self, employer, family, government, salary_sacrifice and other\n\n| Value | Description |\n| ----- | ----------- |\n|self|Self|\n|employer|Employer|\n|family|Family|\n|government|Government|\n|salary_sacrifice|Salary Sacrifice|\n|other|Other|","enum":["self","employer","family","government","salary_sacrifice","other"]},"frequency":{"type":"string","example":"daily","description":"\n\nThe frequency of the contribution. Required if the contribution type is \"recurring\". Available options: daily, weekly, fortnightly, four_weekly, monthly, bimonthly, quarterly, biannually, annually, adhoc and one_off\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"started_at":{"type":"string","example":"2026-10-18","description":"The start date of a recurring contribution. Required if the contribution type is \"recurring\".","format":"date"},"ended_at":{"type":"string","example":"2026-11-18","description":"The end date of a recurring contribution. Required if the contribution type is \"recurring\".","format":"date"},"paid_at":{"type":"string","example":"2026-11-18","description":"The date the adhoc contribution was paid. Required if the contribution type is \"adhoc\".","format":"date"},"value":{"type":"integer","example":4000,"description":"The value of the contribution in pennies. For example, £40.00 would be 4000."},"notes":{"type":"string","example":"Example Notes","description":"Optional notes to add to the contribution."}}},"App_Http_Requests_Contribution_UpdateContributionRequest":{"type":"object","required":["type"],"properties":{"type":{"type":"string","example":"recurring","description":"\n\nThe type of contribution. Available options: recurring and adhoc\n\n| Value | Description |\n| ----- | ----------- |\n|recurring|Recurring|\n|adhoc|Adhoc|","enum":["recurring","adhoc"]},"contributor_type":{"type":"string","example":"self","description":"\n\nThe type of contributor. Available options: self, employer, family, government, salary_sacrifice and other\n\n| Value | Description |\n| ----- | ----------- |\n|self|Self|\n|employer|Employer|\n|family|Family|\n|government|Government|\n|salary_sacrifice|Salary Sacrifice|\n|other|Other|","enum":["self","employer","family","government","salary_sacrifice","other"]},"frequency":{"type":"string","example":"daily","description":"\n\nThe frequency of the contribution. Required if the contribution type is \"recurring\". Available options: daily, weekly, fortnightly, four_weekly, monthly, bimonthly, quarterly, biannually, annually, adhoc and one_off\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"started_at":{"type":"string","example":"2026-10-18","description":"The start date of a recurring contribution. Required if the contribution type is \"recurring\".","format":"date"},"ended_at":{"type":"string","example":"2026-11-18","description":"The end date of a recurring contribution. Required if the contribution type is \"recurring\".","format":"date"},"paid_at":{"type":"string","example":"2026-11-18","description":"The date the adhoc contribution was paid. Required if the contribution type is \"adhoc\".","format":"date"},"value":{"type":"integer","example":4000,"description":"The value of the contribution in pennies. For example, £40.00 would be 4000."},"notes":{"type":"string","example":"Example Notes","description":"Optional notes to add to the contribution."}}},"App_Http_Requests_Withdrawal_StoreWithdrawalRequest":{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","example":"recurring","description":"The type of withdrawal. Available options: recurring and adhoc"},"frequency":{"type":"string","example":"monthly","description":"The frequency of the withdrawal. Available options: daily, weekly, fortnightly, four_weekly, monthly, bimonthly, quarterly, biannually, annually, adhoc and one_off"},"started_at":{"type":"string","example":"2026-10-18","description":"The start date of a recurring withdrawal. Required if the withdrawal type is \"recurring\".","format":"date"},"ended_at":{"type":"string","example":"2026-11-18","description":"The end date of a recurring withdrawal. Required if the withdrawal type is \"recurring\".","format":"date"},"withdrawn_at":{"type":"string","example":"2026-11-18","description":"The date the withdrawal was made. Required if the withdrawal type is \"adhoc\".","format":"date"},"value":{"type":"integer","example":50000,"description":"The value of the withdrawal."},"notes":{"type":"string","example":"Example Notes","description":"Notes about the withdrawal."}}},"App_Http_Requests_Withdrawal_UpdateWithdrawalRequest":{"type":"object","required":["value"],"properties":{"type":{"type":"string","example":"recurring","description":"The type of withdrawal. Available options: recurring and adhoc"},"frequency":{"type":"string","example":"monthly","description":"The frequency of the withdrawal. Available options: daily, weekly, fortnightly, four_weekly, monthly, bimonthly, quarterly, biannually, annually, adhoc and one_off"},"started_at":{"type":"string","example":"2026-10-18","description":"The start date of a recurring withdrawal. Required if the withdrawal type is \"recurring\".","format":"date"},"ended_at":{"type":"string","example":"2026-11-18","description":"The end date of a recurring withdrawal. Required if the withdrawal type is \"recurring\".","format":"date"},"withdrawn_at":{"type":"string","example":"2026-11-18","description":"The date the withdrawal was made. Required if the withdrawal type is \"adhoc\".","format":"date"},"value":{"type":"integer","example":50000,"description":"The value of the withdrawal."},"notes":{"type":"string","example":"Example Notes","description":"Notes about the withdrawal."}}},"App_Http_Requests_Plans_StoreHoldingRequest":{"type":"object","required":["fund_name","units"],"properties":{"fund_name":{"type":"string","example":"My Fund","description":"The name of the fund for the holding."},"reference":{"type":"string","example":"ABC12345","description":"The reference of the holding/fund."},"provider":{"type":"string","example":"Financial Provider","description":"The provider of the holding/fund."},"sector":{"type":"string","example":"Europe","description":"The sector of the holding/fund."},"sedol":{"type":"string","example":"ABC12345","description":"The SEDOL of the holding/fund."},"isin":{"type":"string","example":"ABC12345","description":"The ISIN of the holding/fund."},"citi":{"type":"string","example":"ABC12345","description":"The CITI of the holding/fund."},"units":{"type":"number","example":10.0,"description":"The units of the holding","format":"float"},"unit_price":{"type":"integer","example":10000,"description":"The current price of the units in pennies."},"unit_price_raw":{"type":"number","example":100.2334234,"description":"The current price of the units in it's raw format with decimals.","format":"float"},"purchase_price":{"type":"integer","example":5000,"description":"The original purchase price of the holding in pennies."},"currency":{"type":"string","example":"GBP","description":"The currency of the holding."},"is_active":{"type":"boolean","example":true,"description":"Denotes if the holding is active/inactive."},"portfolio_uuid":{"type":"string","example":"d04b3354-e307-4f6c-8dbe-fd759d068248","description":"Optional UUID of a portfolio to add the holding to.","format":"uuid"}}},"App_Http_Requests_Plans_UpdateHoldingRequest":{"type":"object","properties":{"fund_name":{"type":"string","example":"My Fund","description":"The name of the fund for the holding."},"reference":{"type":"string","example":"ABC12345","description":"The reference of the holding/fund."},"provider":{"type":"string","example":"Financial Provider","description":"The provider of the holding/fund."},"sector":{"type":"string","example":"Europe","description":"The sector of the holding/fund."},"sedol":{"type":"string","example":"ABC12345","description":"The SEDOL of the holding/fund."},"isin":{"type":"string","example":"ABC12345","description":"The ISIN of the holding/fund."},"citi":{"type":"string","example":"ABC12345","description":"The CITI of the holding/fund."},"units":{"type":"number","example":10.0,"description":"The units of the holding","format":"float","minimum":0.0,"maximum":999999.999999},"unit_price":{"type":"integer","example":10000,"description":"The current price of the units in pennies."},"unit_price_raw":{"type":"number","example":100.2334234,"description":"The current price of the units in it's raw format with decimals.","format":"float"},"purchase_price":{"type":"integer","example":5000,"description":"The original purchase price of the holding in pennies."},"currency":{"type":"string","example":"GBP","description":"The currency of the holding."},"is_active":{"type":"boolean","example":true,"description":"Denotes if the holding is active/inactive."},"portfolio_uuid":{"type":"string","example":"1d12f338-6218-41b5-bf11-b9235a39f589","description":"Optional UUID of a portfolio to add the holding to.","format":"uuid"}}},"App_Http_Requests_StorePortfolioRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Risky Portfolio","description":"The name of the portfolio. Must be unique within the sub-account it is created on."},"is_proposed":{"type":"boolean","example":false,"description":"Denotes if the portfolio is proposed"},"proposed_at":{"type":"string","example":"2023-09-25","description":"The proposed date of the portfolio. When omitted from the request the proposed date will be the date of creation.","format":"date"}}},"App_Http_Requests_UpdatePortfolioRequest":{"type":"object","properties":{"name":{"type":"string","example":"Risky Portfolio","description":"The name of the portfolio. Must be unique within the sub-account it is created on."},"is_proposed":{"type":"boolean","example":false,"description":"Denotes if the portfolio is proposed"},"proposed_at":{"type":"string","example":"2023-09-25","description":"The proposed date of the portfolio.","format":"date"}}},"App_Http_Requests_Plans_SyncHoldingsRequest":{"type":"object","required":["holdings"],"properties":{"holdings":{"type":"array","example":[],"description":"Holdings array to sync. all other holdings on this sub account will be marked as inactive","items":{"allOf":[{"$ref":"#/components/schemas/SubAccountHolding"}]}},"portfolio_name":{"type":"string","example":"Proposed Holdings 2023","description":"Optional name of the portfolio when the holdings are synced"},"is_proposed_portfolio":{"type":"boolean","example":true,"description":"Denotes if the portfolio that is created should be proposed or not."}}},"App_Http_Requests_Plans_ShowValuationsGraphRequest":{"type":"object","properties":{"start_date":{"type":"string","example":"2026-11-18","description":"The start date for the valuations graph in YYYY-MM-DD format. Optional.","format":"date"},"end_date":{"type":"string","example":"2026-11-19","description":"The end date for the valuations graph in YYYY-MM-DD format. Optional.","format":"date"},"limit":{"type":"integer","example":4259,"description":"The maximum number of data points to return for the valuations graph. Optional.","minimum":1,"maximum":0},"account_uuid":{"type":"string","example":"8881b816-15aa-4d82-8eaf-29f7c96b921e","description":"The UUID of the client account to filter valuations by. Optional.","format":"uuid"}}},"App_Http_Requests_Plans_StoreGroupSchemeMemberRequest":{"type":"object","required":["account_uuid","status"],"properties":{"account_uuid":{"type":"string","example":"1b54a65c-bae9-4aba-a5fe-e042444dbc76","description":"The client account that will be the member on the group scheme. Must already be a staff member on the business client that the plan belongs to.","format":"uuid"},"status":{"type":"string","example":"active","description":"\n\nPlan status for the member.\n\n| Value | Description |\n| ----- | ----------- |\n|active|Active|\n|inactive|Inactive|\n|proposed|Proposed|","enum":["active","inactive","proposed"]},"inactive_status":{"type":"string","example":"accepted","description":"\n\nOptional inactive status when the status is inactive.\n\n| Value | Description |\n| ----- | ----------- |\n|accepted|Accepted|\n|agency_transferred|Agency Transferred|\n|cancelled|Cancelled|\n|claimed|Claimed|\n|complete|Complete|\n|death_event|Death Event|\n|deferred|Deferred|\n|drawdown|Drawdown|\n|expired|Expired|\n|full_drawdown|Full Drawdown|\n|issued|Issued|\n|lapsed|Lapsed|\n|matured|Matured|\n|not_proceeded_with|Not Proceeded With|\n|not_taken_up|Not Taken Up|\n|offered|Offered|\n|paid_up|Paid Up|\n|partial_drawdown|Partial Drawdown|\n|partial_surrender|Partial Surrender|\n|proposed|Proposed|\n|prospect|Prospect|\n|refunded|Refunded|\n|refused|Refused|\n|surrendered|Surrendered|\n|transfer|Transfer|\n|transferred|Transferred|\n|underwriting|Underwriting|\n|vested|Vested|\n|declined|Declined|\n|encashment|Encashment|\n|left_service|Left Service|\n|premium_holiday|Premium Holiday|\n|other|Other|","enum":["accepted","agency_transferred","cancelled","claimed","complete","death_event","deferred","drawdown","expired","full_drawdown","issued","lapsed","matured","not_proceeded_with","not_taken_up","offered","paid_up","partial_drawdown","partial_surrender","proposed","prospect","refunded","refused","surrendered","transfer","transferred","underwriting","vested","declined","encashment","left_service","premium_holiday","other"]},"policy_number":{"type":"string","example":"AVIVA-123","description":"Optional policy number if the group scheme has separate policy numbers per member.","maxLength":255},"on_risk_at":{"type":"string","example":"2023-03-26","description":"Date when the policy went \"on risk\".","format":"date","nullable":true},"inactive_at":{"type":"string","example":"2024-03-26","description":"Date when the policy was made inactive.","format":"date"},"pensionable_salary":{"type":"integer","example":7000000,"description":"Optional \"pensionable\" salary used for group scheme pensions. Value must be in pennies for example £70,000 is 7000000"},"workplace_location":{"type":"string","example":"London","description":"Optional workplace location for the group scheme member."},"employment_division":{"type":"string","example":"Management","description":"Optional employment division for the group scheme member."}}},"App_Http_Requests_Plans_StoreSubGroupSchemeRequest":{"type":"object","required":["name","status"],"properties":{"name":{"type":"string","example":"Families","description":"The name for the sub-scheme","maxLength":255},"status":{"type":"string","example":"active","description":"\n\nPlan status for the member.\n\n| Value | Description |\n| ----- | ----------- |\n|active|Active|\n|inactive|Inactive|\n|proposed|Proposed|","enum":["active","inactive","proposed"]},"inactive_status":{"type":"string","example":"accepted","description":"\n\nOptional inactive status when the status is inactive.\n\n| Value | Description |\n| ----- | ----------- |\n|accepted|Accepted|\n|agency_transferred|Agency Transferred|\n|cancelled|Cancelled|\n|claimed|Claimed|\n|complete|Complete|\n|death_event|Death Event|\n|deferred|Deferred|\n|drawdown|Drawdown|\n|expired|Expired|\n|full_drawdown|Full Drawdown|\n|issued|Issued|\n|lapsed|Lapsed|\n|matured|Matured|\n|not_proceeded_with|Not Proceeded With|\n|not_taken_up|Not Taken Up|\n|offered|Offered|\n|paid_up|Paid Up|\n|partial_drawdown|Partial Drawdown|\n|partial_surrender|Partial Surrender|\n|proposed|Proposed|\n|prospect|Prospect|\n|refunded|Refunded|\n|refused|Refused|\n|surrendered|Surrendered|\n|transfer|Transfer|\n|transferred|Transferred|\n|underwriting|Underwriting|\n|vested|Vested|\n|declined|Declined|\n|encashment|Encashment|\n|left_service|Left Service|\n|premium_holiday|Premium Holiday|\n|other|Other|","enum":["accepted","agency_transferred","cancelled","claimed","complete","death_event","deferred","drawdown","expired","full_drawdown","issued","lapsed","matured","not_proceeded_with","not_taken_up","offered","paid_up","partial_drawdown","partial_surrender","proposed","prospect","refunded","refused","surrendered","transfer","transferred","underwriting","vested","declined","encashment","left_service","premium_holiday","other"]},"policy_number":{"type":"string","example":"AVIVA-123","description":"Optional policy number if the sub scheme has separate policy numbers per member.","maxLength":255,"nullable":true},"inactive_at":{"type":"string","example":"2024-03-26","description":"Date when the policy was made inactive.","format":"date","nullable":true},"on_risk_at":{"type":"string","example":"2023-03-26","description":"Date when the policy went \"on risk\".","format":"date","nullable":true},"employer_percentage":{"type":"number","example":1.24,"description":"Employer percentage being paid in to pension plan.","format":"float","minimum":0.0,"maximum":100.0},"employer_frequency":{"type":"string","example":"monthly","description":"Frequency of the employer percentage being paid in to pension plan."},"employee_percentage":{"type":"number","example":9.65,"description":"Employee percentage being paid in to pension plan.","format":"float","minimum":0.0,"maximum":100.0},"employee_frequency":{"type":"string","example":"daily","description":"\n\nFrequency of the employee percentage being paid in to pension plan.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]}}},"App_Http_Requests_Automation_StoreAutomationBlueprintRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Add a new client to system on calendly webhook","description":"Name of the automation"},"trigger":{"type":"string","example":"webhook","description":"What triggers this automation, leave null if activation is manual"},"is_active":{"type":"boolean","example":false,"description":"Is this automation currently active, defaults to false"},"conditions":{"type":"array","example":[{"field":"client.is_prospect","operator":"equals","value":true}],"description":"List of conditions to evaluate on the trigger before running automation, operator types can be on ofequals, not_equal_to, more_than, less_than, less_than_or_equal_to and more_than_or_equal_to"},"configuration":{"type":"array","example":[],"description":"Extra configuration options for the trigger of this blueprint"}}},"App_Http_Requests_Automation_UpdateAutomationBlueprintRequest":{"type":"object","properties":{"name":{"type":"string","example":"Add a new client to system on calendly webhook","description":"Name of the automation"},"trigger":{"type":"string","example":"webhook","description":"What triggers this automation"},"is_active":{"type":"boolean","example":false,"description":"Is this automation currently active"},"conditions":{"type":"array","example":[],"description":"List of conditions to evaluate on the trigger before running automation, operator types can be on ofequals, not_equal_to, more_than, less_than, less_than_or_equal_to and more_than_or_equal_to","items":{"type":"object","example":[{"field":"client.is_prospect","operator":"equals","value":true}],"properties":{"field":{"type":"string","example":"client.is_prospect","description":"field name for the condition"},"operator":{"type":"string","example":"equals","description":"\n\noperator for the condition\n\n| Value | Description |\n| ----- | ----------- |\n|equals|Equals|\n|not_equal_to|Not Equal To|\n|more_than|More Than|\n|less_than|Less Than|\n|less_than_or_equal_to|Less Than Or Equal To|\n|more_than_or_equal_to|More Than Or Equal To|","enum":["equals","not_equal_to","more_than","less_than","less_than_or_equal_to","more_than_or_equal_to"]},"value":{"type":"string","example":"true","description":"value for condition to check against"}}}},"configuration":{"type":"object","description":"Extra configuration options for the trigger of this blueprint","additionalProperties":true}}},"App_Http_Requests_Automation_TriggerAutomationRequest":{"type":"object","required":["client_uuid"],"properties":{"client_uuid":{"type":"string","example":"6082d58e-f2ef-44e2-92f0-f9a51f290900","description":"The client to pass into the automation instance","format":"uuid"}}},"App_Http_Requests_Automation_StoreBlueprintStepRequest":{"type":"object","required":["name","type","configuration"],"properties":{"name":{"type":"string","example":"send an email","description":"Name of the automation step "},"type":{"type":"string","example":"mail.send","description":"Must be a verified action type or a condition"},"configuration":{"type":"array","example":{"params":{"account_uuid":{"type":"ref","value":"trigger.account.uuid"}}},"description":"Configuration options for this step, requirements depend on type"},"parent_step_uuid":{"type":"string","example":null,"description":"Uuid of the step that run before this step, if the parent step is a condition type then a condition state must be given"},"condition_state":{"type":"boolean","example":true,"description":"Only required if parent step is a condition, the condition state will determine if this step runs in the true branch or the false branch of the parent condition"}}},"App_Http_Requests_Automation_UpdateBlueprintStepRequest":{"type":"object","required":["configuration"],"properties":{"name":{"type":"string","example":"send an email","description":"Name of the automation step"},"type":{"type":"string","example":"mail.send","description":"must be a verified action type or a condition"},"configuration":{"type":"object","description":"Configuration options for this step, requirements depend on type","example":{"params":{"account_uuid":{"type":"ref","value":"trigger.account.uuid"}}},"properties":{"params":{"type":"array","example":[],"description":"List of parameters for this step","items":{"type":"object","example":{"type":"ref","value":"trigger.account.uuid"},"properties":{"type":{"type":"string","example":"ref","description":"The type of parameter, either ref or const","enum":["ref","const"]},"value":{"type":"string","example":"trigger.account.uuid","description":"The value of the parameter, either a reference to another step or a constant value"}}}}}},"parent_step_uuid":{"type":"string","example":"22ff1381-a44e-41e3-a813-63ac652a8db0","description":"Uuid of the step that run before this step, if the parent step is a condition type then a condition state must be given","format":"uuid"},"condition_state":{"type":"boolean","example":true,"description":"Only required if parent step is a condition, the condition state will determine if this step runs in the true branch or the false branch of the parent condition"}}},"App_Http_Requests_FactFind_StoreFactFindSchemaRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Mortgage Client Fact Find","description":"The name of the fact find schema. Must be unique."},"introduction_html":{"type":"string","example":"Welcome to our fact find! \u003cb\u003eYou can use some HTML too.\u003c/b\u003e","description":"The name of the fact find schema. Must be unique."}}},"App_Http_Requests_FactFind_UpdateFactFindSchemaRequest":{"type":"object","properties":{"name":{"type":"string","example":"Mortgage Client Fact Find","description":"The name of the fact find schema. Must be unique."},"introduction_html":{"type":"string","example":"Welcome to our fact find! \u003cb\u003eYou can use some HTML too.\u003c/b\u003e","description":"The name of the fact find schema. Must be unique."}}},"App_Http_Requests_FactFind_StoreFactFindSchemaSectionRequest":{"type":"object","required":["name","front_end_section"],"properties":{"name":{"type":"string","example":"Basic Details","description":"The name of the fact find schema section. Must be unique."},"front_end_section":{"type":"string","example":"basic_details","description":"\n\nThe reference to the Plannr front-end. Must be unique.\n\n| Value | Description |\n| ----- | ----------- |\n|basic_details|Basic Details|\n|be_iq_profiler|Be Iq Profiler|\n|contact_details|Contact Details|\n|debt|Debt|\n|dependants|Dependants|\n|employment|Employment|\n|employment_and_income|Employment And Income|\n|estate|Estate|\n|expenses|Expenses|\n|fixed_assets|Fixed Assets|\n|goals|Goals|\n|health|Health|\n|income|Income|\n|introduction|Introduction|\n|investments|Investments|\n|personal_details|Personal Details|\n|plans|Plans|\n|property|Property|\n|protection|Protection|\n|state_pension|State Pension|\n|summary|Summary|\n|vulnerability|Vulnerability|","enum":["basic_details","be_iq_profiler","contact_details","debt","dependants","employment","employment_and_income","estate","expenses","fixed_assets","goals","health","income","introduction","investments","personal_details","plans","property","protection","state_pension","summary","vulnerability"]},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease tell us your \u003cb\u003ebasic details.\u003c/b\u003e\u003c/p\u003e","description":"The HTML that should be displayed on the section."}}},"App_Http_Requests_FactFind_UpdateFactFindSchemaSectionRequest":{"type":"object","properties":{"name":{"type":"string","example":"Basic Details","description":"The name of the fact find schema section. Must be unique."},"front_end_section":{"type":"string","example":"basic_details","description":"\n\nThe reference to the Plannr front-end. Must be unique.\n\n| Value | Description |\n| ----- | ----------- |\n|basic_details|Basic Details|\n|be_iq_profiler|Be Iq Profiler|\n|contact_details|Contact Details|\n|debt|Debt|\n|dependants|Dependants|\n|employment|Employment|\n|employment_and_income|Employment And Income|\n|estate|Estate|\n|expenses|Expenses|\n|fixed_assets|Fixed Assets|\n|goals|Goals|\n|health|Health|\n|income|Income|\n|introduction|Introduction|\n|investments|Investments|\n|personal_details|Personal Details|\n|plans|Plans|\n|property|Property|\n|protection|Protection|\n|state_pension|State Pension|\n|summary|Summary|\n|vulnerability|Vulnerability|","enum":["basic_details","be_iq_profiler","contact_details","debt","dependants","employment","employment_and_income","estate","expenses","fixed_assets","goals","health","income","introduction","investments","personal_details","plans","property","protection","state_pension","summary","vulnerability"]},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease tell us your \u003cb\u003ebasic details.\u003c/b\u003e\u003c/p\u003e","description":"The HTML that should be displayed on the section."},"position":{"type":"integer","example":1,"description":"The position/order of the section"}}},"App_Http_Requests_FactFind_GenerateFactFindPdfRequest":{"type":"object","required":["client_uuid"],"properties":{"client_uuid":{"type":"string","example":"0f0dab82-898f-43d6-bb9c-790f25770041","description":"The UUID of the client.","format":"uuid"}}},"App_Http_Requests_FactFind_UpdateSectionProgressRequest":{"type":"object","required":["fact_find_pass_uuid","is_complete"],"properties":{"fact_find_pass_uuid":{"type":"string","example":"c6c1e11f-652d-4dab-b082-d7554217aaa9","description":"The fact find pass that is completing the fact find.","format":"uuid"},"is_complete":{"type":"boolean","example":true,"description":"Determines if the section is complete."}}},"App_Http_Requests_FactFind_StoreFactFindRequestRequest":{"type":"object","required":["fact_find_schema_uuid","client_uuid","circle_uuid"],"properties":{"fact_find_schema_uuid":{"type":"string","example":"74728a3b-691c-4de9-87b2-88e9c47725d7","description":"The UUID of the fact find schema that you would like the client to use.","format":"uuid"},"client_uuid":{"type":"string","example":"a24b99db-7c8d-4abb-a504-97d06952cf32","description":"The UUID of the client account to send the fact find request. This must only be individual clients. Cannot be used with circle_uuid.","format":"uuid"},"circle_uuid":{"type":"string","example":"d261487d-de44-412f-8f4a-8df6845afeb2","description":"The UUID of the circle to send the fact find request to. Cannot be used with client_uuid.","format":"uuid"},"send_invitation_email":{"type":"boolean","example":true,"description":"This controls if an email to the client is sent to invite them to complete a fact find. Set this to false if you are going to send your own invitation."},"invitation_text":{"type":"string","example":"Please complete this fact find.","description":"The text that will appear in the invitation email sent to the client (if enabled)"}}},"App_Http_Requests_FactFind_CompleteFactFindRequest":{"type":"object","required":["fact_find_pass_uuid"],"properties":{"fact_find_pass_uuid":{"type":"string","example":"96de7aa1-e7fa-4838-b7a6-ab0db8ba9a76","description":"The fact find pass that is completing the fact find.","format":"uuid"}}},"App_Http_Requests_FactFind_CreateAccountOnFactFindRequest":{"type":"object","required":["first_name","last_name","email"],"properties":{"first_name":{"type":"string","example":"John","description":"First name"},"last_name":{"type":"string","example":"Doe","description":"Last name"},"email":{"type":"string","example":"email@example.com","description":"Email address","format":"email"},"relationship":{"type":"string","example":"Spouse","description":"Relationship to the primary account holder"},"inverse_relationship":{"type":"string","example":"Self","description":"Relationship to the secondary account holder"}}},"App_Http_Requests_IncomeReconciliation_UploadProviderStatementRequest":{"type":"object","required":["statement_uuid","provider_uuid","date","statement_transactions"],"properties":{"statement_uuid":{"type":"string","example":"aadb7fca-d09d-40dd-8d95-3a4827eb675a","description":"Payment period statement UUID, must be unlocked.","format":"uuid"},"provider_uuid":{"type":"string","example":"fdcc039d-c8c7-48c5-a1f7-e0e4dbbe58ea","description":"Provider UUID","format":"uuid"},"date":{"type":"string","example":"2026-11-18","description":"Provider statement date","format":"date"},"reference":{"type":"string","example":"SW#8434","description":"Statement reference given by provider"},"statement_transactions":{"type":"array","example":[],"description":"An array of statement_transactions. Required data are policy_number, gross_amount, and category. If expected payments date is not provided it will use the provider statement date. Amounts are in pounds, not pennies — a plain number (e.g. 150) is treated as a whole pound amount (£150.00); include a decimal (e.g. 150.85, \"150.85\", or \"£150.85\") to specify pence. Can also provide extra metadata which can be the rest of the columns of the provider statement.","items":{"type":"object","example":[{"client_name":"Gareth Thompson","policy_number":"AVIVA_0001","date":"2026-11-16","gross_amount":"150.85","net_amount":"135.50","transaction_reference":"uXVxz4Cf","agency_number":"POOYCJ4u","product_reference":"aWj9aIka","category":"ongoing_fee","adviser_name":"Bill Gates","sender_id_sib_number":"Sender ID/SIB number","reason":"Provider Reason","scheme_name":"Scheme name","scheme_number":"Scheme number","customer_number":"Customer number","policy_market_value":"Policy market value","metadata":{"sub_reference":"q7TLo","postcode":"SW1A 2AA"}},{"client_first_name":"Barry","client_last_name":"Allen","policy_number":"AVIVA_0002","gross_amount":90,"category":"renewal","adviser_first_name":"Bruce","adviser_last_name":"Wayne"}],"properties":{"policy_number":{"type":"string","example":"AVIVA_0001","description":"Policy number associated with the transaction."},"gross_amount":{"type":"string","example":"150.85","description":"Gross amount of the transaction, in pounds. Accepts a plain number (e.g. 150, treated as £150.00), a decimal (e.g. 150.85), or a currency-formatted string (e.g. \"£150.85\")."},"category":{"type":"string","example":"adhoc","description":"\n\nCategory of the charge.\n\n| Value | Description |\n| ----- | ----------- |\n|adhoc|Adhoc|\n|administration|Administration|\n|adjustment|Adjustment|\n|bond_renewal|Bond Renewal|\n|clawback|Clawback|\n|dss_rebate|Dss Rebate|\n|fund|Fund|\n|indemnity|Indemnity|\n|initial_fee|Initial Fee|\n|level|Level|\n|non_indemnity|Non Indemnity|\n|one_off|One Off|\n|ongoing_fee|Ongoing Fee|\n|other_fee|Other Fee|\n|procuration_fee|Procuration Fee|\n|protected_rights|Protected Rights|\n|renewal|Renewal|\n|switch|Switch|\n|unknown|Unknown|","enum":["adhoc","administration","adjustment","bond_renewal","clawback","dss_rebate","fund","indemnity","initial_fee","level","non_indemnity","one_off","ongoing_fee","other_fee","procuration_fee","protected_rights","renewal","switch","unknown"]},"client_name":{"type":"string","example":"Gareth Thompson","description":"Name of the client associated with the transaction."},"date":{"type":"string","example":"2026-11-16","description":"Date of the transaction. If not provided the provider statement date will be used.","format":"date"},"net_amount":{"type":"string","example":"135.50","description":"Net amount of the transaction, in pounds. Accepts the same formats as gross_amount."},"transaction_reference":{"type":"string","example":"TRX123456","description":"Transaction reference provided by the provider."},"agency_number":{"type":"string","example":"AGENCY123","description":"Agency number associated with the transaction."},"product_reference":{"type":"string","example":"PROD456","description":"Product reference associated with the transaction."},"adviser_name":{"type":"string","example":"Bill Gates","description":"Name of the adviser associated with the transaction."},"sender_id_sib_number":{"type":"string","example":"Sender ID/SIB number","description":"Sender ID or SIB number associated with the transaction."},"reason":{"type":"string","example":"Provider Reason","description":"Reason for the transaction provided by the provider."},"scheme_name":{"type":"string","example":"Scheme name","description":"Scheme name associated with the transaction."},"scheme_number":{"type":"string","example":"Scheme number","description":"Scheme number associated with the transaction."},"customer_number":{"type":"string","example":"Customer number","description":"Customer number associated with the transaction."},"policy_market_value":{"type":"string","example":"Policy market value","description":"Market value of the policy associated with the transaction."},"metadata":{"type":"object","description":"Extra metadata which can be the rest of the columns of the provider statement.","additionalProperties":true}}}},"category_mapper":{"type":"object","description":"Array to convert statement transactions category in to a valid category for Plannr. Array key is original csv category value and array element is valid Plannr category. Valid Plannr categories are: adhoc, administration, adjustment, bond_renewal, clawback, dss_rebate, fund, indemnity, initial_fee, level, non_indemnity, one_off, ongoing_fee, other_fee, procuration_fee, protected_rights, renewal, switch and unknown","example":{"ADVISERFEE":"adhoc","PAYMENT":"initial"},"additionalProperties":true},"filename":{"type":"string","example":"provider-statement_transactions-2022-04-05.csv","description":"Filename of the CSV import statement_transactions."}}},"App_Http_Requests_IncomeReconciliation_ImportProviderStatementRequest":{"type":"object","required":["import_file","provider_statement","mapping","parameters"],"properties":{"import_file":{"type":"string","example":"file-contents","description":"The provider statement file csv.","format":"binary"},"provider_statement":{"type":"array","example":[],"description":"An array of provider statement properties.","items":{"type":"object","example":{"provider_statement":{"statement_uuid":null,"provider_uuid":null,"date":"2025-07-11","name":"July Statement","reference":"Aviva AV#834","origin":"upload"}},"properties":{"statement_uuid":{"type":"string","example":"f61bea51-8ebf-4b59-baf1-67403af8e5d9","description":"The uuid of the statement this refers to.","format":"uuid"},"provider_uuid":{"type":"string","example":"d413eced-6a88-43a5-a83f-625f7ffdaff4","description":"The uuid of the provider.","format":"uuid"},"date":{"type":"string","example":"2026-11-16","description":"Date of the provider statement.","format":"date"},"name":{"type":"string","example":"January Statement","description":"Name of the provider statement.","nullable":true},"reference":{"type":"string","example":"ABC123","description":"Reference of the provider statement.","nullable":true},"origin":{"type":"string","example":"edi","description":"\n\nThe origin of the provider statement.\n\n| Value | Description |\n| ----- | ----------- |\n|edi|Edi|\n|manual|Manual|\n|upload|Upload|\n|auto|Auto|","enum":["edi","manual","upload","auto"],"nullable":true}}}},"mapping":{"type":"object","description":"Array of mappings for the provider statement import. This defines how the columns in the CSV file map to the fields in the system.","example":{"adviser_name":"adviser_name","agency_number":"agency_number","client_name":"client_name","customer_number":"customer_number","date":"date","gross_amount":"gross_amount","net_amount":"net_amount","policy_number":"policy_number","product_reference":"product_reference","scheme_name":"scheme_name","scheme_number":"scheme_number","sender_id_sib_number":"sender_id_sib_number","transaction_reference":"transaction_reference","category":"revenue_type"},"additionalProperties":true},"parameters":{"type":"array","example":[],"description":"Array of additional data to complete the request.","items":{"type":"object","example":{"parameters":{"revenue_type_mapping":{"ADJ":"adjustment","IF":"initial_fee"}}},"properties":{"revenue_type_mapping":{"type":"object","description":"Mapping of revenue types for the provider statement import. This defines how the revenue types in the CSV file map to the charge categories in the system.","example":{"ADJ":"adjustment","IF":"initial_fee"},"additionalProperties":true},"has_headers":{"type":"boolean","example":true,"description":"Whether the first row of the CSV is a header row. Defaults to true. When false, map fields to column_1, column_2, ... by column position."}}}}}},"App_Http_Requests_IncomeReconciliation_StoreProviderStatementRequest":{"type":"object","required":["statement_uuid","provider_uuid","date"],"properties":{"statement_uuid":{"type":"string","example":"9f83927c-9416-47d9-b768-72a2ace5747a","description":"Payment period statement UUID","format":"uuid"},"provider_uuid":{"type":"string","example":"21433ebe-0334-4067-ac07-b2b843eda724","description":"Provider UUID","format":"uuid"},"date":{"type":"string","example":"2026-11-18","description":"Statement date","format":"date"},"name":{"type":"string","example":"Aviva Statement #3894","description":"Optional title to name the provider statement. If null an auto generated name will be created as provider name and statement date."},"reference":{"type":"string","example":"SW#8434","description":"Statement reference given by provider"}}},"App_Http_Requests_IncomeReconciliation_UpdateProviderStatementRequest":{"type":"object","properties":{"date":{"type":"string","example":"2026-11-18","description":"Statement date","format":"date"},"name":{"type":"string","example":"Aviva Statement #3894","description":"Optional title to name the provider statement. If null a auto generated name will be created as provider name and statement date."},"reference":{"type":"string","example":"SW#8434","description":"Statement reference given by provider"}}},"App_Http_Requests_IncomeReconciliation_UploadBankStatementRequest":{"type":"object","required":["statement_uuid","date","bank_transactions"],"properties":{"statement_uuid":{"type":"string","example":"9a82d520-6cac-476e-a52e-81f1cb3bb946","description":"Payment period statement UUID, must be unlocked.","format":"uuid"},"date":{"type":"string","example":"2026-11-18","description":"Bank statement date","format":"date"},"reference":{"type":"string","example":"Natwest Statement #8434","description":"Statement reference given by bank"},"bank_transactions":{"type":"array","example":[],"description":"An array of payments on a bank statement. All statement transactions amounts must be in pennies.","items":{"type":"object","example":[{"date":"2022-07-15","amount":12345,"reference":"AvivaRef#34"},{"date":"2022-07-14","amount":19855,"reference":"VIT_LTD"}],"properties":{"date":{"type":"string","example":"2022-07-15","description":"The date of the bank transaction.","format":"date"},"amount":{"type":"integer","example":19855,"description":"The amount of the bank transaction in pennies."},"reference":{"type":"string","example":"AvivaRef#34","description":"The reference of the bank transaction."}}}},"filename":{"type":"string","example":"natwest-statement-2022-04-05.csv","description":"Filename of the CSV import payments."}}},"App_Http_Requests_IncomeReconciliation_StoreBankStatementRequest":{"type":"object","required":["statement_uuid","date"],"properties":{"statement_uuid":{"type":"string","example":"5b775300-33e2-4d3a-bf0c-ec123f1e9ac8","description":"Payment period statement UUID","format":"uuid"},"date":{"type":"string","example":"2026-11-18","description":"Statement date","format":"date"},"name":{"type":"string","example":"Natwest Statement #8434","description":"Optional title to name the bank statement. If null an auto generated name will be created."},"reference":{"type":"string","example":"BAT#8434","description":"Statement reference given by bank"}}},"App_Http_Requests_IncomeReconciliation_UpdateBankStatementRequest":{"type":"object","properties":{"date":{"type":"string","example":"2026-11-18","description":"Statement date","format":"date"},"name":{"type":"string","example":"Aviva Statement #8434","description":"Optional title to name the bank statement. If null a auto generated name will be created."},"reference":{"type":"string","example":"NAT#8434","description":"Statement reference given by bank"}}},"App_Http_Requests_IncomeReconciliation_StoreChargeRequest":{"type":"object","required":["chargeable_type","chargeable_uuid","seller_uuid","payment_origin","type","category","recurring","start_date","tax_exempt","exclude_from_rmar","advice_type","service_type"],"properties":{"chargeable_type":{"type":"string","example":"client","description":"Model type that can have charges added to them.","enum":["client","plan"]},"chargeable_uuid":{"type":"string","example":"65d90938-422c-46f3-818d-7116b6296f7e","description":"UUID of chargeable model.","format":"uuid"},"seller_uuid":{"type":"string","example":"8a6a88c3-6562-44e0-bc0c-49b869bfbc85","description":"Employee that will be earning the revenue for this charge","format":"uuid"},"payment_origin":{"type":"string","example":"client","description":"\n\nWho is expected to pay this.\n\n| Value | Description |\n| ----- | ----------- |\n|client|Client|\n|provider|Provider|\n|unknown|Unknown|","enum":["client","provider","unknown"]},"type":{"type":"string","example":"fee","description":"\n\nExpectation type.\n\n| Value | Description |\n| ----- | ----------- |\n|fee|Fee|\n|commission|Commission|","enum":["fee","commission"]},"category":{"type":"string","example":"adhoc","description":"\n\nExpectation category.\n\n| Value | Description |\n| ----- | ----------- |\n|adhoc|Adhoc|\n|administration|Administration|\n|adjustment|Adjustment|\n|bond_renewal|Bond Renewal|\n|clawback|Clawback|\n|dss_rebate|Dss Rebate|\n|fund|Fund|\n|indemnity|Indemnity|\n|initial_fee|Initial Fee|\n|level|Level|\n|non_indemnity|Non Indemnity|\n|one_off|One Off|\n|ongoing_fee|Ongoing Fee|\n|other_fee|Other Fee|\n|procuration_fee|Procuration Fee|\n|protected_rights|Protected Rights|\n|renewal|Renewal|\n|switch|Switch|\n|unknown|Unknown|","enum":["adhoc","administration","adjustment","bond_renewal","clawback","dss_rebate","fund","indemnity","initial_fee","level","non_indemnity","one_off","ongoing_fee","other_fee","procuration_fee","protected_rights","renewal","switch","unknown"]},"recurring":{"type":"boolean","example":true,"description":"Determines whether the charge recurs at a set frequency. False for a one off statement transactions"},"frequency":{"type":"string","example":"daily","description":"\n\nCharge frequency from the given start date.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually"]},"start_date":{"type":"string","example":"2026-08-18","description":"Date the recurring charge starts from.","format":"date"},"end_date":{"type":"string","example":"2027-09-18","description":"Date the recurring statement transactions will stop. Leave blank for indefinitely or until charge schedule is deleted.","format":"date"},"amount":{"type":"integer","example":10000,"description":"The fixed amount value as an integer in pennies. Required when not providing a percentage or when chargeable_type is client."},"percentage":{"type":"number","example":11.0,"description":"Percentage of plans value as a charge. Required when not providing a fixed amount. Cannot use percentage for a client chargeable_type.","format":"float","minimum":0.0,"maximum":100.0},"percentage_frequency":{"type":"string","example":"daily","description":"\n\nFrequency that describes what the percentage is calculated from.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually"]},"tax_exempt":{"type":"boolean","example":true,"description":"Denotes whether the charge is exempt from tax."},"tax":{"type":"number","example":17.5,"description":"Percentage tax to be added on to net amount of charge. Will use fims default tax rate if not provided and charge is not tax exempt.","format":"float","minimum":0.0,"maximum":100.0},"exclude_from_rmar":{"type":"boolean","example":false,"description":"Whether or not to exclude this charge and its expectations from RMAR reporting."},"advice_type":{"type":"string","example":"independent","description":"\n\nAdvice type for the charge.\n\n| Value | Description |\n| ----- | ----------- |\n|independent|Independent|\n|restricted|Restricted|","enum":["independent","restricted"]},"service_type":{"type":"string","example":"initial","description":"\n\nService type for the charge. Recurring charges must be \"ongoing\"\n\n| Value | Description |\n| ----- | ----------- |\n|initial|Initial|\n|one_off|One Off|\n|ongoing|Ongoing|","enum":["initial","one_off","ongoing"]},"rmar_type":{"type":"string","example":"adviser_charge","description":"\n\nRMAR type for the charge. Can only be set for adjustments and unknown charge categories. All other categories are automatically calculated. Recurring charges must be \"ongoing\"\n\n| Value | Description |\n| ----- | ----------- |\n|adviser_charge|Adviser Charge|\n|clawback|Clawback|\n|commission|Commission|\n|other_fee|Other Fee|\n|unknown|Unknown|","enum":["adviser_charge","clawback","commission","other_fee","unknown"]},"premium_uuid":{"type":"string","example":"d2f2c6c6-1526-4f8b-a5d5-663b92532730","description":"UUID of premium a percentage charge is based from.","format":"uuid"},"advice_area":{"type":"object","description":"RMAR advice area values. Required for charges made directly on a client. All amounts are in pennies and must total the charge net amount.","example":{"deposit":7500,"non_regulated":0,"non_rmar":0,"non_investment_insurance":0,"regulated_mortgage":2500,"retail_investment":0,"other_fca_regulated":0,"unknown":0},"properties":{"deposit":{"type":"integer","example":0,"description":"Amount for deposit advice area."},"non_regulated":{"type":"integer","example":0,"description":"Amount for non regulated advice area."},"non_rmar":{"type":"integer","example":0,"description":"Amount for non RMAR advice area."},"non_investment_insurance":{"type":"integer","example":0,"description":"Amount for non investment insurance advice area."},"regulated_mortgage":{"type":"integer","example":0,"description":"Amount for regulated mortgage advice area."},"retail_investment":{"type":"integer","example":0,"description":"Amount for retail investment advice area."},"other_fca_regulated":{"type":"integer","example":0,"description":"Amount for other FCA regulated advice area."},"unknown":{"type":"integer","example":0,"description":"Amount for unknown advice area."}}},"notes":{"type":"string","example":"Note contents relevant to the charge.","description":"Notes to add on to the charge."}}},"App_Http_Requests_IncomeReconciliation_UpdateChargeRequest":{"type":"object","properties":{"seller_uuid":{"type":"string","example":"a168b52c-cf0b-429b-87f9-fddda0d26b85","description":"Employee that will be earning the revenue for this charge","format":"uuid"},"payment_origin":{"type":"string","example":"client","description":"\n\nWho is expected to pay this charge.\n\n| Value | Description |\n| ----- | ----------- |\n|client|Client|\n|provider|Provider|\n|unknown|Unknown|","enum":["client","provider","unknown"]},"type":{"type":"string","example":"fee","description":"\n\nExpectation type.\n\n| Value | Description |\n| ----- | ----------- |\n|fee|Fee|\n|commission|Commission|","enum":["fee","commission"]},"category":{"type":"string","example":"commission","description":"Expectation category."},"recurring":{"type":"boolean","example":true,"description":"Whether or not this charge recurring on a frequent basis"},"frequency":{"type":"string","example":"daily","description":"\n\nExpected charge frequency from the given start date.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually"]},"start_date":{"type":"string","example":"2026-08-18","description":"Date the recurring charge starts from.","format":"date"},"end_date":{"type":"string","example":"2027-09-18","description":"Date the recurring statement transactions will stop. Leave blank for indefinitely or until charge schedule is deleted.","format":"date"},"amount":{"type":"integer","example":10000,"description":"The fixed amount value as an integer in pennies. Required when not providing a percentage or when chargeable_type is client."},"percentage":{"type":"number","example":10.0,"description":"Percentage of plans value as a charge. Required when not providing a fixed amount. Cannot use percentage for a client chargeable_type.","format":"float","minimum":0.0,"maximum":100.0},"percentage_frequency":{"type":"string","example":"daily","description":"\n\nFrequency that describes what the percentage is calculated from.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually"]},"tax_exempt":{"type":"boolean","example":true,"description":"Denotes whether the charge is exempt from tax."},"tax":{"type":"number","example":17.5,"description":"Percentage tax to be added on to net amount of charge. Will use firms default tax rate if not provided and charge is not tax exempt.","format":"float","minimum":0.0,"maximum":100.0},"exclude_from_rmar":{"type":"boolean","example":false,"description":"Whether or not to exclude this charge and its expectations from RMAR reporting."},"advice_type":{"type":"string","example":"independent","description":"\n\nAdvice type for the charge.\n\n| Value | Description |\n| ----- | ----------- |\n|independent|Independent|\n|restricted|Restricted|","enum":["independent","restricted"]},"service_type":{"type":"string","example":"initial","description":"\n\nService type for the charge. Recurring charges must be \"ongoing\"\n\n| Value | Description |\n| ----- | ----------- |\n|initial|Initial|\n|one_off|One Off|\n|ongoing|Ongoing|","enum":["initial","one_off","ongoing"]},"rmar_type":{"type":"string","example":"adviser_charge","description":"\n\nRMAR type for the charge. Can only be set for adjustments and unknown charge categories. All other categories are automatically calculated. Recurring charges must be \"ongoing\"\n\n| Value | Description |\n| ----- | ----------- |\n|adviser_charge|Adviser Charge|\n|clawback|Clawback|\n|commission|Commission|\n|other_fee|Other Fee|\n|unknown|Unknown|","enum":["adviser_charge","clawback","commission","other_fee","unknown"]},"advice_area":{"type":"object","description":"RMAR advice area values. All advice types are required when updating amounts or advice area amounts for charges made directly on a client. All amounts are in pennies and must total the charge net amount.","example":{"deposit":7500,"non_regulated":0,"non_rmar":0,"non_investment_insurance":0,"regulated_mortgage":2500,"retail_investment":0,"other_fca_regulated":0,"unknown":0},"properties":{"deposit":{"type":"integer","example":0,"description":"Amount for deposit advice area."},"non_regulated":{"type":"integer","example":0,"description":"Amount for non regulated advice area."},"non_rmar":{"type":"integer","example":0,"description":"Amount for non RMAR advice area."},"non_investment_insurance":{"type":"integer","example":0,"description":"Amount for non investment insurance advice area."},"regulated_mortgage":{"type":"integer","example":0,"description":"Amount for regulated mortgage advice area."},"retail_investment":{"type":"integer","example":0,"description":"Amount for retail investment advice area."},"other_fca_regulated":{"type":"integer","example":0,"description":"Amount for other FCA regulated advice area."},"unknown":{"type":"integer","example":0,"description":"Amount for unknown advice area."}}}}},"App_Http_Requests_IncomeReconciliation_CalculateExpectationRequest":{"type":"object","required":["chargeable_type","chargeable_uuid","amount"],"properties":{"chargeable_type":{"type":"string","example":"client","description":"Chargeable model type to run calculation on. Valid types are: client, plan","enum":["client","plan"]},"chargeable_uuid":{"type":"string","example":"5d252311-e8ff-47a1-bf57-33fcb58842fe","description":"Chargeable model UUID to run calculation on.","format":"uuid"},"amount":{"type":"integer","example":12500,"description":"Expected net amount to calculate on in pennies."},"ongoing":{"type":"boolean","example":false,"description":"Whether to run the calculation based on ongoing charges. Leave as false for initial charges. Defaults to false."},"tax_exempt":{"type":"boolean","example":false,"description":"Denotes whether the net amount given is tax exempt or not. Defaults to true."},"tax":{"type":"number","example":17.5,"description":"Custom tax rate to apply to the net amount. Defaults to firm setting or defaults to Plannr setting of 20%.","format":"float","minimum":0.0,"maximum":100.0},"seller_uuid":{"type":"string","example":"068ef74b-c607-4be7-93e3-2510d614a0d6","description":"Select a different adviser to run the calculation again. If not provided a default based on the chargeable model will be selected.","format":"uuid"}}},"App_Http_Requests_IncomeReconciliation_UpdateExpectationRequest":{"type":"object","required":["seller_uuid","exclude_from_rmar","advice_type","service_type"],"properties":{"seller_uuid":{"type":"string","example":"95b0252c-fed9-4b9f-9c65-4e3cf86aa0e1","description":"Employee that will be earning the revenue for this expectation","format":"uuid"},"payment_origin":{"type":"string","example":"client","description":"\n\nWho is expected to pay this charge.\n\n| Value | Description |\n| ----- | ----------- |\n|client|Client|\n|provider|Provider|\n|unknown|Unknown|","enum":["client","provider","unknown"]},"type":{"type":"string","example":"fee","description":"\n\nExpectation type.\n\n| Value | Description |\n| ----- | ----------- |\n|fee|Fee|\n|commission|Commission|","enum":["fee","commission"]},"category":{"type":"string","example":"adhoc","description":"\n\nExpectation category.\n\n| Value | Description |\n| ----- | ----------- |\n|adhoc|Adhoc|\n|administration|Administration|\n|adjustment|Adjustment|\n|bond_renewal|Bond Renewal|\n|clawback|Clawback|\n|dss_rebate|Dss Rebate|\n|fund|Fund|\n|indemnity|Indemnity|\n|initial_fee|Initial Fee|\n|level|Level|\n|non_indemnity|Non Indemnity|\n|one_off|One Off|\n|ongoing_fee|Ongoing Fee|\n|other_fee|Other Fee|\n|procuration_fee|Procuration Fee|\n|protected_rights|Protected Rights|\n|renewal|Renewal|\n|switch|Switch|\n|unknown|Unknown|","enum":["adhoc","administration","adjustment","bond_renewal","clawback","dss_rebate","fund","indemnity","initial_fee","level","non_indemnity","one_off","ongoing_fee","other_fee","procuration_fee","protected_rights","renewal","switch","unknown"]},"expected_payment_date":{"type":"string","example":"2022-03-15","description":"Date you are expecting the charge to have been paid by.","format":"date"},"amount":{"type":"integer","example":10000,"description":"The fixed amount value as an integer in pennies. Required when not providing a percentage or when chargeable_type is client."},"percentage":{"type":"number","example":20.0,"description":"Percentage of plans value as a charge. Required when not providing a fixed amount. Cannot use percentage for a client chargeable_type.","format":"float","minimum":0.0,"maximum":100.0},"tax_exempt":{"type":"boolean","example":true,"description":"Denotes whether the charge is exempt from tax."},"exclude_from_rmar":{"type":"boolean","example":false,"description":"Whether or not to exclude this charge and its expectations from RMAR reporting."},"advice_type":{"type":"string","example":"independent","description":"\n\nAdvice type for the expectation.\n\n| Value | Description |\n| ----- | ----------- |\n|independent|Independent|\n|restricted|Restricted|","enum":["independent","restricted"]},"service_type":{"type":"string","example":"initial","description":"\n\nService type for the expectation. Recurring charges must be \"ongoing\"\n\n| Value | Description |\n| ----- | ----------- |\n|initial|Initial|\n|one_off|One Off|\n|ongoing|Ongoing|","enum":["initial","one_off","ongoing"]},"rmar_type":{"type":"string","example":"adviser_charge","description":"\n\nRMAR type for the expectation. Can only be set for adjustments and unknown charge categories. All other categories are automatically calculated. Recurring charges must be \"ongoing\"\n\n| Value | Description |\n| ----- | ----------- |\n|adviser_charge|Adviser Charge|\n|clawback|Clawback|\n|commission|Commission|\n|other_fee|Other Fee|\n|unknown|Unknown|","enum":["adviser_charge","clawback","commission","other_fee","unknown"]},"advice_area":{"type":"object","description":"RMAR advice area values. Required for expectations directly on a client. All amounts are net amounts in pennies. Must total the expectation net amount.","example":{"deposit":7500,"non_regulated":0,"non_rmar":0,"non_investment_insurance":0,"regulated_mortgage":2500,"retail_investment":0,"other_fca_regulated":0,"unknown":0},"properties":{"deposit":{"type":"integer","example":0,"description":"Amount for deposit advice area."},"non_regulated":{"type":"integer","example":0,"description":"Amount for non regulated advice area."},"non_rmar":{"type":"integer","example":0,"description":"Amount for non RMAR advice area."},"non_investment_insurance":{"type":"integer","example":0,"description":"Amount for non investment insurance advice area."},"regulated_mortgage":{"type":"integer","example":0,"description":"Amount for regulated mortgage advice area."},"retail_investment":{"type":"integer","example":0,"description":"Amount for retail investment advice area."},"other_fca_regulated":{"type":"integer","example":0,"description":"Amount for other FCA regulated advice area."},"unknown":{"type":"integer","example":0,"description":"Amount for unknown advice area."}}}}},"App_Http_Requests_IncomeReconciliation_StoreStatementTransactionRequest":{"type":"object","required":["provider_statement_uuid","statement_transactions"],"properties":{"statement_uuid":{"type":"string","example":"cb27c567-2199-4387-a25c-4f527d145226","description":"Required if adding client paid transactions that do not belong in a provider statement. You should be using provider_statement_uuid in most cases. Statement must also be unlocked.","format":"uuid"},"provider_statement_uuid":{"type":"string","example":"2bb923d1-f039-4a11-9b5d-48efbe7579a2","description":"Provider statement UUID to store these transactions in.","format":"uuid"},"statement_transactions":{"type":"array","example":[],"description":"An array of statement_transactions. If expected payments date is not provided it will use the provider statement date. All amounts must be in pennies. Can also provide extra metadata which can be the rest of the columns of the provider statement.","items":{"type":"object","example":[{"client_name":"Gareth Thompson","policy_number":"AVIVA_0001","date":"2026-11-16","gross_amount":15000,"net_amount":15000,"transaction_reference":"vEQXcxvH","agency_number":"qaRAAcET","product_reference":"an0q8V51","category":"ongoing_fee","adviser_name":"Bill Gates","sender_id_sib_number":"Sender ID/SIB number","reason":"Provider Reason","scheme_name":"Scheme name","scheme_number":"Scheme number","customer_number":"Customer number","policy_market_value":"Policy market value"},{"client_first_name":"Barry","client_last_name":"Allen","policy_number":"AVIVA_0002","date":"2026-11-16","gross_amount":8999,"category":"renewal","adviser_first_name":"Bruce","adviser_last_name":"Wayne"}],"properties":{"policy_number":{"type":"string","example":"AVIVA_0001","description":"Policy number associated with the transaction."},"gross_amount":{"type":"integer","example":15000,"description":"Gross amount of the transaction in pennies."},"category":{"type":"string","example":"adhoc","description":"\n\nCategory of the charge.\n\n| Value | Description |\n| ----- | ----------- |\n|adhoc|Adhoc|\n|administration|Administration|\n|adjustment|Adjustment|\n|bond_renewal|Bond Renewal|\n|clawback|Clawback|\n|dss_rebate|Dss Rebate|\n|fund|Fund|\n|indemnity|Indemnity|\n|initial_fee|Initial Fee|\n|level|Level|\n|non_indemnity|Non Indemnity|\n|one_off|One Off|\n|ongoing_fee|Ongoing Fee|\n|other_fee|Other Fee|\n|procuration_fee|Procuration Fee|\n|protected_rights|Protected Rights|\n|renewal|Renewal|\n|switch|Switch|\n|unknown|Unknown|","enum":["adhoc","administration","adjustment","bond_renewal","clawback","dss_rebate","fund","indemnity","initial_fee","level","non_indemnity","one_off","ongoing_fee","other_fee","procuration_fee","protected_rights","renewal","switch","unknown"]},"client_name":{"type":"string","example":"Gareth Thompson","description":"Name of the client associated with the transaction."},"date":{"type":"string","example":"2026-11-16","description":"Date of the transaction. If not provided the provider statement date will be used.","format":"date"},"net_amount":{"type":"integer","example":15000,"description":"Net amount of the transaction in pennies."},"transaction_reference":{"type":"string","example":"TRX123456","description":"Transaction reference provided by the provider."},"agency_number":{"type":"string","example":"AGENCY123","description":"Agency number associated with the transaction."},"product_reference":{"type":"string","example":"PROD456","description":"Product reference associated with the transaction."},"adviser_name":{"type":"string","example":"Bill Gates","description":"Name of the adviser associated with the transaction."},"sender_id_sib_number":{"type":"string","example":"Sender ID/SIB number","description":"Sender ID or SIB number associated with the transaction."},"reason":{"type":"string","example":"Provider Reason","description":"Reason for the transaction provided by the provider."},"scheme_name":{"type":"string","example":"Scheme name","description":"Scheme name associated with the transaction."},"scheme_number":{"type":"string","example":"Scheme number","description":"Scheme number associated with the transaction."},"customer_number":{"type":"string","example":"Customer number","description":"Customer number associated with the transaction."},"policy_market_value":{"type":"string","example":"Policy market value","description":"Market value of the policy associated with the transaction."},"metadata":{"type":"object","description":"Extra metadata which can be the rest of the columns of the provider statement.","additionalProperties":true}}}}}},"App_Http_Requests_IncomeReconciliation_UpdateStatementTransactionRequest":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson","description":"The client name this payment would be for."},"date":{"type":"string","example":"2026-11-18","description":"Provider statement transaction date","format":"date"},"policy_number":{"type":"string","example":"AVIVA00001","description":"Provider reference of the plan the statement transactions is for."},"category":{"type":"string","example":"adhoc","description":"\n\nProvider statement transaction category.\n\n| Value | Description |\n| ----- | ----------- |\n|adhoc|Adhoc|\n|administration|Administration|\n|adjustment|Adjustment|\n|bond_renewal|Bond Renewal|\n|clawback|Clawback|\n|dss_rebate|Dss Rebate|\n|fund|Fund|\n|indemnity|Indemnity|\n|initial_fee|Initial Fee|\n|level|Level|\n|non_indemnity|Non Indemnity|\n|one_off|One Off|\n|ongoing_fee|Ongoing Fee|\n|other_fee|Other Fee|\n|procuration_fee|Procuration Fee|\n|protected_rights|Protected Rights|\n|renewal|Renewal|\n|switch|Switch|\n|unknown|Unknown|","enum":["adhoc","administration","adjustment","bond_renewal","clawback","dss_rebate","fund","indemnity","initial_fee","level","non_indemnity","one_off","ongoing_fee","other_fee","procuration_fee","protected_rights","renewal","switch","unknown"]},"gross_amount":{"type":"integer","example":15099,"description":"Transaction gross amount in lowest denomination."},"net_amount":{"type":"integer","example":15099,"description":"Transaction net amount in lowest denomination."},"adviser_name":{"type":"string","example":"Bill Gates","description":"The adviser name if given on the provider statement"},"transaction_reference":{"type":"string","example":"hqCYMnFQ5S","description":"Unique statement transactions reference provided by the provider."},"agency_number":{"type":"string","example":"eXrlhjxG9F","description":"Agency number of the transaction if given on the provider statement."},"product_reference":{"type":"string","example":"l33mOS23GF","description":"Product reference of the transaction if given on the provider statement."},"sender_id_sib_number":{"type":"string","example":"Sender ID/SIB number","description":"Sender ID/SIB number"},"reason":{"type":"string","example":"Reason","description":"Reason"},"scheme_name":{"type":"string","example":"Scheme name","description":"Scheme name"},"scheme_number":{"type":"string","example":"Scheme number","description":"Scheme number"},"customer_number":{"type":"string","example":"Customer number","description":"Customer number"},"policy_market_value":{"type":"string","example":"Policy market value","description":"Policy market value"},"payment_origin":{"type":"string","example":"client","description":"\n\nWhere this statement transactions came from.\n\n| Value | Description |\n| ----- | ----------- |\n|client|Client|\n|provider|Provider|\n|unknown|Unknown|","enum":["client","provider","unknown"]}}},"App_Http_Requests_IncomeReconciliation_StoreBankTransactionRequest":{"type":"object","required":["bank_statement_uuid","bank_transactions"],"properties":{"bank_statement_uuid":{"type":"string","example":"08e5cb05-d15b-4180-8e03-a3ab85342bdd","description":"Bank statement UUID to store these transactions in.","format":"uuid"},"bank_transactions":{"type":"array","example":[],"description":"An array of bank transactions on a bank statement. All bank transactions amounts must be in pennies.","items":{"type":"object","example":[{"date":"2022-07-15","amount":12345,"reference":"AvivaRef#34"},{"date":"2022-07-14","amount":19855,"reference":"VIT_LTD"}],"properties":{"date":{"type":"string","example":"2022-07-15","description":"The date of the bank transaction.","format":"date","nullable":true},"amount":{"type":"integer","example":19855,"description":"The amount of the bank transaction in pennies."},"reference":{"type":"string","example":"AvivaRef#34","description":"The reference of the bank transaction.","maxLength":255}}}}}},"App_Http_Requests_IncomeReconciliation_UpdateBankTransactionRequest":{"type":"object","properties":{"date":{"type":"string","example":"2026-11-18","description":"Transaction date","format":"date"},"amount":{"type":"integer","example":55099,"description":"Transaction amount in pennies."},"reference":{"type":"string","example":"b3cRjwjxJM","description":"Transaction reference as it appears on your bank statement."}}},"App_Http_Requests_IncomeReconciliation_ReconcileExpectationsRequest":{"type":"object","required":["expectation_uuid"],"properties":{"expectation_uuid":{"type":"string","example":"7ed68a18-f09c-4560-bc01-a41a44dc8f13","description":"The expectation to reconcile against statement transactions.","format":"uuid"},"statement_transactions":{"type":"array","example":["5f8ff750-6a56-47b7-82f8-a3d6bcb353a3","8895003f-fcba-4f57-a13a-5f814eb63303","6387dbc3-396d-4b58-a14d-3ca565f81c55"],"description":"The list of statement transactions to reconcile against expectations. Required if provider_statement_uuid is not present.","items":{"type":"string","example":"658e6397-26d8-4a19-983c-80693d3867d1","format":"uuid"}},"create_linked_policy_numbers":{"type":"boolean","example":true,"description":"Create linked policy numbers from the policy number of the statement transactions for the plan belonging to the expectation."}}},"App_Http_Requests_IncomeReconciliation_BalanceExpectationsRequest":{"type":"object","properties":{"expectation_uuids":{"type":"array","example":["cec9fa27-6262-414f-bdb2-1d3f744278f4","a365923f-fa8d-4b32-b70f-afb88dc8584b","243c7a5b-b0b8-4611-8cab-df7411c07ee2"],"description":"Array of expectation UUIDs to balance.","items":{"type":"string","example":"e0707108-742f-4350-ad23-d19026108f89","format":"uuid"}},"statement_transaction_uuids":{"type":"array","example":["c3ac7abf-552f-45e0-9bc4-e0ac337eeeba","4df22e43-356d-4340-988a-ccf73cb6c561","1b79c0d2-fadf-4440-9df3-6a79bb99051f"],"description":"Array of statement transactions UUIDs which will balance all expectations which are linked to transactions.","items":{"type":"string","example":"92036e63-c762-4dc2-889c-f32b323922f9","format":"uuid"}}}},"App_Http_Requests_IncomeReconciliation_UnbalanceExpectationRequest":{"type":"object","required":["expectation_uuid"],"properties":{"expectation_uuid":{"type":"string","example":"355e4327-c043-422f-94f3-ea809a70132b","description":"Expectation UUID to unbalance.","format":"uuid"}}},"App_Http_Requests_IncomeReconciliation_ReconcileBankTransactionsRequest":{"type":"object","required":["bank_transactions"],"properties":{"provider_statement_uuid":{"type":"string","example":"61d9a539-e773-47ab-9d91-dcab888069bd","description":"The UUID of the provider statement. Required if you do not provide statement_transactions.","format":"uuid"},"statement_transactions":{"type":"array","example":["7af1f315-7962-4cc9-8864-979cbd5ac259","38a84132-e394-440a-be10-8fec81fc334c","e0248d1d-bdbf-41dc-9ccb-1f22e861872c"],"description":"The list of statement transactions to reconcile against expectations. Required if provider_statement_uuid is not present.","items":{"type":"string","example":"cf0ee1bf-d670-49f7-b49f-5cbe4af870ab","format":"uuid"}},"bank_transactions":{"type":"array","example":["0e70dcf4-96b2-4985-b66f-8b3713e137d4","10378e5c-0e65-46a1-bf35-c8dc240cf677","22a227ec-4510-42d6-b25f-dcc7caf8cfff"],"description":"The list of bank payments to reconcile against statement transactions.","items":{"type":"string","example":"af555b17-e393-438a-a59e-5ac73695f95d","format":"uuid"}}}},"App_Http_Requests_IncomeReconciliation_BulkCreateExpectationsRequest":{"type":"object","required":["statement_transactions"],"properties":{"statement_transactions":{"type":"array","example":["635150fe-136c-49b1-b756-ed8e3e9e22ab","a5bde22f-0f20-4535-af1f-872ec896aa87","86c2d732-24f0-4469-bd8e-cee4551b3972"],"description":"Array of unreconciled statement transactions to bulk create matching expectations.","items":{"type":"string","example":"d6d4f1f0-8204-492f-9734-2178a9099322","format":"uuid"}}}},"App_Http_Requests_IncomeReconciliation_AutoReconcileStatementTransactionsRequest":{"type":"object","required":["statement_transaction_uuids","provider_statement_uuids"],"properties":{"statement_transaction_uuids":{"type":"array","example":["a53f59da-3892-47b4-806c-9e164ff8a7c2","abf667d1-b49c-4596-a5f4-cddc55cc54f7","9d7005bf-40a6-4389-ab6a-ec62583d32f0"],"description":"Statement transaction UUIDs to auto reconcile to expectations.","items":{"type":"string","example":"f9526818-40c3-4036-926b-042d4bcc6f90","format":"uuid"}},"provider_statement_uuids":{"type":"array","example":["38a2c1d8-79fb-4d41-a499-82548b4df41d","fdc1a454-d22f-48ce-9cac-c3aa124d1fc2","67310af0-4f74-4e01-aafb-9485587978bc"],"description":"Provider statement UUIDs to auto reconcile to expectations.","items":{"type":"string","example":"c5473082-1f82-43ad-85a1-e66a4cde55b5","format":"uuid"}}}},"App_Http_Requests_IncomeReconciliation_StoreChargeSplitRequest":{"type":"object","required":["splitable_type","splitable_uuid","account_uuid","charge_split_schema_uuid","percentage","transfer_fci","initial","ongoing"],"properties":{"splitable_type":{"type":"string","example":"client","description":"The model type the charge split is being added to.","enum":["client","plan","charge"]},"splitable_uuid":{"type":"string","example":"d9fed25c-4b51-4e0a-b070-c0a8f1a6c390","description":"The model UUID belonging to the splitable_type the charge split is being added to","format":"uuid"},"account_uuid":{"type":"string","example":"e27fe0e3-b46b-4167-9148-142ff836895d","description":"The account UUID of who will be receiving this charge split","format":"uuid"},"charge_split_schema_uuid":{"type":"string","example":"c6386590-d764-4d7c-8125-895e351172f4","description":"The charge split schema that defines the parameters of this charge split","format":"uuid"},"percentage":{"type":"number","example":45.8,"description":"Percentage of charge that the introducer will receive. Must be within the provided charge split schema min and max percentage bounds","format":"float","minimum":0.0,"maximum":100.0},"transfer_fci":{"type":"boolean","example":true,"description":"Whether the account will receive FCI recognition for this charge split. Provided charge split schema must allow option to be changed"},"initial":{"type":"boolean","example":true,"description":"Whether this charge split will be applied to initial charges. Provided charge split schema must allow option to be changed"},"ongoing":{"type":"boolean","example":true,"description":"Whether this charge split will be applied to ongoing charges. Provided charge split schema must allow option to be changed"},"apply_to_plans":{"type":"boolean","example":true,"description":"When adding a charge split against a client, you can choose whether to automatically apply to the client's plans too. Must be null or false for a plan splitable_type"}}},"App_Http_Requests_IncomeReconciliation_UpdateChargeSplitRequest":{"type":"object","properties":{"percentage":{"type":"number","example":11.7,"description":"Percentage of charge that the introducer will receive. Must be within the original charge split schema min and max percentage bounds","format":"float","minimum":0.0,"maximum":100.0},"transfer_fci":{"type":"boolean","example":true,"description":"Whether the account will receive FCI recognition for this charge split"},"initial":{"type":"boolean","example":true,"description":"Whether this charge split will be applied to initial charges"},"ongoing":{"type":"boolean","example":true,"description":"Whether this charge split will be applied to ongoing charges"},"apply_to_plans":{"type":"boolean","example":true,"description":"When adding a charge split against a client, you can choose whether to automatically apply to the client's plans too. Must be null or false for a plan splitable_type"}}},"App_Http_Requests_IncomeReconciliation_StoreAdviserSplitRequest":{"type":"object","required":["name","firm_percentage","adviser_percentage","type"],"properties":{"name":{"type":"string","example":"Trainee Rate","description":"The name of the adviser split"},"firm_percentage":{"type":"number","example":30.0,"description":"The percentage held by the firm on a charge","format":"float"},"adviser_percentage":{"type":"number","example":70.0,"description":"The percentage held by the selling adviser on a charge","format":"float"},"type":{"type":"string","example":"plan","description":"Whether or not this adviser split will be assigned directly to an adviser, or at a plan level to override the selling adviser's adviser split.","enum":["plan","adviser"]}}},"App_Http_Requests_IncomeReconciliation_UpdateAdviserSplitRequest":{"type":"object","properties":{"name":{"type":"string","example":"Trainee Rate","description":"The name of the adviser split"},"firm_percentage":{"type":"number","example":20.0,"description":"The percentage held by the firm on a charge","format":"float","minimum":0.0,"maximum":100.0},"adviser_percentage":{"type":"number","example":15.5,"description":"The percentage held by the selling adviser on a charge","format":"float","minimum":0.0,"maximum":100.0}}},"App_Http_Requests_IncomeReconciliation_StoreChargeSplitSchemaRequest":{"type":"object","required":["name","min_percentage","max_percentage","default_percentage","percentage_paid_by_firm","percentage_paid_by_adviser","can_change_transfer_fci","default_transfer_fci","can_change_initial","default_initial","can_change_ongoing","default_ongoing","valid_for_advisers","valid_for_clients","valid_for_introducers","visible_to_advisers"],"properties":{"name":{"type":"string","example":"Basic Introducer Rate","description":"Introducer split name"},"min_percentage":{"type":"number","example":20.0,"description":"Minimum percentage of overall charge introducer can be entitled to","format":"float","minimum":0.0,"maximum":100.0},"max_percentage":{"type":"number","example":40.0,"description":"Maximum percentage of overall charge introducer can be entitled to","format":"float","minimum":0.0,"maximum":100.0},"default_percentage":{"type":"number","example":27.5,"description":"Default percentage of overall charge introducer can be entitled to. Must be between minimum and maximum","format":"float","minimum":0.0,"maximum":100.0},"percentage_paid_by_firm":{"type":"number","example":18.0,"description":"Percentage of the introducer's cut of the expected amount to be paid by the firm","format":"float","minimum":0.0,"maximum":100.0},"percentage_paid_by_adviser":{"type":"number","example":17.62,"description":"Percentage of the introducer's cut of the expected amount to be paid by the selling adviser","format":"float","minimum":0.0,"maximum":100.0},"can_change_transfer_fci":{"type":"boolean","example":true,"description":"Whether the value for FCI contributions can be changed. Will only apply to advisers"},"default_transfer_fci":{"type":"boolean","example":true,"description":"Default value to whether the introducer will be recognised for FCI contributions. Will only apply to advisers"},"can_change_initial":{"type":"boolean","example":true,"description":"Whether the value for initial charges can be changed"},"default_initial":{"type":"boolean","example":true,"description":"Default value to whether this charge split schema will be applied to initial charges"},"can_change_ongoing":{"type":"boolean","example":true,"description":"Whether the value for ongoing charges can be changed"},"default_ongoing":{"type":"boolean","example":true,"description":"Default value to whether this charge split schema will be applied to ongoing charges"},"valid_for_advisers":{"type":"boolean","example":true,"description":"Whether this charge split schema can be applied for adviser accounts"},"valid_for_clients":{"type":"boolean","example":true,"description":"Whether this charge split schema can be applied for client accounts"},"valid_for_introducers":{"type":"boolean","example":true,"description":"Whether this charge split schema can be applied for introducer accounts"},"visible_to_advisers":{"type":"boolean","example":true,"description":"Whether this charge split schema is visible to advisers to use"}}},"App_Http_Requests_IncomeReconciliation_UpdateChargeSplitSchemaRequest":{"type":"object","properties":{"name":{"type":"string","example":"Basic Introducer Rate","description":"Introducer split name"},"min_percentage":{"type":"number","example":20.0,"description":"Minimum percentage of overall charge introducer can be entitled to. Required with max_percentage and default_percentage","format":"float","minimum":0.0,"maximum":100.0},"max_percentage":{"type":"number","example":47.5,"description":"Maximum percentage of overall charge introducer can be entitled to. Required with max_percentage and default_percentage","format":"float","minimum":0.0,"maximum":100.0},"default_percentage":{"type":"number","example":32.0,"description":"Default percentage of overall charge introducer can be entitled to. Must be between minimum and maximum. Required with min_percentage and max_percentage","format":"float","minimum":0.0,"maximum":100.0},"percentage_paid_by_firm":{"type":"number","example":20.0,"description":"Percentage of the introducer's cut of the expected amount to be paid by the firm. Required with percentage_paid_by_adviser","format":"float","minimum":0.0,"maximum":100.0},"percentage_paid_by_adviser":{"type":"number","example":20.0,"description":"Percentage of the introducer's cut of the expected amount to be paid by the selling adviser. Required with percentage_paid_by_firm","format":"float","minimum":0.0,"maximum":100.0},"can_change_transfer_fci":{"type":"boolean","example":true,"description":"Whether the value for FCI contributions can be changed. Will only apply to advisers"},"default_transfer_fci":{"type":"boolean","example":true,"description":"Default value to whether the introducer will be recognised for FCI contributions. Will only apply to advisers"},"can_change_initial":{"type":"boolean","example":true,"description":"Whether the value for initial charges can be changed"},"default_initial":{"type":"boolean","example":true,"description":"Default value to whether this charge split schema will be applied to initial charges"},"can_change_ongoing":{"type":"boolean","example":true,"description":"Whether the value for ongoing charges can be changed"},"default_ongoing":{"type":"boolean","example":true,"description":"Default value to whether this charge split schema will be applied to ongoing charges"},"valid_for_advisers":{"type":"boolean","example":true,"description":"Whether this charge split schema can be applied for adviser accounts"},"valid_for_clients":{"type":"boolean","example":true,"description":"Whether this charge split schema can be applied for client accounts"},"valid_for_introducers":{"type":"boolean","example":true,"description":"Whether this charge split schema can be applied for introducer accounts"},"visible_to_advisers":{"type":"boolean","example":true,"description":"Whether this charge split schema is visible to advisers to use"}}},"App_Http_Requests_StoreNewBusinessEventRequest":{"type":"object","required":["contribution_type","adviser_uuid","advice_type","conducted_by","source_of_funds","status"],"properties":{"plan_uuid":{"type":"string","example":"553e896e-b7be-4a2d-85c9-8cc02ac9d0c8","description":"Plan UUID. Must be a plan belonging to the firm. Required if client_uuid is not provided","format":"uuid"},"client_uuid":{"type":"string","example":"c99d774e-db9a-4374-a87e-b2c2eed0240f","description":"Client UUID. Must be a client belonging to the firm. Comma seperated list of uuids. Required if plan_uuid is not provided","format":"uuid"},"contribution_type":{"type":"string","example":"initial","description":"\n\nType of contribution.\n\n| Value | Description |\n| ----- | ----------- |\n|initial|Initial|\n|increment|Increment|\n|decrement|Decrement|\n|advice_point|Advice Point|\n|pension_transfer|Pension Transfer|\n|switch|Switch|","enum":["initial","increment","decrement","advice_point","pension_transfer","switch"]},"contribution_type_notes":{"type":"string","example":"Notes for contribution type","description":"Notes for contribution type."},"adviser_uuid":{"type":"string","example":"4ec9b2e4-a37a-40ac-9d7f-c67f650aff39","description":"Adviser UUID. Must be employee of the firm","format":"uuid"},"advice_type":{"type":"string","example":"advised","description":"\n\nType of advice.\n\n| Value | Description |\n| ----- | ----------- |\n|advised|Advised|\n|execution_only|Execution Only|\n|insistent_investor|Insistent Investor|\n|existing_provision|Existing Provision|\n|direct_offer|Direct Offer|\n|client_instruction|Client Instruction|","enum":["advised","execution_only","insistent_investor","existing_provision","direct_offer","client_instruction"]},"conducted_by":{"type":"string","example":"correspondence_only","description":"\n\nHow the advice was conducted.\n\n| Value | Description |\n| ----- | ----------- |\n|correspondence_only|Correspondence Only|\n|email|Email|\n|face_to_face|Face To Face|\n|internet|Internet|\n|other|Other|\n|printed_media_campaign|Printed Media Campaign|\n|unknown|Unknown|\n|telephone|Telephone|","enum":["correspondence_only","email","face_to_face","internet","other","printed_media_campaign","unknown","telephone"]},"source_of_funds":{"type":"string","example":"gift","description":"\n\nSource of funds.\n\n| Value | Description |\n| ----- | ----------- |\n|gift|Gift|\n|inheritance|Inheritance|\n|isa_transfer|ISA Transfer|\n|pension_transfer|Pension Transfer|\n|salary|Salary|\n|savings|Savings|\n|other|Other|","enum":["gift","inheritance","isa_transfer","pension_transfer","salary","savings","other"]},"source_of_funds_note":{"type":"string","example":"Other source of funds","description":"Note for other source of funds. Required if source_of_funds is \"other\""},"premium_amount":{"type":"integer","example":10000,"description":"Premium amount in pence. 10000 = £100.00"},"premium_currency":{"type":"string","example":"GBP","description":"\n\nPremium currency. Defaults to \"GBP\".\n\n| Value | Description |\n| ----- | ----------- |\n|GBP|G B P|","enum":["GBP"]},"premium_frequency":{"type":"string","example":"daily","description":"\n\nPremium frequency.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"start_date":{"type":"string","example":"2021-01-01","description":"Start date of premium. Required if status is \"accepted\"","format":"date"},"proposal_date":{"type":"string","example":"2020-10-12","description":"Proposal date of the New Business Event","format":"date"},"case_uuid":{"type":"string","example":"13f94c6d-9b20-447d-93dd-cf948dcca71b","description":"Case UUID to link this to a existing case","format":"uuid"},"is_vulnerable_client":{"type":"string","example":"yes","description":"\n\nIs this a vulnerable client. Defaults to \"no\".\n\n| Value | Description |\n| ----- | ----------- |\n|yes|Yes|\n|no|No|\n|possibly|Possibly|","enum":["yes","no","possibly"]},"is_replacing_existing_plan":{"type":"boolean","example":true,"description":"Is this replacing an existing plan"},"existing_plan_uuid":{"type":"string","example":"a72a4d49-7516-4633-966f-5083dd02146b","description":"Existing Plan UUID. Must be a plan belonging to the firm.","format":"uuid"},"existing_plan_details":{"type":"string","example":"Existing plan details","description":"Details of existing plan. Required if is_replacing_existing_plan is true and existing_plan_uuid is empty"},"opted_out_of_pension_scheme_for_plan":{"type":"boolean","example":true,"description":"Did the client opt out of an employer sponsored pension scheme to take out this plan. Required if related to a plan and is a pension plan"},"opted_out_at":{"type":"string","example":"2026-11-18","description":"The datetime when the pension scheme was opted out of. Required if opted_out_of_pension_scheme_for_plan is true","format":"date"},"opted_out_notes":{"type":"string","example":"Opted out of pension scheme","description":"Notes for opting out of pension scheme. Required if opted_out_of_pension_scheme_for_plan is true"},"status":{"type":"string","example":"accepted","description":"\n\nStatus of the New Business Event.\n\n| Value | Description |\n| ----- | ----------- |\n|accepted|Accepted|\n|proposed|Proposed|\n|rejected|Rejected|\n|deferred|Deferred|\n|NPW|NPW|","enum":["accepted","proposed","rejected","deferred","NPW"]}}},"App_Http_Requests_UpdateNewBusinessEventRequest":{"type":"object","required":["contribution_type","adviser_uuid","advice_type","conducted_by","source_of_funds","status"],"properties":{"plan_uuid":{"type":"string","example":"bc06711a-a4f5-49cf-8727-5a90a459430c","description":"Plan UUID. Must be a plan belonging to the firm. Only works if the new business event is not already joined to a plan","format":"uuid"},"contribution_type":{"type":"string","example":"initial","description":"\n\nType of contribution\n\n| Value | Description |\n| ----- | ----------- |\n|initial|Initial|\n|increment|Increment|\n|decrement|Decrement|\n|advice_point|Advice Point|\n|pension_transfer|Pension Transfer|\n|switch|Switch|","enum":["initial","increment","decrement","advice_point","pension_transfer","switch"]},"contribution_type_notes":{"type":"string","example":"Other contribution type","description":"Note for other contribution type"},"adviser_uuid":{"type":"string","example":"6b512045-85f2-4acf-8c2a-9b9c63290f7f","description":"Adviser UUID. Must be employee of the firm","format":"uuid"},"advice_type":{"type":"string","example":"advised","description":"\n\nType of advice.\n\n| Value | Description |\n| ----- | ----------- |\n|advised|Advised|\n|execution_only|Execution Only|\n|insistent_investor|Insistent Investor|\n|existing_provision|Existing Provision|\n|direct_offer|Direct Offer|\n|client_instruction|Client Instruction|","enum":["advised","execution_only","insistent_investor","existing_provision","direct_offer","client_instruction"]},"conducted_by":{"type":"string","example":"correspondence_only","description":"\n\nHow the advice was conducted.\n\n| Value | Description |\n| ----- | ----------- |\n|correspondence_only|Correspondence Only|\n|email|Email|\n|face_to_face|Face To Face|\n|internet|Internet|\n|other|Other|\n|printed_media_campaign|Printed Media Campaign|\n|unknown|Unknown|\n|telephone|Telephone|","enum":["correspondence_only","email","face_to_face","internet","other","printed_media_campaign","unknown","telephone"]},"source_of_funds":{"type":"string","example":"gift","description":"\n\nSource of funds.\n\n| Value | Description |\n| ----- | ----------- |\n|gift|Gift|\n|inheritance|Inheritance|\n|isa_transfer|ISA Transfer|\n|pension_transfer|Pension Transfer|\n|salary|Salary|\n|savings|Savings|\n|other|Other|","enum":["gift","inheritance","isa_transfer","pension_transfer","salary","savings","other"]},"source_of_funds_note":{"type":"string","example":"Other source of funds","description":"Note for other source of funds. Required if source_of_funds is \"other\""},"premium_amount":{"type":"integer","example":10000,"description":"Premium amount in pence. 10000 = £100.00"},"premium_currency":{"type":"string","example":"GBP","description":"\n\nPremium currency. Defaults to \"GBP\".\n\n| Value | Description |\n| ----- | ----------- |\n|GBP|G B P|","enum":["GBP"]},"premium_frequency":{"type":"string","example":"daily","description":"\n\nPremium frequency.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"start_date":{"type":"string","example":"2021-01-01","description":"Start date of premium. Required if status is \"accepted\"","format":"date"},"proposal_date":{"type":"string","example":"2020-10-12","description":"Proposal date of the New Business Event","format":"date"},"case_uuid":{"type":"string","example":"81e0f4f5-2074-4041-a737-d5a9b2dd0392","description":"Case UUID to link this to a existing case","format":"uuid"},"is_vulnerable_client":{"type":"string","example":"yes","description":"\n\nIs this a vulnerable client. Defaults to \"no\".\n\n| Value | Description |\n| ----- | ----------- |\n|yes|Yes|\n|no|No|\n|possibly|Possibly|","enum":["yes","no","possibly"]},"is_replacing_existing_plan":{"type":"boolean","example":true,"description":"Is this replacing an existing plan"},"existing_plan_uuid":{"type":"string","example":"ea348eb7-d3af-41da-ab21-5ff097ba4074","description":"Existing Plan UUID. Must be a plan belonging to the firm.","format":"uuid"},"existing_plan_details":{"type":"string","example":"Existing plan details","description":"Details of existing plan. Required if is_replacing_existing_plan is true and existing_plan_uuid is empty"},"opted_out_of_pension_scheme_for_plan":{"type":"boolean","example":true,"description":"Did the client opt out of an employer sponsored pension scheme to take out this plan. Required if related to a plan and is a pension plan"},"opted_out_at":{"type":"string","example":"2026-11-18","description":"The datetime when the pension scheme was opted out of. Required if opted_out_of_pension_scheme_for_plan is true","format":"date"},"opted_out_notes":{"type":"string","example":"Opted out of pension scheme","description":"Notes for opting out of pension scheme. Required if opted_out_of_pension_scheme_for_plan is true"},"status":{"type":"string","example":"accepted","description":"\n\nStatus of the New Business Event.\n\n| Value | Description |\n| ----- | ----------- |\n|accepted|Accepted|\n|proposed|Proposed|\n|rejected|Rejected|\n|deferred|Deferred|\n|NPW|NPW|","enum":["accepted","proposed","rejected","deferred","NPW"]}}},"App_Http_Requests_Addons_UpdateFirmAddonSubFirmsRequest":{"type":"object","required":["restricted"],"properties":{"restricted":{"type":"boolean","example":true,"description":"Whether availability is limited to sub_firm_uuids. False makes the addon available to every sub-firm again."},"sub_firm_uuids":{"type":"array","example":[],"description":"UUIDs of your sub-firms the addon is available to. Selecting a sub-firm also covers its own sub-firms. Only used when restricted is true; an empty array makes the addon available to no sub-firm.","items":{"type":"string","example":"ba78aa32-99d3-4158-9b6e-85864c6708f1","format":"uuid"}}}},"App_Http_Requests_Addons_SubscribeToAddonRequest":{"type":"object","required":["addon_id","enabled"],"properties":{"addon_id":{"type":"string","example":"transact_valuation_feed","description":"Unique identifier of the addon to subscribe to"},"config":{"type":"object","description":"Configuration parameters dependant on type of addon","example":{"api_key":"apikey123"},"additionalProperties":true},"enabled":{"type":"boolean","example":true,"description":"If the addon should start enabled"}}},"App_Http_Requests_Addons_UpdateAddonSubscriptionConfigRequest":{"type":"object","properties":{"config":{"type":"object","description":"Configuration parameters dependant on type of addon.","example":{"api_key":"example-api-key"},"additionalProperties":true}}},"App_Http_Requests_Reports_StoreReportRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Client Export 22nd July","description":"Name of the report"},"report_type_id":{"type":"string","example":"actual_vs_estimate_report","description":"Type of report to generate, available types are actual_vs_estimate_report, adviser_income_detailed, aged_debt_report, cases_export, charges_export, circle_export, client_expenditure_export, client_export, client_or_circle_expenditure_export, conversion_pipeline, employee_export, form_submission_export, group_scheme_members_export, holding_export, income_and_employment_export, hybiscus_valuation_report, income_reconciliation_export, new_business_export, new_business_summary_report, note_export, plan_export, portal_engagement_export, premium_export, revenue_analysis_based_on_receipts, rmar, staff_member_export, task_export, time_entries, valuation_report","enum":["actual_vs_estimate_report","adviser_income_detailed","aged_debt_report","cases_export","charges_export","circle_export","client_expenditure_export","client_export","client_or_circle_expenditure_export","conversion_pipeline","employee_export","form_submission_export","group_scheme_members_export","holding_export","income_and_employment_export","hybiscus_valuation_report","income_reconciliation_export","new_business_export","new_business_summary_report","note_export","plan_export","portal_engagement_export","premium_export","revenue_analysis_based_on_receipts","rmar","staff_member_export","task_export","time_entries","valuation_report"]},"report_template_uuid":{"type":"string","example":"96ee357a-469f-483b-9886-8559662d2970","description":"Report template uuid to generate a report from, required if no report id is passed","format":"uuid"},"report_query":{"type":"object","description":"Extra query parameters that can be used to manipulate the report output, only works for new reports, for templates the data stored on the template will be used","example":{"start_date":"2026-11-18T20:11:44+00:00"},"additionalProperties":true},"save_as_template":{"type":"boolean","example":true,"description":"setting this to true will save this request as a template that can be reused, if no value is given this defaults to false, does not store a new template if a template if a template is passed"},"template_name":{"type":"string","example":"my-template","description":"The name of the template to generate. Required if save_as_template is true."}}},"App_Http_Requests_StoreReportTemplateRequest":{"type":"object","required":["name","report_type_id"],"properties":{"name":{"type":"string","example":"Task report for clients over the age 60","description":"Name of the report template"},"report_type_id":{"type":"string","example":"rmar","description":"Valid report type id, this template will generate reports of this type"},"report_query":{"type":"object","description":"Extra query information that may be either required or optional depending on the report type","example":{"start_age":60},"additionalProperties":true}}},"App_Http_Requests_UpdateReportTemplateRequest":{"type":"object","properties":{"name":{"type":"string","example":"Task report for clients over the age 60","description":"Name of the report template"},"report_query":{"type":"object","description":"Extra query information that may be either required or optional depending on the report type","example":{"start_age":60},"additionalProperties":true}}},"App_Http_Requests_CustomFields_StoreCustomFieldRequest":{"type":"object","required":["type","name","is_required","model_type"],"properties":{"type":{"type":"string","example":"string","description":"\n\nThe custom field type. Available options: string, number, selection, boolean, datetime and longtext\n\n| Value | Description |\n| ----- | ----------- |\n|string|String|\n|number|Number|\n|selection|Selection|\n|boolean|Boolean|\n|datetime|Datetime|\n|longtext|Longtext|","enum":["string","number","selection","boolean","datetime","longtext"]},"name":{"type":"string","example":"Favourite Drink","description":"The name of the custom field. Must be unique for the model_type."},"is_required":{"type":"boolean","example":true,"description":"Denotes if the custom field is required. If required, it must be specified when creating/updating a model."},"model_type":{"type":"string","example":"client","description":"The type of model the custom field applies for. Available options: client, board_task, case, lead, plan, task","enum":["client","board_task","case","lead","plan","task"]},"help_text":{"type":"string","example":"This is the client's favourite drink. You should make it for them before they arrive for meetings.","description":"Optional help text to aide the custom field. Will be displayed on Plannr."},"selection_options":{"type":"array","example":["Tea","Coffee","Water"],"description":"If the type is \"selection\" this array must be provided. This is the array of available options for the selection box."},"is_visible_to_clients":{"type":"boolean","example":true,"description":"Denotes if the custom field is visible and editable to clients and their fact finds."},"conditions":{"type":"array","example":[],"description":"Conditions that must be met for this custom field to apply. Each condition has an attribute and an array of acceptable values.","items":{"type":"object","example":{"attribute":"client_type","values":[]},"properties":{"attribute":{"type":"string","example":"client_type","description":"\n\nThe condition attribute. Must be valid for the chosen model_type.\n\n| Value | Description |\n| ----- | ----------- |\n|client_type|CLIENT_TYPE|\n|client_status|CLIENT_STATUS|\n|case_type|CASE_TYPE|\n|case_status|CASE_STATUS|\n|task_status|TASK_STATUS|\n|plan_type|PLAN_TYPE|\n|plan_sub_type|PLAN_SUB_TYPE|\n|plan_status|PLAN_STATUS|","enum":["client_type","client_status","case_type","case_status","task_status","plan_type","plan_sub_type","plan_status"]},"values":{"type":"array","example":[],"description":"Array of acceptable values for the condition attribute (UUIDs for relationships, enum values for enums)."}}}},"conditions_operator":{"type":"string","example":"all","description":"The logical operator for combining conditions. \"all\" (AND) or \"any\" (OR). Defaults to \"all\"."}}},"App_Http_Requests_CustomFields_UpdateCustomFieldRequest":{"type":"object","properties":{"type":{"type":"string","example":"string","description":"\n\nThe custom field type. Available options: string, number, selection, boolean, datetime and longtext\n\n| Value | Description |\n| ----- | ----------- |\n|string|String|\n|number|Number|\n|selection|Selection|\n|boolean|Boolean|\n|datetime|Datetime|\n|longtext|Longtext|","enum":["string","number","selection","boolean","datetime","longtext"]},"name":{"type":"string","example":"Favourite Drink","description":"The name of the custom field. Must be unique for the model_type."},"is_required":{"type":"boolean","example":true,"description":"Denotes if the custom field is required. If required, it must be specified when creating/updating a model."},"is_visible_to_clients":{"type":"boolean","example":true,"description":"Denotes if the custom field is visible and editable to clients and their fact finds."},"model_type":{"type":"string","example":"client","description":"The type of model the custom field applies for. Available options: client, board_task, case, lead, plan, task","enum":["client","board_task","case","lead","plan","task"]},"help_text":{"type":"string","example":"This is the client's favourite drink. You should make it for them before they arrive for meetings.","description":"Optional help text to aide the custom field. Will be displayed on Plannr."},"selection_options":{"type":"array","example":["Tea","Coffee","Water"],"description":"If the type is \"selection\" this array must be provided. This is the array of available options for the selection box."},"position":{"type":"integer","example":5,"description":"The position of the custom field. Will be placed last if left blank."},"conditions":{"type":"array","example":[],"description":"Conditions that must be met for this custom field to apply. Pass null or empty array to clear conditions.","items":{"type":"object","example":{"attribute":"client_type","values":[]},"properties":{"attribute":{"type":"string","example":"client_type","description":"\n\nThe condition attribute. Must be valid for the custom field's model type.\n\n| Value | Description |\n| ----- | ----------- |\n|client_type|CLIENT_TYPE|\n|client_status|CLIENT_STATUS|\n|case_type|CASE_TYPE|\n|case_status|CASE_STATUS|\n|task_status|TASK_STATUS|\n|plan_type|PLAN_TYPE|\n|plan_sub_type|PLAN_SUB_TYPE|\n|plan_status|PLAN_STATUS|","enum":["client_type","client_status","case_type","case_status","task_status","plan_type","plan_sub_type","plan_status"]},"values":{"type":"array","example":[],"description":"Array of acceptable values for the condition attribute."}}}},"conditions_operator":{"type":"string","example":"all","description":"The logical operator for combining conditions. \"all\" (AND) or \"any\" (OR). Defaults to \"all\"."}}},"App_Http_Requests_StoreCustomDefaultFoldersRequest":{"type":"object","required":["model","is_active"],"properties":{"description":{"type":"string","example":"Default folder structure for standard clients","description":"A description of the default folder structure"},"model":{"type":"string","example":"client","description":"What model this default folder structure is for. Can be either client or case"},"structure":{"type":"array","example":[{"name":"Documents","children":[{"name":"Contracts","children":[]},{"name":"Emails","children":[]}]},{"name":"Notes","children":[]}],"description":"The folder structure definition for the default folder structure.","items":{"allOf":[{"$ref":"#/components/schemas/DefaultFoldersStructure"}]}},"is_active":{"type":"boolean","example":true,"description":"Whether this default folder structure is active or not. Only one default folder structure for the same model and parameter can be active at a time."},"parameter":{"type":"string","example":"individual","description":"The parameter for the default folder structure. If the model is client, this can be either individual, trust, business or shared. If the type is case, this can be any of the case types that are available in the firm. Leaving it null will make the custom default folders apply to all clients/cases."},"for_existing":{"type":"boolean","example":true,"description":"Whether this default folder structure is applied to existing clients or not. If this is false, the default folder structure will only be applied to new clients. Required if the model is client"}}},"App_Http_Requests_UpdateCustomDefaultFoldersRequest":{"type":"object","properties":{"description":{"type":"string","example":"Default folder structure for standard clients","description":"A description of the default folder structure"},"model":{"type":"string","example":"client","description":"What model this default folder structure is for. Can be either client or case"},"structure":{"type":"array","example":[{"name":"Documents","children":[{"name":"Contracts","children":[]},{"name":"Emails","children":[]}]},{"name":"Notes","children":[]}],"description":"The folder structure definition for the default folder structure.","items":{"allOf":[{"$ref":"#/components/schemas/DefaultFoldersStructure"}]}},"is_active":{"type":"boolean","example":true,"description":"Whether this default folder structure is active or not. Only one default folder structure for the same model and parameter can be active at a time."},"parameter":{"type":"string","example":"individual","description":"The parameter for the default folder structure. If the model is client, this can be either individual, trust, business or shared. If the type is case, this can be any of the case types that are available in the firm."},"for_existing":{"type":"boolean","example":true,"description":"Whether this default folder structure is applied to existing clients or not. If this is false, the default folder structure will only be applied to new clients."}}},"App_Http_Requests_Addons_Seccl_StoreAdviserSecclNodeAssociationRequest":{"type":"object","required":["associations"],"properties":{"associations":{"type":"array","example":[],"description":"Associations to be created. Each association should have adviser_uuid and SECCL node_ids.","items":{"type":"object","example":{"adviser_uuid":"457c596f-c1f3-4ad4-8391-077531d14264","node_ids":["1234","321"]},"properties":{"adviser_uuid":{"type":"string","example":"457c596f-c1f3-4ad4-8391-077531d14264","description":"Adviser UUID","format":"uuid"},"node_ids":{"type":"array","example":["1234","321"],"description":"SECCL Node IDs"}}}}}},"App_Http_Requests_Addons_Seccl_CreateSecclClientRequest":{"type":"object","required":["client_type","first_name","surname","nationality","nationalities.*.code","nationalities.*.identifiers.*.name","nationalities.*.identifiers.*.available","date_of_birth","address_1","country","postcode","vulnerability.is_vulnerable","employers.*.company_name","employers.*.company_reg_no"],"properties":{"client_type":{"type":"string","example":"Individual","description":"\n\nThe type of client.\n\n| Value | Description |\n| ----- | ----------- |\n|Individual|INDIVIDUAL|\n|Individual Minor|INDIVIDUAL_MINOR|","enum":["Individual","Individual Minor"]},"node_id":{"type":"string","example":"2","description":"The Seccl node ID. Required for adult clients."},"parent_id":{"type":"string","example":"02GG28B","description":"The parent client identifier. Required for minor clients. Accepts either a Seccl client ID or a Plannr account UUID."},"title":{"type":"string","example":"Dr","description":"\n\nThe client's title. Required for adult clients.\n\n| Value | Description |\n| ----- | ----------- |\n|Dr|Dr|\n|Professor|Professor|\n|Mrs|Mrs|\n|Miss|Miss|\n|Mr|Mr|\n|Ms|Ms|\n|Mx|Mx|\n|Hon|Hon|\n|Sir|Sir|\n|Lord|Lord|\n|Lady|Lady|\n|Viscount|Viscount|\n|Viscountess|Viscountess|\n|Earl|Earl|\n|Countess|Countess|\n|Rabbi|Rabbi|\n|Duke|Duke|\n|Duchess|Duchess|\n|Rev|Rev|\n|Prof|Prof|\n|Dame|Dame|\n|Master|Master|\n|Judge|Judge|","enum":["Dr","Professor","Mrs","Miss","Mr","Ms","Mx","Hon","Sir","Lord","Lady","Viscount","Viscountess","Earl","Countess","Rabbi","Duke","Duchess","Rev","Prof","Dame","Master","Judge"]},"first_name":{"type":"string","example":"Jane","description":"The client's first name."},"surname":{"type":"string","example":"Smith","description":"The client's surname."},"email":{"type":"string","example":"jane.smith@example.com","description":"The client's email. Required for adult clients.","format":"email"},"nationality":{"type":"string","example":"GB","description":"The client's primary nationality (2-letter ISO code)."},"nationalities":{"type":"array","example":[{"code":"GB","identifiers":[{"name":"NINO","available":true,"value":"AB123456C"}]}],"description":"Array of nationalities with optional identifiers. Exactly one nationality must include identifiers, and exactly one identifier must be marked as available."},"nationalities.*.code":{"type":"string","example":"GB","description":"The 2-letter ISO country code.","minLength":2,"maxLength":2,"pattern":"^[A-Z]{2}$"},"nationalities.*.identifiers":{"type":"array","example":[{"name":"NINO","available":true,"value":"AB123456C"}],"description":"Array of tax identifiers for this nationality."},"nationalities.*.identifiers.*.name":{"type":"string","example":"NINO","description":"The identifier name (e.g., NINO, TIN, SSN, CONCAT)."},"nationalities.*.identifiers.*.available":{"type":"boolean","example":true,"description":"Whether this identifier is available for the client."},"nationalities.*.identifiers.*.value":{"type":"string","example":"AB123456C","description":"The identifier value. Required when available is true, must not be present when available is false or name is CONCAT."},"national_insurance_no":{"type":"string","example":"AB123456C","description":"The client's national insurance number."},"date_of_birth":{"type":"string","example":"1987-05-15","description":"The client's date of birth.","format":"date"},"flat_number":{"type":"string","example":"12","description":"The client's flat number."},"building_name":{"type":"string","example":"Suite E","description":"The client's building name."},"building_number":{"type":"string","example":"10","description":"The client's building number."},"address_1":{"type":"string","example":"Waterberry Drive","description":"The client's address line 1."},"address_2":{"type":"string","example":"Waterlooville","description":"The client's address line 2."},"country":{"type":"string","example":"GB","description":"The client's country."},"postcode":{"type":"string","example":"PO7 7YH","description":"The client's postcode."},"account_uuid":{"type":"string","example":"4ac4a9d0-d152-47ac-a669-64aa13ec8b84","description":"The UUID of an existing Plannr account to link to the newly created Seccl client. When provided, the Seccl client ID will be set as an external reference on that account before syncing.","format":"uuid"},"tax_domicile":{"type":"string","example":"GB","description":"The client's tax domicile (2-letter ISO code, currently only GB supported)."},"marital_status":{"type":"string","example":"Single","description":"\n\nThe client's marital status.\n\n| Value | Description |\n| ----- | ----------- |\n|Single|Single|\n|Married|Married|\n|Divorced|Divorced|\n|Widowed|Widowed|","enum":["Single","Married","Divorced","Widowed"]},"retirement_age":{"type":"integer","example":65,"description":"The client's expected retirement age.","minimum":0,"maximum":120},"vulnerability":{"type":"array","example":{"is_vulnerable":true,"reason":["Health"],"is_support_temporary":false},"description":"Vulnerability information for the client."},"vulnerability.is_vulnerable":{"type":"boolean","example":true,"description":"Whether the client is vulnerable."},"vulnerability.reason":{"type":"array","example":["Health"],"description":"Array of vulnerability reasons (max 4). Required when is_vulnerable is true."},"vulnerability.reason.*":{"type":"string","example":"Health","description":"\n\nA vulnerability reason.\n\n| Value | Description |\n| ----- | ----------- |\n|Health|HEALTH|\n|Life event|LIFE_EVENT|\n|Resilience|RESILIENCE|\n|Capability|CAPABILITY|","enum":["Health","Life event","Resilience","Capability"]},"vulnerability.is_support_temporary":{"type":"boolean","example":false,"description":"Whether the support required is temporary. Required when is_vulnerable is true."},"bank_details":{"type":"array","example":{"account_number":"12345678","sort_code":"123456"},"description":"Bank account details for the client."},"bank_details.account_number":{"type":"string","example":"12345678","description":"The bank account number. Required for adult clients unless the platform supports client-provided bank details. For minors, required if requires_debit_mandate is true.","minLength":8,"maxLength":8},"bank_details.sort_code":{"type":"string","example":"123456","description":"The bank sort code. Required for adult clients unless the platform supports client-provided bank details. For minors, required if requires_debit_mandate is true.","minLength":6,"maxLength":6},"requires_debit_mandate":{"type":"boolean","example":false,"description":"Whether a debit mandate is required for this client."},"employment_status":{"type":"string","example":"Employed","description":"\n\nThe client's employment status.\n\n| Value | Description |\n| ----- | ----------- |\n|Employed|Employed|\n|Retired|Retired|\n|Self Employed|Self Employed|\n|Care Under 16s|Care Under 16S|\n|Care Over 16|Care Over 16|\n|Education|Education|\n|Unemployed|Unemployed|\n|Other|Other|","enum":["Employed","Retired","Self Employed","Care Under 16s","Care Over 16","Education","Unemployed","Other"]},"employers":{"type":"array","example":[{"company_name":"Acme Ltd","company_reg_no":"12345678"}],"description":"Array of employer information (max 1)."},"employers.*.company_name":{"type":"string","example":"Acme Ltd","description":"The employer's company name."},"employers.*.company_reg_no":{"type":"string","example":"12345678","description":"The employer's company registration number."},"employers.*.address_detail":{"type":"array","example":{"address_1":"123 Business Park","country":"GB","post_code":"AB1 2CD"},"description":"The employer's address."},"employers.*.address_detail.flat_number":{"type":"string","example":"1","description":"The employer address flat number."},"employers.*.address_detail.building_name":{"type":"string","example":"Tower A","description":"The employer address building name."},"employers.*.address_detail.building_number":{"type":"string","example":"100","description":"The employer address building number."},"employers.*.address_detail.address_1":{"type":"string","example":"123 Business Park","description":"The employer address line 1."},"employers.*.address_detail.address_2":{"type":"string","example":"Industrial Estate","description":"The employer address line 2."},"employers.*.address_detail.country":{"type":"string","example":"GB","description":"The employer address country."},"employers.*.address_detail.post_code":{"type":"string","example":"AB1 2CD","description":"The employer address postcode."},"employers.*.bank_details":{"type":"array","example":{"sort_code":"123456","account_number":"12345678"},"description":"The employer's bank details."},"employers.*.bank_details.sort_code":{"type":"string","example":"123456","description":"The employer bank sort code.","minLength":6,"maxLength":6},"employers.*.bank_details.account_number":{"type":"string","example":"12345678","description":"The employer bank account number.","minLength":8,"maxLength":8},"aml":{"type":"boolean","example":true,"description":"AML acceptance confirmation. Required and must be accepted for adult clients."}}},"App_Http_Requests_Addons_Seccl_UpdateSecclClientRequest":{"type":"object","properties":{"application_uuid":{"type":"string","example":"b1dcdb97-93ea-4b30-add3-a9a18e0ff265","description":"The Seccl application","format":"uuid"},"title":{"type":"string","example":"Mr","description":"The client's title."},"first_name":{"type":"string","example":"Gareth","description":"The client's first name."},"surname":{"type":"string","example":"Thompson","description":"The client's surname."},"flat_number":{"type":"string","example":"12","description":"The client's flat number of their address."},"building_name":{"type":"string","example":"Suite E","description":"The client's building name of their address."},"building_number":{"type":"string","example":"12","description":"The client's building number of their address."},"address_1":{"type":"string","example":"Waterberry Drive","description":"The client's address 1 of their address."},"address_2":{"type":"string","example":"Waterlooville","description":"The client's address 2 of their address."},"country":{"type":"string","example":"GB","description":"The client's country of their address."},"postcode":{"type":"string","example":"PO77YH","description":"The client's post code of their address."},"email":{"type":"string","example":"gareth.thompson@plannrcrm.com","description":"The client's email."},"mobile":{"type":"string","example":"07890000000","description":"The client's mobile."},"nationality":{"type":"string","example":"GB","description":"The client's nationality."},"national_insurance_no":{"type":"string","example":"AB123456C","description":"The client's national insurance number."},"date_of_birth":{"type":"string","example":"1987-05-15","description":"The client's date of birth.","format":"date"},"tax_domicile":{"type":"string","example":"GB","description":"The client's tax domicile."},"marketing_consent":{"type":"boolean","example":true,"description":"Boolean to denote whether the client accepts the marketing communication preferences."},"bank_details":{"type":"array","example":{"account_number":"12345678","sort_code":"123456"},"description":"The client's bank details. Required for employee updates unless the platform supports client-provided bank details."},"marital_status":{"type":"string","example":"Single","description":"The client's marital status."},"retirement_age":{"type":"integer","example":67,"description":"The client's retirement age."},"vulnerability":{"type":"array","example":{"is_vulnerable":false,"reason":["Health","Resilience","Capability","Life event"],"is_support_temporary":false,"is_vulnerable_set_date":"2024-01-01"},"description":"The client's vulnerability information."},"requires_debit_mandate":{"type":"boolean","example":false,"description":"Whether the client requires a debit mandate."},"employment_status":{"type":"string","example":"Employed","description":"The client's employment status."},"employers":{"type":"array","example":[{"company_name":"Acme Corp","company_reg_no":"12345678","address_detail":{"flat_number":"12","building_name":"Suite E","building_number":"12","address_1":"Waterberry Drive","address_2":"Waterlooville","country":"GB","post_code":"PO77YH"},"bank_details":{"sort_code":"123456","account_number":"12345678","verification_status":"verified","debit_payment_mandate":true,"debit_payment_mandate_agreement_date":"2024-01-01"}}],"description":"Array of the client's employers."},"nationalities":{"type":"array","example":[{"code":"RO"},{"code":"GB","identifiers":[{"name":"National Insurance Number","available":true,"value":"AB000001D"}]}],"description":"The client's nationalities. Exactly one entry must contain an identifiers array, with exactly one identifier marked available. If available is true and name is not CONCAT, value is required. If name is CONCAT, value must be absent."},"aml":{"type":"boolean","example":true,"description":"AML declaration. Must be accepted when an employee updates the client; clients updating their own details must not send it."},"platform_terms_agreed":{"type":"boolean","example":true,"description":"Boolean to denote whether the client accepts the platform terms and conditions."}}},"App_Http_Requests_Addons_Seccl_SubmitClientBankDetailsRequest":{"type":"object","required":["sort_code","account_number"],"properties":{"sort_code":{"type":"string","example":"123456","description":"The bank sort code.","minLength":6,"maxLength":6},"account_number":{"type":"string","example":"12345678","description":"The bank account number.","minLength":8,"maxLength":8}}},"App_Http_Requests_Addons_SmartSearch_RunSmartSearchUKAMLCheckRequest":{"type":"object","required":["attributes"],"properties":{"attributes":{"type":"object","description":"The attributes to be sent","example":{"bank":{"account_type":"direct_debit","sortcode":"12-34-56","account_number":"12345678","roll_number":"CXJ-K6 897/98X"},"addresses":[],"documents":[]},"properties":{"bank":{"type":"object","description":"The array of bank parameters","example":{"account_type":"direct_debit","sortcode":"12-34-56","account_number":"12345678","roll_number":"CXJ-K6 897/98X"},"properties":{"account_type":{"type":"string","example":"direct_debit","description":"Bank account type"},"sortcode":{"type":"string","example":"12-34-56","description":"Bank account sort code"},"account_number":{"type":"string","example":"12345678","description":"Bank account number"},"roll_number":{"type":"string","example":"CXJ-K6 897/98X","description":"Bank account roll number"}}},"addresses":{"type":"array","example":[],"description":"The array of addresses","items":{"type":"object","example":{"flat":"Flat 2","building":"5","street_1":"The Briars","street_2":"Waterberry Drive","town":"Waterlooville","region":"Hampshire","postcode":"PO7 7YH","duration":3},"properties":{"flat":{"type":"string","example":"Flat 2","description":"Address flat name"},"building":{"type":"string","example":"5","description":"Address building name or number"},"street_1":{"type":"string","example":"The Briars","description":"First line of the address"},"street_2":{"type":"string","example":"Waterberry Drive","description":"Second line of the address"},"town":{"type":"string","example":"Waterlooville","description":"Town or city of the address"},"region":{"type":"string","example":"Hampshire","description":"Region of the address"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode of the address","maxLength":12,"pattern":"^[a-zA-Z]{1,2}\\d[a-zA-Z\\d]?\\s*\\d[a-zA-Z]{2}$"},"duration":{"type":"integer","example":3,"description":"Length of time the individual has lived at this address in months"}}}},"documents":{"type":"array","example":[],"description":"The array of document parameters","items":{"type":"object","example":{"national_insurance":"JM 12 34 56 A.","passport":{"country":"GBR","expiry":"2020-12-20","mrz_line_2":"3785333651GBR6210283M1601013\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c02"},"driving_licence":{"number":"JUDD9507139NP9LN"}},"properties":{"national_insurance":{"type":"string","example":"JM 12 34 56 A.","description":"National insurance number"},"passport":{"type":"object","description":"The array of passport parameters","example":{"country":"GBR","expiry":"2020-12-20","mrz_line_2":"3785333651GBR6210283M1601013\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c02"},"properties":{"country":{"type":"string","example":"GBR","description":"Passport country code"},"expiry":{"type":"string","example":"2020-12-20","description":"Passport expiry date","format":"date"},"mrz_line_2":{"type":"string","example":"3785333651GBR6210283M1601013\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c\u003c02","description":"Passport number"}}},"driving_licence":{"type":"object","description":"The array of driving licence parameters","example":{"number":"JUDD9507139NP9LN"},"properties":{"number":{"type":"string","example":"JUDD9507139NP9LN","description":"Driving Licence number"}}}}}}}}}},"App_Http_Requests_Addons_CreateBeIQInvitationRequest":{"type":"object","required":["client_account_uuid","employee_account_uuid"],"properties":{"client_account_uuid":{"type":"string","example":"eede7d69-708d-4cc0-aaf3-95f51f9addbd","description":"The client which you would like to send an invitation to.","format":"uuid"},"employee_account_uuid":{"type":"string","example":"563e48df-403c-4b13-88b1-99212115b051","description":"The employee to associate the client to in Be-IQ. This is only required for the first invitation sent.","format":"uuid"}}},"App_Http_Requests_Addons_Transact_TransactAccountOpeningRequest":{"type":"object","required":["adviser_id","investors","bank_account"],"properties":{"adviser_id":{"type":"string","example":"123456789","description":"The Transact adviser ID to open the account under."},"investors":{"type":"array","example":[],"description":"A list of investors to open accounts for.","items":{"type":"object","example":{"title":"mr","surname":"Miggins","given_names":"Ian","date_of_birth":"1981-11-18","gender":"male","email_address":"text@example.com","nino":"123456789","nationalities":["GB"],"tax_residencies":[],"investor_category":"RETAIL","mobile_number":{"country":"GB","number":"07700900000"},"residential_address":{"line1":"1 Washington Street","line2":"Worcester","post_code":"WR1 1NL","country":"GB"},"postal_address":{"line1":"1 Washington Street","line2":"Worcester","post_code":"WR1 1NL","country":"GB"}},"properties":{"title":{"type":"string","example":"mr","description":"\n\nInvestor title\n\n| Value | Description |\n| ----- | ----------- |\n|mr|Mr|\n|mrs|Mrs|\n|ms|Ms|\n|miss|Miss|\n|admiral|Admiral|\n|air_commodore|Air Commodore|\n|air_vice_marshall|Air Vice Marshall|\n|archdeacon|Archdeacon|\n|baron|Baron|\n|baroness|Baroness|\n|bishop|Bishop|\n|brigadier|Brigadier|\n|canon|Canon|\n|captain|Captain|\n|colonel|Colonel|\n|commander|Commander|\n|commodore|Commodore|\n|corporal|Corporal|\n|count|Count|\n|countess|Countess|\n|dame|Dame|\n|deacon|Deacon|\n|deaconess|Deaconess|\n|dr|Dr|\n|duchess|Duchess|\n|father|Father|\n|flight_lieutenant|Flight Lieutenant|\n|group_captain|Group Captain|\n|judge|Judge|\n|lady|Lady|\n|lance_corporal|Lance Corporal|\n|lieutenant|Lieutenant|\n|lieutenant_colonel|Lieutenant Colonel|\n|lieutenant_commander|Lieutenant Commander|\n|lord|Lord|\n|madam|Madam|\n|major|Major|\n|major_general|Major General|\n|master|Master|\n|monsignor|Monsignor|\n|mx|Mx|\n|other|Other|\n|pastor|Pastor|\n|prince|Prince|\n|princess|Princess|\n|private|Private|\n|professor|Professor|\n|rabbi|Rabbi|\n|rear_admiral|Rear Admiral|\n|reverend|Reverend|\n|reverend_doctor|Reverend Doctor|\n|right_honourable|Right Honourable|\n|right_honourable_lord|Right Honourable Lord|\n|right_reverend|Right Reverend|\n|second_lieutenant|Second Lieutenant|\n|sergeant|Sergeant|\n|sheriff|Sheriff|\n|sir|Sir|\n|sister|Sister|\n|squadron_leader|Squadron Leader|\n|staff_sergeant|Staff Sergeant|\n|surgeon_captain|Surgeon Captain|\n|the_earl_of|The Earl of|\n|the_honourable|The Honourable|\n|the_reverend_canon|The Reverend Canon|\n|trooper|Trooper|\n|unspecified|Unspecified|\n|venerable|Venerable|\n|very_reverend|Very Reverend|\n|viscount|Viscount|\n|viscountess|Viscountess|\n|wing_commander|Wing Commander|","enum":["mr","mrs","ms","miss","admiral","air_commodore","air_vice_marshall","archdeacon","baron","baroness","bishop","brigadier","canon","captain","colonel","commander","commodore","corporal","count","countess","dame","deacon","deaconess","dr","duchess","father","flight_lieutenant","group_captain","judge","lady","lance_corporal","lieutenant","lieutenant_colonel","lieutenant_commander","lord","madam","major","major_general","master","monsignor","mx","other","pastor","prince","princess","private","professor","rabbi","rear_admiral","reverend","reverend_doctor","right_honourable","right_honourable_lord","right_reverend","second_lieutenant","sergeant","sheriff","sir","sister","squadron_leader","staff_sergeant","surgeon_captain","the_earl_of","the_honourable","the_reverend_canon","trooper","unspecified","venerable","very_reverend","viscount","viscountess","wing_commander"]},"surname":{"type":"string","example":"Miggins","description":"Investor surname"},"given_names":{"type":"string","example":"Ian","description":"Investor given names"},"date_of_birth":{"type":"string","example":"1981-11-18","description":"Investor date of birth - YYYY-MM-DD","format":"date"},"gender":{"type":"string","example":"male","description":"\n\nInvestor gender\n\n| Value | Description |\n| ----- | ----------- |\n|male|male|\n|female|female|\n|non-binary|non-binary|\n|transgender|transgender|\n|intersex|intersex|\n|other|other|\n|unknown|unknown|","enum":["male","female","non-binary","transgender","intersex","other","unknown"]},"email_address":{"type":"string","example":"text@example.com","description":"Investor email address"},"nino":{"type":"string","example":"123456789","description":"Investor National Insurance number"},"nationalities":{"type":"array","example":["GB"],"description":"Investor nationalities, ISO 3166-1 alpha-2 codes"},"tax_residencies":{"type":"array","example":[],"description":"The array of tax residencies","items":{"type":"object","example":{"country":"GB","tax_id":"123456789"},"properties":{"country":{"type":"string","example":"GB","description":"Tax residency country code"},"tax_id":{"type":"string","example":"123456789","description":"Tax residency tax ID"}}}},"investor_category":{"type":"string","example":"RETAIL","description":"Investor category","enum":["RETAIL","PROFESSIONAL"]},"mobile_number":{"type":"object","description":"Investor mobile number","example":{"country":"GB","number":"07700900000"},"properties":{"country":{"type":"string","example":"GB","description":"Mobile number country, ISO 3166-1 alpha-2"},"number":{"type":"string","example":"07700900000","description":"Mobile number"}}},"residential_address":{"type":"object","description":"Investor residential address","example":{"line1":"1 Washington Street","line2":"Worcester","post_code":"WR1 1NL","country":"GB"},"properties":{"line1":{"type":"string","example":"1 Washington Street","description":"Residential address line 1"},"line2":{"type":"string","example":"Worcester","description":"Residential address line 2"},"post_code":{"type":"string","example":"WR1 1NL","description":"Residential address postcode"},"country":{"type":"string","example":"GB","description":"Residential address country, ISO 3166-1 alpha-2"}}},"postal_address":{"type":"object","description":"Investor postal address","example":{"line1":"1 Washington Street","line2":"Worcester","post_code":"WR1 1NL","country":"GB"},"properties":{"line1":{"type":"string","example":"1 Washington Street","description":"Investor postal address line 1"},"line2":{"type":"string","example":"Worcester","description":"Investor postal address line 2"},"post_code":{"type":"string","example":"WR1 1NL","description":"Investor postal address postcode"},"country":{"type":"string","example":"GB","description":"Investor postal address country, ISO 3166-1 alpha-2"}}}}}},"bank_account":{"type":"object","description":"Bank account details","example":{"sort_code":"123456","account_number":"12345678","account_name_or_roll_number":"Ian Miggins","is_building_society":true},"properties":{"sort_code":{"type":"string","example":"123456","description":"Bank account sort code - 6 digits, no hyphens or spaces."},"account_number":{"type":"string","example":"12345678","description":"Bank account number - max 8 characters."},"account_name_or_roll_number":{"type":"string","example":"Ian Miggins","description":"Bank account name or roll number - max 32 characters."},"is_building_society":{"type":"boolean","example":true,"description":"Is this a building society account?"}}}}},"App_Http_Requests_MortgageBrain_StoreMortgageSearchRequest":{"type":"object","required":["applicants","proceed"],"properties":{"applicants":{"type":"array","example":[],"description":"The applicants for the mortgage search. Must be at least one and no more than two.","items":{"type":"object","example":{"account_uuid":"018edc6b-0336-4465-af18-ed30ae16317e","title":"mr","date_of_birth":"1999-01-01","birth_gender":"male","salutation":"John","retirement_age":65,"employment_status":"employed","annual_salary_amount":3000000},"properties":{"account_uuid":{"type":"string","example":"018edc6b-0336-4465-af18-ed30ae16317e","description":"The UUID of the applicant","format":"uuid"},"title":{"type":"string","example":"mr","description":"\n\nThe title of the applicant\n\n| Value | Description |\n| ----- | ----------- |\n|mr|MR|\n|mrs|MRS|\n|miss|MISS|\n|ms|MS|\n|mx|MX|\n|dr|DR|\n|dame|DAME|\n|father|FATHER|\n|madam|MADAM|\n|lord|LORD|\n|sir|SIR|\n|prof|PROF|","enum":["mr","mrs","miss","ms","mx","dr","dame","father","madam","lord","sir","prof"]},"date_of_birth":{"type":"string","example":"1999-01-01","description":"The date of birth of the applicant","format":"date","nullable":true},"birth_gender":{"type":"string","example":"male","description":"\n\nThe birth gender of the applicant\n\n| Value | Description |\n| ----- | ----------- |\n|male|MALE|\n|female|FEMALE|","enum":["male","female"],"nullable":true},"salutation":{"type":"string","example":"John","description":"The salutation of the applicant","nullable":true},"retirement_age":{"type":"integer","example":65,"description":"The retirement age of the applicant","nullable":true},"employment_status":{"type":"string","example":"employed","description":"\n\nThe employment status of the applicant\n\n| Value | Description |\n| ----- | ----------- |\n|employed|EMPLOYED|\n|self_employed|SELF_EMPLOYED|\n|retired|RETIRED|","enum":["employed","self_employed","retired"],"nullable":true},"annual_salary_amount":{"type":"integer","example":3000000,"description":"The annual salary amount of the applicant. Price must be in pennies.","nullable":true}}}},"case_uuids":{"type":"array","example":["dcb8e214-b1b2-43fb-9c41-209b5f688ca9","bb9e4264-1a28-4cb2-a5ac-b4e527293770","8a2782ee-5e3e-4f52-8d02-b67818d27da8"],"description":"An optional array of case UUIDs to associate to the mortgage search","items":{"type":"string","example":"ba5acfbf-7fcc-4e6d-9f3e-6cf5bb80d9b8","format":"uuid"},"nullable":true},"case_uuid":{"type":"string","example":"63a1c4ac-d537-4d6a-b237-681e915fef9a","description":"An optional UUID of the case the mortgage search is being launched from. When supplied, the user is returned to that case after finishing in Mortgage Brain instead of the first applicant's contact page.","format":"uuid","nullable":true},"circle_uuid":{"type":"string","example":"7a1cbc5f-fd4e-4f12-9f29-6c0a752af74c","description":"An optional UUID of the circle the mortgage search is being launched from. When supplied, the user is returned to that circle after finishing in Mortgage Brain instead of the first applicant's contact page. Takes precedence over case_uuid.","format":"uuid","nullable":true},"oauth_connection_uuid":{"type":"string","example":"dfd0f895-fdd3-4321-a82b-c7ddb8599b61","description":"An optional OAuth2 connection UUID to overwrite the default behaviour (which is to pick the first Mortgage Brain OAuth2 connection)","format":"uuid","nullable":true},"proceed":{"type":"boolean","example":true,"description":"This parameter can be used to indicate whether to proceed with creating the mortgage search or not. If false, a 202 response will be returned without creating the search. This can be used to validate the data before continuing."}}},"App_Http_Requests_OAuth2_UpdateOAuthConnectionRequest":{"type":"object","properties":{"label":{"type":"string","example":"My Fundment Account 1","description":"The label of the OAuth2 connection"}}},"App_Http_Requests_V2_Rbac_StoreRoleRequest":{"type":"object","required":["name","permissions"],"properties":{"name":{"type":"string","example":"Admin Role","description":"The name of the role.","maxLength":255},"description":{"type":"string","example":"Full administrative access","description":"A description of the role.","maxLength":255},"permissions":{"type":"array","example":["network:read","firm:read","firm:update"],"description":"An array of permissions in the format \"resource:verb\".","items":{"type":"string","example":"network:read"}},"legacy_role":{"type":"string","example":"owner","description":"\n\nLegacy role which this Rbac role represents. Setting this removes the legacy_role from any other rbac roles for the firm\n\n| Value | Description |\n| ----- | ----------- |\n|owner|An owner of the firm|\n|admin|A legacy admin type employee\u003cbr/\u003e\u003cbr/\u003e\u003cb\u003eDEPRECATED:\u003c/b\u003e\u003cbr/\u003eThis value is replaced in system with `employee`\u003cbr/\u003eSince: 2026-07-27 v1.130.0|\n|member|A legacy member type employee\u003cbr/\u003e\u003cbr/\u003e\u003cb\u003eDEPRECATED:\u003c/b\u003e\u003cbr/\u003eThis value is replaced in system with `employee`\u003cbr/\u003eSince: 2026-07-27 v1.130.0|","enum":["owner","admin","member"],"nullable":true}}},"App_Http_Requests_V2_Rbac_UpdateRoleRequest":{"type":"object","required":["permissions"],"properties":{"name":{"type":"string","example":"Admin Role","description":"The name of the role.","maxLength":255},"description":{"type":"string","example":"Full administrative access","description":"A description of the role.","maxLength":255},"permissions":{"type":"array","example":["network:read","firm:read","firm:update"],"description":"An array of permissions in the format \"resource:verb\".","items":{"type":"string","example":"network:read"}},"legacy_role":{"type":"string","example":"owner","description":"\n\nLegacy role which this Rbac role represents. Setting this removes the legacy_role from any other rbac roles for the firm\n\n| Value | Description |\n| ----- | ----------- |\n|owner|An owner of the firm|\n|admin|A legacy admin type employee\u003cbr/\u003e\u003cbr/\u003e\u003cb\u003eDEPRECATED:\u003c/b\u003e\u003cbr/\u003eThis value is replaced in system with `employee`\u003cbr/\u003eSince: 2026-07-27 v1.130.0|\n|member|A legacy member type employee\u003cbr/\u003e\u003cbr/\u003e\u003cb\u003eDEPRECATED:\u003c/b\u003e\u003cbr/\u003eThis value is replaced in system with `employee`\u003cbr/\u003eSince: 2026-07-27 v1.130.0|","enum":["owner","admin","member"],"nullable":true}}},"App_Http_Requests_V2_Rbac_ManageRoleAssignmentRequest":{"type":"object","required":["assignees"],"properties":{"assignees":{"type":"array","example":["892fd58b-2583-4457-86c4-206835f6dbb1","dbfc3d3f-5138-4fbc-9814-40d363d55d3a","df7351cb-0278-47dd-b765-f0be88b50e86"],"description":"An array of user UUIDs to assign or revoke the role for.","items":{"type":"string","example":"9a08e81e-d15a-49af-aa6b-35e40255c0b3","format":"uuid"}},"target_type":{"type":"string","example":"network","description":"The type of target resource to scope the assignment to."},"target_uuid":{"type":"string","example":"5e5c76fc-e546-4e10-a372-15762c6909cc","description":"The UUID of the target resource.","format":"uuid"}}},"App_Http_Requests_V2_Risks_StoreRiskRequest":{"type":"object","required":["account_uuid","completed_at","completed_by"],"properties":{"account_uuid":{"type":"string","example":"fd91c60a-d74b-4c59-9f98-bc84c5796c64","description":"The UUID of the accounts who should own the risk. These must only be client accounts.","format":"uuid"},"level":{"type":"integer","example":52,"description":"The risk level of the clients risk assessment. Number between 1 and 1,000. Cannot be set with level_string","minimum":1,"maximum":1000,"nullable":true},"level_string":{"type":"string","example":"Moderately Aggressive","description":"The risk level of the client as a string/text. Cannot be set with level.","maxLength":255,"nullable":true},"completed_at":{"type":"string","example":"2025-11-18","description":"Date of risk assessment completion.","format":"date"},"completed_by":{"type":"string","example":"d25c5482-c225-4b7b-928e-aab7dd9e0b33","description":"Uuid of the employee that completed the risk assessment","format":"uuid"},"risk_assessment_provider":{"type":"string","example":"Defaqto","description":"Name of provider for the risk assessment","maxLength":255,"nullable":true},"time_horizon":{"type":"string","example":"For the next 5 years","description":"Time horizon: how long the risk assessment will last for the client.","maxLength":255,"nullable":true},"risk_description":{"type":"string","example":"The client has a moderate appetite for risk...","description":"Assessment results and recommendations from the risk assessment.","nullable":true},"chosen_risk_level":{"type":"integer","example":52,"description":"The advisor's chosen risk level. Number between 1 and 1,000.","minimum":1,"maximum":1000,"nullable":true},"chosen_risk_level_string":{"type":"string","example":"Moderately Aggressive","description":"The advisor's chosen risk level as text.","maxLength":255,"nullable":true},"chosen_risk_reason":{"type":"string","example":"Based on the assessment, the client...","description":"Rationale for the advisor's chosen risk level.","nullable":true}}},"App_Http_Requests_V2_Risks_UpdateRiskRequest":{"type":"object","properties":{"account_uuid":{"type":"string","example":"4395067a-c57c-4bcc-972a-ab20accf6f10","description":"The UUID of the accounts who should own the risk. These must only be client accounts.","format":"uuid"},"level":{"type":"integer","example":7,"description":"The risk level of the clients risk assessment. Number between 1 and 1,000. Cannot be set with level_string","minimum":1,"maximum":1000,"nullable":true},"level_string":{"type":"string","example":"Moderately Aggressive","description":"The risk level of the client as a string/text. Cannot be set with level.","maxLength":255,"nullable":true},"completed_at":{"type":"string","example":"2025-11-18","description":"Date of risk assessment completion.","format":"date"},"completed_by":{"type":"string","example":"62a7e581-3171-4e68-adba-848529009db8","description":"Uuid of the employee that completed the risk assessment","format":"uuid"},"risk_assessment_provider":{"type":"string","example":"Defaqto","description":"Name of provider for the risk assessment","maxLength":255,"nullable":true},"time_horizon":{"type":"string","example":"For the next 5 years","description":"Time horizon: how long the risk assessment will last for the client.","maxLength":255,"nullable":true},"risk_description":{"type":"string","example":"The client has a moderate appetite for risk...","description":"Assessment results and recommendations from the risk assessment.","nullable":true},"chosen_risk_level":{"type":"integer","example":52,"description":"The advisor's chosen risk level. Number between 1 and 1,000.","minimum":1,"maximum":1000,"nullable":true},"chosen_risk_level_string":{"type":"string","example":"Moderately Aggressive","description":"The advisor's chosen risk level as text.","maxLength":255,"nullable":true},"chosen_risk_reason":{"type":"string","example":"Based on the assessment, the client...","description":"Rationale for the advisor's chosen risk level.","nullable":true}}},"App_Http_Requests_V2_Addresses_StoreAddressRequest":{"type":"object","required":["account_uuids"],"properties":{"account_uuids":{"type":"array","example":["cb33529f-8756-4ccc-b661-3fecbddcf135","e4912a5a-e824-4a0f-88f7-f37dadafa5ad","5d995b60-87e2-4554-a5b6-83acbd55f99a"],"description":"The UUIDs of the accounts who should own the address. These must only be client accounts.","items":{"type":"string","example":"94c8cf42-8673-4143-a947-630f40ec53d5","format":"uuid"}},"primary_account_uuids":{"type":"array","example":["8a807dbc-9048-4d18-9129-0c2932e33aa7","eb1c0c07-727a-4ddb-931f-3856a2da4f18","3de91d11-9d10-4324-a08e-1f9002609bd2"],"description":"The UUIDs of the accounts who should have the address as their primary address.","items":{"type":"string","example":"cbe0819c-9570-4a3d-9031-bce4aff83515","format":"uuid"}},"is_primary":{"type":"boolean","example":true,"description":"When provided and set to true, it will make the created address the primary address for all of the account UUIDs provided."},"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"},"move_in_date":{"type":"string","example":"2024-06-20","description":"Move in date"},"moved_in_month":{"type":"integer","example":6,"description":"The month the client moved into this address."},"moved_in_year":{"type":"integer","example":2022,"description":"The year the client moved into this address."},"moved_out_month":{"type":"integer","example":1,"description":"The month the client moved out of this address."},"moved_out_year":{"type":"integer","example":2024,"description":"The year the client moved out of this address."},"residential_status":{"type":"string","example":"homeowner","description":"\n\nThe client's residential status when living at the address.\n\n| Value | Description |\n| ----- | ----------- |\n|homeowner|Homeowner|\n|renting|Renting|\n|living_with_parents|Living With Parents|\n|other|Other|","enum":["homeowner","renting","living_with_parents","other"]},"residential_status_other":{"type":"string","example":"Non-tenant occupier","description":"The client's residential status if it is not provided in the residential_status options. Must only be provided if residential_status is other."}}},"App_Http_Requests_V2_Addresses_UpdateAddressRequest":{"type":"object","properties":{"account_uuids":{"type":"array","example":["94b8e43e-d7ab-4e3d-a08b-ea7b85be2f6d","a5158b20-7995-4d57-b184-14bcfdfabe55","dac1945c-5659-4dbe-9637-6a3a44f23979"],"description":"The UUIDs of the accounts who should own the address. These must only be client accounts.","items":{"type":"string","example":"5c4f0b8c-2e7f-4695-b346-47fa58b1dc2d","format":"uuid"}},"primary_account_uuids":{"type":"array","example":["8eca941e-5469-4600-8921-ab3adaabd975","88a5c83b-5ffd-4624-82fd-129da7755fae","191c04c8-d940-45b1-9a60-c38a9c44a344"],"description":"The UUIDs of the accounts who should have the address as their primary address.","items":{"type":"string","example":"0e6b6ce3-894a-474b-b96b-d7ccb4223a9c","format":"uuid"}},"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"},"move_in_date":{"type":"string","example":"2024-06-20","description":"Move in date"},"moved_in_month":{"type":"integer","example":6,"description":"The month the client moved into this address."},"moved_in_year":{"type":"integer","example":2022,"description":"The year the client moved into this address."},"moved_out_month":{"type":"integer","example":1,"description":"The month the client moved out of this address."},"moved_out_year":{"type":"integer","example":2024,"description":"The year the client moved out of this address."},"residential_status":{"type":"string","example":"homeowner","description":"\n\nThe client's residential status when living at the address.\n\n| Value | Description |\n| ----- | ----------- |\n|homeowner|Homeowner|\n|renting|Renting|\n|living_with_parents|Living With Parents|\n|other|Other|","enum":["homeowner","renting","living_with_parents","other"]},"residential_status_other":{"type":"string","example":"Non-tenant occupier","description":"The client's residential status if it is not provided in the residential_status options. Must only be provided if residential_status is other."}}},"App_Http_Requests_V2_StoreContactDetailRequest":{"type":"object","required":["type","name","value","account_uuids"],"properties":{"type":{"type":"string","example":"email","description":"\n\nContact Detail type.\n\n| Value | Description |\n| ----- | ----------- |\n|email|Email|\n|phone_number|Phone Number|","enum":["email","phone_number"]},"is_primary":{"type":"boolean","example":true,"description":"Make this contact type the primary contact. Will make all other contact details of the same type no longer primary."},"name":{"type":"string","example":"Work phone number","description":"Description of contact detail","maxLength":255},"value":{"example":["+44751488454","0751488454",{"country":"AU","number":"+61 2 3456 7890"},"someone@example.com"],"description":"Contact Detail value can be provided in various formats. Phone number or email address depending on the type.","oneOf":[{"type":"string","example":"+44751488454","description":"Phone number in international format","format":"international phone"},{"type":"string","example":"0751488454","description":"Phone number in UK standard format","format":"UK phone"},{"type":"object","description":"Telephone number object - with country code and number","example":{"country":"AU","number":"+61 2 3456 7890"},"properties":{"country":{"type":"string","example":"AU","description":"country code in ISO 3166-1 alpha-2 format"},"number":{"type":"string","example":"+61 2 3456 7890","description":"Phone number including area code"}},"required":["country","number"]},{"type":"string","example":"someone@example.com","description":"Email address","format":"email"}]},"account_uuids":{"type":"array","example":["a980d254-5d86-4451-81e5-25bd8ade67b1","993ecd8e-94b5-4da5-a9f1-f445aa018acb","0bbc2e8a-16ea-45a5-bb76-b3d34fb5937c"],"description":"The UUIDs of the accounts who should own the contact detail. These must only be client accounts.","items":{"type":"string","example":"49116669-0aa9-46db-8b51-7b80a9303e4c","format":"uuid"}},"primary_account_uuids":{"type":"array","example":["4eeae393-c126-4566-a8e2-e4f2beb659cf","74334856-6435-40ea-a79b-a9abaac0b147","edb7130d-be4c-453b-8347-70390c3b3aeb"],"description":"The UUIDs of the accounts who should have the contact detail as their primary contact detail.","items":{"type":"string","example":"9949e332-928a-4f4a-a5cc-a1a9814d6545","format":"uuid"}}}},"App_Http_Requests_V2_UpdateContactDetailRequest":{"type":"object","required":["name","value","account_uuids"],"properties":{"name":{"type":"string","example":"Work phone number","description":"Description of contact detail","maxLength":255},"value":{"example":["+44751488454","0751488454",{"country":"AU","number":"+61 2 3456 7890"},"someone@example.com"],"description":"Contact Detail value can be provided in various formats. Phone number or email address depending on the type.","oneOf":[{"type":"string","example":"+44751488454","description":"Phone number in international format","format":"international phone"},{"type":"string","example":"0751488454","description":"Phone number in UK standard format","format":"UK phone"},{"type":"object","description":"Telephone number object - with country code and number","example":{"country":"AU","number":"+61 2 3456 7890"},"properties":{"country":{"type":"string","example":"AU","description":"country code in ISO 3166-1 alpha-2 format"},"number":{"type":"string","example":"+61 2 3456 7890","description":"Phone number including area code"}},"required":["country","number"]},{"type":"string","example":"someone@example.com","description":"Email address","format":"email"}]},"account_uuids":{"type":"array","example":["ed8365df-3198-4af2-abf2-5f8902b2dc58","affae294-c692-41d1-b0a5-28bfe7e410a6","6b15a099-f2d0-4979-9711-a8c49642cef5"],"description":"The UUIDs of the accounts who should own the contact detail. These must only be client accounts.","items":{"type":"string","example":"a4ea38f7-97a6-4e2c-a8d6-e5f5ccf3f797","format":"uuid"}},"primary_account_uuids":{"type":"array","example":["79549089-5954-4953-b0e1-3e073ca6c9ea","e0d8a00c-8a81-4743-b489-f892bfc4a810","f8d8b34e-b768-4e62-a981-18dc93010dfd"],"description":"The UUIDs of the accounts who should have the contact detail as their primary contact detail.","items":{"type":"string","example":"43e541f3-de40-4cfa-af04-e7ef91e3d864","format":"uuid"}}}},"App_Http_Requests_V2_Dependants_StoreDependantRequest":{"type":"object","required":["account_uuids","first_name","last_name","relationship"],"properties":{"account_uuids":{"type":"array","example":["6f4a1e7a-a30f-4c7f-aeae-8b5f9242a5e3","7c28bd1c-9348-4172-bf49-810360778a8e","a7a570b3-db4a-490d-a8e1-ce61990ebc80"],"description":"The UUIDs of the accounts who should own the dependant. These must only be client accounts.","items":{"type":"string","example":"a6671b2e-8877-4564-bda7-bf07a41a08d6","format":"uuid"}},"first_name":{"type":"string","example":"Christopher","description":"The first name of the dependant.","maxLength":255},"last_name":{"type":"string","example":"Nolan","description":"The last name of the dependant.","maxLength":255},"known_as":{"type":"string","example":"Chris","description":"An optional nickname for the dependant.","maxLength":255,"nullable":true},"relationship":{"type":"string","example":"Brother","description":"The relationship of the dependant.","maxLength":255},"date_of_birth":{"type":"string","example":"2006-11-18","description":"The date of birth of the dependant. Must be in Y-m-d format. Example: 1990-12-25.","format":"date","nullable":true},"is_financially_dependant":{"type":"boolean","example":true,"description":"Denotes if the dependant is financially dependant on the client."},"notes":{"type":"string","example":"Example notes","description":"Optional notes for the dependant.","maxLength":5000,"nullable":true}}},"App_Http_Requests_V2_Dependants_UpdateDependantRequest":{"type":"object","required":["account_uuids","first_name","last_name","relationship"],"properties":{"account_uuids":{"type":"array","example":["558f90f9-e8cd-49ab-8dc7-26aff29b7140","75836264-9b43-48e8-b578-15cf25fa2a67","043ec33c-76a2-4db9-a3c7-99a60eb42fa5"],"description":"The UUIDs of the accounts who should own the dependant. These must only be client accounts.","items":{"type":"string","example":"be425f72-6e00-4264-9a82-f93feb3f0f77","format":"uuid"}},"first_name":{"type":"string","example":"Christopher","description":"The first name of the dependant.","maxLength":255},"last_name":{"type":"string","example":"Nolan","description":"The last name of the dependant.","maxLength":255},"known_as":{"type":"string","example":"Chris","description":"An optional nickname for the dependant.","maxLength":255,"nullable":true},"relationship":{"type":"string","example":"Brother","description":"The relationship of the dependant.","maxLength":255},"date_of_birth":{"type":"string","example":"2006-11-18","description":"The date of birth of the dependant. Must be in Y-m-d format. Example: 1990-12-25.","format":"date","nullable":true},"is_financially_dependant":{"type":"boolean","example":true,"description":"Denotes if the dependant is financially dependant on the client."},"notes":{"type":"string","example":"Example notes","description":"Optional notes for the dependant.","maxLength":5000,"nullable":true}}},"App_Http_Requests_Plans_StoreLinkedPolicyNumberRequest":{"type":"object","required":["linked_policy_number"],"properties":{"linked_policy_number":{"type":"string","example":"ABC123-X","description":"The linked policy number for the plan."}}},"App_Http_Requests_Plans_UpdateLinkedPolicyNumberRequest":{"type":"object","required":["linked_policy_number"],"properties":{"linked_policy_number":{"type":"string","example":"ABC123-X","description":"The linked policy number for the plan."}}},"App_Http_Requests_V2_Goals_StoreGoalRequest":{"type":"object","required":["account_uuids","name","target_amount"],"properties":{"account_uuids":{"type":"array","example":["f8b6cb97-a6f3-4a27-a024-10604ca43185","3b21b131-0c68-4e52-891a-7bf718c2ffbb","c2fa2e8b-346c-4c41-9da4-53d21518abf8"],"description":"The UUIDs of the accounts who should own the goal. These must only be client accounts.","items":{"type":"string","example":"e07c9a1d-f9f3-48f5-9abe-d88311e458d9","format":"uuid"}},"name":{"type":"string","example":"Reduced Mileage","description":"The goal's name.","maxLength":255},"description":{"type":"string","example":"Reduce the amount of gas spent yearly.","description":"The goal's description.","maxLength":5000,"nullable":true},"target_amount":{"type":"integer","example":5000,"description":"The goal's target amount.","minimum":0},"progress":{"type":"integer","example":68,"description":"The goal's progress as a percentage, used when progress_type is \"percentage\".","minimum":0,"maximum":100},"progress_amount":{"type":"integer","example":5000,"description":"The goal's progress expressed as a currency amount, used when progress_type is \"amount\". Cannot be greater than target_amount.","minimum":0},"progress_type":{"type":"string","example":"percentage","description":"Which representation of progress the client entered — \"percentage\" (progress) or \"currency\" (progress_amount). Only one of progress or progress_amount may be provided. Defaults to \"percentage\"."},"timeframe":{"type":"string","example":"Within the year.","description":"The goal's timeframe.","maxLength":255,"nullable":true},"complete_goal_by":{"type":"string","example":"2027-11-18","description":"The goal's deadline as a specific date.","format":"date"},"priority":{"type":"integer","example":4,"description":"The goal's priority on a scale from 1 to 5.","minimum":1,"maximum":5},"show_on_circles":{"type":"boolean","example":false,"description":"Determines if goal should be shown on a circle."},"visible_to_circles_uuids":{"type":"array","example":["9bf70308-c9b4-4db3-9611-1fa43f4d3559","c5cf32ee-5b1e-4858-a640-7798cd88531f","a7f461c6-41e7-4d1a-807b-aca8c22dd76e"],"description":"Circles UUIDs that can view the goal when filtering goals by circles. Leaving blank means the goal will be visible for all circles which contains the goal owners.","items":{"type":"string","example":"3093bb39-a9bf-418b-900d-9430db15ec14","format":"uuid"}}}},"App_Http_Requests_V2_Goals_UpdateGoalRequest":{"type":"object","properties":{"account_uuids":{"type":"array","example":["0785a85e-65c4-4ad3-9d33-36bbf8bf83c7","e078bb38-cb53-4f2d-b0ab-9055314628d0","760f59ef-7efb-4851-83d7-cc2ec484f811"],"description":"The UUIDs of the accounts who should own the goal. These must only be client accounts.","items":{"type":"string","example":"3e45aede-3ed4-4807-a12f-433558bf8ec6","format":"uuid"}},"name":{"type":"string","example":"Reduced Mileage","description":"The goal's name.","maxLength":255},"description":{"type":"string","example":"Reduce the amount of gas spent yearly.","description":"The goal's description.","maxLength":5000},"target_amount":{"type":"integer","example":500,"description":"The goal's target amount.","minimum":0},"progress":{"type":"integer","example":68,"description":"The goal's progress as a percentage, used when progress_type is \"percentage\".","minimum":0,"maximum":100},"progress_amount":{"type":"integer","example":5000,"description":"The goal's progress expressed as a currency amount, used when progress_type is \"amount\". Cannot be greater than target_amount.","minimum":0},"progress_type":{"type":"string","example":"percentage","description":"Which representation of progress the client entered — \"percentage\" (progress) or \"currency\" (progress_amount). Only one of progress or progress_amount may be provided."},"timeframe":{"type":"string","example":"Within the year.","description":"The goal's timeframe.","maxLength":255,"nullable":true},"complete_goal_by":{"type":"string","example":"2027-11-18","description":"The goal's deadline as a specific date.","format":"date"},"priority":{"type":"integer","example":4,"description":"The goal's priority on a scale from 1 to 5.","minimum":1,"maximum":5},"shown_on_circles":{"type":"boolean","example":false,"description":"Determines if goal should be shown on a circle."},"visible_to_circles_uuids":{"type":"array","example":["aa587ed9-12c0-43df-9d91-1e63b697aa3e","a615ae21-d392-428d-b650-5f28ddeeb024","983b5417-c8a1-493d-813e-c8061f35af0e"],"description":"Circles UUIDs that can view the goal when filtering goals by circles. Leaving blank means the goal will be visible for all circles which contains the goal owners.","items":{"type":"string","example":"331b1b49-d73a-4e58-a937-c39794ac337f","format":"uuid"}}}},"App_Http_Requests_V2_Income_StoreIncomeRequest":{"type":"object","required":["account_uuid","name","type","amount","amount_type","frequency"],"properties":{"account_uuid":{"type":"string","example":"db7caedb-6290-4e54-ad2a-c7341514c77d","description":"Client account UUID of who this income belongs to.","format":"uuid"},"name":{"type":"string","example":"My Salary","description":"The name of the income.","maxLength":255},"type":{"type":"string","example":"salary","description":"\n\nThe type of income.\n\n| Value | Description |\n| ----- | ----------- |\n|salary|Salary|\n|dividend|Dividend|\n|bonus|Bonus|\n|benefit|Benefit|\n|other|Other|\n|investment|Investment|\n|rental|Rental|\n|pension|Pension|\n|capital_gains|Capital Gains|\n|business_loan|Business Loan|\n|investor_funding|Investor Funding|\n|grant|Grant|\n|charity|Charity|\n|crowdfunding|Crowdfunding|\n|gross_profit|Gross Profit|\n|operating_profit|Operating Profit|\n|operating_revenue|Operating Revenue|\n|non_operating_revenue|Non Operating Revenue|\n|net_profit|Net Profit|","enum":["salary","dividend","bonus","benefit","other","investment","rental","pension","capital_gains","business_loan","investor_funding","grant","charity","crowdfunding","gross_profit","operating_profit","operating_revenue","non_operating_revenue","net_profit"]},"type_other":{"type":"string","example":"My Other Income","description":"The type of income when the type is set to \"other\".","maxLength":255,"nullable":true},"amount":{"type":"integer","example":5000000,"description":"The amount of the income in pennies. For example, £50,000 would be 5000000."},"amount_type":{"type":"string","example":"net","description":"\n\nThe type of the amount.\n\n| Value | Description |\n| ----- | ----------- |\n|net|Net|\n|gross|Gross|","enum":["net","gross"]},"start_date":{"type":"string","example":"2025-11-18","description":"The start date of the income.","format":"date","nullable":true},"end_date":{"type":"string","example":"2026-11-18","description":"The end date of the income.","format":"date","nullable":true},"frequency":{"type":"string","example":"daily","description":"\n\nThe frequency of the income.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"is_taxable":{"type":"boolean","example":true,"description":"Denotes if the income is taxable or not."},"employment_uuid":{"type":"string","example":"9e9062b4-67fa-4f6b-8462-99d826d0360a","description":"Employment to link to this salary, dividend, bonus, benefit type incomes.","format":"uuid"}}},"App_Http_Requests_V2_Income_UpdateIncomeRequest":{"type":"object","required":["name","type","amount","amount_type","frequency"],"properties":{"name":{"type":"string","example":"My Salary","description":"The name of the income.","maxLength":255},"type":{"type":"string","example":"salary","description":"\n\nThe type of income.\n\n| Value | Description |\n| ----- | ----------- |\n|salary|Salary|\n|dividend|Dividend|\n|bonus|Bonus|\n|benefit|Benefit|\n|other|Other|\n|investment|Investment|\n|rental|Rental|\n|pension|Pension|\n|capital_gains|Capital Gains|\n|business_loan|Business Loan|\n|investor_funding|Investor Funding|\n|grant|Grant|\n|charity|Charity|\n|crowdfunding|Crowdfunding|\n|gross_profit|Gross Profit|\n|operating_profit|Operating Profit|\n|operating_revenue|Operating Revenue|\n|non_operating_revenue|Non Operating Revenue|\n|net_profit|Net Profit|","enum":["salary","dividend","bonus","benefit","other","investment","rental","pension","capital_gains","business_loan","investor_funding","grant","charity","crowdfunding","gross_profit","operating_profit","operating_revenue","non_operating_revenue","net_profit"]},"type_other":{"type":"string","example":"My Other Income","description":"The type of income when the type is set to \"other\".","maxLength":255,"nullable":true},"amount":{"type":"integer","example":5000000,"description":"The amount of the income in pennies. For example, £50,000 would be 5000000."},"amount_type":{"type":"string","example":"net","description":"\n\nThe type of the amount.\n\n| Value | Description |\n| ----- | ----------- |\n|net|Net|\n|gross|Gross|","enum":["net","gross"]},"start_date":{"type":"string","example":"2025-11-18","description":"The start date of the income.","format":"date","nullable":true},"end_date":{"type":"string","example":"2026-11-18","description":"The end date of the income.","format":"date","nullable":true},"frequency":{"type":"string","example":"daily","description":"\n\nThe frequency of the income.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"is_taxable":{"type":"boolean","example":true,"description":"Denotes if the income is taxable or not."},"employment_uuid":{"type":"string","example":"476e1b5f-cc06-44d4-b6c7-0eae780df038","description":"Employment to link to this salary, dividend, bonus, benefit type incomes.","format":"uuid"}}},"App_Http_Requests_V2_Employment_StoreEmploymentRequest":{"type":"object","required":["account_uuid","status"],"properties":{"account_uuid":{"type":"string","example":"9e0fde66-5657-49c2-8f31-585e08634c81","description":"The uuid of the account to link Employment to.","format":"uuid"},"accountant_company_name":{"type":"string","example":"My Company","description":"The name of the accountant company.","maxLength":255,"nullable":true},"accountant_email":{"type":"string","example":"accountant@email.com","description":"The email of the accountant.","maxLength":255,"nullable":true},"accountant_telephone_number":{"type":"string","example":"0123456789","description":"The telephone number of the accountant.","nullable":true},"accountant_address":{"type":"string","example":"1 My Street, My Town, My Country","description":"The address of the accountant.","maxLength":255,"nullable":true},"business_name":{"type":"string","example":"My Business","description":"The name of the business.","maxLength":255,"nullable":true},"business_value":{"type":"integer","example":5000000,"description":"The value of the business in pennies.","nullable":true},"business_year_end":{"type":"string","example":"2019-01-01","description":"The year end of the business.","maxLength":255,"nullable":true},"directors":{"type":"string","example":"John Doe","description":"The directors of the business.","maxLength":255,"nullable":true},"employer":{"type":"string","example":"Plannr Technologies Ltd","description":"The name of the employer/business.","maxLength":255,"nullable":true},"email_address":{"type":"string","example":"gareth@plannrcrm.com","description":"The email address of the employer. Will be added as a contact detail.","maxLength":255,"nullable":true},"ended_at":{"type":"string","example":"2022-11-18","description":"An optional end date of the employment.","format":"date"},"is_business_owner":{"type":"boolean","example":true,"description":"Denotes if the employment owner is the business owner."},"job_title":{"type":"string","example":"Senior Developer","description":"Job title if no suitable occupation code is found.","maxLength":255,"nullable":true},"last_salary_increase":{"type":"string","example":"2019-01-01","description":"The date of the last salary increase.","format":"date","nullable":true},"occupation_code":{"type":"string","example":"FAC02774","description":"The Origo occupation code for the given employment. You can use the /api/v1/static/occupations endpoint to get a list of occupations.","nullable":true},"percentage_of_business_owned":{"type":"integer","example":50,"description":"The percentage of the business owned.","minimum":0,"maximum":100,"nullable":true},"phone_number":{"type":"string","example":"+443330509960","description":"The phone number of the employer. In E.164 format. Will be added as a contact detail.","nullable":true},"primary":{"type":"boolean","example":true,"description":"Make this employment the primary employment.  Will make all other employments no longer primary."},"profit":{"type":"integer","example":5000000,"description":"The profit of the business in pennies.","minimum":0,"nullable":true},"shareholding_in_business":{"type":"number","example":50.5,"description":"The shareholding in the business in percentage.","format":"float","minimum":0.0,"maximum":100.0,"nullable":true},"started_at":{"type":"string","example":"2021-11-18","description":"An optional start date of the employment.","format":"date"},"status":{"type":"string","example":"employed","description":"\n\nThe employment status for the given employment.\n\n| Value | Description |\n| ----- | ----------- |\n|employed|Employed|\n|self_employed|Self Employed|\n|student|Student|\n|unemployed|Unemployed|\n|house_person|House Person|\n|retired|Retired|\n|other|Other|","enum":["employed","self_employed","student","unemployed","house_person","retired","other"]},"turnover_history":{"type":"array","example":[],"description":"An array of turnover history items.","items":{"allOf":[{"$ref":"#/components/schemas/TurnoverHistoryItem"}]},"nullable":true},"address":{"allOf":[{"$ref":"#/components/schemas/BasicAddress"}],"description":"The address of the employer."}}},"App_Http_Requests_V2_Employment_UpdateEmploymentRequest":{"type":"object","required":["status"],"properties":{"accountant_company_name":{"type":"string","example":"My Company","description":"The name of the accountant company.","maxLength":255,"nullable":true},"accountant_email":{"type":"string","example":"accountant@email.com","description":"The email of the accountant.","maxLength":255,"nullable":true},"accountant_telephone_number":{"type":"string","example":"0123456789","description":"The telephone number of the accountant.","nullable":true},"accountant_address":{"type":"string","example":"1 My Street, My Town, My Country","description":"The address of the accountant.","maxLength":255,"nullable":true},"business_name":{"type":"string","example":"My Business","description":"The name of the business.","maxLength":255,"nullable":true},"business_value":{"type":"integer","example":5000000,"description":"The value of the business in pennies.","nullable":true},"business_year_end":{"type":"string","example":"2019-01-01","description":"The year end of the business.","maxLength":255,"nullable":true},"directors":{"type":"string","example":"John Doe","description":"The directors of the business.","maxLength":255,"nullable":true},"employer":{"type":"string","example":"Plannr Technologies Ltd","description":"The name of the employer/business.","maxLength":255,"nullable":true},"email_address":{"type":"string","example":"gareth@plannrcrm.com","description":"The email address of the employer. Will be added as a contact detail.","maxLength":255,"nullable":true},"ended_at":{"type":"string","example":"2022-11-18","description":"An optional end date of the employment.","format":"date"},"is_business_owner":{"type":"boolean","example":true,"description":"Denotes if the employment owner is the business owner."},"job_title":{"type":"string","example":"Senior Developer","description":"Job title if no suitable occupation code is found.","maxLength":255,"nullable":true},"last_salary_increase":{"type":"string","example":"2019-01-01","description":"The date of the last salary increase.","format":"date","nullable":true},"occupation_code":{"type":"string","example":"FAC02774","description":"The Origo occupation code for the given employment. You can use the /api/v1/static/occupations endpoint to get a list of occupations.","nullable":true},"percentage_of_business_owned":{"type":"integer","example":50,"description":"The percentage of the business owned.","minimum":0,"maximum":100,"nullable":true},"phone_number":{"type":"string","example":"+443330509960","description":"The phone number of the employer. In E.164 format. Will be added as a contact detail.","nullable":true},"primary":{"type":"boolean","example":true,"description":"Make this employment the primary employment.  Will make all other employments no longer primary."},"profit":{"type":"integer","example":5000000,"description":"The profit of the business in pennies.","minimum":0,"nullable":true},"shareholding_in_business":{"type":"number","example":50.5,"description":"The shareholding in the business in percentage.","format":"float","minimum":0.0,"maximum":100.0,"nullable":true},"started_at":{"type":"string","example":"2021-11-18","description":"An optional start date of the employment.","format":"date"},"status":{"type":"string","example":"employed","description":"\n\nThe employment status for the given employment.\n\n| Value | Description |\n| ----- | ----------- |\n|employed|Employed|\n|self_employed|Self Employed|\n|student|Student|\n|unemployed|Unemployed|\n|house_person|House Person|\n|retired|Retired|\n|other|Other|","enum":["employed","self_employed","student","unemployed","house_person","retired","other"]},"turnover_history":{"type":"array","example":[],"description":"An array of turnover history items.","items":{"allOf":[{"$ref":"#/components/schemas/TurnoverHistoryItem"}]},"nullable":true},"address":{"allOf":[{"$ref":"#/components/schemas/BasicAddress"}],"description":"The address of the employer."}}},"App_Http_Requests_StoreShareholderRequest":{"type":"object","required":["business_uuid","full_name","percentage","shares_owned","voting_rights","role","appointed_at"],"properties":{"business_uuid":{"type":"string","example":"c45e9703-4307-4222-819c-81ee870366d1","description":"The UUID of the business this shareholder is associated with.","format":"uuid"},"full_name":{"type":"string","example":"John Doe","description":"The shareholder's full name."},"percentage":{"type":"number","example":11.7,"description":"The percentage of ownership this shareholder has.","format":"float","minimum":0.0,"maximum":100.0},"shares_owned":{"type":"integer","example":100,"description":"The number of shares this shareholder owns."},"voting_rights":{"type":"string","example":"All","description":"The voting rights this shareholder has."},"role":{"type":"string","example":"Senior Partner","description":"The role of this shareholder."},"appointed_at":{"type":"string","example":"2022-03-17","description":"The date this shareholder was appointed.","format":"date"},"address":{"allOf":[{"$ref":"#/components/schemas/BasicAddress"}],"description":"Registered address of the shareholder."}}},"App_Http_Requests_UpdateShareholderRequest":{"type":"object","required":["business_uuid"],"properties":{"business_uuid":{"type":"string","example":"9ef5da85-a8ca-4c1c-9425-cf7da664d946","description":"The UUID of the business this shareholder should associate with. Leave null to clear the association with the current business.","format":"uuid"},"full_name":{"type":"string","example":"Jane Doe","description":"The updated name of the shareholder."},"role":{"type":"string","example":"Senior Investor","description":"The updated role of the shareholder."},"appointed_at":{"type":"string","example":"2022-03-17","description":"The updated appointed date of the shareholder.","format":"date"},"address":{"allOf":[{"$ref":"#/components/schemas/BasicAddress"}],"description":"The updated address of the shareholder."},"percentage":{"type":"number","example":25.5,"description":"The updated percentage of the shareholder.","format":"float","minimum":0.0,"maximum":100.0},"shares_owned":{"type":"integer","example":100,"description":"The updated number of shares owned by the shareholder."},"voting_rights":{"type":"string","example":"All","description":"The updated voting rights of the shareholder."}}},"App_Http_Requests_V2_BankAccount_StoreBankAccountRequest":{"type":"object","required":["account_uuids","account_name","account_holders","account_number","sort_code"],"properties":{"account_uuids":{"type":"array","example":["e030a8be-ea44-4b2b-8785-2c6f96e0d131","7b1f8a8c-10ae-4392-b196-cb6b1b8d69d0","03c73745-71d4-469d-95d1-3f1d7e45b042"],"description":"The UUIDs of the accounts who should own the bank account. These must only be client accounts.","items":{"type":"string","example":"46d5a87a-d691-4c10-836e-091ca04c9636","format":"uuid"}},"primary_account_uuids":{"type":"array","example":["80ba175a-f54b-45d1-9e5d-45497aa42357","a14388e0-70b6-443c-b762-27f64abca283","9d948ca4-b4b5-43dd-93d8-b23b3157519e"],"description":"The UUIDs of the accounts who should have the bank account as their primary bank account.","items":{"type":"string","example":"7b0d3d0f-b5ea-4d02-bcb5-35aef824ee80","format":"uuid"}},"is_primary":{"type":"boolean","example":true,"description":"When provided and set to true, it will make the created bank account the primary bank account for all of the account UUIDs provided."},"account_name":{"type":"string","example":"My Savings Account","description":"The friendly name for the bank account.","maxLength":255},"account_holders":{"type":"string","example":"Mr John A Smith \u0026 Mrs Jane Smith","description":"The name of the bank account holder(s) as it appears on statements","maxLength":255},"account_number":{"type":"string","example":"01234567","description":"The bank account number."},"sort_code":{"type":"string","example":"012345","description":"The bank account sort code"}}},"App_Http_Requests_V2_BankAccount_UpdateBankAccountRequest":{"type":"object","required":["account_uuids","account_name","account_holders","account_number","sort_code"],"properties":{"account_uuids":{"type":"array","example":["05e67d3d-2c05-4478-bc87-28629ebc9857","77bfa4fb-02c9-47b2-b160-e8d7ea9b1d4b","2b59834e-ca7f-4ed1-ad5b-2cab65afdb57"],"description":"The UUIDs of the accounts who should own the bank account. These must only be client accounts.","items":{"type":"string","example":"0c3f3085-69de-4146-bd53-91213b38d266","format":"uuid"}},"primary_account_uuids":{"type":"array","example":["e688a965-cc81-467f-912a-39edd455555e","7be6df4f-e102-4330-b125-79534fe45b50","a40ceeba-cc74-47eb-8928-0365b2404282"],"description":"The UUIDs of the accounts who should have the bank account as their primary bank account.","items":{"type":"string","example":"386a319f-7d68-4ead-9dd8-aad1d4c3ef58","format":"uuid"}},"account_name":{"type":"string","example":"My Savings Account","description":"The friendly name for the bank account.","maxLength":255},"account_holders":{"type":"string","example":"Mr John A Smith","description":"The name of the bank account holder(s) as it appears on statements","maxLength":255},"account_number":{"type":"string","example":"01234567","description":"The bank account number."},"sort_code":{"type":"string","example":"012345","description":"The bank account sort code"}}},"App_Http_Controllers_V2_IndexFluxRequest":{"type":"object","required":["model_type","model_uuid","start_date","end_date"],"properties":{"model_type":{"type":"string","example":"account","description":"The model type. Can be: account, plan, or circle."},"model_uuid":{"type":"string","example":"5f553de7-5664-4faf-a2d8-791e2251c434","description":"The model UUID","format":"uuid"},"start_date":{"type":"string","example":"2026-11-09","description":"Filter them down by choosing the start date. This will return all fluxes between the start and end date.","format":"date"},"end_date":{"type":"string","example":"2026-11-16","description":"Filter them down by choosing the end date.","format":"date"},"filter.include_inactive":{"type":"boolean","example":false,"description":"Include transactions from inactive plans. When true, only transactions that occurred before the plan became inactive are included."},"filter.transaction_types":{"type":"string","example":"adjustment","description":"\n\nFilter by transaction types. Accepts an array or comma-separated string.\n\n| Value | Description |\n| ----- | ----------- |\n|adjustment|Adjustment|\n|adviser_fee|Adviser Fee|\n|contribution|Contribution|\n|corporate_action|Corporate Action|\n|distribution|Distribution|\n|fee|Fee|\n|income|Income|\n|payment|Payment|\n|provider_fee|Provider Fee|\n|rebate|Rebate|\n|trade|Trade|\n|transfer|Transfer|\n|withdrawal|Withdrawal|\n|other|Other|","enum":["adjustment","adviser_fee","contribution","corporate_action","distribution","fee","income","payment","provider_fee","rebate","trade","transfer","withdrawal","other"]},"filter.include_premiums":{"type":"boolean","example":false,"description":"Include premiums from eligible plans (investments, annuities, cash accounts, pensions, mortgages) in the inflows calculation. Pension group schemes and group scheme members are excluded. Premiums are calculated based on occurrences within the date range."}}},"App_Http_Requests_V2_MortgageSearches_UpdateMortgageSearch":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"My Mortgage Search","description":"The name of the mortgage search","maxLength":255}}},"App_Http_Requests_StoreWebhookSubscriptionRequest":{"type":"object","required":["url","events"],"properties":{"url":{"type":"string","example":"https://api.example.com/webhooks","description":"The URL of the webhook you would like Plannr to send events to.","format":"uri"},"events":{"type":"array","example":["account.deleted","circle.created"],"description":"The events the webhook subscription is subscribed to.","items":{"type":"string","example":"account.created","enum":["account.created","account.updated","account.deleted","account.annual-review-date-occurred","circle.created","circle.updated","circle.deleted","plan.created","plan.updated","plan.deleted","case.created","case.updated","case.deleted","task.created","task.updated","task.deleted","task.completed","fact-find.completed","fact-find.completed-v3","form-submission.completed","bank-account.created","bank-account.updated","bank-account.deleted","bank-statement.created","bank-statement.updated","bank-statement.deleted","bank-transaction.created","bank-transaction.updated","bank-transaction.deleted","provider-statement.created","provider-statement.updated","provider-statement.deleted","transaction.created","transaction.updated","transaction.deleted","transaction.reconciled","transaction.unreconciled","expectation.created","expectation.updated","expectation.deleted","statement.lock-status","conversation.message.created","conversation.message.updated","conversation.message.deleted","client-portal-document.uploaded","client-portal-document.updated","client-portal-document.deleted","letter-of-authority.created","letter-of-authority.updated"]}}}},"App_Http_Requests_UpdateWebhookSubscriptionRequest":{"type":"object","required":["events"],"properties":{"events":{"type":"array","example":["account.deleted","circle.created"],"description":"The events the webhook subscription is subscribed to.","items":{"type":"string","example":"account.created","enum":["account.created","account.updated","account.deleted","account.annual-review-date-occurred","circle.created","circle.updated","circle.deleted","plan.created","plan.updated","plan.deleted","case.created","case.updated","case.deleted","task.created","task.updated","task.deleted","task.completed","fact-find.completed","fact-find.completed-v3","form-submission.completed","bank-account.created","bank-account.updated","bank-account.deleted","bank-statement.created","bank-statement.updated","bank-statement.deleted","bank-transaction.created","bank-transaction.updated","bank-transaction.deleted","provider-statement.created","provider-statement.updated","provider-statement.deleted","transaction.created","transaction.updated","transaction.deleted","transaction.reconciled","transaction.unreconciled","expectation.created","expectation.updated","expectation.deleted","statement.lock-status","conversation.message.created","conversation.message.updated","conversation.message.deleted","client-portal-document.uploaded","client-portal-document.updated","client-portal-document.deleted","letter-of-authority.created","letter-of-authority.updated"]}},"status":{"type":"string","example":"disabled","description":"Set to \"disabled\" to stop Plannr delivering to this webhook, or \"enabled\" to start again. Disabling drops any events still queued for it, and they will never be delivered."}}},"App_Http_Requests_V2_Valuations_StoreBulkValuationsRequest":{"type":"object","required":["plan_uuid","valuations"],"properties":{"plan_uuid":{"type":"string","example":"d4ca6ac5-6501-4bc8-a76d-c8064fa9fcc4","description":"The UUID of the plan to store the valuations on.","format":"uuid"},"sub_account_uuid":{"type":"string","example":"79ad2799-7b6a-4de9-ae5d-9e83b262f616","description":"The UUID of the plan's sub account to store the valuations on.","format":"uuid"},"valuations":{"type":"array","example":[],"description":"The valuations to store. You can provide up to 1,000 valuations per request.","items":{"type":"object","example":{"valued_at":"2025-01-01","value":100000,"bulk_reference_uuid":"76472d5a-024a-4328-b29c-6b258696870a"},"properties":{"valued_at":{"type":"string","example":"2025-01-01","description":"The date the valuation was made.","format":"date"},"value":{"type":"integer","example":100000,"description":"The value represented in pennies. "},"bulk_reference_uuid":{"type":"string","example":"76472d5a-024a-4328-b29c-6b258696870a","description":"Optional field to provide a unique UUIDv4 for your reference.","format":"uuid"}}}}}},"App_Http_Requests_V2_FactFind_Templates_StoreFactFindTemplateRequest":{"type":"object","required":["name","display_name"],"properties":{"name":{"type":"string","example":"My Fact-Find Template","description":"The internal reference name of the fact find template. Must be unique within the firm.","maxLength":255},"display_name":{"type":"string","example":"Welcome Pack","description":"The client-facing name shown when the fact find is sent to a client.","maxLength":255},"description":{"type":"string","example":"A comprehensive fact find template for new clients.","description":"A brief description of the template.","maxLength":5000},"opening_statement":{"type":"string","example":"Welcome to our fact find process...","description":"An opening statement shown at the start of the fact-find.","maxLength":10000},"closing_statement":{"type":"string","example":"Thank you for completing the fact find","description":"A closing statement shown at the end of the fact-find.","maxLength":10000},"is_published":{"type":"boolean","example":true,"description":"Whether the fact find template is published and available for use."}}},"App_Http_Requests_V2_FactFind_Templates_UpdateFactFindTemplateRequest":{"type":"object","properties":{"name":{"type":"string","example":"My Fact Find Template","description":"The internal reference name of the fact-find template. Must be unique within the firm.","maxLength":255},"display_name":{"type":"string","example":"Welcome Pack","description":"The client-facing name shown when the fact find is sent to a client.","maxLength":255},"description":{"type":"string","example":"A comprehensive fact find template for new clients.","description":"A brief description of the template.","maxLength":5000},"opening_statement":{"type":"string","example":"Welcome to our fact find process...","description":"An opening statement shown at the start of the fact-find.","maxLength":10000},"closing_statement":{"type":"string","example":"Thank you for completing the fact find","description":"A closing statement shown at the end of the fact-find.","maxLength":10000},"is_published":{"type":"boolean","example":true,"description":"Whether the fact find template is published and available for use."}}},"App_Http_Requests_V2_FactFind_Sections_StoreFactFindSectionRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Personal Details","description":"The name of the fact find section. Must be unique within the template.","maxLength":255},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease provide your personal details below.\u003c/p\u003e","description":"HTML introduction shown at the start of this section.","maxLength":10000},"position":{"type":"integer","example":1,"description":"The position/order of this section within the template."}}},"App_Http_Requests_V2_FactFind_Sections_UpdateFactFindSectionRequest":{"type":"object","properties":{"name":{"type":"string","example":"Personal Details","description":"The name of the fact find section. Must be unique within the template.","maxLength":255},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease provide your personal details below.\u003c/p\u003e","description":"HTML introduction shown at the start of this section.","maxLength":10000},"position":{"type":"integer","example":1,"description":"The position/order of this section within the template."}}},"App_Http_Requests_V2_FactFind_Sections_ReorderFactFindSectionRequest":{"type":"object","required":["order"],"properties":{"order":{"type":"array","example":["83d42c15-cc6c-4052-bd06-c566aca98ae7","af58863e-d085-4f97-85f7-967147df2980","633d6142-dc8e-4e95-9b2b-708401a3fce1"],"description":"An ordered array of Fact Find Section UUID's.","items":{"type":"string","example":"f5727b06-3e65-4d7b-868a-31aca07fac48","format":"uuid"}}}},"App_Http_Requests_V2_FactFind_Blocks_ReorderFactFindBlockRequest":{"type":"object","required":["order"],"properties":{"order":{"type":"array","example":["bd507971-4f12-43be-8a89-d36a865c6110","71079319-96b8-46a8-bbaa-fced404ad6fd","7881d6eb-940b-42b4-b805-a10ba3207855"],"description":"An ordered array of Fact Find Block UUID's.","items":{"type":"string","example":"6cfb9fb4-11c6-49dc-8b73-374ad884951f","format":"uuid"}}}},"App_Http_Requests_V2_FactFind_Blocks_StoreFactFindBlockRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Income Details","description":"The name of the fact find block. Must be unique within the section.","maxLength":255},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease provide your income details below.\u003c/p\u003e","description":"HTML introduction shown at the start of this block.","maxLength":10000},"position":{"type":"integer","example":1,"description":"The position/order of this block within the section."}}},"App_Http_Requests_V2_FactFind_Blocks_UpdateFactFindBlockRequest":{"type":"object","properties":{"name":{"type":"string","example":"Income Details","description":"The name of the fact find block. Must be unique within the section.","maxLength":255},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease provide your income details below.\u003c/p\u003e","description":"HTML introduction shown at the start of this block.","maxLength":10000},"position":{"type":"integer","example":1,"description":"The position/order of this block within the section."}}},"App_Http_Requests_V2_FactFind_Questions_StoreFactFindQuestionRequest":{"type":"object","required":["custom_field_id","fact_find_block_id","field_name"],"properties":{"custom_field_id":{"type":"integer","example":1234,"description":"The ID of the custom field that this question belongs to."},"fact_find_block_id":{"type":"integer","example":1234,"description":"The ID of the fact find block that this question belongs to."},"field_name":{"type":"string","example":"Field Name","description":"The name of the question.","maxLength":255},"is_visible":{"type":"boolean","example":true,"description":"Is fact find question visible."},"is_required":{"type":"boolean","example":true,"description":"Is fact find question required."},"has_conditional":{"type":"boolean","example":false,"description":"Has the question got any conditions."},"condition_type":{"type":"string","example":"Condition Type","description":"ALL/ANY."}}},"App_Http_Requests_V2_FactFind_Questions_ReorderFactFindQuestionRequest":{"type":"object","required":["order"],"properties":{"order":{"type":"array","example":["e237c1ca-9e78-49c8-9ae6-9a3df2bfee5d","da8f88a0-8b7d-4087-bc1a-f1062c6cd373","4e97ba19-c052-4d52-b067-6891fa50f886"],"description":"An ordered array of Fact Find Questions UUID’s.","items":{"type":"string","example":"59706a56-c1ef-494e-b694-bf350206adbc","format":"uuid"}}}},"App_Http_Requests_V2_FactFind_Questions_UpdateFactFindQuestionRequest":{"type":"object","required":["custom_field_id","fact_find_block_id","field_name"],"properties":{"custom_field_id":{"type":"integer","example":1234,"description":"The ID of the custom field that this question belongs to."},"fact_find_block_id":{"type":"integer","example":1234,"description":"The ID of the fact find block that this question belongs to."},"field_name":{"type":"string","example":"Field Name","description":"The name of the question.","maxLength":255},"is_visible":{"type":"boolean","example":true,"description":"Is fact find question visible."},"is_required":{"type":"boolean","example":true,"description":"Is fact find question required."},"has_conditional":{"type":"boolean","example":false,"description":"Has the question got any conditions."},"condition_type":{"type":"string","example":"ANY","description":"\n\nThe condition type for the question.\n\n| Value | Description |\n| ----- | ----------- |\n|ANY|ANY|\n|ALL|ALL|","enum":["ANY","ALL"]},"fact_find_question_conditions":{"type":"array","example":[],"description":"The conditions for the question.","items":{"type":"object","example":{"target_fact_find_question_uuid":"d7bd3d91-4bc2-4c01-a273-af76e96f1723","operator":"equals","value":"example_value"},"properties":{"target_fact_find_question_uuid":{"type":"string","example":"d7bd3d91-4bc2-4c01-a273-af76e96f1723","description":"The UUID of the target fact find question.","format":"uuid"},"operator":{"type":"string","example":"equals","description":"\n\nThe operator for the condition.\n\n| Value | Description |\n| ----- | ----------- |\n|equals|Equals|\n|not_equal_to|Not Equal To|\n|more_than|More Than|\n|less_than|Less Than|\n|less_than_or_equal_to|Less Than Or Equal To|\n|more_than_or_equal_to|More Than Or Equal To|","enum":["equals","not_equal_to","more_than","less_than","less_than_or_equal_to","more_than_or_equal_to"]},"value":{"type":"string","example":"example_value","description":"The value to compare against.","nullable":true}}}}}},"App_Http_Requests_V2_FactFind_StoreFactFindSessionRequest":{"type":"object","required":["fact_find_template_uuid","client_uuid","circle_uuid"],"properties":{"fact_find_template_uuid":{"type":"string","example":"d3072cb7-1bdf-4d2c-bc96-f434be94b4bc","description":"The UUID of the fact find template that you would like the client to use.","format":"uuid"},"client_uuid":{"type":"string","example":"7f674871-9e83-4f97-9e62-de61f973ee49","description":"The UUID of the client account to send the fact find request. This must only be individual clients. Cannot be used with circle_uuid.","format":"uuid"},"circle_uuid":{"type":"string","example":"ce55f11b-91b5-4610-81f9-6d58f7d44595","description":"The UUID of the circle to send the fact find request to. Cannot be used with client_uuid.","format":"uuid"},"send_invitation_email":{"type":"boolean","example":true,"description":"This controls if an email to the client is sent to invite them to complete a fact find. Set this to false if you are going to send your own invitation."},"invitation_text":{"type":"string","example":"Please complete this fact find.","description":"The text that will appear in the invitation email sent to the client (if enabled)"}}},"App_Http_Requests_V2_FactFind_QuestionConditions_StoreFactFindQuestionConditionRequest":{"type":"object","required":["fact_find_question_id","target_fact_find_question_id","operator","value"],"properties":{"fact_find_question_id":{"type":"integer","example":1234,"description":"The ID of the fact find question that this condition belongs to."},"target_fact_find_question_id":{"type":"integer","example":1234,"description":"The ID of the fact find question that this condition relates to as a field."},"operator":{"type":"string","example":"equals","description":"The operator to be used for the condition."},"value":{"type":"string","example":"5000","description":"The value of this condition."},"has_conditional":{"type":"boolean","example":false,"description":"Has the question got any conditions."},"condition_type":{"type":"string","example":"Condition Type","description":"ALL/ANY."}}},"App_Http_Requests_V2_FactFind_QuestionConditions_UpdateFactFindQuestionConditionRequest":{"type":"object","required":["fact_find_question_id","target_fact_find_question_id","operator","value"],"properties":{"fact_find_question_id":{"type":"integer","example":1234,"description":"The ID of the fact find question that this condition belongs to."},"target_fact_find_question_id":{"type":"integer","example":1234,"description":"The ID of the fact find question that this condition relates to as a field."},"operator":{"type":"string","example":"equals","description":"The operator to be used for the condition."},"value":{"type":"string","example":"5000","description":"The value of this condition."},"has_conditional":{"type":"boolean","example":false,"description":"Has the question got any conditions."},"condition_type":{"type":"string","example":"Condition Type","description":"ALL/ANY."}}},"App_Http_Requests_V2_FactFind_Templates_CloneFactFindTemplateRequest":{"type":"object","properties":{"name":{"type":"string","example":"My Fact Find Template","description":"The name of the fact find template. Must be unique within the firm. If omitted, a unique name is auto-generated from the source template (e.g. \"Onboarding (Copy)\" or \"Onboarding (Copy 2)\" if the first variant is taken).","maxLength":255}}},"App_Http_Requests_V2_FactFind_GenerateFactFindV3PdfRequest":{"type":"object","required":["client_uuids"],"properties":{"client_uuids":{"type":"string","example":"36887a8c-e515-439b-bb80-fc972c057451","description":"An array of client UUIDs to generate snapshots for.","format":"uuid"},"circle_uuid":{"type":"string","example":"52eea465-68ea-43d6-8132-26a45fc5b3c2","description":"The UUID of the circle (optional, for combined view).","format":"uuid"},"is_combined_view":{"description":"Whether to generate a single combined PDF for all clients.","example":true}}},"App_Http_Resources_FirmResource_Summary":{"type":"object","properties":{"uuid":{"example":"55e0711d-76b4-4c6f-92e9-0462788a0d54","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Codepotato","description":"Name of the firm"},"slug":{"example":"codepotato","description":"Slug of the firm"},"address_1":{"example":"Suite E, 5 The Briars","description":"First line of the address"},"address_2":{"example":"Waterberry Drive","description":"Second line of the address"},"town_city":{"example":"Waterlooville","description":"Town/City"},"county":{"example":"Hampshire","description":"County"},"postcode":{"example":"PO7 7YH","description":"Postcode"},"country":{"example":"United Kingdom","description":"Country"},"regulatory_text":{"example":"Regulatory text","description":"Regulatory text of the firm."},"logo":{"example":"https://api.plannrcrm.com/images/plannr.jpg","description":"URL of your firm logo."},"logo_icon":{"example":"https://api.plannrcrm.com/images/plannr-icon.jpg","description":"URL of your firm logo icon."},"brand_colours":{"example":{"sidebar_background":"#0E0E56","sidebar_accent":"#36367E","sidebar_text":"#FFFFFF","sidebar_hover":"#0A0A42","sidebar_active":"#53DBB8","sidebar_title_background":"#36367E","sidebar_title_primary":"#FFC634","sidebar_title_secondary":"#FFFFFF","sidebar_title_secondary_hover":"#FFFFFF","email_background":"#0E0E56","email_logo_background_panel":"#36367E","email_sub_text":"#FFFFFF","email_button_background":"#36367E","email_button_text":"#FFFFFF","portal_sidebar_button_background":"#F6F6F6","portal_sidebar_button_hover":"#FFFFFF","portal_sidebar_button_active":"#FFFFFF","portal_brand_title":"#323B4B","portal_brand_sub_title":"#828994","portal_sidebar_title":"#11151D","portal_sidebar_text":"#323B4B","portal_sidebar_text_hover":"#323B4B","portal_sidebar_text_active":"#323B4B","portal_sidebar_icon":"#828994","portal_sidebar_icon_hover":"#828994","portal_sidebar_icon_active":"#828994","portal_background":"#F6F6F6","portal_sidebar_account_title":"#11151D","portal_sidebar_account_email":"#828994","portal_sidebar_divider":"#E3E5E9","portal_dashboard_bg_one":"#EF4583","portal_dashboard_bg_two":"#FFC634","portal_sidebar_collapse_button":"#828994","portal_sidebar_collapse_button_hover":"#B3B9C4","portal_sidebar_user_select_background":"#F6F6F6","portal_sidebar_user_select_hover":"#F6F6F6","portal_sidebar_user_select_text":"#323B4B","portal_sidebar_user_select_text_hover":"#323B4B","portal_sidebar_user_select_border":"#EEEEEE","portal_sidebar_user_select_border_hover":"#828994"},"description":"Firm branding colours."},"factfind_pdf_header_background":{"example":"#0E0E56","description":"Header background colour (hex) for the fact-find snapshot PDF."},"factfind_pdf_header_text":{"example":"#ffffff","description":"Header text colour (hex) for the fact-find snapshot PDF."},"factfind_pdf_logo":{"example":"https://api.plannrcrm.com/images/plannr.jpg","description":"URL of the logo used on the fact-find snapshot PDF."},"is_subscribed":{"example":true,"description":"Subscription status."},"keep_deleted_files_for":{"example":30,"description":"Number of days to keep deleted files for"},"tax":{"example":17.5,"description":"Tax percent"},"month_end":{"example":25,"description":"Date of the month for the monthly income reconciliation statements to end"},"statement_frequency":{"example":"monthly","description":"The frequency of the income reconciliation statements"},"billing":{"example":{"invoice_address_1":"Suite E, 5 The Briars","invoice_address_2":"Waterberry Drive","invoice_town_city":"Waterlooville","invoice_county":"Hampshire","invoice_postcode":"PO7 7YH","invoice_country":"United Kingdom","invoice_email":"gareth@codepotato.co.uk"},"description":"Firm invoice details for billing"},"ip_whitelist":{"example":["192.168.0.1","127.0.0.1"],"description":"IP addresses allowed to access the firm. Authorised Plannr-issued integrations are exempt."},"welcome_paragraph_html":{"example":"\u003ch1\u003eWelcome.\u003c/h1\u003e","description":"Custom welcome paragraph html for the branded auth welcome page"},"email_welcome_paragraph_html":{"example":"Welcome to Plannr!","description":"Custom welcome paragraph for the welcome/new user email"},"show_fact_find_illustrations":{"example":true,"description":"Determines if the illustrations/graphics are displayed on the fact find."},"cc_email_addresses":{"example":["jack@example.com","jill@example.com"],"description":"Array of email cc addresses."},"bcc_email_addresses":{"example":["jack@example.com","jill@example.com"],"description":"Array of email bcc addresses."},"reply_to_email_address":{"example":"jack@example.com","description":"Firm reply to email address."},"mobile_app_support_number":{"example":"01234 567890","description":"Firm mobile app support number."},"mobile_app_support_email":{"example":"support@example.com","description":"Firm mobile app support email address."}},"example":{"uuid":"55e0711d-76b4-4c6f-92e9-0462788a0d54","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"Codepotato","slug":"codepotato","address_1":"Suite E, 5 The Briars","address_2":"Waterberry Drive","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom","regulatory_text":"Regulatory text","logo":"https://api.plannrcrm.com/images/plannr.jpg","logo_icon":"https://api.plannrcrm.com/images/plannr-icon.jpg","brand_colours":{"sidebar_background":"#0E0E56","sidebar_accent":"#36367E","sidebar_text":"#FFFFFF","sidebar_hover":"#0A0A42","sidebar_active":"#53DBB8","sidebar_title_background":"#36367E","sidebar_title_primary":"#FFC634","sidebar_title_secondary":"#FFFFFF","sidebar_title_secondary_hover":"#FFFFFF","email_background":"#0E0E56","email_logo_background_panel":"#36367E","email_sub_text":"#FFFFFF","email_button_background":"#36367E","email_button_text":"#FFFFFF","portal_sidebar_button_background":"#F6F6F6","portal_sidebar_button_hover":"#FFFFFF","portal_sidebar_button_active":"#FFFFFF","portal_brand_title":"#323B4B","portal_brand_sub_title":"#828994","portal_sidebar_title":"#11151D","portal_sidebar_text":"#323B4B","portal_sidebar_text_hover":"#323B4B","portal_sidebar_text_active":"#323B4B","portal_sidebar_icon":"#828994","portal_sidebar_icon_hover":"#828994","portal_sidebar_icon_active":"#828994","portal_background":"#F6F6F6","portal_sidebar_account_title":"#11151D","portal_sidebar_account_email":"#828994","portal_sidebar_divider":"#E3E5E9","portal_dashboard_bg_one":"#EF4583","portal_dashboard_bg_two":"#FFC634","portal_sidebar_collapse_button":"#828994","portal_sidebar_collapse_button_hover":"#B3B9C4","portal_sidebar_user_select_background":"#F6F6F6","portal_sidebar_user_select_hover":"#F6F6F6","portal_sidebar_user_select_text":"#323B4B","portal_sidebar_user_select_text_hover":"#323B4B","portal_sidebar_user_select_border":"#EEEEEE","portal_sidebar_user_select_border_hover":"#828994"},"factfind_pdf_header_background":"#0E0E56","factfind_pdf_header_text":"#ffffff","factfind_pdf_logo":"https://api.plannrcrm.com/images/plannr.jpg","is_subscribed":true,"keep_deleted_files_for":30,"tax":17.5,"month_end":25,"statement_frequency":"monthly","billing":{"invoice_address_1":"Suite E, 5 The Briars","invoice_address_2":"Waterberry Drive","invoice_town_city":"Waterlooville","invoice_county":"Hampshire","invoice_postcode":"PO7 7YH","invoice_country":"United Kingdom","invoice_email":"gareth@codepotato.co.uk"},"ip_whitelist":["192.168.0.1","127.0.0.1"],"welcome_paragraph_html":"\u003ch1\u003eWelcome.\u003c/h1\u003e","email_welcome_paragraph_html":"Welcome to Plannr!","show_fact_find_illustrations":true,"cc_email_addresses":["jack@example.com","jill@example.com"],"bcc_email_addresses":["jack@example.com","jill@example.com"],"reply_to_email_address":"jack@example.com","mobile_app_support_number":"01234 567890","mobile_app_support_email":"support@example.com"}},"App_Http_Resources_ContactDetailResource_Summary":{"type":"object","properties":{"uuid":{"example":"a435c8b8-49da-473b-8c1b-01f111fdd868","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"type":{"example":"phone_number","description":"Contact detail type"},"name":{"example":"Work number","description":"Contact detail description"},"value":{"example":"+443330903630","description":"Contact detail value"},"phone_number_meta":{"example":{"country":"GB","formatted":"0333 090 3630"},"description":"If the type is a phone number, this additional field will be displayed giving you information about the phone number."}},"example":{"uuid":"a435c8b8-49da-473b-8c1b-01f111fdd868","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","type":"phone_number","name":"Work number","value":"+443330903630","phone_number_meta":{"country":"GB","formatted":"0333 090 3630"}}},"App_Http_Resources_TimeEntryResource_Summary":{"type":"object","properties":{"uuid":{"example":"a1b0d813-00e9-4083-98a8-c277d83e8933","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Research","description":"The name of the time entry."},"description":{"example":"This is a description.","description":"The description of the time entry."},"trackable_type":{"example":"Client","description":"The model type that is being tracked. The example given is a client, but it can be a case, firm, circle or task."},"start_date":{"example":"2026-11-18T19:21:49+00:00","description":"The start time of the time entry."},"end_date":{"example":"2026-11-18T19:49:49+00:00","description":"The end time of the time entry."},"is_active":{"example":true,"description":"Determines if the time entry is currently ongoing."},"total_time_in_minutes":{"example":28,"description":"Total time in minutes."},"computed_time_elapsed_in_seconds":{"example":1680,"description":"Computed time elapsed in seconds."}},"example":{"uuid":"a1b0d813-00e9-4083-98a8-c277d83e8933","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"Research","description":"This is a description.","trackable_type":"Client","start_date":"2026-11-18T19:21:49+00:00","end_date":"2026-11-18T19:49:49+00:00","is_active":true,"total_time_in_minutes":28,"computed_time_elapsed_in_seconds":1680}},"App_Http_Resources_AccountResource_Summary":{"type":"object","properties":{"uuid":{"example":"f08f3e8d-23bf-4d4b-b848-af98efb282eb","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"type":{"example":"client","description":"Account type"},"role":{"example":"client","description":"Account role"},"first_name":{"example":"Gareth","description":"First name"},"last_name":{"example":"Thompson","description":"Last name"},"name":{"example":"Gareth Thompson","description":"Name"},"email":{"example":"gareth@codepotato.co.uk","description":"(Deprecated - Please use primary_email instead). The email of the account."},"photo_url":{"example":"https://eu.ui-avatars.com/api/?name=gareth+thompson","description":"URL for initial avatar image"},"first_contact_date":{"example":"2026-11-18T20:11:49+00:00","description":"First contact date"},"next_review_date":{"example":"2026-11-18T20:11:49+00:00","description":"Next review date"},"previous_review_date":{"example":"2026-11-18T20:11:49+00:00","description":"Previous review date"},"anniversary_review_date":{"example":"2026-11-18T20:11:49+00:00","description":"Anniversary review date"},"terms_of_business_at":{"example":"2026-11-18T20:11:49+00:00","description":"Date the Terms of Business were agreed and signed"},"client_agreement_at":{"example":"2026-11-18T20:11:49+00:00","description":"Date the client agreement was agreed and signed"},"with_login":{"example":true,"description":"Denotes whether the account has a login to Plannr"},"has_joint_account":{"example":true,"description":"Denotes whether this account belongs to a joint account too"},"can_be_deleted":{"example":"false","description":"Denotes if the account can be deleted"},"ownership_percentage":{"example":100.0,"description":"Percentage ownership of the plan (This field is only present if viewing the account record via a plans relationship eg Plan -\u003e Accounts)"},"inactive_at":{"example":"2026-11-18","description":"Inactive from date"},"last_interaction_at":{"example":"2026-11-18 20:11:49","description":"Last interaction date"},"referral_code":{"example":"ABC12345","description":"Unique referral code for the employee account (employees only)"},"is_out_of_office":{"example":true,"description":"Denotes whether the account is currently within an active Out of Office window (employees only)"},"out_of_office_from":{"example":"2026-11-18T20:11:49+00:00","description":"Start of the Out of Office period (employees only). Null when not out of office"},"out_of_office_until":{"example":"2026-11-18T20:11:49+00:00","description":"End of the Out of Office period (employees only). Null when not out of office"},"out_of_office_message":{"example":"I am away this week. For urgent matters please contact the office.","description":"Message shown to portal users while the account is Out of Office (employees only). Null when not out of office"},"is_pending_fact_find_account":{"example":false,"description":"Denotes whether the account is a provisional account created by a fact find that has not yet been submitted (clients only)"},"permissions":{"example":{"firm:read":["firm"],"network:read":["network:uuid"]},"description":"Permission map where keys are permission names and values are target arrays"},"managed_by_head_office":{"example":false,"description":"Whether head office set this employee's firm role from their enterprise role. The firm can add restrictions on top but cannot change or remove the role itself."}},"example":{"uuid":"f08f3e8d-23bf-4d4b-b848-af98efb282eb","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","type":"client","role":"client","first_name":"Gareth","last_name":"Thompson","name":"Gareth Thompson","email":"gareth@codepotato.co.uk","photo_url":"https://eu.ui-avatars.com/api/?name=gareth+thompson","first_contact_date":"2026-11-18T20:11:49+00:00","next_review_date":"2026-11-18T20:11:49+00:00","previous_review_date":"2026-11-18T20:11:49+00:00","anniversary_review_date":"2026-11-18T20:11:49+00:00","terms_of_business_at":"2026-11-18T20:11:49+00:00","client_agreement_at":"2026-11-18T20:11:49+00:00","with_login":true,"has_joint_account":true,"can_be_deleted":"false","ownership_percentage":100.0,"inactive_at":"2026-11-18","last_interaction_at":"2026-11-18 20:11:49","referral_code":"ABC12345","is_out_of_office":true,"out_of_office_from":"2026-11-18T20:11:49+00:00","out_of_office_until":"2026-11-18T20:11:49+00:00","out_of_office_message":"I am away this week. For urgent matters please contact the office.","is_pending_fact_find_account":false,"permissions":{"firm:read":["firm"],"network:read":["network:uuid"]},"managed_by_head_office":false}},"App_Http_Resources_BusinessUnitResource_Summary":{"type":"object","properties":{"uuid":{"example":"ee0aa57f-c34e-4382-b55c-4594d19efc49","description":"The UUID of the resource."},"name":{"example":"Wealth Management","description":"Name of the business unit."},"has_alternative_branding":{"example":false,"description":"Whether alternative branding is enabled for this business unit."},"brand_colours":{"example":[],"description":"Brand colours for this business unit, merged with firm defaults."},"members_count":{"example":3,"description":"Number of accounts assigned to this business unit"},"groups_count":{"example":2,"description":"Number of groups assigned to this business unit"},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."}},"example":{"uuid":"ee0aa57f-c34e-4382-b55c-4594d19efc49","name":"Wealth Management","has_alternative_branding":false,"brand_colours":[],"members_count":3,"groups_count":2,"created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00"}},"App_Http_Resources_GroupResource_Summary":{"type":"object","properties":{"uuid":{"example":null,"description":"UUID of the group"},"name":{"example":"finance","description":"Name of the group"},"slug":{"example":"finance","description":"Slug of the group"},"participants_count":{"example":"3","description":"Number of participants in the group"},"participants":{"example":{"uuid":{"example":null,"description":"UUID of the account"},"role":{"example":"client","description":"Role of the account"},"first_name":{"example":"Gareth","description":"First name of the account"},"last_name":{"example":"Thompson","description":"Last name of the account"},"name":{"example":"Gareth Thompson","description":"Name of the account"},"email":{"example":"gareth@codepotato.co.uk","description":"Email of the account"}},"description":"Participants in this group"},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the group was created"},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the group was updated"}},"example":{"uuid":null,"name":"finance","slug":"finance","participants_count":"3","participants":{"uuid":{"example":null,"description":"UUID of the account"},"role":{"example":"client","description":"Role of the account"},"first_name":{"example":"Gareth","description":"First name of the account"},"last_name":{"example":"Thompson","description":"Last name of the account"},"name":{"example":"Gareth Thompson","description":"Name of the account"},"email":{"example":"gareth@codepotato.co.uk","description":"Email of the account"}},"created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00"}},"App_Http_Resources_TagResource_Summary":{"type":"object","properties":{"uuid":{"example":"e2979cde-75a9-4485-befb-d3df2cb0cf15","description":"UUID of the tag"},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Mortgage","description":"The name of the tag"},"slug":{"example":"mortgage","description":"The slug of the tag"},"colour":{"example":"#ef4582","description":"The colour of the tag"}},"example":{"uuid":"e2979cde-75a9-4485-befb-d3df2cb0cf15","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"Mortgage","slug":"mortgage","colour":"#ef4582"}},"App_Http_Resources_MarketingConsentStatusesResource_Summary":{"type":"object","properties":{"email":{"example":"opted_in","description":"Marketing consent status for email. One of not_captured, opted_in and opted_out"},"phone":{"example":"opted_out","description":"Marketing consent status for phone. One of not_captured, opted_in and opted_out"},"letter":{"example":"not_captured","description":"Marketing consent status for letter. One of not_captured, opted_in and opted_out"},"sms":{"example":"not_captured","description":"Marketing consent status for SMS. One of not_captured, opted_in and opted_out"}},"example":{"email":"opted_in","phone":"opted_out","letter":"not_captured","sms":"not_captured"}},"App_Http_Resources_CircleResource_Summary":{"type":"object","properties":{"uuid":{"example":"a5234275-a766-4807-b7f8-e1646fcf1bed","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Jones Family","description":"The Circle name"},"photo_url":{"example":"https://eu.ui-avatars.com/api/?name=jones+family","description":"URL for initial avatar image"},"bg_colour":{"example":"#35f4e1","description":"Hex colour background for avatar"},"has_portal_access":{"example":true,"description":"Whether any member of the circle has portal access"},"portal_access_status":{"example":"active","description":"Aggregated portal access status: active, never_logged_in, or no_portal_access"},"engagement_rating":{"example":"green","description":"Aggregated engagement rating: green, amber, red, or none"},"last_login":{"example":{"logged_in_at":"2026-11-18T20:11:49+00:00","account_uuid":"uuid","account_name":"John Smith","device_type":"desktop","device_platform":"macos"},"description":"Most recent portal login across all circle members, including who logged in"},"portal_login_count_30d":{"example":5,"description":"Total portal login count across all members in last 30 days"},"portal_login_count_90d":{"example":12,"description":"Total portal login count across all members in last 90 days"},"portal_login_count_365d":{"example":48,"description":"Total portal login count across all members in last 365 days"},"joint_account_uuid":{"example":"1925eed3-f367-4d93-a7cb-1a44e1b968fd","description":"uuid of joint account where circle created from joint account"},"login_access_level":{"example":"write","description":"The access level in context of an account. Note this field is only returned when using the accounts API. Available values: read and write"},"current_life_stage_uuid":{"example":"9a65824b-a70f-491c-9675-1bd4a36cd8ea","description":"UUID of the circle's current life stage for expenditure"}},"example":{"uuid":"a5234275-a766-4807-b7f8-e1646fcf1bed","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"Jones Family","photo_url":"https://eu.ui-avatars.com/api/?name=jones+family","bg_colour":"#35f4e1","has_portal_access":true,"portal_access_status":"active","engagement_rating":"green","last_login":{"logged_in_at":"2026-11-18T20:11:49+00:00","account_uuid":"uuid","account_name":"John Smith","device_type":"desktop","device_platform":"macos"},"portal_login_count_30d":5,"portal_login_count_90d":12,"portal_login_count_365d":48,"joint_account_uuid":"1925eed3-f367-4d93-a7cb-1a44e1b968fd","login_access_level":"write","current_life_stage_uuid":"9a65824b-a70f-491c-9675-1bd4a36cd8ea"}},"App_Http_Resources_ServiceLevelResource_Summary":{"type":"object","properties":{"uuid":{"example":"89b7792a-763f-49be-95dd-2949073595ab","description":"The UUID of the resource."},"name":{"example":"Gold","description":"The name of the service level."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."}},"example":{"uuid":"89b7792a-763f-49be-95dd-2949073595ab","name":"Gold","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00"}},"App_Http_Resources_CustomFieldValueResource_Summary":{"type":"object","properties":{"uuid":{"example":null,"description":"The UUID of the custom field"},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"type":{"example":"string","description":"The type of custom field"},"name":{"example":"Favourite Drink","description":"The name of the custom field"},"reference":{"example":"favourite_drink","description":"The reference of the custom field, used when updating the custom field on the model."},"is_required":{"example":false,"description":"Denotes if the custom field is required"},"value":{"example":"Coffee","description":"The value of the custom field"},"selection_options":{"example":["Coffee","Tea","Water"],"description":"This is the array of available options for the selection box. If the type is \"selection\" this array will be provided."},"help_text":{"example":"This is the client's favourite drink.","description":"Optional help text to aide the custom field. Will be displayed on Plannr."},"is_retired":{"example":false,"description":"Denotes if the custom field is retired. Retired values are read-only."}},"example":{"uuid":null,"created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","type":"string","name":"Favourite Drink","reference":"favourite_drink","is_required":false,"value":"Coffee","selection_options":["Coffee","Tea","Water"],"help_text":"This is the client's favourite drink.","is_retired":false}},"App_Http_Resources_ExternalReferenceResource_Summary":{"type":"object","properties":{"uuid":{"example":"4bcc9b2d-d5f4-4ea4-9e39-edbdbc538591","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"third_party":{"example":"nucleus","description":"The third party provider with the reference."},"reference":{"example":"AB123456","description":"The third party reference."}},"example":{"uuid":"4bcc9b2d-d5f4-4ea4-9e39-edbdbc538591","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","third_party":"nucleus","reference":"AB123456"}},"App_Http_Resources_Addons_AddonSubscriptionResource_Summary":{"type":"object","properties":{"uuid":{"example":"213d0e0a-ec52-4692-8424-d418d19b7512","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"enabled":{"example":"true","description":"Determines if the addon is enabled"},"trial_ends_at":{"example":"2026-12-02","description":"If the addon is a paid addon, this is the date the free trial will end for the addon subscription."},"trial_ends_in_days":{"example":14,"description":"If the addon is a paid addon, this is the number of days left in the free trial for the addon subscription."},"payment_confirmed_at":{"example":"2026-12-06","description":"If the addon is a paid addon, this is the date the payment was confirmed for the addon subscription."}},"example":{"uuid":"213d0e0a-ec52-4692-8424-d418d19b7512","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","enabled":"true","trial_ends_at":"2026-12-02","trial_ends_in_days":14,"payment_confirmed_at":"2026-12-06"}},"App_Http_Resources_Board_BoardResource_Summary":{"type":"object","properties":{"uuid":{"example":null,"description":"uuid of the board"},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"timestamp of when the board was created"},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"timestamp of when the board was updated"},"is_template":{"example":false,"description":"returns true if the board is a template"},"name":{"example":"Task Board","description":"the name of the board"},"default_list_uuid":{"example":null,"description":"the default list uuid"},"is_editable":{"example":true,"description":"determines if the user can edit the board (e.g update the board, lists and move tasks around)"},"priorities":{"example":[{"name":"High","value":"high"},{"name":"Low","value":"low"}],"description":"returns the array of priorities that can be set within a task"}},"example":{"uuid":null,"created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","is_template":false,"name":"Task Board","default_list_uuid":null,"is_editable":true,"priorities":[{"name":"High","value":"high"},{"name":"Low","value":"low"}]}},"App_Http_Resources_FolderParticipantResource_Summary":{"type":"object","properties":{"uuid":{"example":"b06762e2-a94b-4c88-97e5-8dc08a303bfa","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Gareth Thompson","description":"Name of the person the folder is shared with."},"write":{"example":true,"description":"Whether the participant has write access to this folder."}},"example":{"uuid":"b06762e2-a94b-4c88-97e5-8dc08a303bfa","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"Gareth Thompson","write":true}},"App_Http_Resources_FolderResource_Summary":{"type":"object","properties":{"uuid":{"example":"1cb8fbb8-a7dd-46fa-a9a5-91df635671fc","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Important Documents","description":"Folder name"},"slug":{"example":"important-documents","description":"Slug of the folder name"},"path":{"example":"Codepotato/Important Documents","description":"Folder path"},"clients_read":{"example":true,"description":"Denotes whether clients can access this folder and files"},"clients_write":{"example":true,"description":"Denotes whether clients can upload files to this folder"},"show_client_permissions":{"example":true,"description":"Denotes whether the option to change client permissions is enabled which depends on the firm show pseudo folders in client portal setting"},"is_system_folder":{"example":true,"description":"Denotes if this folder is a system folder"},"is_pseudo_folder":{"example":true,"description":"Denotes if this folder is a pseudo folder"},"is_root_folder":{"example":true,"description":"Denotes if this folder is a root folder of a documentable item"},"documentable_type":{"example":"account","description":"The documentable type such as account/plan/case/etc the file was uploaded to"},"documentable_uuid":{"example":"account","description":"The UUID of the documentable resource"},"documentable":{"example":"Object","description":"The documentable the file was uploaded to"},"participants_count":{"example":3,"description":"Number of accounts this folder has been directly shared with"},"folders_count":{"example":5,"description":"Number of subfolders within the folder"},"files_count":{"example":8,"description":"Number of files stored in the folder"},"depth":{"example":5,"description":"How many levels deep there are to this folder hierarchy structure"},"owned":{"example":false,"description":"Is true if the authenticated account in the request has created this folder"}},"example":{"uuid":"1cb8fbb8-a7dd-46fa-a9a5-91df635671fc","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"Important Documents","slug":"important-documents","path":"Codepotato/Important Documents","clients_read":true,"clients_write":true,"show_client_permissions":true,"is_system_folder":true,"is_pseudo_folder":true,"is_root_folder":true,"documentable_type":"account","documentable_uuid":"account","documentable":"Object","participants_count":3,"folders_count":5,"files_count":8,"depth":5,"owned":false}},"App_Http_Resources_FileResource_Summary":{"type":"object","properties":{"uuid":{"example":"3312cab6-6151-4145-9ea6-05ca902bffcc","description":"UUID of the file"},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"original_created_at":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the file was originally created"},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"uploaded_at":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the file was uploaded"},"status":{"example":"uploaded","description":"Current status of the uploading progress"},"filename":{"example":"Welcome to Plannr.pdf","description":"The filename including extension"},"name":{"example":"Welcome to Plannr","description":"The name of the file without extension"},"extension":{"example":"pdf","description":"The extension of the file"},"type":{"example":"type","description":"The MIME type of the file"},"size":{"example":"21691783","description":"The size of the file in bytes"},"path":{"example":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf","description":"The path of the file"},"last_modified":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the file was last modified before uploading"},"progress":{"example":"100","description":"The progress of the uploaded file as a percentage between 0 and 100"},"download_url":{"example":"https://api.plannrcrm.com/file/68f56058-8ef9-48bb-99b8-4ff02c13e3a2/download","description":"The download URL of the file"},"preview_url":{"example":"https://api.plannrcrm.com/file/1e11fe95-7087-47fd-86d6-6a22a71f265f/preview","description":"The URL to preview the file inline in the browser. Only present for images and PDFs within the preview size limit"},"folder_name":{"example":"folder 2","description":"The name of the folder the file is located in"},"documentable_type":{"example":"account","description":"The documentable type such as account/plan/case/etc the file was uploaded to"},"documentable":{"example":"Object","description":"The documentable the file was uploaded to"},"navigator":{"example":{"model_type":"account","model_uuid":null},"description":"The documentable type and its UUID in order to navigator to the correct resource"}},"example":{"uuid":"3312cab6-6151-4145-9ea6-05ca902bffcc","created_at":"2026-11-18T20:11:49+00:00","original_created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","uploaded_at":"2026-11-18T20:11:49+00:00","status":"uploaded","filename":"Welcome to Plannr.pdf","name":"Welcome to Plannr","extension":"pdf","type":"type","size":"21691783","path":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf","last_modified":"2026-11-18T20:11:49+00:00","progress":"100","download_url":"https://api.plannrcrm.com/file/68f56058-8ef9-48bb-99b8-4ff02c13e3a2/download","preview_url":"https://api.plannrcrm.com/file/1e11fe95-7087-47fd-86d6-6a22a71f265f/preview","folder_name":"folder 2","documentable_type":"account","documentable":"Object","navigator":{"model_type":"account","model_uuid":null}}},"App_Http_Resources_CheckResource":{"type":"object","properties":{"uuid":{"type":"string","example":"e6f09783-b160-441b-9adc-490c03468b79"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"last_webhook_at":{"type":"string","example":"2026-11-11T20:11:42+00:00"},"originally_ran_at":{"type":"string","example":"2026-11-11T20:11:42+00:00"},"provider":{"type":"string","example":"SmartSearch"},"type":{"type":"string","example":"fraud"},"provider_reference":{"type":"string","example":"10009815"},"status":{"type":"string","example":"completed"},"outcome":{"type":"string","example":"refer"},"via_integration":{"type":"boolean","example":false},"last_error":{"type":"string","example":"SmartSearch could not process the request. Please contact support."},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"930a6570-81ac-4b8c-b543-8d4b970bbe69"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"e559c886-76d4-483f-9ba7-e9a1a7e6a4df"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"folder":{"type":"object","properties":{"uuid":{"type":"string","example":"d3a31c69-9c1b-4cb5-a86e-7ca623f58a14"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Important Documents"},"slug":{"type":"string","example":"important-documents"},"path":{"type":"string","example":"Codepotato/Important Documents"},"clients_read":{"type":"boolean","example":true},"clients_write":{"type":"boolean","example":true},"show_client_permissions":{"type":"boolean","example":true},"is_system_folder":{"type":"boolean","example":true},"is_pseudo_folder":{"type":"boolean","example":true},"is_root_folder":{"type":"boolean","example":true},"documentable_type":{"type":"string","example":"account"},"documentable_uuid":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"participants_count":{"type":"integer","example":3},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderParticipantResource_Summary"}]},"folders_count":{"type":"integer","example":5},"folders":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"files_count":{"type":"integer","example":8},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"parents":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"ancestors":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"depth":{"type":"integer","example":5},"owned":{"type":"boolean","example":false}}}}},"App_Http_Resources_MinimalAccountResource_Summary":{"type":"object","properties":{"uuid":{"example":"97f856cb-2529-44fe-8d54-aff07abeb47e","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"type":{"example":"client","description":"Account type"},"role":{"example":"client","description":"Account role"},"first_name":{"example":"Gareth","description":"First name"},"last_name":{"example":"Thompson","description":"Last name"},"name":{"example":"Gareth Thompson","description":"Name"},"email":{"example":"gareth@codepotato.co.uk","description":"(Deprecated - Please use the primary email of the account instead). The email of the account."},"photo_url":{"example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson","description":"The photo URL of the client"}},"example":{"uuid":"97f856cb-2529-44fe-8d54-aff07abeb47e","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","type":"client","role":"client","first_name":"Gareth","last_name":"Thompson","name":"Gareth Thompson","email":"gareth@codepotato.co.uk","photo_url":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"}},"App_Http_Resources_AccountResource":{"type":"object","properties":{"uuid":{"type":"string","example":"446969e6-956f-4a32-8974-729d7c5eb5d2"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"395e97de-6a15-4e4a-b1ab-6a3e57d02b5a"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"primary_phone_number":{"type":"object","properties":{"uuid":{"type":"string","example":"2e26aa6e-96c9-49df-9bc4-36db957009ef"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"phone_number"},"name":{"type":"string","example":"Work number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"primary_email":{"type":"object","properties":{"uuid":{"type":"string","example":"76271c8f-9677-4a95-a6a6-c40c470e7fed"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"phone_number"},"name":{"type":"string","example":"Work number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"current_time_entry":{"type":"object","properties":{"uuid":{"type":"string","example":"a0b8faaa-0ed4-4654-8bc6-abbcaf970e55"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Research"},"description":{"type":"string","example":"This is a description."},"trackable_type":{"type":"string","example":"Client"},"trackable":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"start_date":{"type":"string","example":"2026-11-18T19:21:42+00:00"},"end_date":{"type":"string","example":"2026-11-18T19:49:42+00:00"},"is_active":{"type":"boolean","example":true},"total_time_in_minutes":{"type":"integer","example":28},"computed_time_elapsed_in_seconds":{"type":"integer","example":1680},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]}}},"assigned_adviser":{"type":"object","properties":{"uuid":{"type":"string","example":"30b17f00-bbce-4f25-bd42-caab548fc8bc"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"assigned_administrator":{"type":"object","properties":{"uuid":{"type":"string","example":"c6392804-068b-48c2-aa51-09e518a7b086"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"assigned_paraplanner":{"type":"object","properties":{"uuid":{"type":"string","example":"5ee2798d-ddd4-45f5-b978-2b5901eac536"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"introduced_by":{"type":"object","properties":{"uuid":{"type":"string","example":"8e2abb85-cce0-489c-84ed-0e0fd635f63b"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"business_unit":{"type":"object","properties":{"uuid":{"type":"string","example":"8984189e-81d1-4143-8ee1-f4a614c938f2"},"name":{"type":"string","example":"Wealth Management"},"has_alternative_branding":{"type":"boolean","example":false},"brand_colours":{"type":"array","example":[]},"members_count":{"type":"integer","example":3},"members":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"groups_count":{"type":"integer","example":2},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"}}},"groups":{"type":"array","example":[{"uuid":"81725c27-a97a-4bb4-931e-44d2260699c1","name":"finance","slug":"finance","participants_count":"3","participants":{"uuid":{"example":"58eff9df-11d3-4af1-bfd9-1da9616343b3","description":"UUID of the account"},"role":{"example":"client","description":"Role of the account"},"first_name":{"example":"Gareth","description":"First name of the account"},"last_name":{"example":"Thompson","description":"Last name of the account"},"name":{"example":"Gareth Thompson","description":"Name of the account"},"email":{"example":"gareth@codepotato.co.uk","description":"Email of the account"}},"created_at":"2026-11-18T20:11:42+00:00","updated_at":"2026-11-18T20:11:42+00:00"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"81725c27-a97a-4bb4-931e-44d2260699c1"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"participants_count":{"type":"string","example":"3"},"participants":{"type":"object","properties":{"uuid":{"type":"object","properties":{"example":{"type":"string","example":"58eff9df-11d3-4af1-bfd9-1da9616343b3"},"description":{"type":"string","example":"UUID of the account"}}},"role":{"type":"object","properties":{"example":{"type":"string","example":"client"},"description":{"type":"string","example":"Role of the account"}}},"first_name":{"type":"object","properties":{"example":{"type":"string","example":"Gareth"},"description":{"type":"string","example":"First name of the account"}}},"last_name":{"type":"object","properties":{"example":{"type":"string","example":"Thompson"},"description":{"type":"string","example":"Last name of the account"}}},"name":{"type":"object","properties":{"example":{"type":"string","example":"Gareth Thompson"},"description":{"type":"string","example":"Name of the account"}}},"email":{"type":"object","properties":{"example":{"type":"string","example":"gareth@codepotato.co.uk"},"description":{"type":"string","example":"Email of the account"}}}}},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"}}}},"tags":{"type":"array","example":[{"uuid":"18af7a6a-63c6-4dff-b9df-6261682a091a","created_at":"2026-11-18T20:11:42+00:00","updated_at":"2026-11-18T20:11:42+00:00","name":"Mortgage","slug":"mortgage","colour":"#ef4582"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"18af7a6a-63c6-4dff-b9df-6261682a091a"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Mortgage"},"slug":{"type":"string","example":"mortgage"},"colour":{"type":"string","example":"#ef4582"}}}},"marketing_consent":{"type":"object","properties":{"email":{"type":"string","example":"opted_in"},"phone":{"type":"string","example":"opted_out"},"letter":{"type":"string","example":"not_captured"},"sms":{"type":"string","example":"not_captured"}}},"owners":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"0a44dc3c-fa86-4de1-91c3-8a90d24a6b32"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"type":"object","properties":{"uuid":{"type":"string","example":"6fdec297-2324-4188-bb96-cc142ba7d9e3"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Jones Family"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=jones+family"},"bg_colour":{"type":"string","example":"#35f4e1"},"has_portal_access":{"type":"boolean","example":true},"portal_access_status":{"type":"string","example":"active"},"engagement_rating":{"type":"string","example":"green"},"last_login":{"type":"object","properties":{"logged_in_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"account_uuid":{"type":"string","example":"uuid"},"account_name":{"type":"string","example":"John Smith"},"device_type":{"type":"string","example":"desktop"},"device_platform":{"type":"string","example":"macos"}}},"portal_login_count_30d":{"type":"integer","example":5},"portal_login_count_90d":{"type":"integer","example":12},"portal_login_count_365d":{"type":"integer","example":48},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"joint_account_uuid":{"type":"string","example":"2963db44-96b2-464a-8262-92c1de9f1ba9"},"login_access_level":{"type":"string","example":"write"},"current_life_stage_uuid":{"type":"string","example":"da8c7199-ec03-48ce-a0a7-f0910d2955da"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"circles":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"68be86de-0881-47a1-a84c-91b3f54daef1"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Jones Family"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=jones+family"},"bg_colour":{"type":"string","example":"#35f4e1"},"has_portal_access":{"type":"boolean","example":true},"portal_access_status":{"type":"string","example":"active"},"engagement_rating":{"type":"string","example":"green"},"last_login":{"type":"object","properties":{"logged_in_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"account_uuid":{"type":"string","example":"uuid"},"account_name":{"type":"string","example":"John Smith"},"device_type":{"type":"string","example":"desktop"},"device_platform":{"type":"string","example":"macos"}}},"portal_login_count_30d":{"type":"integer","example":5},"portal_login_count_90d":{"type":"integer","example":12},"portal_login_count_365d":{"type":"integer","example":48},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"joint_account_uuid":{"type":"string","example":"34bfed15-66c3-44cd-b0b6-2cc6a146fca2"},"login_access_level":{"type":"string","example":"write"},"current_life_stage_uuid":{"type":"string","example":"142784a8-20d5-45bc-a9df-885faca55f13"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"type":"object","properties":{"uuid":{"type":"string","example":"d44051a1-9f11-446a-b60f-5513ba413579"},"name":{"type":"string","example":"Gold"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"}}},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"type":"array","example":[{"uuid":"2e5cf1e9-c006-476a-8c94-ac514a0a086e","created_at":"2026-11-18T20:11:42+00:00","updated_at":"2026-11-18T20:11:42+00:00","type":"string","name":"Favourite Drink","reference":"favourite_drink","is_required":false,"value":"Coffee","selection_options":["Coffee","Tea","Water"],"help_text":"This is the client's favourite drink.","is_retired":false}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"2e5cf1e9-c006-476a-8c94-ac514a0a086e"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"string"},"name":{"type":"string","example":"Favourite Drink"},"reference":{"type":"string","example":"favourite_drink"},"is_required":{"type":"boolean","example":false},"value":{"type":"string","example":"Coffee"},"selection_options":{"type":"array","example":["Coffee","Tea","Water"],"items":{"type":"string"}},"help_text":{"type":"string","example":"This is the client's favourite drink."},"is_retired":{"type":"boolean","example":false}}}},"external_references":{"type":"array","example":[{"uuid":"49a550de-e686-4196-ab14-8f9c981c67c5","created_at":"2026-11-18T20:11:42+00:00","updated_at":"2026-11-18T20:11:42+00:00","third_party":"nucleus","reference":"AB123456"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"49a550de-e686-4196-ab14-8f9c981c67c5"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"third_party":{"type":"string","example":"nucleus"},"reference":{"type":"string","example":"AB123456"}}}}}},"App_Http_Resources_ClientMarketingConsentResource":{"type":"object","properties":{"uuid":{"type":"string","example":"9d59d9c4-05e0-4184-b1b9-1c51104fe313"},"channel":{"type":"string","example":"email"},"status":{"type":"string","example":"opted_in"},"method":{"type":"string","example":"verbal"},"statement_version":{"type":"string","example":"v1"},"recorded_by":{"type":"object","properties":{"uuid":{"type":"string","example":"e65b9e59-8ff4-48d6-bc69-cccddd53cc25"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"effective_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}},"App_Http_Resources_MarketingConsentStatusesResource":{"type":"object","properties":{"email":{"type":"string","example":"opted_in","description":"Marketing consent status for email. One of not_captured, opted_in and opted_out"},"phone":{"type":"string","example":"opted_out","description":"Marketing consent status for phone. One of not_captured, opted_in and opted_out"},"letter":{"type":"string","example":"not_captured","description":"Marketing consent status for letter. One of not_captured, opted_in and opted_out"},"sms":{"type":"string","example":"not_captured","description":"Marketing consent status for SMS. One of not_captured, opted_in and opted_out"}},"example":{"email":"opted_in","phone":"opted_out","letter":"not_captured","sms":"not_captured"}},"App_Http_Resources_FactFind_FactFindSchemaResource_Summary":{"type":"object","properties":{"uuid":{"example":"61ea378c-9f30-47c2-a5ae-8ff69e616f4b","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"archived_at":{"example":"2026-11-17T20:11:49+00:00","description":"If the schema has been archived, the datetime of when it was archived."},"is_archived":{"example":false,"description":"Denotes if the schema has been archived."},"name":{"example":"Default fact find","description":"The name of the fact find schema."},"introduction_html":{"example":"Welcome to our fact find! \u003cb\u003eYou can use some HTML too.\u003c/b\u003e","description":"The name of the fact find schema. Must be unique."},"sections_count":{"example":5,"description":"The number of sections inside of a fact find schema."},"public_url":{"example":"https://api.plannrcrm.com/fact-find/a082b1c4-d82e-4162-a277-710a00c98579","description":"The public URL of the fact find schema."}},"example":{"uuid":"61ea378c-9f30-47c2-a5ae-8ff69e616f4b","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","archived_at":"2026-11-17T20:11:49+00:00","is_archived":false,"name":"Default fact find","introduction_html":"Welcome to our fact find! \u003cb\u003eYou can use some HTML too.\u003c/b\u003e","sections_count":5,"public_url":"https://api.plannrcrm.com/fact-find/a082b1c4-d82e-4162-a277-710a00c98579"}},"App_Http_Resources_FactFindPassResource_Summary":{"type":"object","properties":{"uuid":{"example":"d312a0bc-5f91-43a8-b6bf-4e3ed2aa656d","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"firm":{"example":{"uuid":null,"name":"Codepotato Ltd"},"description":"The name of the firm the fact find pass is for."},"circle":{"example":{"uuid":null,"name":"The Codepotato Gang"},"description":"The circle the fact find is for."},"expires_at":{"example":"2026-11-18T20:11:49+00:00","description":"The expiry date of the fact find pass. When blank, the fact find pass will not expire."},"progress":{"example":50,"description":"The progress of the fact find pass on the fact find."},"is_complete":{"example":false,"description":"Determines if the fact find pass has completed the fact find."},"completed_sections":{"example":2,"description":"The number of sections the fact find pass has completed on the fact find."}},"example":{"uuid":"d312a0bc-5f91-43a8-b6bf-4e3ed2aa656d","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","firm":{"uuid":null,"name":"Codepotato Ltd"},"circle":{"uuid":null,"name":"The Codepotato Gang"},"expires_at":"2026-11-18T20:11:49+00:00","progress":50,"is_complete":false,"completed_sections":2}},"App_Http_Resources_V2_ActionsResource":{"type":"object","properties":{"uuid":{"type":"string","example":"7765d495-915f-42ed-9536-2eeaf8d3ebea"},"title":{"type":"string","example":"Signature Request"},"description":{"type":"string","example":"Invited to complete the action item"},"type":{"type":"string","example":"fact_find_request"},"is_completed":{"type":"string","example":"true"},"resource":{"type":"object","properties":{"uuid":{"type":"string","example":"9300c4f3-1bd1-473a-a2b7-e74cfc478b7d"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"status":{"type":"string","example":"complete"},"completed_at":{"type":"string","example":"2026-11-13T20:11:45+00:00"},"invitation_text":{"type":"string","example":"Please complete this fact find!"},"schema":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaResource_Summary"}]},"latest_file":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"invitation_url":{"type":"string","example":"https://api.plannrcrm.com/fact-find/6ba25339-40c7-483a-a265-4fd068b01a58/57da7997-030a-42bf-a7ea-c256bad18f99"},"fact_find_passes":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FactFindPassResource_Summary"}]}}},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"}}},"App_Http_Resources_Addons_AddonSubscriptionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"7e766a8a-b1df-4a00-93e7-f09c948d14ef"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"enabled":{"type":"string","example":"true"},"addon":{"type":"object","properties":{"id":{"type":"string","example":"transact_valuation_feed"},"name":{"type":"string","example":"Transact Valuation Feed"},"description":{"type":"string","example":"Provides an automatic holding and valuation feed via a transact integration"},"setup_instructions":{"type":"string","example":"Retrieve your transact api key from https://www.transact-online.co.uk/contact-us/"},"category":{"type":"string","example":"valuation_feed_integration"},"params":{"type":"object","properties":{"access_code":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"Transact Number"},"example":{"type":"string","example":"555-123-456"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"pin":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"TRDS Password (Not Your Transact Password)"},"example":{"type":"string","example":"secret-password-123"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"second_access_code":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"Second Transact Number"},"example":{"type":"string","example":"555-123-456"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"second_pin":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"Second TRDS Password (Not Your Transact Password)"},"example":{"type":"string","example":"secret-password-123"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"third_access_code":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"Third Transact Number"},"example":{"type":"string","example":"555-123-456"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"third_pin":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"Third TRDS Password (Not Your Transact Password)"},"example":{"type":"string","example":"secret-password-123"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}}}},"banner_url":{"type":"string","example":"https://plannrcrm.com/banner.png"},"icon_url":{"type":"string","example":"https://plannrcrm.com/icon.png"},"price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"can_be_subscribed_to":{"type":"boolean","example":true},"is_visible":{"type":"boolean","example":true},"free_trial_days":{"type":"integer","example":30},"should_poll_for_subscription_changes":{"type":"boolean","example":true}}},"trial_ends_at":{"type":"string","example":"2026-12-02"},"trial_ends_in_days":{"type":"integer","example":14},"payment_confirmed_at":{"type":"string","example":"2026-12-06"}},"example":[{"uuid":"7e766a8a-b1df-4a00-93e7-f09c948d14ef","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","enabled":"true","addon":{"id":"transact_valuation_feed","name":"Transact Valuation Feed","description":"Provides an automatic holding and valuation feed via a transact integration","setup_instructions":"Retrieve your transact api key from https://www.transact-online.co.uk/contact-us/","category":"valuation_feed_integration","params":{"access_code":{"type":"text","description":"Transact Number","example":"555-123-456","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"pin":{"type":"text","description":"TRDS Password (Not Your Transact Password)","example":"secret-password-123","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"second_access_code":{"type":"text","description":"Second Transact Number","example":"555-123-456","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"second_pin":{"type":"text","description":"Second TRDS Password (Not Your Transact Password)","example":"secret-password-123","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"third_access_code":{"type":"text","description":"Third Transact Number","example":"555-123-456","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"third_pin":{"type":"text","description":"Third TRDS Password (Not Your Transact Password)","example":"secret-password-123","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]}},"banner_url":"https://plannrcrm.com/banner.png","icon_url":"https://plannrcrm.com/icon.png","price":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"can_be_subscribed_to":true,"is_visible":true,"free_trial_days":30,"should_poll_for_subscription_changes":true},"trial_ends_at":"2026-12-02","trial_ends_in_days":14,"payment_confirmed_at":"2026-12-06"}]},"App_Http_Resources_Addons_AddonResource":{"type":"object","properties":{"id":{"type":"string","example":"transact_valuation_feed"},"name":{"type":"string","example":"Transact Valuation Feed"},"description":{"type":"string","example":"Provides an automatic holding and valuation feed via a transact integration"},"setup_instructions":{"type":"string","example":"Retrieve your transact api key from https://www.transact-online.co.uk/contact-us/"},"category":{"type":"string","example":"valuation_feed_integration"},"params":{"type":"object","properties":{"access_code":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"Transact Number"},"example":{"type":"string","example":"555-123-456"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"pin":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"TRDS Password (Not Your Transact Password)"},"example":{"type":"string","example":"secret-password-123"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"second_access_code":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"Second Transact Number"},"example":{"type":"string","example":"555-123-456"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"second_pin":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"Second TRDS Password (Not Your Transact Password)"},"example":{"type":"string","example":"secret-password-123"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"third_access_code":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"Third Transact Number"},"example":{"type":"string","example":"555-123-456"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"third_pin":{"type":"object","properties":{"type":{"type":"string","example":"text"},"description":{"type":"string","example":"Third TRDS Password (Not Your Transact Password)"},"example":{"type":"string","example":"secret-password-123"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}}}},"banner_url":{"type":"string","example":"https://plannrcrm.com/banner.png"},"icon_url":{"type":"string","example":"https://plannrcrm.com/icon.png"},"price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"can_be_subscribed_to":{"type":"boolean","example":true},"is_visible":{"type":"boolean","example":true},"free_trial_days":{"type":"integer","example":30},"should_poll_for_subscription_changes":{"type":"boolean","example":true}},"example":[{"id":"transact_valuation_feed","name":"Transact Valuation Feed","description":"Provides an automatic holding and valuation feed via a transact integration","setup_instructions":"Retrieve your transact api key from https://www.transact-online.co.uk/contact-us/","category":"valuation_feed_integration","params":{"access_code":{"type":"text","description":"Transact Number","example":"555-123-456","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"pin":{"type":"text","description":"TRDS Password (Not Your Transact Password)","example":"secret-password-123","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"second_access_code":{"type":"text","description":"Second Transact Number","example":"555-123-456","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"second_pin":{"type":"text","description":"Second TRDS Password (Not Your Transact Password)","example":"secret-password-123","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"third_access_code":{"type":"text","description":"Third Transact Number","example":"555-123-456","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"third_pin":{"type":"text","description":"Third TRDS Password (Not Your Transact Password)","example":"secret-password-123","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]}},"banner_url":"https://plannrcrm.com/banner.png","icon_url":"https://plannrcrm.com/icon.png","price":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"can_be_subscribed_to":true,"is_visible":true,"free_trial_days":30,"should_poll_for_subscription_changes":true}]},"App_Http_Resources_Addons_FirmAddonAvailabilityResource":{"type":"object","properties":{"addon_id":{"type":"string","example":"four_admin_addon","description":"Unique identifier of the addon"},"name":{"type":"string","example":"4Admin","description":"Name of the addon"},"restricted":{"type":"boolean","example":true,"description":"Whether availability is limited to the listed sub-firms. False means every sub-firm can see and install the addon."},"sub_firms":{"type":"array","description":"The sub-firms the addon is available to while restricted. Selecting a sub-firm also covers its own sub-firms. Empty when restricted is false.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"fcba3226-bf8c-4549-9dca-94d203cfbd07"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}}}}},"App_Http_Resources_Addons_SecclNodeResource":{"type":"object","properties":{"id":{"type":"string","example":"123","description":"Node ID from Seccl"},"name":{"type":"string","example":"Test Node","description":"Node name from Seccl"},"nodeType":{"type":"string","example":"Test Type","description":"Node type from Seccl"},"parentNodeId":{"type":"string","example":"0","description":"Parent node ID from Seccl"}},"example":{"id":"123","name":"Test Node","nodeType":"Test Type","parentNodeId":"0"}},"App_Http_Resources_LookupResource":{"type":"object","properties":{"uuid":{"type":"string","example":"4a9635d2-086a-42c7-a1c0-9e7aed5bad3d","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"type":{"type":"string","example":"provider_statement_mapping","description":"Lookup type"},"lookupable_type":{"type":"string","example":"provider","description":"The model type you are looking up against"},"lookupable_uuid":{"type":"string","example":"d7ce7b1f-a0f1-4fcb-9b24-090af4cba030","description":"The UUID of the model of the lookup value you are looking up against"},"lookupable_value":{"type":"string","example":"J Bloggs Plan","description":"The description of the model of the lookup value you are looking up against"},"lookup_value":{"type":"string","example":"zAbWeFVJ:Bloggs J","description":"A string of a lookup value you are looking up against"},"returnable_type":{"type":"string","example":"plan","description":"The model type that was found by this lookup"},"returnable_uuid":{"type":"string","example":"4b081541-43f4-4acf-b6cd-22b1a7198b95","description":"The model UUID that was found by this lookup"},"returnable_value":{"type":"string","example":"example","description":"The description of the model that was found by this lookup"},"return_string":{"type":"string","example":"Consectetur officia labore","description":"The return value that was found by this lookup"},"return_json":{"type":"object","properties":{"key_1":{"type":"string","example":"value_1"},"key_2":{"type":"string","example":"value_2"}},"description":"The return value that was found by this lookup"},"return_float":{"type":"number","example":70.35,"description":"The return value that was found by this lookup"}},"example":{"uuid":"4a9635d2-086a-42c7-a1c0-9e7aed5bad3d","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","type":"provider_statement_mapping","lookupable_type":"provider","lookupable_uuid":"d7ce7b1f-a0f1-4fcb-9b24-090af4cba030","lookupable_value":"J Bloggs Plan","lookup_value":"zAbWeFVJ:Bloggs J","returnable_type":"plan","returnable_uuid":"4b081541-43f4-4acf-b6cd-22b1a7198b95","returnable_value":"example","return_string":"Consectetur officia labore","return_json":{"key_1":"value_1","key_2":"value_2"},"return_float":70.35}},"App_Http_Resources_Addons_SecclAssetResource":{"type":"object","properties":{"id":{"type":"string","example":"031DF6J","description":"The unique identifier of the client"},"isin":{"type":"string","example":"GB00B1XZS820","description":"The ISIN of the asset"},"short_name":{"type":"string","example":"VANGUARD LIFESTRATEGY 80% EQUI ACC","description":"The short name of the asset"},"long_name":{"type":"string","example":"Vanguard Investments UK Ltd LifeStrategy 80% Equity Acc","description":"The long name of the asset"},"currency":{"type":"string","example":"GBP","description":"The currency of the asset"},"status":{"type":"string","example":"Active","description":"The status of the asset"},"available_to_node_id":{"type":"array","example":["0"],"description":"The node ID the asset is available to","items":{"type":"string"}},"node_id":{"type":"array","example":["1","2"],"description":"The node IDs the asset is associated with","items":{"type":"string"}},"mid":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"23454"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£234.54"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The mid price of the asset"}},"example":{"id":"031DF6J","isin":"GB00B1XZS820","short_name":"VANGUARD LIFESTRATEGY 80% EQUI ACC","long_name":"Vanguard Investments UK Ltd LifeStrategy 80% Equity Acc","currency":"GBP","status":"Active","available_to_node_id":["0"],"node_id":["1","2"],"mid":{"amount":{"example":"23454","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£234.54","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}}}},"App_Http_Resources_Addons_SecclClientResource":{"type":"object","properties":{"id":{"type":"string","example":"031DF6J","description":"The unique identifier of the client"},"node_id":{"type":"string","example":"1","description":"The node ID"},"client_type":{"type":"string","example":"Individual","description":"The type of client"},"title":{"type":"string","example":"Ms","description":"The title of the client"},"first_name":{"type":"string","example":"Isabella","description":"The first name of the client"},"surname":{"type":"string","example":"Richardson","description":"The surname of the client"},"address_detail":{"type":"object","properties":{"flat_number":{"type":"string","example":"1"},"building_name":{"type":"string","example":"The White House"},"building_number":{"type":"string","example":"1"},"address_1":{"type":"string","example":"Downing Street"},"address_2":{"type":"string","example":"Westminster"},"country":{"type":"string","example":"United Kingdom"},"postcode":{"type":"string","example":"SW1A 2AA"}},"description":"The address details of the client"},"email":{"type":"string","example":"test@example.com","description":"The email address of the client"},"mobile":{"type":"object","properties":{"number":{"type":"string","example":"07777000000"},"locale":{"type":"string","example":"en-GB"},"isMobile":{"type":"boolean","example":true}},"description":"The primary mobile number of the client"},"nationality":{"type":"string","example":"GB","description":"The primary nationality of the client"},"national_insurance_no":{"type":"string","example":"AB123456C","description":"The national insurance number of the client"},"date_of_birth":{"type":"string","example":"1980-01-01","description":"The date of birth of the client"},"tax_domicile":{"type":"string","example":"GB","description":"The tax domicile of the client"},"terms_accepted":{"type":"boolean","example":true,"description":"The terms accepted status of the client"},"status":{"type":"string","example":"Active","description":"The status of the client"},"record_creation_date":{"type":"string","example":"2025-01-01T00:00:00+00:00","description":"When the client record was created on the platform. Omitted for client callers."},"bank_details":{"type":"object","properties":{"account_number":{"type":"string","example":"12345678"},"sort_code":{"type":"string","example":"12-34-56"},"accepted_debit_mandate":{"type":"boolean","example":true},"accepted_debit_mandate_at":{"type":"string","example":"2025-01-01T00:00:00.000Z"},"verification_status":{"type":"string","example":"verified"}},"description":"The bank details of the client. verification_status is omitted for client callers."},"vulnerability":{"type":"object","properties":{"isVulnerable":{"type":"boolean","example":true},"reason":{"type":"array","example":["Mental Health"],"items":{"type":"string"}},"isSupportTemporary":{"type":"boolean","example":true}},"description":"The vulnerability details of the client"},"aml_passed":{"type":"boolean","example":true,"description":"Whether the client has passed AML checks"},"requires_debit_mandate":{"type":"boolean","example":true,"description":"Does this client require a debit mandate"},"employment_status":{"type":"string","example":"Employed","description":"The employment status of the client"},"employers":{"type":"array","example":[{"companyName":"Acme Corp","companyRegNo":"12345678","addressDetail":{"flat_number":null,"building_name":null,"building_number":"123","address_1":"123 Business Rd","address_2":"Business City","country":"GB","postcode":"BC1 2AB"},"bankDetails":{"sortCode":"12-34-56","accountNumber":"12345678"}}],"description":"The employers of the client","items":{"type":"object","properties":{"companyName":{"type":"string","example":"Acme Corp"},"companyRegNo":{"type":"string","example":"12345678"},"addressDetail":{"type":"object","properties":{"flat_number":{"type":"string","example":null,"nullable":true},"building_name":{"type":"string","example":null,"nullable":true},"building_number":{"type":"string","example":"123"},"address_1":{"type":"string","example":"123 Business Rd"},"address_2":{"type":"string","example":"Business City"},"country":{"type":"string","example":"GB"},"postcode":{"type":"string","example":"BC1 2AB"}}},"bankDetails":{"type":"object","properties":{"sortCode":{"type":"string","example":"12-34-56"},"accountNumber":{"type":"string","example":"12345678"}}}}}},"marital_status":{"type":"string","example":"Single","description":"The marital status of the client"},"retirement_age":{"type":"integer","example":65,"description":"The retirement age of the client"},"can_open_accounts_for":{"type":"array","example":["JISA"],"description":"The wrapper types the client can open accounts for","items":{"type":"string"}},"plannr_account":{"type":"object","properties":{"uuid":{"type":"string","example":"f89a0251-33bb-4680-bb11-2987041ba47d"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The Plannr account associated with the client"},"parent_id":{"type":"string","example":"031DF6J","description":"The parent ID of the client"}}},"App_Http_Resources_Addons_SecclSchemeProductResource":{"type":"object","properties":{"id":{"type":"string","example":"031DF6J","description":"The unique identifier"},"product_name":{"type":"string","example":"Plannr Personal Pension","description":"Name of this product"},"available_to_node_id":{"type":"array","example":["0","1"],"description":"The node ID the asset is available to","items":{"type":"string"}},"platform":{"type":"string","example":"seccl","description":"The platform this product is available on"}},"example":{"id":"031DF6J","product_name":"Plannr Personal Pension","available_to_node_id":["0","1"],"platform":"seccl"}},"App_Http_Resources_Addons_SecclClientProductResource":{"type":"object","properties":{"id":{"type":"string","example":"CP12345","description":"The unique identifier of the client product"},"client_ids":{"type":"array","example":["031DF6J"],"description":"The client IDs associated with this product","items":{"type":"string"}},"node_id":{"type":"string","example":"N12345","description":"The node ID of the client product"},"wrapper_type":{"type":"string","example":"ISA","description":"The wrapper type (ISA, JISA, PENSION, GIA)"},"terms_accepted":{"type":"boolean","example":true,"description":"Whether the product terms have been accepted"},"declaration_accepted_date":{"type":"string","example":"2025-01-01T00:00:00+00:00","description":"When the declaration was accepted (ISA/JISA)"},"accepted_provider_terms":{"type":"boolean","example":true,"description":"Whether provider terms were accepted (PENSION)"}},"example":{"id":"CP12345","client_ids":["031DF6J"],"node_id":"N12345","wrapper_type":"ISA","terms_accepted":true,"declaration_accepted_date":"2025-01-01T00:00:00+00:00","accepted_provider_terms":true}},"App_Http_Resources_MortgageBrainConnectionResource":{"type":"object","properties":{"adviser":{"type":"object","properties":{"uuid":{"type":"string","example":"18efe6a6-f510-42a5-a0fb-b7d7be4150ac"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"},"name":{"type":"string","example":"Harbour Wealth"}}},"status":{"type":"string","example":"connected"},"status_label":{"type":"string","example":"Connected"},"connection_expires_at":{"type":"string","example":"2027-05-06T09:00:00+01:00"}}},"App_Http_Resources_PensionLab_PensionLabProviderResource":{"type":"object","properties":{"uuid":{"type":"string","example":"65a8d01b-abed-49a6-a555-ab750e5764d3"},"name":{"type":"string","example":"Aviva Life \u0026 Pensions UK Ltd"},"policy_number_format":{"type":"string","example":"123456/PP"},"policy_number_is_nino":{"type":"boolean","example":false},"is_db_only":{"type":"boolean","example":false},"response_estimate_days":{"type":"integer","example":14},"provider":{"type":"object","properties":{"uuid":{"type":"string","example":"b74b2c56-b35f-476d-9874-ff7d0fcba371"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"AJ Bell"},"slug":{"type":"string","example":"aj-bell"}}}},"example":[{"uuid":"65a8d01b-abed-49a6-a555-ab750e5764d3","name":"Aviva Life \u0026 Pensions UK Ltd","policy_number_format":"123456/PP","policy_number_is_nino":false,"is_db_only":false,"response_estimate_days":14,"provider":{"uuid":"b74b2c56-b35f-476d-9874-ff7d0fcba371","created_at":"2026-11-18T20:11:45+00:00","updated_at":"2026-11-18T20:11:45+00:00","name":"AJ Bell","slug":"aj-bell"}}]},"App_Http_Resources_PensionLab_PortalLetterOfAuthorityResource":{"type":"object","properties":{"uuid":{"type":"string","example":"c9c05896-745b-4adf-9820-0d21c77f0d25"},"plan_name":{"type":"string","example":"Aviva Pension"},"provider_name":{"type":"string","example":"Aviva"},"policy_number":{"type":"string","example":"123456/PP"},"ownership":{"type":"string","example":"single"},"stage":{"type":"string","example":"awaiting_your_signature"},"you_have_signed":{"type":"boolean","example":false},"raised_at":{"type":"string","example":"2026-10-26T10:00:00+00:00"},"signed_at":{"type":"string","example":"2026-10-27T09:30:00+00:00"},"sent_at":{"type":"string","example":"2026-10-27T10:00:00+00:00"},"completed_at":{"type":"string","example":"2026-11-03T10:00:00+00:00"},"closed_at":{"type":"string","example":"2026-11-03T10:00:00+00:00"}},"example":[{"uuid":"c9c05896-745b-4adf-9820-0d21c77f0d25","plan_name":"Aviva Pension","provider_name":"Aviva","policy_number":"123456/PP","ownership":"single","stage":"awaiting_your_signature","you_have_signed":false,"raised_at":"2026-10-26T10:00:00+00:00","signed_at":"2026-10-27T09:30:00+00:00","sent_at":"2026-10-27T10:00:00+00:00","completed_at":"2026-11-03T10:00:00+00:00","closed_at":"2026-11-03T10:00:00+00:00"}]},"App_Http_Resources_Plans_ProviderResource_Summary":{"type":"object","properties":{"uuid":{"example":"c3f1f105-04be-445a-a4eb-a9b5c4d3d33e","description":"UUID of the provider"},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"AJ Bell","description":"Provider name"},"slug":{"example":"aj-bell","description":"Provider name slug"}},"example":{"uuid":"c3f1f105-04be-445a-a4eb-a9b5c4d3d33e","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"AJ Bell","slug":"aj-bell"}},"App_Http_Resources_PensionLab_LetterOfAuthorityResource":{"type":"object","properties":{"uuid":{"type":"string","example":"acd3a841-05b1-407f-bbf4-bce3f0e33145"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"client":{"type":"object","properties":{"uuid":{"type":"string","example":"dbdea846-f472-47eb-9d21-f89b0926fe6b"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"second_owner":{"type":"object","properties":{"uuid":{"type":"string","example":"1c120e49-f13b-423c-b6e4-b553271d792e"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"plan":{"type":"object","properties":{"uuid":{"type":"string","example":"8a87ec00-3ea1-40e3-917b-00c99e74dc5b"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false}}},"pensionlab_provider":{"type":"object","properties":{"uuid":{"type":"string","example":"1964e1aa-601c-4a84-adee-c65f41d1495b"},"name":{"type":"string","example":"Aviva Life \u0026 Pensions UK Ltd"},"policy_number_format":{"type":"string","example":"123456/PP"},"policy_number_is_nino":{"type":"boolean","example":false},"is_db_only":{"type":"boolean","example":false},"response_estimate_days":{"type":"integer","example":14},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]}}},"requested_by":{"type":"object","properties":{"uuid":{"type":"string","example":"988b26b0-a70d-47f7-a4d3-edc9dcf05283"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"policy_number":{"type":"string","example":"123456/PP"},"policy_type":{"type":"string","example":"pension"},"ownership":{"type":"string","example":"single"},"pensionlab_reference":{"type":"string","example":"loa123"},"state":{"type":"string","example":"created"},"signature_status":{"type":"string","example":"Awaiting signature"},"closed_sub_state":{"type":"string","example":"chased out"},"issues":{"type":"array","example":["Date of birth"],"items":{"type":"string"}},"notes":{"type":"string","example":"Provider confirmed receipt."},"estimated_completion":{"type":"string","example":"7 days"},"finished_policies_fraction":{"type":"string","example":"2/5"},"client_signed_at":{"type":"string","example":"2026-10-27T09:00:00+00:00"},"second_owner_signed_at":{"type":"string","example":"2026-10-27T09:30:00+00:00"},"signed_at":{"type":"string","example":"2026-10-27T09:30:00+00:00"},"sent_at":{"type":"string","example":"2026-10-27T10:00:00+00:00"},"completed_at":{"type":"string","example":"2026-11-03T10:00:00+00:00"},"closed_at":{"type":"string","example":"2026-11-03T10:00:00+00:00"},"last_synced_at":{"type":"string","example":"2026-10-27T10:05:00+00:00"},"sync_error":{"type":"string","example":"credentials_unavailable"},"raised_at":{"type":"string","example":"2026-10-26T10:00:00+00:00"},"signing_link_sent_at":{"type":"string","example":"2026-10-26T10:05:00+00:00"},"signing_link_sent_by":{"type":"object","properties":{"uuid":{"type":"string","example":"c98d9714-4c7e-4a1f-8b04-b8e2db099ad2"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_PensionLab_PensionLabDetailSuggestionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"806eb876-4987-4124-8240-47dc1a8a2e5d"},"field":{"type":"string","example":"address"},"pensionlab_value":{"type":"string","example":"3 New Street, Leeds, LS1 1AA"},"reported_at":{"type":"string","example":"2026-10-29T09:00:00+00:00"}},"example":[{"uuid":"806eb876-4987-4124-8240-47dc1a8a2e5d","field":"address","pensionlab_value":"3 New Street, Leeds, LS1 1AA","reported_at":"2026-10-29T09:00:00+00:00"}]},"App_Http_Resources_PensionLab_LetterOfAuthorityEventResource":{"type":"object","properties":{"uuid":{"type":"string","example":"a248f770-742a-4a07-86df-afbf72cac374"},"type":{"type":"string","example":"loa.signed"},"source":{"type":"string","example":"webhook"},"summary":{"type":"string","example":"Jane Smith signed the letter of authority."},"state":{"type":"string","example":"signed"},"details":{"type":"object","properties":{"previous_state":{"type":"string","example":"created"}}},"triggered_by":{"type":"object","properties":{"uuid":{"type":"string","example":"d5b0126e-175b-4be6-ad69-d5b4ff738187"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"received_at":{"type":"string","example":"2026-10-27T09:30:00+00:00"}}},"App_Http_Resources_AddressResource":{"type":"object","properties":{"uuid":{"type":"string","example":"04d745ec-22be-4db9-be4e-6611ea408fe3"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Work Address"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"address_3":{"type":"string","example":"The Innovative Centre"},"address_4":{"type":"string","example":"Waterlooville"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"move_in_date":{"type":"string","example":"2025-11-18"},"accounts":{"type":"object","properties":{"uuid":{"type":"string","example":"85ebd757-e489-4a6b-8529-88ea4e511059"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_V2_AddressResource":{"type":"object","properties":{"uuid":{"type":"string","example":"f64da485-5224-4f93-b3c9-60fa6e9ecce1"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Work Address"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"address_3":{"type":"string","example":"The Innovative Centre"},"address_4":{"type":"string","example":"Waterlooville"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"accounts":{"type":"object","properties":{"uuid":{"type":"string","example":"2fa8baa9-6a82-4fe3-8dc1-fa1cc0e7c79b"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"primary_accounts":{"type":"object","properties":{"uuid":{"type":"string","example":"bd587252-45d7-4b8b-b5f2-f649aad0033d"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"moved_in_month":{"type":"integer","example":6},"moved_in_year":{"type":"integer","example":2022},"moved_out_month":{"type":"integer","example":1},"moved_out_year":{"type":"integer","example":2024},"residential_status":{"type":"string","example":"homeowner"},"residential_status_other":{"type":"string","example":"homeowner"},"lived_in_months":{"type":"integer","example":19}}},"App_Http_Resources_AuditLogEntryResource":{"type":"object","properties":{"uuid":{"type":"string","example":"d004bb33-fdbf-415f-911d-1cf7b1b783eb"},"tag":{"type":"string","example":"status"},"tag_label":{"type":"string","example":"Status"},"central_log_chip":{"type":"string","example":"updated"},"title":{"type":"string","example":"Firm status changed"},"area":{"type":"string","example":"Firm details"},"event":{"type":"string","example":"updated"},"changed_fields_count":{"type":"integer","example":1},"change_summary":{"type":"string","example":"Suspended → Active"},"subject":{"type":"object","properties":{"type":{"type":"string","example":"firm"},"uuid":{"type":"string","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}}},"ip_address":{"type":"string","example":"203.0.113.10"},"source":{"type":"string","example":"head_office"},"source_label":{"type":"string","example":"Head office"},"app":{"type":"string","example":"enterprise_hub"},"app_label":{"type":"string","example":"Enterprise Hub"},"parent_firm":{"type":"object","properties":{"uuid":{"type":"string","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"},"name":{"type":"string","example":"Acme Wealth"}}},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"}},"example":[{"uuid":"d004bb33-fdbf-415f-911d-1cf7b1b783eb","tag":"status","tag_label":"Status","central_log_chip":"updated","title":"Firm status changed","area":"Firm details","event":"updated","changed_fields_count":1,"change_summary":"Suspended → Active","subject":{"type":"firm","uuid":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"},"ip_address":"203.0.113.10","source":"head_office","source_label":"Head office","app":"enterprise_hub","app_label":"Enterprise Hub","parent_firm":{"uuid":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","name":"Acme Wealth"},"created_at":"2026-11-18T20:11:44+00:00"}]},"App_Http_Resources_AuditResource":{"type":"object","properties":{"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"uuid":{"type":"string","example":"1a0073f0-1e6a-4bae-b3bd-6ba5a11d8fef"},"type":{"type":"string","example":"Sub Account"},"auditable_uuid":{"type":"string","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"},"old_values":{"type":"object","properties":{"first_name":{"type":"string","example":"John"}}},"new_values":{"type":"object","properties":{"first_name":{"type":"string","example":"Jonathan"}}},"user_agent":{"type":"string","example":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0"},"ip_address":{"type":"string","example":"127.0.0.1"},"event":{"type":"string","example":"updated"},"url":{"type":"string","example":"https://plannrcrm.com"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"c61a4c17-3dd0-4396-9f34-30c0aba3eb5c"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_Automation_AutomationBlockResource":{"type":"object","properties":{"type":{"type":"string","example":"account.tag"},"name":{"type":"string","example":"Add a tag to a client"},"description":{"type":"string","example":"will add an existing tag or create a new one to the account of the given \"account_uuid\" "},"params":{"type":"object","properties":{"account_uuid":{"type":"object","properties":{"type":{"type":"string","example":"string"},"description":{"type":"string","example":"UUID of the account to store tag against"}}},"tag":{"type":"object","properties":{"type":{"type":"string","example":"string"},"description":{"type":"string","example":"The name of the tag to store against the account"}}}}},"returns":{"type":"object","properties":{"tag":{"type":"object","properties":{"type":{"type":"string","example":"string"},"description":{"type":"string","example":"the name of the tag stored against the account"}}}}},"isCondition":{"type":"string","example":"false"},"icon":{"type":"string","example":"star"}},"example":[{"type":"account.tag","name":"Add a tag to a client","description":"will add an existing tag or create a new one to the account of the given \"account_uuid\" ","params":{"account_uuid":{"type":"string","description":"UUID of the account to store tag against"},"tag":{"type":"string","description":"The name of the tag to store against the account"}},"returns":{"tag":{"type":"string","description":"the name of the tag stored against the account"}},"isCondition":"false","icon":"star"}]},"App_Http_Resources_Automation_AutomationTriggerResource":{"type":"object","properties":{"type":{"type":"string","example":"client.created"},"name":{"type":"string","example":"Run at a specific date"},"description":{"type":"string","example":"Trigger an automation on a specific date"},"returns":{"type":"object","properties":{"client":{"type":"array","example":["title","value","next_review_date","previous_review_date","anniversary_review_date","terms_of_business_at","client_agreement_at","checked_sanctions_at","lead_source","first_contact_date","gender","date_of_birth","target_retirement_age","smoker_status","residential_status","country_of_residence","marital_status","is_prospect","is_vulnerable","is_uk_resident","is_uk_domicile","expected_retirement_age","state_retirement_age","third_party_offered","current_state_of_health","long_term_care_needed","has_will","will_last_reviewed","has_power_of_attorney","units_of_alcohol_weekly","has_gifted_family","is_anticipating_inheritance","is_in_receipt_of_your_state_pension","has_obtained_a_forecast","date_of_forecast","years_of_national_insurance_contributions","date_of_marriage","is_deceased","deceased_at"],"items":{"type":"string"}}}},"configParams":{"type":"object","properties":{"client":{"type":"array","example":["title","value","next_review_date","previous_review_date","anniversary_review_date","terms_of_business_at","client_agreement_at","checked_sanctions_at","lead_source","first_contact_date","gender","date_of_birth","target_retirement_age","smoker_status","residential_status","country_of_residence","marital_status","is_prospect","is_vulnerable","is_uk_resident","is_uk_domicile","expected_retirement_age","state_retirement_age","third_party_offered","current_state_of_health","long_term_care_needed","has_will","will_last_reviewed","has_power_of_attorney","units_of_alcohol_weekly","has_gifted_family","is_anticipating_inheritance","is_in_receipt_of_your_state_pension","has_obtained_a_forecast","date_of_forecast","years_of_national_insurance_contributions","date_of_marriage","is_deceased","deceased_at"],"items":{"type":"string"}}}}},"example":[{"type":"client.created","name":"Run at a specific date","description":"Trigger an automation on a specific date","returns":{"client":["title","value","next_review_date","previous_review_date","anniversary_review_date","terms_of_business_at","client_agreement_at","checked_sanctions_at","lead_source","first_contact_date","gender","date_of_birth","target_retirement_age","smoker_status","residential_status","country_of_residence","marital_status","is_prospect","is_vulnerable","is_uk_resident","is_uk_domicile","expected_retirement_age","state_retirement_age","third_party_offered","current_state_of_health","long_term_care_needed","has_will","will_last_reviewed","has_power_of_attorney","units_of_alcohol_weekly","has_gifted_family","is_anticipating_inheritance","is_in_receipt_of_your_state_pension","has_obtained_a_forecast","date_of_forecast","years_of_national_insurance_contributions","date_of_marriage","is_deceased","deceased_at"]},"configParams":{"client":["title","value","next_review_date","previous_review_date","anniversary_review_date","terms_of_business_at","client_agreement_at","checked_sanctions_at","lead_source","first_contact_date","gender","date_of_birth","target_retirement_age","smoker_status","residential_status","country_of_residence","marital_status","is_prospect","is_vulnerable","is_uk_resident","is_uk_domicile","expected_retirement_age","state_retirement_age","third_party_offered","current_state_of_health","long_term_care_needed","has_will","will_last_reviewed","has_power_of_attorney","units_of_alcohol_weekly","has_gifted_family","is_anticipating_inheritance","is_in_receipt_of_your_state_pension","has_obtained_a_forecast","date_of_forecast","years_of_national_insurance_contributions","date_of_marriage","is_deceased","deceased_at"]}}]},"App_Http_Resources_Automation_AutomationBlueprintResource":{"type":"object","properties":{"uuid":{"type":"string","example":"5f4e97ff-710d-474e-beca-e3a13167f233"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Add new client on webhook"},"trigger":{"type":"string","example":"client.create"},"is_active":{"type":"boolean","example":false},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"54013e99-df8c-44fe-a336-1ce3ee7bbc42"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"conditions":{"type":"array","example":[]},"configuration":{"type":"array","example":[]},"steps":{"type":"array","example":[{"uuid":"edbb39ab-3833-428c-88b1-3a19aa7eedf9","created_at":"2026-11-18T20:11:44+00:00","updated":"2026-11-18T20:11:44+00:00","name":"create a new client","type":"client.create","configuration":{"params":{"account_uuid":{"type":"ref","value":"trigger.account.uuid"}}},"condition_state":false,"parent_step_uuid":"1874d162-9713-438e-b196-13ec6f5c4d2a"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"edbb39ab-3833-428c-88b1-3a19aa7eedf9"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"create a new client"},"type":{"type":"string","example":"client.create"},"configuration":{"type":"object","properties":{"params":{"type":"object","properties":{"account_uuid":{"type":"object","properties":{"type":{"type":"string","example":"ref"},"value":{"type":"string","example":"trigger.account.uuid"}}}}}}},"condition_state":{"type":"boolean","example":false},"parent_step_uuid":{"type":"string","example":"1874d162-9713-438e-b196-13ec6f5c4d2a"}}}},"steps_count":{"type":"string","example":"1"},"webhook_targets":{"type":"array","example":[{"uuid":"c293c666-900b-4069-aef3-6f6b2c367173","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","url":"https://api.plannrcrm.com/api/v1/webhooks/01605357-9fba-4cab-b4f0-141476dfa4ea"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"c293c666-900b-4069-aef3-6f6b2c367173"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"url":{"type":"string","example":"https://api.plannrcrm.com/api/v1/webhooks/01605357-9fba-4cab-b4f0-141476dfa4ea"}}}}}},"App_Http_Resources_Automation_WebhookTargetResource":{"type":"object","properties":{"uuid":{"type":"string","example":"78c56669-9735-47c6-be76-ddfdf976687d","description":"The UUID of the custom field"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"datetime the webhook trigger was created"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"datetime the webhook trigger was updated"},"url":{"type":"string","example":"https://api.plannrcrm.com/api/v1/webhooks/01605357-9fba-4cab-b4f0-141476dfa4ea","description":"the targets endpoint"}},"example":{"uuid":"78c56669-9735-47c6-be76-ddfdf976687d","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","url":"https://api.plannrcrm.com/api/v1/webhooks/01605357-9fba-4cab-b4f0-141476dfa4ea"}},"App_Http_Resources_Automation_AutomationExecutionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"9cf183dc-6a0a-4761-a5fd-d8bfae6f849b"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"status":{"type":"string","example":"in_progress"},"triggered_by":{"type":"string","example":"client.created"},"steps":{"type":"array","example":[{"uuid":"f7d8cb50-a4e5-4a28-b3bc-55374a699653","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","executed_at":"2026-11-18T20:11:44+00:00","status":"completed","info":"\"[{errors : \"the account_uuid field is required\" }]\"","name":"Send SMS"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"f7d8cb50-a4e5-4a28-b3bc-55374a699653"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"executed_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"status":{"type":"string","example":"completed"},"info":{"type":"string","example":"\"[{errors : \"the account_uuid field is required\" }]\""},"name":{"type":"string","example":"Send SMS"}}}},"name":{"type":"string","example":"Send client welcome pack to newly created client"},"next_step":{"type":"object","properties":{"uuid":{"type":"string","example":"e9a40198-fa79-4abb-8af4-9dcd80ae27d7"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"executed_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"status":{"type":"string","example":"completed"},"info":{"type":"string","example":"\"[{errors : \"the account_uuid field is required\" }]\""},"name":{"type":"string","example":"Send SMS"}}},"previous_step":{"type":"object","properties":{"uuid":{"type":"string","example":"61e3e33c-14e9-4132-b07d-580c7e220ab7"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"executed_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"status":{"type":"string","example":"completed"},"info":{"type":"string","example":"\"[{errors : \"the account_uuid field is required\" }]\""},"name":{"type":"string","example":"Send SMS"}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"b9b80c9c-51bb-4b56-8d6e-3b1f25979e2b"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_V2_BankAccountResource":{"type":"object","properties":{"uuid":{"type":"string","example":"3dd36d47-9284-400d-ba71-9d8c69df7c5e"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"account_name":{"type":"string","example":"Savings Account"},"account_holders":{"type":"string","example":"Mr John A Smith"},"account_number":{"type":"string","example":"12345678"},"sort_code":{"type":"string","example":"123456"},"accounts":{"type":"object","properties":{"uuid":{"type":"string","example":"4419bd47-302e-4791-8f32-6a1477b07ed8"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"primary_accounts":{"type":"object","properties":{"uuid":{"type":"string","example":"be0edda6-434f-4f1f-9257-96ee60c8a44f"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_Plans_BeneficiaryResource":{"type":"object","properties":{"uuid":{"type":"string","example":"04f82c68-4b8d-478a-a275-e9e9f6505b13"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Beneficiary name"},"percentage":{"type":"integer","example":50},"cover":{"type":"object","properties":{"uuid":{"type":"string","example":"8c2a5d26-82b5-489a-a428-9c8d3fd90875"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"cover_type":{"type":"string","example":"critical_illness"},"benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"benefit_frequency":{"type":"string","example":"monthly"},"benefit_status":{"type":"string","example":"active"},"excess":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"indexation":{"type":"number","example":1.4},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}}}},"App_Http_Resources_Automation_BlueprintStepResource":{"type":"object","properties":{"uuid":{"type":"string","example":"b1d9f58a-84ee-45bb-8606-9e2d58cf0e78"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"create a new client"},"type":{"type":"string","example":"client.create"},"configuration":{"type":"object","properties":{"params":{"type":"object","properties":{"account_uuid":{"type":"object","properties":{"type":{"type":"string","example":"ref"},"value":{"type":"string","example":"trigger.account.uuid"}}}}}}},"condition_state":{"type":"boolean","example":false},"parent_step_uuid":{"type":"string","example":"5df1b542-35ee-4846-9cf6-f1fdca6958fd"}},"example":[{"uuid":"b1d9f58a-84ee-45bb-8606-9e2d58cf0e78","created_at":"2026-11-18T20:11:44+00:00","updated":"2026-11-18T20:11:44+00:00","name":"create a new client","type":"client.create","configuration":{"params":{"account_uuid":{"type":"ref","value":"trigger.account.uuid"}}},"condition_state":false,"parent_step_uuid":"5df1b542-35ee-4846-9cf6-f1fdca6958fd"}]},"App_Http_Resources_BulkActionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"aba24edb-d928-49b4-aba3-deae6175e9c1"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Task Bulk Action"},"type":{"type":"string","example":"api_bulk_action"},"logs":{"type":"object","properties":{"uuid":{"type":"string","example":"e26f7f11-bcf4-4401-999d-58a53c2d1216"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"title":{"type":"string","example":"Authorization Error"},"description":{"type":"string","example":"Authorization Error"}}},"executed_by":{"type":"object","properties":{"uuid":{"type":"string","example":"8809e56a-a546-4faa-9879-de51dac94046"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_Metrics_AumMetricResource":{"type":"object","properties":{"metric":{"type":"string","example":"aum"},"data":{"type":"object","properties":{"total":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"1234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£12,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"abstract_types":{"type":"object","properties":{"assets":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"1234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£12,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"liabilities":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"protection":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"plan_types":{"type":"object","properties":{"annuity":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"1234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£12,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"cash_account":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"fixed_asset":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"general_insurance":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"group_protection":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"investment":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"loan_credit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"mortgage":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"pension":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"protection_policy":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"234567"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£2,345.67"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}}}},"date":{"type":"string","example":"2023-06-30"},"requested_at":{"type":"string","example":"2023-07-01 12:30:45"}},"example":[{"metric":"aum","data":{"total":{"amount":{"example":"1234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£12,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"abstract_types":{"assets":{"amount":{"example":"1234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£12,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"liabilities":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"protection":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}}},"plan_types":{"annuity":{"amount":{"example":"1234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£12,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"cash_account":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"fixed_asset":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"general_insurance":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"group_protection":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"investment":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"loan_credit":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"mortgage":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"pension":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"protection_policy":{"amount":{"example":"234567","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£2,345.67","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}}}},"date":"2023-06-30","requested_at":"2023-07-01 12:30:45"}]},"App_Http_Resources_Metrics_KeyMetricResource":{"type":"object","properties":{"metric":{"type":"string","example":"time_logged"},"data":{"type":"string","example":"123"},"date":{"type":"string","example":"2023-06-30"},"requested_at":{"type":"string","example":"2023-07-01 12:30:45"}},"example":[{"metric":"time_logged","data":"123","date":"2023-06-30","requested_at":"2023-07-01 12:30:45"}]},"App_Http_Resources_BusinessUnitResource":{"type":"object","properties":{"uuid":{"type":"string","example":"89ef2947-7ed8-4bcc-b977-eb8085a5b298"},"name":{"type":"string","example":"Wealth Management"},"has_alternative_branding":{"type":"boolean","example":false},"brand_colours":{"type":"array","example":[]},"members_count":{"type":"integer","example":3},"members":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"a8cb572a-a2c0-48da-9d41-e832b2ea4668"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"groups_count":{"type":"integer","example":2},"groups":{"type":"array","example":[{"uuid":"daa45ee5-3d24-41b1-94ec-f13bec3fa86a","name":"finance","slug":"finance","participants_count":"3","participants":{"uuid":{"example":"23acfd28-667d-40ac-b4d8-712353d0d637","description":"UUID of the account"},"role":{"example":"client","description":"Role of the account"},"first_name":{"example":"Gareth","description":"First name of the account"},"last_name":{"example":"Thompson","description":"Last name of the account"},"name":{"example":"Gareth Thompson","description":"Name of the account"},"email":{"example":"gareth@codepotato.co.uk","description":"Email of the account"}},"created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"daa45ee5-3d24-41b1-94ec-f13bec3fa86a"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"participants_count":{"type":"string","example":"3"},"participants":{"type":"object","properties":{"uuid":{"type":"object","properties":{"example":{"type":"string","example":"23acfd28-667d-40ac-b4d8-712353d0d637"},"description":{"type":"string","example":"UUID of the account"}}},"role":{"type":"object","properties":{"example":{"type":"string","example":"client"},"description":{"type":"string","example":"Role of the account"}}},"first_name":{"type":"object","properties":{"example":{"type":"string","example":"Gareth"},"description":{"type":"string","example":"First name of the account"}}},"last_name":{"type":"object","properties":{"example":{"type":"string","example":"Thompson"},"description":{"type":"string","example":"Last name of the account"}}},"name":{"type":"object","properties":{"example":{"type":"string","example":"Gareth Thompson"},"description":{"type":"string","example":"Name of the account"}}},"email":{"type":"object","properties":{"example":{"type":"string","example":"gareth@codepotato.co.uk"},"description":{"type":"string","example":"Email of the account"}}}}},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}}},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"90d8acbb-71ec-4b14-9315-2dc556059642"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}},"App_Http_Resources_Plans_SubAccountResource_Summary":{"type":"object","properties":{"uuid":{"example":"98037272-b595-47eb-8d9a-b30d77df64d9","description":"UUID of the sub account"},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"name":{"example":"John's ISA","description":"Descriptive name of the sub account"},"policy_number":{"example":"AVI-4837","description":"Provider reference of the sub account"},"is_main_account":{"example":false,"description":"Denotes if the sub account a main account of the plan"},"statistics":{"example":{"recent_growth":100},"description":"The statistics on a sub account. Only displayed when you retrieve an individual sub-account."}},"example":{"uuid":"98037272-b595-47eb-8d9a-b30d77df64d9","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"John's ISA","policy_number":"AVI-4837","is_main_account":false,"statistics":{"recent_growth":100}}},"App_Http_Resources_Plans_CoverResource_Summary":{"type":"object","properties":{"uuid":{"example":"1b7a6b03-0fb3-4c29-848f-e27c5d4b8af8","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"cover_type":{"example":"critical_illness","description":"Cover type"},"benefit_amount":{"example":{"amount":{"example":"25000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£250,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Benefit amount"},"benefit_frequency":{"example":"monthly","description":"Benefit frequency"},"benefit_status":{"example":"active","description":"Benefit status"},"excess":{"example":{"amount":{"example":"10000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£100.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Excess"},"indexation":{"example":1.4,"description":"Indexation percentage"}},"example":{"uuid":"1b7a6b03-0fb3-4c29-848f-e27c5d4b8af8","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","cover_type":"critical_illness","benefit_amount":{"amount":{"example":"25000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£250,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"benefit_frequency":"monthly","benefit_status":"active","excess":{"amount":{"example":"10000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£100.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"indexation":1.4}},"App_Http_Resources_Plans_ClaimResource_Summary":{"type":"object","properties":{"uuid":{"example":"6d34026b-1ff4-4b92-8e7b-1d3367b7880f","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"claim_amount":{"example":{"amount":{"example":"25000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£250,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Claim amount"},"claim_start_date":{"example":"2025-11-18","description":"Claim start date"},"claim_end_date":{"example":"2031-11-18","description":"Claim end date"},"claim_notes":{"example":"Claim notes","description":"Claim notes"}},"example":{"uuid":"6d34026b-1ff4-4b92-8e7b-1d3367b7880f","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","claim_amount":{"amount":{"example":"25000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£250,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"claim_start_date":"2025-11-18","claim_end_date":"2031-11-18","claim_notes":"Claim notes"}},"App_Http_Resources_Plans_ValuationResource_Summary":{"type":"object","properties":{"uuid":{"example":"5f5e015d-cd01-45fe-9911-b5be1eb78d63","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"valued_at":{"example":"2026-11-18T20:11:49+00:00","description":"Valued at"},"value":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Valuation"}},"example":{"uuid":"5f5e015d-cd01-45fe-9911-b5be1eb78d63","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","valued_at":"2026-11-18T20:11:49+00:00","value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}}}},"App_Http_Resources_Plans_PlanResource_Summary":{"type":"object","properties":{"uuid":{"example":"ce0aef3b-311a-430c-8fd7-2eb91e1de7bb","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"opened_at":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the plan was originally opened"},"name":{"example":"Johns ISA","description":"Name of the plan"},"type":{"example":"cash_account","description":"Type of plan, this will indicate what to expect from the fields attribute"},"sub_type":{"example":"lifetime isa","description":"Plan sub type"},"abstract_type":{"example":"asset","description":"describes if the plan is an asset, protection or liability"},"policy_number":{"example":"AVIVA-123","description":"The policy number on the main sub account of the plan"},"proposal_reference":{"example":"AB123456","description":"The proposal reference on the main sub account of the plan"},"status":{"example":"inactive","description":"Plan status"},"inactive_at":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the plan became inactive"},"inactive_reason":{"example":"claimed","description":"Reason for inactivity"},"agency_in_your_name":{"example":true,"description":"Denotes if plan has agency in your name"},"agency_in_your_name_from":{"example":"2025-11-18","description":"Date the agency was in your name from"},"originally_sold_by_firm":{"example":true,"description":"Denotes if the plan was originally sold by your firm"},"under_advice":{"example":true,"description":"Denotes if plan is under advice"},"visible_on_client_portal":{"example":true,"description":"Denotes if this plan is visible to clients on the client portal"},"include_in_client_valuation":{"example":true,"description":"Denotes if this plan should be included in the client valuation"},"show_on_joint":{"example":true,"description":"Denotes if this individual account can be seen when viewing joint plans on any joint accounts the individual client is a part of"},"shown_on_circles":{"example":true,"description":"Determines if plan should be shown on a circle"},"review_date":{"example":"2025-11-18","description":"Review date"},"on_panel":{"example":true,"description":"On panel"},"is_group_scheme":{"example":false,"description":"Denotes if the plan is a group scheme plan. When a plan is a group scheme plan you will be able to manage group scheme members and sub schemes."},"is_sub_group_scheme":{"example":false,"description":"Denotes if the plan is a sub-scheme of a group scheme."},"is_group_scheme_member":{"example":false,"description":"Denotes if the plan is group scheme member plan. Each group scheme member is their own plan for maximum customisation."},"advice_area":{"example":"non_investment_insurance","description":"The advice area of the plan based on the plan's sub type."},"total_benefit_amount":{"example":{"amount":{"example":"25000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£250,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Total amount benefit of all covers"},"total_benefits":{"example":{"critical_illness":{"amount":{"example":"15000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£150,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"family_income_benefit":{"amount":{"example":"10000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£100,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}}},"description":"Total benefits broken down in to cover types"},"value":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Total value of the plan"},"valued_at":{"example":"2026-11-18T20:11:49+00:00","description":"When the plan was last valued - Please note this is likely going to be the current date. If you would like to see the last real date it was valued by a provider or created manually, use original_valued_at"},"original_valued_at":{"example":"2026-11-17T20:11:49+00:00","description":"When the plan was originally valued - Please note our plans is valued daily but this is the date the valuation was originally added to the system."},"statistics":{"example":{"recent_growth":100},"description":"The statistics on a plan. Only displayed when you retrieve an individual plan"},"is_wrap_product":{"example":false,"description":"Determines if the plan is a wrap plan"},"is_wrap_child":{"example":false,"description":"Determines if the plan is a wrap child"},"can_be_deleted":{"example":"false","description":"Denotes if the plan can be deleted"}},"example":{"uuid":"ce0aef3b-311a-430c-8fd7-2eb91e1de7bb","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","opened_at":"2026-11-18T20:11:49+00:00","name":"Johns ISA","type":"cash_account","sub_type":"lifetime isa","abstract_type":"asset","policy_number":"AVIVA-123","proposal_reference":"AB123456","status":"inactive","inactive_at":"2026-11-18T20:11:49+00:00","inactive_reason":"claimed","agency_in_your_name":true,"agency_in_your_name_from":"2025-11-18","originally_sold_by_firm":true,"under_advice":true,"visible_on_client_portal":true,"include_in_client_valuation":true,"show_on_joint":true,"shown_on_circles":true,"review_date":"2025-11-18","on_panel":true,"is_group_scheme":false,"is_sub_group_scheme":false,"is_group_scheme_member":false,"advice_area":"non_investment_insurance","total_benefit_amount":{"amount":{"example":"25000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£250,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"total_benefits":{"critical_illness":{"amount":{"example":"15000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£150,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"family_income_benefit":{"amount":{"example":"10000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£100,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}}},"value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"valued_at":"2026-11-18T20:11:49+00:00","original_valued_at":"2026-11-17T20:11:49+00:00","statistics":{"recent_growth":100},"is_wrap_product":false,"is_wrap_child":false,"can_be_deleted":"false"}},"App_Http_Resources_CasesResource_Summary":{"type":"object","properties":{"uuid":{"example":"f54cc954-fef8-4d9a-87ba-25167d2592e4","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"finance","description":"Name of the case"},"slug":{"example":"finance","description":"Slug of the case"},"review_at":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the case should be reviewed"},"assigned_to_uuids":{"example":[null],"description":"UUIDs of accounts that will be assigned to the case when it is created."},"group_uuids":{"example":[null],"description":"UUIDs of groups that will be assigned when the case is created."},"completed_at":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the case was completed"},"value":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Expected value of this case"},"status_position":{"example":4,"description":"The case status's position on the status list. Starting from 1.  Only used if you are formatting cases in a kanban layout."},"participants_count":{"example":4,"description":"The number of participants on the case"},"task_board_uuid":{"example":null,"description":"UUID of the task board"}},"example":{"uuid":"f54cc954-fef8-4d9a-87ba-25167d2592e4","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"finance","slug":"finance","review_at":"2026-11-18T20:11:49+00:00","assigned_to_uuids":[null],"group_uuids":[null],"completed_at":"2026-11-18T20:11:49+00:00","value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"status_position":4,"participants_count":4,"task_board_uuid":null}},"App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary":{"type":"object","properties":{"uuid":{"example":"e82dd9c1-a9e7-47e8-9412-80a004e75668","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"linked_policy_number":{"example":"ABC123-X","description":"The linked policy number."}},"example":{"uuid":"e82dd9c1-a9e7-47e8-9412-80a004e75668","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","linked_policy_number":"ABC123-X"}},"App_Http_Resources_MortgageSearchProductResource_Summary":{"type":"object","properties":{"uuid":{"example":"293642bc-e531-4e5d-b396-aa016a1f4cdc","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"provider_reference":{"example":"example-reference","description":"The provider reference for the mortgage product (if available)"},"provider_scenario_name":{"example":"Single Applicant, Small Deposit","description":"The name of the scenario from the provider (if available)"},"provider_scenario_data":{"example":[],"description":"Optional metadata from the mortgage provider"},"lender_name":{"example":"HSBC","description":"The name of the lender for the mortgage product"},"product_title":{"example":"5% Fixed Rate - 5 year","description":"The name of the mortgage product"}},"example":{"uuid":"293642bc-e531-4e5d-b396-aa016a1f4cdc","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","provider_reference":"example-reference","provider_scenario_name":"Single Applicant, Small Deposit","provider_scenario_data":[],"lender_name":"HSBC","product_title":"5% Fixed Rate - 5 year"}},"App_Http_Resources_CasesResource":{"type":"object","properties":{"uuid":{"type":"string","example":"3f54e825-6731-49a0-9da3-425ee88432b7"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"status":{"type":"object","properties":{"uuid":{"type":"string","example":"e9ff7eae-a349-484e-8407-ec76c21093cf"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"To Be Reviewed"},"colour":{"type":"string","example":"#23852B"},"position":{"type":"integer","example":5},"is_type_completed":{"type":"boolean","example":false}}},"type":{"type":"object","properties":{"uuid":{"type":"string","example":"d4831b13-6886-4a2a-9649-1b8f0962a1dd"},"name":{"type":"string","example":"Mortgage Plan"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}},"review_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"assigned_to_uuids":{"type":"array","example":["d44975c0-edc2-42fe-8984-5ef10157d4ac"],"items":{"type":"string"}},"group_uuids":{"type":"array","example":["b0094c41-8ccb-4dd6-b1ae-aa549c2e808d"],"items":{"type":"string"}},"completed_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"status_position":{"type":"integer","example":4},"participants_count":{"type":"integer","example":4},"participants":{"type":"object","properties":{"uuid":{"type":"string","example":"4ae73540-90e3-4596-a678-d3527845bf72"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"task_board_uuid":{"type":"string","example":"674f7e4b-9024-4c37-9d53-eced83b57eb8"},"plans":{"type":"object","properties":{"uuid":{"type":"string","example":"88878d61-3e87-4d9b-8b4e-736243a843a5"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"custom_fields":{"type":"array","example":[{"uuid":"b7ff8674-f31a-49f2-a333-050bc76febfb","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","type":"string","name":"Favourite Drink","reference":"favourite_drink","is_required":false,"value":"Coffee","selection_options":["Coffee","Tea","Water"],"help_text":"This is the client's favourite drink.","is_retired":false}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"b7ff8674-f31a-49f2-a333-050bc76febfb"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"string"},"name":{"type":"string","example":"Favourite Drink"},"reference":{"type":"string","example":"favourite_drink"},"is_required":{"type":"boolean","example":false},"value":{"type":"string","example":"Coffee"},"selection_options":{"type":"array","example":["Coffee","Tea","Water"],"items":{"type":"string"}},"help_text":{"type":"string","example":"This is the client's favourite drink."},"is_retired":{"type":"boolean","example":false}}}}}},"App_Http_Resources_CasesStatusResource":{"type":"object","properties":{"uuid":{"type":"string","example":"bee552a7-6021-4557-8109-650c5a1dacab"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"To Be Reviewed"},"colour":{"type":"string","example":"#23852B"},"position":{"type":"integer","example":5},"is_type_completed":{"type":"boolean","example":false}},"example":[{"uuid":"bee552a7-6021-4557-8109-650c5a1dacab","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","name":"To Be Reviewed","colour":"#23852B","position":5,"is_type_completed":false}]},"App_Http_Resources_CasesTypeResource":{"type":"object","properties":{"uuid":{"type":"string","example":"aa3f2fdd-e4cf-4b46-b253-e65ae0cddb13"},"name":{"type":"string","example":"Mortgage Plan"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}},"example":[{"uuid":"aa3f2fdd-e4cf-4b46-b253-e65ae0cddb13","name":"Mortgage Plan","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00"}]},"App_Http_Resources_ChecklistResource":{"type":"object","properties":{"uuid":{"type":"string","example":"b44b0cb8-5b0d-4766-b4d4-535bdb8fd52c"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Pre-meeting checks"},"order":{"type":"integer","example":0},"items":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"23b6ebc6-a365-43cf-b0a5-aeed1b79c484"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Send calendar invite"},"is_checked":{"type":"boolean","example":false},"checked_at":{"type":"string","example":"2021-01-01 00:00:00"},"checked_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"order":{"type":"integer","example":0}}}}}},"App_Http_Resources_ChecklistItemResource":{"type":"object","properties":{"uuid":{"type":"string","example":"692207bc-7f3a-4f64-879d-0bef4b5902d2","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"name":{"type":"string","example":"Send calendar invite","description":"The label of the checklist item."},"is_checked":{"type":"boolean","example":false,"description":"Whether the item has been checked off."},"checked_at":{"type":"string","example":"2021-01-01 00:00:00","description":"The date and time the item was checked off."},"checked_by":{"type":"object","properties":{"uuid":{"type":"string","example":"ff6c7857-f245-44ff-8042-a3167d937701"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account that checked off the item."},"order":{"type":"integer","example":0,"description":"The display order of the item within its checklist."}}},"App_Http_Resources_CircleResource":{"type":"object","properties":{"uuid":{"type":"string","example":"46181617-aecf-41f2-96bb-2439bf0fbd61"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Jones Family"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=jones+family"},"bg_colour":{"type":"string","example":"#35f4e1"},"has_portal_access":{"type":"boolean","example":true},"portal_access_status":{"type":"string","example":"active"},"engagement_rating":{"type":"string","example":"green"},"last_login":{"type":"object","properties":{"logged_in_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"account_uuid":{"type":"string","example":"uuid"},"account_name":{"type":"string","example":"John Smith"},"device_type":{"type":"string","example":"desktop"},"device_platform":{"type":"string","example":"macos"}}},"portal_login_count_30d":{"type":"integer","example":5},"portal_login_count_90d":{"type":"integer","example":12},"portal_login_count_365d":{"type":"integer","example":48},"accounts":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"d4d0152d-1c91-440d-90bb-96ec0ae9074d"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"groups":{"type":"array","example":[{"uuid":"02d215e4-5560-4405-a9b1-78d8a8b405cc","name":"finance","slug":"finance","participants_count":"3","participants":{"uuid":{"example":"f78ee428-e320-4fcf-852c-060f14acdbbd","description":"UUID of the account"},"role":{"example":"client","description":"Role of the account"},"first_name":{"example":"Gareth","description":"First name of the account"},"last_name":{"example":"Thompson","description":"Last name of the account"},"name":{"example":"Gareth Thompson","description":"Name of the account"},"email":{"example":"gareth@codepotato.co.uk","description":"Email of the account"}},"created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"02d215e4-5560-4405-a9b1-78d8a8b405cc"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"participants_count":{"type":"string","example":"3"},"participants":{"type":"object","properties":{"uuid":{"type":"object","properties":{"example":{"type":"string","example":"f78ee428-e320-4fcf-852c-060f14acdbbd"},"description":{"type":"string","example":"UUID of the account"}}},"role":{"type":"object","properties":{"example":{"type":"string","example":"client"},"description":{"type":"string","example":"Role of the account"}}},"first_name":{"type":"object","properties":{"example":{"type":"string","example":"Gareth"},"description":{"type":"string","example":"First name of the account"}}},"last_name":{"type":"object","properties":{"example":{"type":"string","example":"Thompson"},"description":{"type":"string","example":"Last name of the account"}}},"name":{"type":"object","properties":{"example":{"type":"string","example":"Gareth Thompson"},"description":{"type":"string","example":"Name of the account"}}},"email":{"type":"object","properties":{"example":{"type":"string","example":"gareth@codepotato.co.uk"},"description":{"type":"string","example":"Email of the account"}}}}},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}}},"joint_account_uuid":{"type":"string","example":"e7cdf5e3-bf82-460d-a685-3c2195a8c931"},"login_access_level":{"type":"string","example":"write"},"current_life_stage_uuid":{"type":"string","example":"753e21d5-fcb0-489e-b83e-3da1773ef4d7"},"external_references":{"type":"array","example":[{"uuid":"15f7d95f-20b7-47ec-bbbe-f9802483011f","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","third_party":"nucleus","reference":"AB123456"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"15f7d95f-20b7-47ec-bbbe-f9802483011f"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"third_party":{"type":"string","example":"nucleus"},"reference":{"type":"string","example":"AB123456"}}}}}},"App_Http_Resources_NoteResource":{"type":"object","properties":{"uuid":{"type":"string","example":"76ee7710-9af3-40eb-9567-d131d9927f6b"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"contents":{"type":"string","example":"Great work"},"edited":{"type":"boolean","example":true},"author_name":{"type":"string","example":"John Smith"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"50bf067e-c725-45a8-acf0-67c284ef120f"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"mentioned_accounts":{"type":"array","example":[{"item":"Gareth Thompson","contents":"\u003cspan data-type=\"mention\" data-account-uuid=\"55ae39ad-aa25-4231-8df4-fa3c5577744a\"\u003e@Gareth Thompson\u003c/span\u003e"}],"items":{"type":"object","properties":{"item":{"type":"string","example":"Gareth Thompson"},"contents":{"type":"string","example":"\u003cspan data-type=\"mention\" data-account-uuid=\"55ae39ad-aa25-4231-8df4-fa3c5577744a\"\u003e@Gareth Thompson\u003c/span\u003e"}}}},"tags":{"type":"array","example":[{"uuid":"39a9d23b-fdbd-44ec-b6cd-511831b69e34","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","name":"Mortgage","slug":"mortgage","colour":"#ef4582"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"39a9d23b-fdbd-44ec-b6cd-511831b69e34"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Mortgage"},"slug":{"type":"string","example":"mortgage"},"colour":{"type":"string","example":"#ef4582"}}}},"type":{"type":"string","example":"meeting"},"notable_type":{"type":"string","example":"client"},"notable":{"type":"object","properties":{"uuid":{"type":"string","example":"5b434a7f-8ae4-46e2-86e5-3c83134858d6"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"external_references":{"type":"array","example":[{"uuid":"6d252d71-3676-4a51-b440-a0be53bc04f2","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","third_party":"nucleus","reference":"AB123456"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"6d252d71-3676-4a51-b440-a0be53bc04f2"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"third_party":{"type":"string","example":"nucleus"},"reference":{"type":"string","example":"AB123456"}}}}}},"App_Http_Resources_ChargeSplitResource":{"type":"object","properties":{"uuid":{"type":"string","example":"4e26c69b-bfbf-4e7b-bea2-4706fdca6bbf","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was updated."},"splitable_type":{"type":"string","example":"plan","description":"The model type this charge split belongs to."},"splitable":{"type":"object","properties":{"uuid":{"type":"string","example":"444d61b9-0625-47d0-bdf6-6b83723d12bd"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Model this charge split belongs to e.g. plan"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"3f6c3cc7-0583-49cc-b1a5-8fb849f18289"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Account who will be receiving this charge split"},"charge_split_schema":{"type":"object","properties":{"uuid":{"type":"string","example":"b6294662-b463-4f6a-8d3d-ddb7a5b06f8b"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Basic Introducer Rate"},"min_percentage":{"type":"integer","example":10},"max_percentage":{"type":"integer","example":20},"default_percentage":{"type":"integer","example":15},"percentage_paid_by_firm":{"type":"integer","example":25},"percentage_paid_by_adviser":{"type":"integer","example":75},"can_change_transfer_fci":{"type":"boolean","example":true},"default_transfer_fci":{"type":"boolean","example":true},"can_change_initial":{"type":"boolean","example":true},"default_initial":{"type":"boolean","example":true},"can_change_ongoing":{"type":"boolean","example":true},"default_ongoing":{"type":"boolean","example":true},"valid_for_advisers":{"type":"boolean","example":true},"valid_for_clients":{"type":"boolean","example":true},"valid_for_introducers":{"type":"boolean","example":true},"visible_to_advisers":{"type":"boolean","example":true}},"description":"The charge split schema model that defined the parameters of this charge split"},"percentage":{"type":"number","example":12.5,"description":"How much of the expectation the given account is expected to receive"},"percentage_paid_by_firm":{"type":"integer","example":0,"description":"How much of the charge split amount will be paid by the firm"},"percentage_paid_by_adviser":{"type":"integer","example":100,"description":"How much of the charge split amount will be paid by the adviser"},"transfer_fci":{"type":"string","example":"example","description":"Whether the account will receive FCI recognition for this expectation amount"},"initial":{"type":"string","example":"example","description":"Whether the charge split will apply to initial charges"},"ongoing":{"type":"string","example":"example","description":"Whether the charge split will apply to ongoing charges"},"apply_to_plans":{"type":"boolean","example":true,"description":"When adding this charge split to a client, setting this to true will automatically apply the charge split to all of the client's plans"}}},"App_Http_Resources_Circles_CircleAccountsResource":{"type":"object","properties":{"uuid":{"type":"string","example":"71f9c45e-e2b1-45a1-a8c5-f460702da13c"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"linked_clients":{"type":"array","example":[{"uuid":"ca0f64f6-739d-4b3b-bf99-f0516897366b","name":"Gareth","relationship":"Father"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"ca0f64f6-739d-4b3b-bf99-f0516897366b"},"name":{"type":"string","example":"Gareth"},"relationship":{"type":"string","example":"Father"}}}},"logins":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"d3e53823-43f6-4fd1-8ec7-206d7a928d57"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"expires_at":{"type":"string","example":"2027-02-26T20:11:43+00:00"},"has_write_permission":{"type":"boolean","example":false},"has_delete_permission":{"type":"boolean","example":false},"primary":{"type":"boolean","example":false},"receives_unread_notifications_email":{"type":"boolean","example":true},"wealth_enabled":{"type":"boolean","example":true},"goals_enabled":{"type":"boolean","example":true},"factfind_enabled":{"type":"boolean","example":true},"tasks_enabled":{"type":"boolean","example":true},"welcome_enabled":{"type":"boolean","example":true},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"email":{"type":"string","example":"gareth@plannrcrm.com"},"user_type":{"type":"string","example":"standard"},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"is_impersonated":{"type":"boolean","example":false},"is_enterprise":{"type":"boolean","example":false}}}}}},"App_Http_Resources_FormResource_Summary":{"type":"object","properties":{"uuid":{"example":"04de4671-e34a-4fa8-b4e7-8472b12c61ea","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"title":{"example":"Annual Catchup 2022","description":"The title of the form"},"description":{"example":"This is the annual catchup form for 2022","description":"The description of the form"},"live":{"example":true,"description":"Whether the form is live"},"visibility":{"example":"public","description":"The visibility of the form"},"allowed_hosts":{"example":["domain.com","subdomain.domain.com"],"description":"Array of allowed domains that this form can be accessed from using different origins"},"draft_submissions_count":{"example":5,"description":"Count of draft submissions against this form"},"submitted_submissions_count":{"example":5,"description":"Count of submitted submissions against this form"},"create_client":{"example":true,"description":"Denotes if this form creates a new client when it is submitted from a public embed"},"client_type":{"example":"client","description":"If create_client is true, then the client_type is the type of client that will be created, possible values are client and prospect"}},"example":{"uuid":"04de4671-e34a-4fa8-b4e7-8472b12c61ea","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","title":"Annual Catchup 2022","description":"This is the annual catchup form for 2022","live":true,"visibility":"public","allowed_hosts":["domain.com","subdomain.domain.com"],"draft_submissions_count":5,"submitted_submissions_count":5,"create_client":true,"client_type":"client"}},"App_Http_Resources_FormSubmissionResource_Summary":{"type":"object","properties":{"uuid":{"example":"2cce91fb-4300-4a25-afae-07360f02b538","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"stage":{"example":"draft","description":"The stage of the submission"},"answers":{"example":[{"first_name":"john","last_name":"olive"}],"description":"The answers to the questions"}},"example":{"uuid":"2cce91fb-4300-4a25-afae-07360f02b538","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","stage":"draft","answers":[{"first_name":"john","last_name":"olive"}]}},"App_Http_Resources_FormQuestionResource_Summary":{"type":"object","properties":{"uuid":{"example":"22de537e-967e-4deb-80c9-fc5a41c7c17b","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"title":{"example":"What is your name?","description":"The title of the question"},"help_text":{"example":"Gareth","description":"Input placeholder text"},"caption":{"example":"Your full legal name","description":"Text to describe the input"},"type":{"example":"string","description":"The type of question"},"required":{"example":true,"description":"Whether the question is required"},"position":{"example":1,"description":"The position of the question in the section"},"selection_options":{"example":["option 1","option 2"],"description":"The options for selection questions"},"target_field":{"example":"name","description":"The field to update upon question completion"},"key":{"example":"what_is_your_name","description":"The key to use when updating the target field"},"linked_primary":{"example":true,"description":"Will the this linked field become a primary Address/Phone Number/Email Address"}},"example":{"uuid":"22de537e-967e-4deb-80c9-fc5a41c7c17b","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","title":"What is your name?","help_text":"Gareth","caption":"Your full legal name","type":"string","required":true,"position":1,"selection_options":["option 1","option 2"],"target_field":"name","key":"what_is_your_name","linked_primary":true}},"App_Http_Resources_FormSubmissionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"73c4f6fa-368a-41a9-bc19-77e5b86b6cd8"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"stage":{"type":"string","example":"draft"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"b9cccff6-d703-423d-ae71-bc366763a34c"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"request":{"type":"object","properties":{"uuid":{"type":"string","example":"5a724026-7b48-423b-926e-d1fe5cb0cba7"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"description":{"type":"string","example":"Please submit your annual survey form"},"form":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormResource_Summary"}]},"has_submission":{"type":"boolean","example":true},"submission":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionResource_Summary"}]},"receiver":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]}}},"form":{"type":"object","properties":{"uuid":{"type":"string","example":"3ee13a4c-c044-456c-9b0e-461f9f0757e6"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"title":{"type":"string","example":"Annual Catchup 2022"},"description":{"type":"string","example":"This is the annual catchup form for 2022"},"live":{"type":"boolean","example":true},"visibility":{"type":"string","example":"public"},"sections":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormQuestionResource_Summary"}]},"allowed_hosts":{"type":"array","example":["domain.com","subdomain.domain.com"],"items":{"type":"string"}},"draft_submissions_count":{"type":"integer","example":5},"submitted_submissions_count":{"type":"integer","example":5},"create_client":{"type":"boolean","example":true},"client_type":{"type":"string","example":"client"}}},"answers":{"type":"array","example":[{"first_name":"john","last_name":"olive"}],"items":{"type":"object","properties":{"first_name":{"type":"string","example":"john"},"last_name":{"type":"string","example":"olive"}}}}}},"App_Http_Resources_LinkedClients_CircleLinkedClientsResource":{"type":"object","properties":{"uuid":{"type":"string","example":"b1b0f3b1-22ef-4faf-a213-c3e3ca57e91b"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"linked_clients":{"type":"array","example":[{"uuid":"3eee6b04-33d6-445e-b435-2e28e60f38c8","name":"Gareth","relationship":"Father"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"3eee6b04-33d6-445e-b435-2e28e60f38c8"},"name":{"type":"string","example":"Gareth"},"relationship":{"type":"string","example":"Father"}}}}},"example":[{"uuid":"b1b0f3b1-22ef-4faf-a213-c3e3ca57e91b","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","name":"Gareth Thompson","email":"gareth@codepotato.co.uk","linked_clients":[{"uuid":"3eee6b04-33d6-445e-b435-2e28e60f38c8","name":"Gareth","relationship":"Father"}]}]},"App_Http_Resources_NetWorthResource":{"type":"object","properties":{"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"total":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"100000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£1,000,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"abstract_types":{"type":"object","properties":{"assets":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"59500000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£595,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"liabilities":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"32500000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£325,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"protection":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"8000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£80,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"plan_types":{"type":"object","properties":{"annuity":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"9172106"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£91,721.06"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"cash_account":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"9452110"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£94,521.10"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"fixed_asset":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"8394776"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£83,947.76"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"general_insurance":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"3091804"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£30,918.04"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"group_protection":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"9767027"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£97,670.27"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"investment":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"3848845"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£38,488.45"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"loan_credit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"7564545"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£75,645.45"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"mortgage":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"3630342"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£36,303.42"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"pension":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"6850594"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£68,505.94"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"protection_policy":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"8796070"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£87,960.70"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}}},"example":[{"valued_at":"2026-11-18T20:11:43+00:00","total":{"amount":{"example":"100000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£1,000,000.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"abstract_types":{"assets":{"amount":{"example":"59500000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£595,000.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"liabilities":{"amount":{"example":"32500000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£325,000.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"protection":{"amount":{"example":"8000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£80,000.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}}},"plan_types":{"annuity":{"amount":{"example":"9172106","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£91,721.06","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"cash_account":{"amount":{"example":"9452110","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£94,521.10","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"fixed_asset":{"amount":{"example":"8394776","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£83,947.76","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"general_insurance":{"amount":{"example":"3091804","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£30,918.04","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"group_protection":{"amount":{"example":"9767027","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£97,670.27","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"investment":{"amount":{"example":"3848845","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£38,488.45","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"loan_credit":{"amount":{"example":"7564545","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£75,645.45","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"mortgage":{"amount":{"example":"3630342","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£36,303.42","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"pension":{"amount":{"example":"6850594","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£68,505.94","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"protection_policy":{"amount":{"example":"8796070","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£87,960.70","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}}}}]},"App_Http_Resources_Plans_ClaimResource":{"type":"object","properties":{"uuid":{"type":"string","example":"50b1b0f5-e4dd-4572-b6df-f71f47904087"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"claim_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"claim_start_date":{"type":"string","example":"2025-11-18"},"claim_end_date":{"type":"string","example":"2031-11-18"},"claim_notes":{"type":"string","example":"Claim notes"},"client":{"type":"object","properties":{"uuid":{"type":"string","example":"0d727bf4-e70f-4f18-8a28-841f95d4f52d"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_ClientStatusResource":{"type":"object","properties":{"uuid":{"type":"string","example":"13bb904c-8a3a-4a0c-a58d-686ed005b43e"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"On Hold"},"colour":{"type":"string","example":"#FFFFFF"}},"example":[{"uuid":"13bb904c-8a3a-4a0c-a58d-686ed005b43e","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","name":"On Hold","colour":"#FFFFFF"}]},"App_Http_Resources_Plans_PortfolioResource_Summary":{"type":"object","properties":{"uuid":{"example":"1921f608-ac06-4099-b92e-632bf4f50882","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"is_proposed":{"example":true,"description":"Denotes if the portfolio is proposed"},"proposed_at":{"example":"2026-11-18T00:00:00+00:00","description":"The date the portfolio was proposed."},"name":{"example":"Risky Portfolio","description":"The name of the portfolio."}},"example":{"uuid":"1921f608-ac06-4099-b92e-632bf4f50882","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","is_proposed":true,"proposed_at":"2026-11-18T00:00:00+00:00","name":"Risky Portfolio"}},"App_Http_Resources_CasesStatusResource_Summary":{"type":"object","properties":{"uuid":{"example":"25fe8a15-cdb2-4258-a4df-171552b04c83","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"To Be Reviewed","description":"The name of the status."},"colour":{"example":"#23852B","description":"The colour of the status."},"position":{"example":5,"description":"The position of the status."},"is_type_completed":{"example":false,"description":"Indicates if the status is for a completed case type."}},"example":{"uuid":"25fe8a15-cdb2-4258-a4df-171552b04c83","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"To Be Reviewed","colour":"#23852B","position":5,"is_type_completed":false}},"App_Http_Resources_CasesTypeResource_Summary":{"type":"object","properties":{"uuid":{"example":null,"description":"The UUID of the type"},"name":{"example":"Mortgage Plan","description":"Name of the type"},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."}},"example":{"uuid":null,"name":"Mortgage Plan","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00"}},"App_Http_Resources_Plans_MinimalPlanResource_Summary":{"type":"object","properties":{"uuid":{"example":"44637404-d414-40ff-92cb-8dd40a6d8e4b","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"opened_at":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the plan was originally opened"},"name":{"example":"Johns ISA","description":"Name of the plan"},"type":{"example":"cash_account","description":"Type of plan, this will indicate what to expect from the fields attribute"},"sub_type":{"example":"lifetime isa","description":"Plan sub type"},"abstract_type":{"example":"asset","description":"describes if the plan is an asset, protection or liability"},"policy_number":{"example":"AVIVA-123","description":"The policy number on the main sub account of the plan"},"proposal_reference":{"example":"AB123456","description":"The proposal reference on the main sub account of the plan"},"status":{"example":"inactive","description":"Plan status"},"inactive_at":{"example":"2026-11-18T20:11:49+00:00","description":"Timestamp of when the plan became inactive"},"inactive_reason":{"example":"claimed","description":"Reason for inactivity"},"is_group_scheme":{"example":false,"description":"Denotes if the plan is a group scheme plan. When a plan is a group scheme plan you will be able to manage group scheme members and sub schemes."},"is_sub_group_scheme":{"example":false,"description":"Denotes if the plan is a sub-scheme of a group scheme."},"is_group_scheme_member":{"example":false,"description":"Denotes if the plan is group scheme member plan. Each group scheme member is their own plan for maximum customisation."},"is_wrap_product":{"example":false,"description":"Determines if the plan is a wrap plan"},"is_wrap_child":{"example":false,"description":"Determines if the plan is a wrap child"}},"example":{"uuid":"44637404-d414-40ff-92cb-8dd40a6d8e4b","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","opened_at":"2026-11-18T20:11:49+00:00","name":"Johns ISA","type":"cash_account","sub_type":"lifetime isa","abstract_type":"asset","policy_number":"AVIVA-123","proposal_reference":"AB123456","status":"inactive","inactive_at":"2026-11-18T20:11:49+00:00","inactive_reason":"claimed","is_group_scheme":false,"is_sub_group_scheme":false,"is_group_scheme_member":false,"is_wrap_product":false,"is_wrap_child":false}},"App_Http_Resources_MortgageSearchResource_Summary":{"type":"object","properties":{"uuid":{"example":"202c18c5-364f-4384-a2ce-24dee8c84fde","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"My Mortgage Search","description":"The name of the mortgage search"},"status":{"example":"pending","description":"The status of the mortgage search"},"provider":{"example":"Mortgage Brain","description":"The provider that the mortgage search is for"},"provider_reference":{"example":"123456789","description":"The provider reference of the mortgage search"},"provider_data":{"example":[],"description":"Any provider data related to the mortgage search"}},"example":{"uuid":"202c18c5-364f-4384-a2ce-24dee8c84fde","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"My Mortgage Search","status":"pending","provider":"Mortgage Brain","provider_reference":"123456789","provider_data":[]}},"App_Http_Resources_Plans_PlanResource":{"type":"object","properties":{"uuid":{"type":"string","example":"1ea90f0a-d37c-4d42-a7ac-70250d9d08cb"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"type":"object","properties":{"uuid":{"type":"string","example":"f5d5ec0f-9c58-41e2-b05a-49c51a2f4071"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}}},"sub_accounts":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"9214bcfd-7675-406d-ba8a-cebe1b05146d"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}}}},"provider":{"type":"object","properties":{"uuid":{"type":"string","example":"f22a0524-9b6c-4b1c-84eb-f3b75e5d79f8"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"AJ Bell"},"slug":{"type":"string","example":"aj-bell"}}},"covers":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"1fd7b58f-7c32-4e71-8e5d-f8acc6e5682e"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"cover_type":{"type":"string","example":"critical_illness"},"benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"benefit_frequency":{"type":"string","example":"monthly"},"benefit_status":{"type":"string","example":"active"},"excess":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"indexation":{"type":"number","example":1.4},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}}},"claims":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"1b1e7801-203b-4193-bdd7-34133e59a2e2"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"claim_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"claim_start_date":{"type":"string","example":"2025-11-18"},"claim_end_date":{"type":"string","example":"2031-11-18"},"claim_notes":{"type":"string","example":"Claim notes"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}}},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"a2191a2e-fdd6-4c08-a347-3849b3b23180"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"sub_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]}}}},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"type":"object","properties":{"uuid":{"type":"string","example":"c7dabbda-62b8-4a75-b727-fe42b2b470d3"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"accounts":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"f9330f2a-b960-4b55-8694-2870a7622d71"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"seller":{"type":"object","properties":{"uuid":{"type":"string","example":"40b99da3-27e7-46e3-87a2-31ae911d1b3e"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"linked_owners":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"11c429ba-af3f-40c1-baec-ceec996985a6"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"linked_plans":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"0320c0c7-840e-4178-858c-b0e0e06a27ae"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"visible_to_circles":{"type":"object","properties":{"uuid":{"type":"string","example":"69e259be-361a-42fd-81eb-c0c8e46341e5"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Jones Family"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=jones+family"},"bg_colour":{"type":"string","example":"#35f4e1"},"has_portal_access":{"type":"boolean","example":true},"portal_access_status":{"type":"string","example":"active"},"engagement_rating":{"type":"string","example":"green"},"last_login":{"type":"object","properties":{"logged_in_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"account_uuid":{"type":"string","example":"uuid"},"account_name":{"type":"string","example":"John Smith"},"device_type":{"type":"string","example":"desktop"},"device_platform":{"type":"string","example":"macos"}}},"portal_login_count_30d":{"type":"integer","example":5},"portal_login_count_90d":{"type":"integer","example":12},"portal_login_count_365d":{"type":"integer","example":48},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"joint_account_uuid":{"type":"string","example":"97a5c1cd-ddb2-49f6-a9ed-284563f29dc7"},"login_access_level":{"type":"string","example":"write"},"current_life_stage_uuid":{"type":"string","example":"ef3243b3-46e7-4ef5-b447-4a30b1e23d51"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"3dbd8dd9-ae77-4281-ab5f-32b07140999f"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource_Summary"}]},"type":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource_Summary"}]},"review_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"assigned_to_uuids":{"type":"array","example":["c50b71f5-29da-476f-8a8d-970858b7c0be"],"items":{"type":"string"}},"group_uuids":{"type":"array","example":["c38e0769-b8c3-4fe2-abef-9a96d0fd0df9"],"items":{"type":"string"}},"completed_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"status_position":{"type":"integer","example":4},"participants_count":{"type":"integer","example":4},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"task_board_uuid":{"type":"string","example":"60bb25ae-2319-4927-8946-aee7f64c27b3"},"plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]}}}},"tags":{"type":"array","example":[{"uuid":"b96cb3a9-5429-4f10-97c1-33ed8452152a","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","name":"Mortgage","slug":"mortgage","colour":"#ef4582"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"b96cb3a9-5429-4f10-97c1-33ed8452152a"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Mortgage"},"slug":{"type":"string","example":"mortgage"},"colour":{"type":"string","example":"#ef4582"}}}},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"type":"object","properties":{"uuid":{"type":"string","example":"c1034642-1346-4a6c-8915-13b09d50b998"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"wrap_children":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"10c7584c-fdf4-489d-a2c9-730c6e9e56cc"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"linked_policy_numbers":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"19ae40fd-efbb-4600-b3fa-2fac783d18df"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"linked_policy_number":{"type":"string","example":"ABC123-X"},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]}}}},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"type":"object","properties":{"uuid":{"type":"string","example":"849c11dc-1fd5-4df3-a243-b81644bc8039"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"mortgage_product":{"type":"object","properties":{"uuid":{"type":"string","example":"2d1835e0-b807-4251-9063-ed63a2fea50a"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"provider_reference":{"type":"string","example":"example-reference"},"provider_scenario_name":{"type":"string","example":"Single Applicant, Small Deposit"},"provider_scenario_data":{"type":"array","example":[]},"lender_name":{"type":"string","example":"HSBC"},"product_title":{"type":"string","example":"5% Fixed Rate - 5 year"},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_MinimalPlanResource_Summary"}]},"mortgage_search":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchResource_Summary"}]}}},"custom_fields":{"type":"array","example":[{"uuid":"2e200960-71cd-4e1a-934c-eefff2102f4c","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","type":"string","name":"Favourite Drink","reference":"favourite_drink","is_required":false,"value":"Coffee","selection_options":["Coffee","Tea","Water"],"help_text":"This is the client's favourite drink.","is_retired":false}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"2e200960-71cd-4e1a-934c-eefff2102f4c"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"string"},"name":{"type":"string","example":"Favourite Drink"},"reference":{"type":"string","example":"favourite_drink"},"is_required":{"type":"boolean","example":false},"value":{"type":"string","example":"Coffee"},"selection_options":{"type":"array","example":["Coffee","Tea","Water"],"items":{"type":"string"}},"help_text":{"type":"string","example":"This is the client's favourite drink."},"is_retired":{"type":"boolean","example":false}}}},"external_references":{"type":"array","example":[{"uuid":"b51890c5-03f6-4a02-a661-111166c67558","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","third_party":"nucleus","reference":"AB123456"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"b51890c5-03f6-4a02-a661-111166c67558"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"third_party":{"type":"string","example":"nucleus"},"reference":{"type":"string","example":"AB123456"}}}}}},"App_Http_Resources_LinkedClients_LinkedClientsResource":{"type":"object","properties":{"uuid":{"type":"string","example":"1bc46b97-d53b-49a8-aa3d-7cbe89b3b22b","description":"The unique identifier of the linked client."},"name":{"type":"string","example":"Gareth","description":"The name of the linked client."},"relationship":{"type":"string","example":"Father","description":"The relationship to the linked client."}},"example":{"uuid":"1bc46b97-d53b-49a8-aa3d-7cbe89b3b22b","name":"Gareth","relationship":"Father"}},"App_Http_Resources_FactFind_FactFindRequestResource":{"type":"object","properties":{"uuid":{"type":"string","example":"1a7ae8ff-c401-4e31-b66f-872ddefddefb"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"status":{"type":"string","example":"complete"},"completed_at":{"type":"string","example":"2026-11-13T20:11:43+00:00"},"invitation_text":{"type":"string","example":"Please complete this fact find!"},"schema":{"type":"object","properties":{"uuid":{"type":"string","example":"27fb3e24-f46b-4852-aa62-da2b892501e0"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"archived_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"is_archived":{"type":"boolean","example":false},"name":{"type":"string","example":"Default fact find"},"introduction_html":{"type":"string","example":"Welcome to our fact find! \u003cb\u003eYou can use some HTML too.\u003c/b\u003e"},"sections_count":{"type":"integer","example":5},"public_url":{"type":"string","example":"https://api.plannrcrm.com/fact-find/633bef1c-3adb-4a5c-99c9-f91782c4b410"}}},"latest_file":{"type":"object","properties":{"uuid":{"type":"string","example":"4090a775-b6cb-4d3e-af8a-ad5fbbb98898"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"uploaded_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"status":{"type":"string","example":"uploaded"},"filename":{"type":"string","example":"Welcome to Plannr.pdf"},"name":{"type":"string","example":"Welcome to Plannr"},"extension":{"type":"string","example":"pdf"},"type":{"type":"string","example":"type"},"size":{"type":"string","example":"21691783"},"path":{"type":"string","example":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf"},"last_modified":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"progress":{"type":"string","example":"100"},"download_url":{"type":"string","example":"https://api.plannrcrm.com/file/95a3319c-7d83-4e57-b5f4-1686369b4adf/download"},"preview_url":{"type":"string","example":"https://api.plannrcrm.com/file/3de29b26-9cd2-4c9c-a8b9-7d49829734d7/preview"},"folder_name":{"type":"string","example":"folder 2"},"folder":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"documentable_type":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"navigator":{"type":"object","properties":{"model_type":{"type":"string","example":"account"},"model_uuid":{"type":"string","example":"8ab63995-c634-4f88-a8f9-5850ef01a7d7"}}},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"56f31b86-592b-4700-a672-0a2776984a12"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"invitation_url":{"type":"string","example":"https://api.plannrcrm.com/fact-find/8c150d4e-2f02-4827-9a29-d9e9172ece39/cd30ed02-9e67-488d-99db-3a871e1c9886"},"fact_find_passes":{"type":"object","properties":{"uuid":{"type":"string","example":"9180c29a-ec0d-40e5-ab40-47cb25e7c807"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"7ec20209-5efb-4f44-8b39-e9a94a8f1a72"},"name":{"type":"string","example":"Codepotato Ltd"}}},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"circle":{"type":"object","properties":{"uuid":{"type":"string","example":"2ccab963-ace4-43ec-94d9-32b0cee30937"},"name":{"type":"string","example":"The Codepotato Gang"}}},"expires_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"progress":{"type":"integer","example":50},"is_complete":{"type":"boolean","example":false},"completed_sections":{"type":"integer","example":2}}}}},"App_Http_Resources_NewBusinessEventResource":{"type":"object","properties":{"uuid":{"type":"string","example":"22042f24-bf60-4e00-8e7e-b0c9f2998469"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"plan":{"type":"object","properties":{"uuid":{"type":"string","example":"60ec4a21-148f-40e8-af8a-a52324d03644"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"clients":{"type":"object","properties":{"uuid":{"type":"string","example":"4946b742-92b1-4952-9d08-2d23ebc5181a"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"modelable":{"type":"object","properties":{"uuid":{"type":"string","example":"dacb82de-5690-4525-aa3f-2692341f1ace"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"modelable_type":{"type":"string","example":"plan"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"98926c3e-7e6e-47f1-8d65-794c7dfcc2e5"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"contribution_type":{"type":"string","example":"increment"},"contribution_type_notes":{"type":"string","example":"Contribution type notes"},"adviser":{"type":"object","properties":{"uuid":{"type":"string","example":"213bde29-bea9-43ee-853a-dbc45ddcc332"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"advice_type":{"type":"string","example":"execution_only"},"conducted_by":{"type":"string","example":"email"},"premium":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"premium_frequency":{"type":"string","example":"monthly"},"start_date":{"type":"string","example":"2021-09-24"},"proposal_date":{"type":"string","example":"2021-09-01"},"case":{"type":"object","properties":{"uuid":{"type":"string","example":"faf4bc2f-e01e-4561-a12b-9b7d1dd0822b"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource_Summary"}]},"type":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource_Summary"}]},"review_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"assigned_to_uuids":{"type":"array","example":["c2d31d31-ea2d-47bf-b43f-4a3e8a767794"],"items":{"type":"string"}},"group_uuids":{"type":"array","example":["17a84fa8-8a57-4b6e-9ad0-764e9dd16ff1"],"items":{"type":"string"}},"completed_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"status_position":{"type":"integer","example":4},"participants_count":{"type":"integer","example":4},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"task_board_uuid":{"type":"string","example":"8eaaaf69-8efe-4720-b5d9-b72ef2c44431"},"plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]}}},"is_vulnerable_client":{"type":"boolean","example":true},"is_replacing_existing_plan":{"type":"boolean","example":true},"existing_plan":{"type":"object","properties":{"uuid":{"type":"string","example":"fc883577-51e9-4ee3-a3c1-17674d3ac4c2"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"existing_plan_details":{"type":"string","example":"Existing plan details"},"opted_out_of_pension_scheme_for_plan":{"type":"boolean","example":true},"opted_out_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opted_out_notes":{"type":"string","example":"Opted out notes"},"status":{"type":"string","example":"accepted"}}},"App_Http_Resources_MailboxMessageResource_Summary":{"type":"object","properties":{"uuid":{"example":"f007cf75-f3ac-4c82-ae9b-1bec6343374c","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"message_created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the message was sent."},"ancestors":{"example":{"data":"App\\Http\\Resources\\MailboxMessageResource","meta":"object","links":"object"},"description":"Paginated thread of messages that come before this message"},"descendants":{"example":{"data":"App\\Http\\Resources\\MailboxMessageResource","meta":"object","links":"object"},"description":"Paginated thread of messages that come after this message"},"thread_count":{"example":0,"description":"The number of thread messages."},"subject":{"example":"Hello World","description":"The subject of the message."},"incoming":{"example":true,"description":"Whether the message is incoming or outgoing."},"text":{"example":"Message body here in plain text","description":"The plain text content of the message."},"html":{"example":"\u003cp\u003eMessage body here in HTML\u003c/p\u003e","description":"The HTML content of the message. Only available when the message is retrieved directly."}},"example":{"uuid":"f007cf75-f3ac-4c82-ae9b-1bec6343374c","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","message_created_at":"2026-11-18T20:11:49+00:00","ancestors":{"data":"App\\Http\\Resources\\MailboxMessageResource","meta":"object","links":"object"},"descendants":{"data":"App\\Http\\Resources\\MailboxMessageResource","meta":"object","links":"object"},"thread_count":0,"subject":"Hello World","incoming":true,"text":"Message body here in plain text","html":"\u003cp\u003eMessage body here in HTML\u003c/p\u003e"}},"App_Http_Resources_MailboxResource_Summary":{"type":"object","properties":{"uuid":{"example":"24b7d8a3-0350-4adb-9cfe-0e671c7d8db0","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"type":{"example":"imap","description":"The type of mailbox this is. Possible values are: imap, gmail and outlook"},"email":{"example":"test@example.org","description":"The email address of the mailbox."},"name":{"example":"Test Mailbox","description":"The name of the mailbox."},"state":{"example":"connected","description":"The status of the mailbox. Possible values are: init, syncing, connecting, connected, authenticationError, connectError, unset, disconnected and deleting"},"enabled":{"example":true,"description":"Whether the mailbox is enabled or not."},"message_count":{"example":1,"description":"The number of messages synced by this mailbox."}},"example":{"uuid":"24b7d8a3-0350-4adb-9cfe-0e671c7d8db0","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","type":"imap","email":"test@example.org","name":"Test Mailbox","state":"connected","enabled":true,"message_count":1}},"App_Http_Resources_MailboxMessageResource":{"type":"object","properties":{"uuid":{"type":"string","example":"f3a58070-42b2-47f3-b453-baf1c4b1b358"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"message_created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"mailbox":{"type":"object","properties":{"uuid":{"type":"string","example":"7d149a69-b9ce-4b6f-ab71-251c610cc610"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"created_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"type":{"type":"string","example":"imap"},"email":{"type":"string","example":"test@example.org"},"name":{"type":"string","example":"Test Mailbox"},"state":{"type":"string","example":"connected"},"enabled":{"type":"boolean","example":true},"message_count":{"type":"integer","example":1}}},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"092f504c-986c-451a-8ecc-0ad3e9c36781"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"ancestors":{"type":"object","properties":{"data":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MailboxMessageResource_Summary"}]},"meta":{"type":"string","example":"object"},"links":{"type":"string","example":"object"}}},"descendants":{"type":"object","properties":{"data":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MailboxMessageResource_Summary"}]},"meta":{"type":"string","example":"object"},"links":{"type":"string","example":"object"}}},"thread_count":{"type":"integer","example":0},"participants":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"2f3d79a0-c775-4aa7-96dd-56e20785b3cc"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"mailbox_message":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MailboxMessageResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"mailbox":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MailboxResource_Summary"}]},"type":{"type":"string","example":"cc"},"name":{"type":"string","example":"John Doe"},"email":{"type":"string","example":"john.doe@example.com"}}}},"attachments":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"8239fd4a-cf98-4c94-8ba9-bda2676ec1c3"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"name":{"type":"string","example":"example.pdf"},"type":{"type":"string","example":"application/pdf"},"size":{"type":"integer","example":123456},"download_url":{"type":"string","example":"https://example.com/download/attachment"},"extension":{"type":"string","example":"pdf"},"status":{"type":"string","example":"uploaded"}}}},"subject":{"type":"string","example":"Hello World"},"incoming":{"type":"boolean","example":true},"text":{"type":"string","example":"Message body here in plain text"},"html":{"type":"string","example":"\u003cp\u003eMessage body here in HTML\u003c/p\u003e"}}},"App_Http_Resources_IllustrationResource_Summary":{"type":"object","properties":{"uuid":{"example":"bd9ba2e3-ed7e-4b76-87c7-c3c3b9293fa2","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"generated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the illustration was generated with the platform."},"status":{"example":"created","description":"The status of the illustration. Available values: created, generating_illustration and generated_illustration"},"name":{"example":"Illustration Name","description":"The name of the illustration."},"request_data":{"example":[],"description":"The request data used to generate the illustration."},"platform":{"example":"seccl","description":"The platform used to generate the illustration."},"platform_illustration_id":{"example":"ABC0123456789","description":"The platform specific illustration id."},"account_opening_allowed":{"example":true,"description":"Whether the account opening is allowed for the illustration."},"is_draft":{"example":true,"description":"Whether the illustration is in the created/draft state."}},"example":{"uuid":"bd9ba2e3-ed7e-4b76-87c7-c3c3b9293fa2","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","generated_at":"2026-11-18T20:11:49+00:00","status":"created","name":"Illustration Name","request_data":[],"platform":"seccl","platform_illustration_id":"ABC0123456789","account_opening_allowed":true,"is_draft":true}},"App_Http_Resources_IllustrationResource":{"type":"object","properties":{"uuid":{"type":"string","example":"21d9fe1c-0332-4e4e-8ad9-f09cacb2b5ae","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was updated."},"generated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the illustration was generated with the platform."},"status":{"type":"string","example":"created","description":"The status of the illustration. Available values: created, generating_illustration and generated_illustration"},"client":{"type":"object","properties":{"uuid":{"type":"string","example":"4b9fd0e1-656c-42da-8159-34c6d2f458ae"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The lead account that the illustration belongs to."},"accounts":{"type":"array","description":"The list of accounts that the illustration belongs to. This will include the lead account.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"13ab6eda-8702-4448-a191-b34849d26a32"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"application":{"type":"object","properties":{"uuid":{"type":"string","example":"322840c6-25d5-4496-a7df-005eba7248fa"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"generated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Illustration Name"},"request_data":{"type":"array","example":[]},"status":{"type":"string","example":"draft"},"platform":{"type":"string","example":"seccl"},"platform_illustration_id":{"type":"string","example":"ABC0123456789"},"clients":{"type":"array","example":["App\\Http\\Resources\\MinimalAccountResource"],"items":{"type":"string"}},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"illustration":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_IllustrationResource_Summary"}]},"requested_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]}},"description":"If the illustration is linked to an application, this will be the application resource."},"plan":{"type":"object","properties":{"uuid":{"type":"string","example":"54a01e44-6700-4f6f-ab74-7ccf3c8531d3"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The plan that the illustration belongs to."},"requested_by":{"type":"object","properties":{"uuid":{"type":"string","example":"fc2b7ebe-e2dc-4006-97d7-65375c82c205"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account (adviser) that requested the illustration."},"name":{"type":"string","example":"Illustration Name","description":"The name of the illustration."},"request_data":{"type":"array","example":[],"description":"The request data used to generate the illustration."},"platform":{"type":"string","example":"seccl","description":"The platform used to generate the illustration."},"platform_illustration_id":{"type":"string","example":"ABC0123456789","description":"The platform specific illustration id."},"account_opening_allowed":{"type":"boolean","example":true,"description":"Whether the account opening is allowed for the illustration."},"is_draft":{"type":"boolean","example":true,"description":"Whether the illustration is in the created/draft state."}}},"App_Http_Resources_ContactDetailResource":{"type":"object","properties":{"uuid":{"type":"string","example":"a9c3077d-3851-46db-a0be-6402f839d5a0","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was updated."},"type":{"type":"string","example":"phone_number","description":"Contact detail type"},"name":{"type":"string","example":"Work number","description":"Contact detail description"},"value":{"type":"string","example":"+443330903630","description":"Contact detail value"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}},"description":"If the type is a phone number, this additional field will be displayed giving you information about the phone number."},"accounts":{"type":"object","properties":{"uuid":{"type":"string","example":"a1a311ea-1cb7-4719-9890-874414e79081"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Accounts that own contact detail"}}},"App_Http_Resources_V2_ContactDetailResource":{"type":"object","properties":{"uuid":{"type":"string","example":"f8568929-a6b9-4a8f-a6a7-801962677c09"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"email"},"name":{"type":"string","example":"Personal number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"type":"object","properties":{"uuid":{"type":"string","example":"2fc976ce-20e6-4cff-a790-f95cc5339ceb"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"primary_accounts":{"type":"object","properties":{"uuid":{"type":"string","example":"8bc2cedd-e327-4b5d-becc-3143160950de"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_Plans_ContributionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"529571ba-f39c-4f60-a111-8e95cd8a11ed","description":"uuid of the contribution"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"datetime the contribution was created"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"datetime the contribution was updated"},"paid_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"datetime the money was paid"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"contribution value"}},"example":{"uuid":"529571ba-f39c-4f60-a111-8e95cd8a11ed","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","paid_at":"2026-11-18T20:11:44+00:00","value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}}}},"App_Http_Resources_UserResource_Summary":{"type":"object","properties":{"uuid":{"example":"cb6a82ca-ef42-420c-9e65-c9acfe76c47c","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"type":{"example":"standard","description":"The user type"},"first_name":{"example":"Gareth","description":"First name of the user"},"last_name":{"example":"Thompson","description":"Last name of the user"},"name":{"example":"Gareth Thompson","description":"Name of the user"},"email":{"example":"gareth@codepotato.co.uk","description":"Email of the user"},"photo_url":{"example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson","description":"The photo URL of the user."},"two_factor_enabled":{"example":true,"description":"Denotes if the two factor authentication has been enabled."},"two_factor_setup_required":{"example":true,"description":"Denotes if the user must set up two factor authentication before they can access their current account, because the firm or its network enforces it."},"two_factor_type":{"example":"sms","description":"The type of two factor enabled."},"otp_confirmed_at":{"example":"2026-11-18T20:11:49+00:00","description":"The date when OTP two factor was confirmed"},"otp_pending":{"example":false,"description":"Denotes if the OTP two factor is pending"},"sms_two_factor_enabled":{"example":true,"description":"Denotes if the SMS two factor is enabled"},"two_factor_mobile":{"example":true,"description":"The E.164 mobile phone used for two factor authentication."},"two_factor_mobile_meta":{"example":{"country":"GB","formatted":"0333 090 3630"},"description":"If the two_factor_mobile is present, this additional field will be displayed giving you information about the phone number."},"session_expires_at":{"example":"2026-11-18T20:11:49+00:00","description":"The session expiry time if signed in via the front-end."},"remember_token_expires_at":{"example":true,"description":"Denotes when the users \"remember me\" token expires."},"should_auto_save_notes":{"example":true,"description":"Denotes if the user wants to use the auto-save notes feature. Can reduce browser performance on low-powered machines."}},"example":{"uuid":"cb6a82ca-ef42-420c-9e65-c9acfe76c47c","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","type":"standard","first_name":"Gareth","last_name":"Thompson","name":"Gareth Thompson","email":"gareth@codepotato.co.uk","photo_url":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson","two_factor_enabled":true,"two_factor_setup_required":true,"two_factor_type":"sms","otp_confirmed_at":"2026-11-18T20:11:49+00:00","otp_pending":false,"sms_two_factor_enabled":true,"two_factor_mobile":true,"two_factor_mobile_meta":{"country":"GB","formatted":"0333 090 3630"},"session_expires_at":"2026-11-18T20:11:49+00:00","remember_token_expires_at":true,"should_auto_save_notes":true}},"App_Http_Resources_ReactionResource_Summary":{"type":"object","properties":{"uuid":{"example":"a6c2193b-8a07-4c14-999b-c0bbd6e34f41","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"account_uuid":{"example":null,"description":"The UUID of the account that reacted"},"account_name":{"example":"Gareth Thompson","description":"The name of the account that reacted"},"reaction":{"example":"like","description":"The reaction type"}},"example":{"uuid":"a6c2193b-8a07-4c14-999b-c0bbd6e34f41","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","account_uuid":null,"account_name":"Gareth Thompson","reaction":"like"}},"App_Http_Resources_ConversationResource":{"type":"object","properties":{"uuid":{"type":"string","example":"87cd0a73-2c8f-422d-9ae8-54c10368c979"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Welcome to Plannr"},"slug":{"type":"string","example":"welcome-to-plannr"},"belongs_to_case":{"type":"boolean","example":true},"case":{"type":"object","properties":{"uuid":{"type":"string","example":"ffb1d26e-94de-4773-8a29-5e9985205276"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource_Summary"}]},"type":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource_Summary"}]},"review_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"assigned_to_uuids":{"type":"array","example":["03c57cfe-d1c7-4129-b114-56c48573d594"],"items":{"type":"string"}},"group_uuids":{"type":"array","example":["e6b83f98-4450-4f95-8c78-bbeb8e4bcd9c"],"items":{"type":"string"}},"completed_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"status_position":{"type":"integer","example":4},"participants_count":{"type":"integer","example":4},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"task_board_uuid":{"type":"string","example":"314a3e6a-2331-436e-b644-c921cbbc5554"},"plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]}}},"participants_count":{"type":"integer","example":3},"participants":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"9688729a-e2c8-444e-8e7f-a9d888b60a8a"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"latest_message":{"type":"object","properties":{"uuid":{"type":"string","example":"e6cf9561-8ce2-44b2-bcfd-0399332c452a"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"deleted_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"contents":{"type":"string","example":"Welcome to Plannr!"},"edited":{"type":"boolean","example":true},"is_auto_reply":{"type":"boolean","example":false},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"author":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"user":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_UserResource_Summary"}]},"reactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ReactionResource_Summary"}]}}},"messages_count":{"type":"integer","example":30},"files_count":{"type":"integer","example":2},"tags":{"type":"array","example":[{"uuid":"be784419-3a8b-4045-b366-876a2e42e632","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","name":"Mortgage","slug":"mortgage","colour":"#ef4582"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"be784419-3a8b-4045-b366-876a2e42e632"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Mortgage"},"slug":{"type":"string","example":"mortgage"},"colour":{"type":"string","example":"#ef4582"}}}},"pinned":{"type":"boolean","example":true},"is_admin":{"type":"boolean","example":false}}},"App_Http_Resources_LoginResource_Summary":{"type":"object","properties":{"uuid":{"example":"f462f7f0-a96c-4e6c-96da-2ff05142deef","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"expires_at":{"example":"2027-02-26T20:11:49+00:00","description":"Timestamp for when the login is set to expire."},"has_write_permission":{"example":false,"description":"Denotes if the login has access to modify records."},"has_delete_permission":{"example":false,"description":"Denotes if the login has access delete records."},"primary":{"example":false,"description":"Denotes if the login is the primary login for the account."},"receives_unread_notifications_email":{"example":true,"description":"If the login for the account will receive the unred notification emails"},"wealth_enabled":{"example":true,"description":"If the login for the account will have access to wealth on the client portal."},"goals_enabled":{"example":true,"description":"If the login for the account will have access to goals."},"factfind_enabled":{"example":true,"description":"If the login for the account will have access to fact finds."},"tasks_enabled":{"example":true,"description":"If the login for the account will have access to tasks."},"welcome_enabled":{"example":true,"description":"If the login for the account will have various welcome branding elements."},"first_name":{"example":"Gareth","description":"First name of the user."},"last_name":{"example":"Thompson","description":"Last name of the user."},"email":{"example":"gareth@plannrcrm.com","description":"Email of the user."},"user_type":{"example":"standard","description":"The type of user (standard, enterprise)."},"is_impersonated":{"example":false,"description":"Denotes if the login was created by Plannr Support as an impersonation login."},"is_enterprise":{"example":false,"description":"Denotes if the login was created via an Enterprise Hub admin impersonation request."}},"example":{"uuid":"f462f7f0-a96c-4e6c-96da-2ff05142deef","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","expires_at":"2027-02-26T20:11:49+00:00","has_write_permission":false,"has_delete_permission":false,"primary":false,"receives_unread_notifications_email":true,"wealth_enabled":true,"goals_enabled":true,"factfind_enabled":true,"tasks_enabled":true,"welcome_enabled":true,"first_name":"Gareth","last_name":"Thompson","email":"gareth@plannrcrm.com","user_type":"standard","is_impersonated":false,"is_enterprise":false}},"App_Http_Resources_MessageResource":{"type":"object","properties":{"uuid":{"type":"string","example":"7c64084c-2b39-4393-b234-14933f818b51","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was updated."},"deleted_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was deleted."},"contents":{"type":"string","example":"Welcome to Plannr!","description":"The message contents"},"edited":{"type":"boolean","example":true,"description":"Whether the message has been edited or not"},"is_auto_reply":{"type":"boolean","example":false,"description":"Whether the message was sent automatically, e.g. an Out of Office reply"},"files":{"type":"array","description":"Message file attachments","items":{"type":"object","properties":{"uuid":{"type":"string","example":"fc43fc74-534b-472b-a198-d097963237d4"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"uploaded_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"status":{"type":"string","example":"uploaded"},"filename":{"type":"string","example":"Welcome to Plannr.pdf"},"name":{"type":"string","example":"Welcome to Plannr"},"extension":{"type":"string","example":"pdf"},"type":{"type":"string","example":"type"},"size":{"type":"string","example":"21691783"},"path":{"type":"string","example":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf"},"last_modified":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"progress":{"type":"string","example":"100"},"download_url":{"type":"string","example":"https://api.plannrcrm.com/file/1503563e-0d44-4653-9c82-20843ac8013f/download"},"preview_url":{"type":"string","example":"https://api.plannrcrm.com/file/de4e89a1-5cf3-4d9b-a424-1b3af0243919/preview"},"folder_name":{"type":"string","example":"folder 2"},"folder":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"documentable_type":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"navigator":{"type":"object","properties":{"model_type":{"type":"string","example":"account"},"model_uuid":{"type":"string","example":"0eb64e0a-4d17-4258-99dc-775d6e7f6766"}}},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]}}}},"author":{"type":"object","properties":{"uuid":{"type":"string","example":"b11e7f1c-dba1-439e-9b3a-eaf91a14cd71"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Message author"},"user":{"type":"object","properties":{"uuid":{"type":"string","example":"0376a270-6d84-4560-bb2b-14c75a90077f"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"standard"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"current_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"current_login":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_LoginResource_Summary"}]},"two_factor_enabled":{"type":"boolean","example":true},"two_factor_setup_required":{"type":"boolean","example":true},"two_factor_type":{"type":"string","example":"sms"},"otp_confirmed_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"otp_pending":{"type":"boolean","example":false},"sms_two_factor_enabled":{"type":"boolean","example":true},"two_factor_mobile":{"type":"boolean","example":true},"two_factor_mobile_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"session_expires_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"remember_token_expires_at":{"type":"boolean","example":true},"should_auto_save_notes":{"type":"boolean","example":true}},"description":"Message user"},"reactions":{"type":"array","example":[{"uuid":"45e9da13-ee18-43a0-b7b1-f3c3d7c7bf53","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","account_uuid":"4053ca04-a17f-4fde-bac5-7c12433f7c82","account_name":"Gareth Thompson","reaction":"like"}],"description":"Array of reactions to the message","items":{"type":"object","properties":{"uuid":{"type":"string","example":"45e9da13-ee18-43a0-b7b1-f3c3d7c7bf53"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"account_uuid":{"type":"string","example":"4053ca04-a17f-4fde-bac5-7c12433f7c82"},"account_name":{"type":"string","example":"Gareth Thompson"},"reaction":{"type":"string","example":"like"}}}}}},"App_Http_Resources_EditedMessageResource":{"type":"object","properties":{"contents":{"type":"string","example":"Welcome to Plannr!"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}},"example":[{"contents":"Welcome to Plannr!","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00"}]},"App_Http_Resources_Plans_CoverResource":{"type":"object","properties":{"uuid":{"type":"string","example":"342e3528-05a6-4461-9ff6-d6fa58a362aa"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"cover_type":{"type":"string","example":"critical_illness"},"benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"benefit_frequency":{"type":"string","example":"monthly"},"benefit_status":{"type":"string","example":"active"},"excess":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"indexation":{"type":"number","example":1.4},"client":{"type":"object","properties":{"uuid":{"type":"string","example":"3c2ece07-cb90-40ed-9ac2-15dc4eeb1461"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_CustomDefaultFoldersResource":{"type":"object","properties":{"uuid":{"type":"string","example":"b0491c23-180a-4c7a-b3d2-f94aa59538e7"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"description":{"type":"string","example":"Shared client default folders"},"model":{"type":"string","example":"client"},"parameter":{"type":"string","example":"client"},"case_type":{"type":"object","properties":{"uuid":{"type":"string","example":"99739673-2e8c-4f1d-90c6-e874034c7962"},"name":{"type":"string","example":"Mortgage Plan"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"}}},"structure":{"type":"array","example":[{"name":"Documents","children":[{"name":"Contracts","children":[]},{"name":"Emails","children":[]}]},{"name":"Notes","children":[]}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Documents"},"children":{"type":"array","example":[{"name":"Contracts","children":[]},{"name":"Emails","children":[]}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Contracts"},"children":{"type":"array","example":[]}}}}}}},"is_active":{"type":"boolean","example":true},"for_existing":{"type":"boolean","example":true}},"example":[{"uuid":"b0491c23-180a-4c7a-b3d2-f94aa59538e7","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","description":"Shared client default folders","model":"client","parameter":"client","case_type":{"uuid":"99739673-2e8c-4f1d-90c6-e874034c7962","name":"Mortgage Plan","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00"},"structure":[{"name":"Documents","children":[{"name":"Contracts","children":[]},{"name":"Emails","children":[]}]},{"name":"Notes","children":[]}],"is_active":true,"for_existing":true}]},"App_Http_Resources_CustomFieldResource":{"type":"object","properties":{"uuid":{"type":"string","example":"a07efd1c-3d32-464d-a4cf-e0d6186aff96","description":"The UUID of the custom field"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"type":{"type":"string","example":"string","description":"The type of custom field"},"name":{"type":"string","example":"Favourite Drink","description":"The name of the custom field"},"reference":{"type":"string","example":"favourite_drink","description":"The reference of the custom field, used when updating the custom field on the model."},"is_required":{"type":"boolean","example":false,"description":"Denotes if the custom field is required"},"model_type":{"type":"string","example":"client","description":"The type of model that the custom field is for."},"help_text":{"type":"string","example":"This is the client's favourite drink.","description":"Optional help text to aide the custom field. Will be displayed on Plannr."},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"f72eeace-e0a4-492c-aeb3-fc57e4bab1c6"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}},"description":"The custom field firm"},"selection_options":{"type":"array","example":["Coffee","Tea","Water"],"description":"This is the array of available options for the selection box. If the type is \"selection\" this array will be provided.","items":{"type":"string"}},"is_visible_to_clients":{"type":"boolean","example":true,"description":"Denotes if the custom field is visible and editable to clients."},"position":{"type":"integer","example":5,"description":"The position of the custom field"},"conditions":{"type":"array","example":[{"attribute":"case_type","values":["uuid-1"]}],"description":"The conditions that must be met for this custom field to apply. Empty array means no conditions.","items":{"type":"object","properties":{"attribute":{"type":"string","example":"case_type"},"values":{"type":"array","example":["uuid-1"],"items":{"type":"string"}}}}},"conditions_operator":{"type":"string","example":"all","description":"The logical operator for combining conditions. \"all\" (AND) or \"any\" (OR)."},"retired_at":{"type":"string","example":"2026-11-03T12:00:00+00:00","description":"When the custom field was retired. Retired fields keep their values but no longer accept new ones. Null if not retired."},"is_retired":{"type":"boolean","example":false,"description":"Denotes if the custom field is retired."},"has_data":{"type":"boolean","example":true,"description":"Denotes if any record has a value for the custom field. Deleting a custom field with data retires it instead."}}},"App_Http_Resources_DependantResource":{"type":"object","properties":{"uuid":{"type":"string","example":"b85b89e2-7a96-4e62-93a9-e16c8b6bb209"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"first_name":{"type":"string","example":"Christopher"},"last_name":{"type":"string","example":"Nolan"},"name":{"type":"string","example":"Christopher Nolan"},"known_as":{"type":"string","example":"Chris"},"relationship":{"type":"string","example":"Brother"},"date_of_birth":{"type":"string","example":"2014-11-18T20:11:43+00:00"},"is_financially_dependant":{"type":"boolean","example":true},"notes":{"type":"string","example":"Example notes"},"accounts":{"type":"object","properties":{"uuid":{"type":"string","example":"3472faf0-ce19-4027-969e-9b05132c6d9a"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"shared_owner_type":{"type":"string","example":"individual"},"shared_owner":{"type":"object","properties":{"uuid":{"type":"string","example":"a2e632ff-9ec2-4d4a-bece-9b623e460f0d"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_V2_DependantResource":{"type":"object","properties":{"uuid":{"type":"string","example":"15d95a3c-9e38-4557-8cf4-60f1e4c5af8c"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"first_name":{"type":"string","example":"Christopher"},"last_name":{"type":"string","example":"Nolan"},"name":{"type":"string","example":"Christopher Nolan"},"known_as":{"type":"string","example":"Chris"},"relationship":{"type":"string","example":"Brother"},"date_of_birth":{"type":"string","example":"1986-11-18T20:11:45+00:00"},"is_financially_dependant":{"type":"boolean","example":true},"notes":{"type":"string","example":"Example notes"},"accounts":{"type":"object","properties":{"uuid":{"type":"string","example":"f23f1b34-cad6-4803-950d-c1313f0bde32"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_DocumentBuilder_DocumentVariablesResource":{"type":"object","properties":{"client":{"type":"array","example":["first_name","last_name"],"description":"Available services and its variables","items":{"type":"string"}}},"example":{"client":["first_name","last_name"]}},"App_Http_Resources_DocumentBuilder_DocumentTemplateResource":{"type":"object","properties":{"uuid":{"type":"string","example":"99b33beb-9f0b-4de6-8bf9-6d30910e7b7f"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"version":{"type":"integer","example":3},"name":{"type":"string","example":"Welcome Template"},"required_dependants":{"type":"object","properties":{"client-1":{"type":"string","example":"client"}}},"public_docx_url":{"type":"string","example":"https://api.plannrcrm.com/document-template/b8d2bef0-b0f4-451a-a29a-0b9c57a7c31f/content/docx?plannr_account_uuid=4f163070-b081-45bc-850c-e1bc23ee213b"},"public_sfdt_url":{"type":"string","example":"https://api.plannrcrm.com/document-template/7fa288de-1afa-4c2b-b190-4dd958096720/content/sfdt?plannr_account_uuid=ec781904-9777-4fdc-9097-0c1aaf7e3235"},"public_pdf_url":{"type":"string","example":"https://api.plannrcrm.com/document-template/f37f8098-32d4-4995-8df2-615b870e28c2/content/pdf?plannr_account_uuid=45f683ab-4ea2-451e-8366-59a0a601eeeb"},"public_preview_url":{"type":"string","example":"https://api.plannrcrm.com/document-template/560a9621-f719-40ad-8af0-167af03d6b99/content/preview?plannr_account_uuid=41ec2d25-e035-468d-bb70-b263d1847be7"}},"example":[{"uuid":"99b33beb-9f0b-4de6-8bf9-6d30910e7b7f","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","version":3,"name":"Welcome Template","required_dependants":{"client-1":"client"},"public_docx_url":"https://api.plannrcrm.com/document-template/b8d2bef0-b0f4-451a-a29a-0b9c57a7c31f/content/docx?plannr_account_uuid=4f163070-b081-45bc-850c-e1bc23ee213b","public_sfdt_url":"https://api.plannrcrm.com/document-template/7fa288de-1afa-4c2b-b190-4dd958096720/content/sfdt?plannr_account_uuid=ec781904-9777-4fdc-9097-0c1aaf7e3235","public_pdf_url":"https://api.plannrcrm.com/document-template/f37f8098-32d4-4995-8df2-615b870e28c2/content/pdf?plannr_account_uuid=45f683ab-4ea2-451e-8366-59a0a601eeeb","public_preview_url":"https://api.plannrcrm.com/document-template/560a9621-f719-40ad-8af0-167af03d6b99/content/preview?plannr_account_uuid=41ec2d25-e035-468d-bb70-b263d1847be7"}]},"App_Http_Resources_DocumentBuilder_DocumentResource":{"type":"object","properties":{"uuid":{"type":"string","example":"2c15a28c-2de2-47c5-938b-fe4595cd6785"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"version":{"type":"integer","example":3},"name":{"type":"string","example":"Welcome Template"},"status":{"type":"string","example":"published"},"last_publishing_error":{"type":"string","example":"There was an error converting this file to PDF. Please try again later."},"required_dependants":{"type":"object","properties":{"client-1":{"type":"string","example":"client"}}},"known_dependants":{"type":"object","properties":{"client-1":{"type":"string","example":"2f79aca0-1aef-4685-920e-ce7c3e7d5547"}}},"public_docx_url":{"type":"string","example":"https://api.plannrcrm.com/document/7f9b6d39-14bb-422c-bcd6-087761b640f6/content/docx?plannr_account_uuid=7888eb1d-45fe-4620-8564-f2a6bbdb9ef4"},"public_sfdt_url":{"type":"string","example":"https://api.plannrcrm.com/document/fbcafe0c-59b8-426a-834b-6df78d5325df/content/sfdt?plannr_account_uuid=7037c7dd-5720-4dc8-a821-c40f95cdb3a2"},"public_pdf_url":{"type":"string","example":"https://api.plannrcrm.com/document/bd61421a-6fd7-41ee-9da4-e40fb8676440/content/pdf?plannr_account_uuid=f3ce11ae-e343-49b0-9bc0-dfce16486527"},"public_preview_url":{"type":"string","example":"https://api.plannrcrm.com/document/bc468090-82a2-4162-b669-e093cdba3797/content/preview?plannr_account_uuid=a2392631-4b94-447c-82e6-5cf7e12d4cb8"}},"example":[{"uuid":"2c15a28c-2de2-47c5-938b-fe4595cd6785","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","version":3,"name":"Welcome Template","status":"published","last_publishing_error":"There was an error converting this file to PDF. Please try again later.","required_dependants":{"client-1":"client"},"known_dependants":{"client-1":"2f79aca0-1aef-4685-920e-ce7c3e7d5547"},"public_docx_url":"https://api.plannrcrm.com/document/7f9b6d39-14bb-422c-bcd6-087761b640f6/content/docx?plannr_account_uuid=7888eb1d-45fe-4620-8564-f2a6bbdb9ef4","public_sfdt_url":"https://api.plannrcrm.com/document/fbcafe0c-59b8-426a-834b-6df78d5325df/content/sfdt?plannr_account_uuid=7037c7dd-5720-4dc8-a821-c40f95cdb3a2","public_pdf_url":"https://api.plannrcrm.com/document/bd61421a-6fd7-41ee-9da4-e40fb8676440/content/pdf?plannr_account_uuid=f3ce11ae-e343-49b0-9bc0-dfce16486527","public_preview_url":"https://api.plannrcrm.com/document/bc468090-82a2-4162-b669-e093cdba3797/content/preview?plannr_account_uuid=a2392631-4b94-447c-82e6-5cf7e12d4cb8"}]},"App_Http_Resources_DocumentPackResource":{"type":"object","properties":{"uuid":{"type":"string","example":"f5cfa148-7e2d-4ea9-b95a-79c7638c5303"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Name of Document Pack"},"description":{"type":"string","example":"Description of Document Pack"},"is_template":{"type":"string","example":"Is Document Pack a template"}},"example":[{"uuid":"f5cfa148-7e2d-4ea9-b95a-79c7638c5303","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","name":"Name of Document Pack","description":"Description of Document Pack","is_template":"Is Document Pack a template"}]},"App_Http_Resources_Plans_SubAccountResource":{"type":"object","properties":{"uuid":{"type":"string","example":"731b9c82-1e4f-48ab-9bfa-a1471c1a92eb"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"type":"object","properties":{"uuid":{"type":"string","example":"e0f00e2a-8d30-4ce9-a49a-067750cf1ef9"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"sub_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]}}},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"type":"object","properties":{"uuid":{"type":"string","example":"b6780f94-dc5c-4741-aae0-7e2f4f9e156b"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"is_proposed":{"type":"boolean","example":true},"proposed_at":{"type":"string","example":"2026-11-18T00:00:00+00:00"},"name":{"type":"string","example":"Risky Portfolio"}}},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}}},"App_Http_Resources_SignatureTransactionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"3bfcea53-aa06-4e13-b367-cd1f4a1463b9"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"integer","example":1000243230},"status":{"type":"string","example":"pending"},"participants":{"type":"array","example":[{"uuid":"9934fb1c-4094-4a11-b449-c3b9700e329f","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","alphatrust_id":1000145124,"name":"Gareth Thompson","status":"pending"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"9934fb1c-4094-4a11-b449-c3b9700e329f"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"alphatrust_id":{"type":"integer","example":1000145124},"name":{"type":"string","example":"Gareth Thompson"},"status":{"type":"string","example":"pending"}}}},"documents":{"type":"array","example":[{"uuid":"4f34992b-4f16-43b2-9995-2fe5ba4b0ea7","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","alphatrust_id":1000455612,"name":"Welcome Pack","status":"pending"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"4f34992b-4f16-43b2-9995-2fe5ba4b0ea7"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"alphatrust_id":{"type":"integer","example":1000455612},"name":{"type":"string","example":"Welcome Pack"},"status":{"type":"string","example":"pending"}}}},"launched_by":{"type":"object","properties":{"uuid":{"type":"string","example":"389bfbf4-d121-487d-b82a-355fc12a2930"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_EmploymentResource_Summary":{"type":"object","properties":{"uuid":{"example":"62e924b0-8427-4001-97eb-a624a77c01cf","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"status":{"example":"employed","description":"The employment status. Available values: employed, self_employed, student, unemployed, house_person, retired and other"},"occupation":{"example":"Financial Adviser","description":"The occupation name found from the occupation code provided."},"occupation_code":{"example":"FAC02774","description":"@deprecated The Origo occupation code."},"job_title":{"example":"Senior financial adviser","description":"Job title if not suitable occupation code is found."},"employer":{"example":"Plannr Technologies Ltd","description":"The name of the employer."},"started_at":{"example":"2021-11-18T20:11:49+00:00","description":"The employment start date."},"ended_at":{"example":"2022-11-18T20:11:49+00:00","description":"The employment end date if provided."},"is_business_owner":{"example":true,"description":"Denotes if the account is the business owner."},"percentage_of_business_shared":{"example":50,"description":"The percentage of business shared."},"shared_owner_type":{"example":"individual","description":"Denotes if the employment is shared across the client or belongs to one of the owners of the client. (Only applicable for joint/business/trust clients)"},"last_salary_increase":{"example":"2019-01-01","description":"The date of the last salary increase."},"business_name":{"example":"My Business","description":"The name of the business."},"business_year_end":{"example":"2020-12-31","description":"The year end of the business."},"business_value":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"The value of the business."},"directors":{"example":"Susan F. Lancaster","description":"The directors of the business."},"shareholding_in_business":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"The shareholding in the business."},"profit":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"The profit of the business."},"accountant_company_name":{"example":"My Accountant","description":"The name of the accountant."},"accountant_email":{"example":"accountant@email.com","description":"The email of the accountant."},"accountant_telephone_number":{"example":"+441234567890","description":"The telephone number of the accountant."},"accountant_address":{"example":"23 Chollerton, Hexham, Northumberland, NE46 4TF","description":"The address of the accountant."},"primary":{"example":true,"description":"Denotes if the employment is the primary employment for the account associated."}},"example":{"uuid":"62e924b0-8427-4001-97eb-a624a77c01cf","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","status":"employed","occupation":"Financial Adviser","occupation_code":"FAC02774","job_title":"Senior financial adviser","employer":"Plannr Technologies Ltd","started_at":"2021-11-18T20:11:49+00:00","ended_at":"2022-11-18T20:11:49+00:00","is_business_owner":true,"percentage_of_business_shared":50,"shared_owner_type":"individual","last_salary_increase":"2019-01-01","business_name":"My Business","business_year_end":"2020-12-31","business_value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"directors":"Susan F. Lancaster","shareholding_in_business":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"profit":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"accountant_company_name":"My Accountant","accountant_email":"accountant@email.com","accountant_telephone_number":"+441234567890","accountant_address":"23 Chollerton, Hexham, Northumberland, NE46 4TF","primary":true}},"App_Http_Resources_V2_EmploymentResource":{"type":"object","properties":{"uuid":{"type":"string","example":"a5c687ee-eb17-4ed5-9c3e-d849eb7f4224"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"status":{"type":"string","example":"employed"},"primary":{"type":"boolean","example":true},"occupation":{"type":"string","example":"Financial Adviser"},"occupation_code":{"type":"string","example":"FAC02774"},"job_title":{"type":"string","example":"Senior financial adviser"},"employer":{"type":"string","example":"Plannr Technologies Ltd"},"started_at":{"type":"string","example":"2021-11-18T20:11:45+00:00"},"ended_at":{"type":"string","example":"2022-11-18T20:11:45+00:00"},"is_business_owner":{"type":"boolean","example":true},"percentage_of_business_shared":{"type":"integer","example":50},"address":{"type":"object","properties":{"uuid":{"type":"string","example":"7359c0c2-83d1-4b88-b450-6144b0f941ac"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Work Address"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"address_3":{"type":"string","example":"The Innovative Centre"},"address_4":{"type":"string","example":"Waterlooville"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"move_in_date":{"type":"string","example":"2025-11-18"},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"phone_number":{"type":"object","properties":{"uuid":{"type":"string","example":"c83bdb16-8797-49d4-be70-144c08de5b44"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"phone_number"},"name":{"type":"string","example":"Work number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"email_address":{"type":"object","properties":{"uuid":{"type":"string","example":"281db7e1-a275-4b05-ad6d-524f57372f2d"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"phone_number"},"name":{"type":"string","example":"Work number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"shared_owner_type":{"type":"string","example":"individual"},"shared_owner":{"type":"object","properties":{"uuid":{"type":"string","example":"a82a51b6-db55-401c-b8ff-af1879814710"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:45"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"last_salary_increase":{"type":"string","example":"2019-01-01"},"business_name":{"type":"string","example":"My Business"},"business_year_end":{"type":"string","example":"2020-12-31"},"business_value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"directors":{"type":"string","example":"Susan F. Lancaster"},"shareholding_in_business":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"profit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"accountant_company_name":{"type":"string","example":"My Accountant"},"accountant_email":{"type":"string","example":"accountant@email.com"},"accountant_telephone_number":{"type":"string","example":"+441234567890"},"accountant_address":{"type":"string","example":"23 Chollerton, Hexham, Northumberland, NE46 4TF"},"turnover_history":{"type":"object","properties":{"year":{"type":"integer","example":2020},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"income":{"type":"object","properties":{"uuid":{"type":"string","example":"9ad16c6b-1086-4ba4-8d91-175338e507d8"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"My Salary"},"type":{"type":"string","example":"salary"},"type_other":{"type":"string","example":"Other income type"},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"amount_type":{"type":"string","example":"net"},"start_date":{"type":"string","example":"2025-11-18"},"end_date":{"type":"string","example":"2026-11-18"},"frequency":{"type":"string","example":"annually"},"is_taxable":{"type":"boolean","example":true},"shared_owner_type":{"type":"string","example":"individual"},"shared_owner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"employment":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_EmploymentResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"d1dcc18d-e3ed-4b43-a6b1-643c398188c5"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"_App_Http_Resources_V2_EmploymentResource":{"type":"object","properties":{"uuid":{"type":"string","example":"e6c98b8d-077b-4ac0-a4f2-c72af7f39b85","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00","description":"The timestamp of when the resource was updated."},"status":{"type":"string","example":"employed","description":"The employment status. Available values: employed, self_employed, student, unemployed, house_person, retired and other"},"primary":{"type":"boolean","example":true,"description":"Denotes if the employment is the primary employment for the account associated."},"occupation":{"type":"string","example":"Financial Adviser","description":"The occupation name found from the occupation code provided."},"occupation_code":{"type":"string","example":"FAC02774","description":"The Origo occupation code."},"job_title":{"type":"string","example":"Senior financial adviser","description":"Job title if not suitable occupation code is found."},"employer":{"type":"string","example":"Plannr Technologies Ltd","description":"The name of the employer."},"started_at":{"type":"string","example":"2021-11-18T20:11:45+00:00","description":"The employment start date."},"ended_at":{"type":"string","example":"2022-11-18T20:11:45+00:00","description":"The employment end date if provided."},"is_business_owner":{"type":"boolean","example":true,"description":"Denotes if the account is the business owner."},"percentage_of_business_shared":{"type":"integer","example":50,"description":"The percentage of business shared."},"address":{"type":"object","properties":{"uuid":{"type":"string","example":"8ca4404a-965a-46d8-b357-b8782c497795"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Work Address"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"address_3":{"type":"string","example":"The Innovative Centre"},"address_4":{"type":"string","example":"Waterlooville"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"move_in_date":{"type":"string","example":"2025-11-18"},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}},"description":"The address of the employer."},"phone_number":{"type":"object","properties":{"uuid":{"type":"string","example":"4428382b-68a2-4e27-810f-2a82c272d8fb"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"phone_number"},"name":{"type":"string","example":"Work number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}},"description":"The phone number of the employer."},"email_address":{"type":"object","properties":{"uuid":{"type":"string","example":"7bade99d-7c96-463d-b7cb-5e74d473df13"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"phone_number"},"name":{"type":"string","example":"Work number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}},"description":"The email address of the employer."},"shared_owner_type":{"type":"string","example":"individual","description":"Denotes if the employment is shared across the client or belongs to one of the owners of the client. (Only applicable for joint/business/trust clients)"},"shared_owner":{"type":"object","properties":{"uuid":{"type":"string","example":"216d432c-f0c1-4199-b19e-ea19e639af0d"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:45"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The owner of the employment. Only provided if the shared_owner_type is \"individual\"."},"last_salary_increase":{"type":"string","example":"2019-01-01","description":"The date of the last salary increase."},"business_name":{"type":"string","example":"My Business","description":"The name of the business."},"business_year_end":{"type":"string","example":"2020-12-31","description":"The year end of the business."},"business_value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The value of the business."},"directors":{"type":"string","example":"Susan F. Lancaster","description":"The directors of the business."},"shareholding_in_business":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The shareholding in the business."},"profit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The profit of the business."},"accountant_company_name":{"type":"string","example":"My Accountant","description":"The name of the accountant."},"accountant_email":{"type":"string","example":"accountant@email.com","description":"The email of the accountant."},"accountant_telephone_number":{"type":"string","example":"+441234567890","description":"The telephone number of the accountant."},"accountant_address":{"type":"string","example":"23 Chollerton, Hexham, Northumberland, NE46 4TF","description":"The address of the accountant."},"turnover_history":{"type":"object","properties":{"year":{"type":"integer","example":2020},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}},"description":"The turnover history of the income."},"income":{"type":"object","properties":{"uuid":{"type":"string","example":"321fc34d-7f38-44d6-8af2-6f36478e049d"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"My Salary"},"type":{"type":"string","example":"salary"},"type_other":{"type":"string","example":"Other income type"},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"amount_type":{"type":"string","example":"net"},"start_date":{"type":"string","example":"2025-11-18"},"end_date":{"type":"string","example":"2026-11-18"},"frequency":{"type":"string","example":"annually"},"is_taxable":{"type":"boolean","example":true},"shared_owner_type":{"type":"string","example":"individual"},"shared_owner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"employment":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_EmploymentResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]}},"description":"Incomes that have been linked to thi employment."},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"d5d6bf3b-d9b9-4905-86b8-97d58679fd26"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account for this employment."}}},"App_Http_Resources_EmploymentResource":{"type":"object","properties":{"uuid":{"type":"string","example":"6ec27515-5202-4703-a75e-8757d02875a1"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"status":{"type":"string","example":"employed"},"occupation":{"type":"string","example":"Financial Adviser"},"occupation_code":{"type":"string","example":"FAC02774"},"job_title":{"type":"string","example":"Senior financial adviser"},"employer":{"type":"string","example":"Plannr Technologies Ltd"},"started_at":{"type":"string","example":"2021-11-18T20:11:43+00:00"},"ended_at":{"type":"string","example":"2022-11-18T20:11:43+00:00"},"is_business_owner":{"type":"boolean","example":true},"percentage_of_business_shared":{"type":"integer","example":50},"address":{"type":"object","properties":{"uuid":{"type":"string","example":"77e70dd8-5c66-437d-a114-464807bd4be9"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Work Address"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"address_3":{"type":"string","example":"The Innovative Centre"},"address_4":{"type":"string","example":"Waterlooville"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"move_in_date":{"type":"string","example":"2025-11-18"},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"phone_number":{"type":"object","properties":{"uuid":{"type":"string","example":"1d4127a0-5ad8-4e22-a99a-8552ec226298"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"phone_number"},"name":{"type":"string","example":"Work number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"email_address":{"type":"object","properties":{"uuid":{"type":"string","example":"3cf43153-8511-4af1-8e87-061eebdcd860"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"phone_number"},"name":{"type":"string","example":"Work number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"shared_owner_type":{"type":"string","example":"individual"},"shared_owner":{"type":"object","properties":{"uuid":{"type":"string","example":"893164b7-c070-43de-a651-85aa03367d77"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"last_salary_increase":{"type":"string","example":"2019-01-01"},"business_name":{"type":"string","example":"My Business"},"business_year_end":{"type":"string","example":"2020-12-31"},"business_value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"directors":{"type":"string","example":"Susan F. Lancaster"},"shareholding_in_business":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"profit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"accountant_company_name":{"type":"string","example":"My Accountant"},"accountant_email":{"type":"string","example":"accountant@email.com"},"accountant_telephone_number":{"type":"string","example":"+441234567890"},"accountant_address":{"type":"string","example":"23 Chollerton, Hexham, Northumberland, NE46 4TF"},"primary":{"type":"boolean","example":true},"turnover_history":{"type":"object","properties":{"year":{"type":"integer","example":2020},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"income":{"type":"object","properties":{"uuid":{"type":"string","example":"0d839f42-b6bc-49b5-978a-95fc97dc242b"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"My Salary"},"type":{"type":"string","example":"salary"},"type_other":{"type":"string","example":"Other income type"},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"amount_type":{"type":"string","example":"net"},"start_date":{"type":"string","example":"2025-11-18"},"end_date":{"type":"string","example":"2026-11-18"},"frequency":{"type":"string","example":"annually"},"is_taxable":{"type":"boolean","example":true},"shared_owner_type":{"type":"string","example":"individual"},"shared_owner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"employment":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_EmploymentResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]}}}}},"App_Http_Resources_ReferralConnectionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"53dcf0a7-4e6e-4683-a7c3-c1304922cbd1","description":"The UUID of the resource."},"direction":{"type":"string","example":"sent","description":"The direction of the connection relative to the current firm. Possible values: sent, received"},"status":{"type":"string","example":"pending","description":"The status of the referral connection. Possible values: pending, accepted, denied, expired"},"sender_firm":{"type":"object","properties":{"uuid":{"type":"string","example":"abc-123"},"name":{"type":"string","example":"Sender Firm Name"}},"description":"The firm that sent the referral connection request"},"recipient_firm":{"type":"object","properties":{"uuid":{"type":"string","example":"def-456"},"name":{"type":"string","example":"Recipient Firm Name"}},"description":"The firm that received the referral connection request"},"sender_account":{"type":"object","properties":{"uuid":{"type":"string","example":"f5d2b502-3943-4d03-b3fe-5bd3d1d18913"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account that sent the referral connection request"},"recipient_account":{"type":"object","properties":{"uuid":{"type":"string","example":"a18651f3-0727-4c6a-ad23-23d85e8c7469"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account that received the referral connection request"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was updated."},"expires_at":{"type":"string","example":"2026-12-18T20:11:43+00:00","description":"The datetime when the referral connection request expires"}}},"App_Http_Resources_ReferralResource":{"type":"object","properties":{"uuid":{"type":"string","example":"206a84b4-0b92-4fd3-9f0e-fc30903b80f0","description":"The UUID of the resource."},"direction":{"type":"string","example":"sent","description":"The direction of the referral relative to the current firm. Possible values: sent, received"},"connection":{"type":"object","properties":{"uuid":{"type":"string","example":"abc-123"}},"description":"The referral connection this referral belongs to"},"clients":{"type":"array","example":[{"uuid":"client-uuid-1","name":"John Doe"}],"description":"The original client accounts being referred","items":{"type":"object","properties":{"uuid":{"type":"string","example":"client-uuid-1"},"name":{"type":"string","example":"John Doe"}}}},"cloned_clients":{"type":"array","example":[{"uuid":"cloned-uuid-1","name":"John Doe"}],"description":"The cloned client accounts in the recipient firm","items":{"type":"object","properties":{"uuid":{"type":"string","example":"cloned-uuid-1"},"name":{"type":"string","example":"John Doe"}}}},"advice_type":{"type":"string","example":"investments","description":"The type of advice. Possible values: investments, protection, mortgages, estate_planning, other, pensions and tax"},"duration_months":{"type":"integer","example":3,"description":"Duration in months (1, 2, 3, or 6). Null for lifetime."},"shared_data":{"type":"array","example":["basic_details","contact_details"],"description":"Data categories being shared. Possible values: basic_details, contact_details, income, expenditure, dependants, investments_and_plans, pensions, liabilities, protection, cash_accounts, goals and notes","items":{"type":"string"}},"note":{"type":"string","example":"Client needs help with retirement planning.","description":"Additional notes about the referral"},"sla_deadline":{"type":"string","example":"2026-02-28","description":"SLA deadline for recipient to respond"},"status":{"type":"string","example":"pending","description":"The status of the referral. Possible values: pending, accepted, rejected and expired"},"rejection_reason":{"type":"string","example":"Unable to take on new clients.","description":"Reason for rejection (only present if rejected)"},"sender_firm":{"type":"object","properties":{"uuid":{"type":"string","example":"abc-123"},"name":{"type":"string","example":"Sender Firm Name"}},"description":"The firm that sent the referral"},"recipient_firm":{"type":"object","properties":{"uuid":{"type":"string","example":"def-456"},"name":{"type":"string","example":"Recipient Firm Name"}},"description":"The firm that received the referral"},"sender_account":{"type":"object","properties":{"uuid":{"type":"string","example":"4feb6941-944d-42c9-ad25-7f48ee5da0ee"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account that sent the referral"},"recipient_account":{"type":"object","properties":{"uuid":{"type":"string","example":"9deb2223-396a-4f60-a5f9-0327d29aa2cd"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account that received the referral"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was updated."},"expires_at":{"type":"string","example":"2027-02-18T20:11:43+00:00","description":"The datetime when the referral expires"}}},"App_Http_Resources_Expenditure_LifeStageFieldResource_Summary":{"type":"object","properties":{"uuid":{"example":"4e0fffdf-758e-4c01-9eb6-6297c2d6ef42","description":"uuid of the  Life Stage Field."},"name":{"example":"Electricity","description":"The name of the Life Stage Field."},"section":{"example":"Housekeeping Expenses","description":"The parent Life Stage Section of Field. Example: \"Housekeeping Expenses\""},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."}},"example":{"uuid":"4e0fffdf-758e-4c01-9eb6-6297c2d6ef42","name":"Electricity","section":"Housekeeping Expenses","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00"}},"App_Http_Resources_Expenditure_LifeStageResource":{"type":"object","properties":{"uuid":{"type":"string","example":"\"c538220f-6bcd-4112-834b-632a0e82fe33"},"name":{"type":"string","example":"Current Lifestyle"},"position":{"type":"string","example":"1"},"start_age":{"type":"string","example":"21"},"end_age":{"type":"string","example":"28"},"sections":{"type":"object","properties":{"uuid":{"type":"string","example":"be37c8cd-d751-4592-bbe9-88d1b8db0e6a"},"name":{"type":"string","example":"House Keeping"},"position":{"type":"string","example":"1"},"fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageFieldResource_Summary"}]},"created_at":{"type":"string","example":"2023-06-16T15:25:06+01:00"},"updated_at":{"type":"string","example":"2023-06-16T15:25:06+01:00"}}},"created_at":{"type":"string","example":"2023-06-16T15:25:06+01:00"},"updated_at":{"type":"string","example":"2023-06-16T15:25:06+01:00"}}},"App_Http_Resources_Expenditure_LifeStageSectionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"be37c8cd-d751-4592-bbe9-88d1b8db0e6a"},"name":{"type":"string","example":"House Keeping"},"position":{"type":"string","example":"1"},"fields":{"type":"object","properties":{"uuid":{"type":"string","example":"529d54b0-2f6a-4c85-bd25-a2f368e3fef0"},"name":{"type":"string","example":"Electricity"},"section":{"type":"string","example":"Housekeeping Expenses"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"}}},"created_at":{"type":"string","example":"2023-06-16T15:25:06+01:00"},"updated_at":{"type":"string","example":"2023-06-16T15:25:06+01:00"}},"example":[{"uuid":"be37c8cd-d751-4592-bbe9-88d1b8db0e6a","name":"House Keeping","position":"1","fields":{"uuid":"529d54b0-2f6a-4c85-bd25-a2f368e3fef0","name":"Electricity","section":"Housekeeping Expenses","created_at":"2026-11-18T20:11:42+00:00","updated_at":"2026-11-18T20:11:42+00:00"},"created_at":"2023-06-16T15:25:06+01:00","updated_at":"2023-06-16T15:25:06+01:00"}]},"App_Http_Resources_Expenditure_LifeStageFieldResource":{"type":"object","properties":{"uuid":{"type":"string","example":"ccd72181-a40f-438e-8241-cbb2c496c74b"},"name":{"type":"string","example":"Electricity"},"section":{"type":"string","example":"Housekeeping Expenses"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"}},"example":[{"uuid":"ccd72181-a40f-438e-8241-cbb2c496c74b","name":"Electricity","section":"Housekeeping Expenses","created_at":"2026-11-18T20:11:42+00:00","updated_at":"2026-11-18T20:11:42+00:00"}]},"App_Http_Resources_Expenditure_ExpenditureResource":{"type":"object","properties":{"uuid":{"type":"string","example":"fc3fd0af-c342-4927-8ed1-c5f04d3b6b00"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Electricity"},"section":{"type":"string","example":"Housekeeping Expenses"},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"position":{"type":"string","example":"1"},"life_stage_uuid":{"type":"string","example":"787fa93d-18d3-4140-a4b9-5724f8a74dee"},"life_stage_section_uuid":{"type":"string","example":"69dfaf0c-e663-417a-a2ed-cd3798753a15"},"life_stage_field_uuid":{"type":"string","example":"0dac2799-0a57-4e7c-a447-c1f120e68101"},"accounts":{"type":"string","example":"[]"}},"example":[{"uuid":"fc3fd0af-c342-4927-8ed1-c5f04d3b6b00","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","name":"Electricity","section":"Housekeeping Expenses","amount":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"position":"1","life_stage_uuid":"787fa93d-18d3-4140-a4b9-5724f8a74dee","life_stage_section_uuid":"69dfaf0c-e663-417a-a2ed-cd3798753a15","life_stage_field_uuid":"0dac2799-0a57-4e7c-a447-c1f120e68101","accounts":"[]"}]},"App_Http_Resources_Expenditure_CustomExpenditureFieldResource":{"type":"object","properties":{"uuid":{"type":"string","example":"abe1257e-a3de-4fd1-9eed-d6e7b94122b0","description":"uuid of the  Life Stage Field."},"name":{"type":"string","example":"Electricity","description":"The name of the Life Stage Field."},"section":{"type":"string","example":"Housekeeping Expenses","description":"The parent Life Stage Section of Field. Example: \"Housekeeping Expenses\""},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was updated."}},"example":{"uuid":"abe1257e-a3de-4fd1-9eed-d6e7b94122b0","name":"Electricity","section":"Housekeeping Expenses","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00"}},"App_Http_Resources_FcaNumberResource":{"type":"object","properties":{"uuid":{"type":"string","example":"b18391fd-25e0-4829-ba15-37d063d6c061"},"fca_number":{"type":"integer","example":123456},"status":{"type":"string","example":"verified"},"rejected_reason":{"type":"string","example":"Reason for rejection"},"actioned_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"}},"example":[{"uuid":"b18391fd-25e0-4829-ba15-37d063d6c061","fca_number":123456,"status":"verified","rejected_reason":"Reason for rejection","actioned_at":"2026-11-18T20:11:42+00:00"}]},"App_Http_Resources_FactFind_FactFindTemplateResource_Summary":{"type":"object","properties":{"uuid":{"example":"a05e6893-81ad-4e3c-b162-dc619dcfdf04","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"My Fact-Find Template","description":"The internal reference name of the fact-find template."},"display_name":{"example":"Welcome Pack","description":"The client-facing name shown when the fact find is sent to a client."},"description":{"example":"A comprehensive fact-find template for new clients.","description":"A brief description of the template."},"opening_statement":{"example":"Welcome to our fact-find process...","description":"An opening statement shown at the start of the fact-find."},"closing_statement":{"example":"Thank you for completing the fact find","description":"A closing statement shown at the end of the fact-find."},"is_published":{"example":true,"description":"Whether the fact-find template is published and available for use."},"archived_at":{"example":"2026-11-17T20:11:49+00:00","description":"If the template has been archived, the datetime of when it was archived."},"is_archived":{"example":false,"description":"Denotes if the template has been archived. Archived templates are hidden from the default list and can no longer start new sessions."},"is_locked":{"example":false,"description":"Whether the template is locked from edits because at least one client has an in-flight session against it. Clone the template to make changes."},"active_session_count":{"example":0,"description":"Number of in-flight client sessions blocking edits to this template."}},"example":{"uuid":"a05e6893-81ad-4e3c-b162-dc619dcfdf04","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"My Fact-Find Template","display_name":"Welcome Pack","description":"A comprehensive fact-find template for new clients.","opening_statement":"Welcome to our fact-find process...","closing_statement":"Thank you for completing the fact find","is_published":true,"archived_at":"2026-11-17T20:11:49+00:00","is_archived":false,"is_locked":false,"active_session_count":0}},"App_Http_Resources_FactFind_FactFindBlockResource_Summary":{"type":"object","properties":{"uuid":{"example":"b6f86d53-9aad-4b27-80a3-545f50805eec","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Income Details","description":"The name of the fact find block."},"introduction_html":{"example":"\u003cp\u003ePlease provide your income details below.\u003c/p\u003e","description":"HTML introduction shown at the start of this block."},"position":{"example":1,"description":"The position/order of this block within the section."}},"example":{"uuid":"b6f86d53-9aad-4b27-80a3-545f50805eec","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"Income Details","introduction_html":"\u003cp\u003ePlease provide your income details below.\u003c/p\u003e","position":1}},"App_Http_Resources_FactFind_FactFindBlockResource":{"type":"object","properties":{"uuid":{"type":"string","example":"5565c53a-1935-4d77-8829-49018a1dcea3"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"fact_find_section":{"type":"object","properties":{"uuid":{"type":"string","example":"c8e5b598-f8c5-4524-8231-97cd35325b90"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"fact_find_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateResource_Summary"}]},"name":{"type":"string","example":"Personal Details"},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease provide your personal details below.\u003c/p\u003e"},"position":{"type":"integer","example":1},"is_complete":{"type":"boolean","example":false},"blocks":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindBlockResource_Summary"}]}}},"name":{"type":"string","example":"Income Details"},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease provide your income details below.\u003c/p\u003e"},"position":{"type":"integer","example":1}}},"App_Http_Resources_FactFind_FactFindQuestionConditionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"d6ba55c0-b94e-4ccf-a291-761a12d93ffc","description":"The UUID of the resource."},"operator":{"type":"string","example":"equals","description":"Condition operator"},"value":{"type":"string","example":"Value","description":"Condition value"}},"example":{"uuid":"d6ba55c0-b94e-4ccf-a291-761a12d93ffc","operator":"equals","value":"Value"}},"App_Http_Resources_FactFind_FactFindQuestionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"7fe9ed79-2470-4365-993d-ebf8d98e9017","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00","description":"The timestamp of when the resource was updated."},"field_name":{"type":"string","example":"Field Name","description":"The name of the field."},"position":{"type":"string","example":"Position","description":"The position/order of this question within the block."},"is_required":{"type":"string","example":"Is Required","description":"Bool to indicate if the question is required."},"is_visible":{"type":"string","example":"Is Visible","description":"Bool to indicate if the question is visible."},"always_required":{"type":"string","example":"Always Required","description":"Bool indicating the underlying database column is NOT NULL; the template builder must not allow this question to be hidden or made non-required."},"has_conditional":{"type":"string","example":"Has Condition","description":"Bool to indicate if the question has any conditions."},"condition_type":{"type":"string","example":"Condition Type","description":"ALL/ANY."}},"example":{"uuid":"7fe9ed79-2470-4365-993d-ebf8d98e9017","created_at":"2026-11-18T20:11:45+00:00","updated_at":"2026-11-18T20:11:45+00:00","field_name":"Field Name","position":"Position","is_required":"Is Required","is_visible":"Is Visible","always_required":"Always Required","has_conditional":"Has Condition","condition_type":"Condition Type"}},"App_Http_Resources_FactFind_FactFindSectionResource_Summary":{"type":"object","properties":{"uuid":{"example":"b885e51b-04cf-48e4-81fa-0b179bc8b2a3","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Personal Details","description":"The name of the fact find section."},"introduction_html":{"example":"\u003cp\u003ePlease provide your personal details below.\u003c/p\u003e","description":"HTML introduction shown at the start of this section."},"position":{"example":1,"description":"The position/order of this section within the template."},"is_complete":{"example":false,"description":"Whether the section has been completed by the fact find pass."}},"example":{"uuid":"b885e51b-04cf-48e4-81fa-0b179bc8b2a3","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","name":"Personal Details","introduction_html":"\u003cp\u003ePlease provide your personal details below.\u003c/p\u003e","position":1,"is_complete":false}},"App_Http_Resources_FactFind_FactFindSectionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"3456d82f-5fa1-43e7-8d54-67a660f5f578"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"fact_find_template":{"type":"object","properties":{"uuid":{"type":"string","example":"104318b2-a5e3-4850-8fd2-a763f8797aff"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"My Fact-Find Template"},"display_name":{"type":"string","example":"Welcome Pack"},"description":{"type":"string","example":"A comprehensive fact-find template for new clients."},"opening_statement":{"type":"string","example":"Welcome to our fact-find process..."},"closing_statement":{"type":"string","example":"Thank you for completing the fact find"},"is_published":{"type":"boolean","example":true},"archived_at":{"type":"string","example":"2026-11-17T20:11:45+00:00"},"is_archived":{"type":"boolean","example":false},"is_locked":{"type":"boolean","example":false},"active_session_count":{"type":"integer","example":0},"sections":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSectionResource_Summary"}]}}},"name":{"type":"string","example":"Personal Details"},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease provide your personal details below.\u003c/p\u003e"},"position":{"type":"integer","example":1},"is_complete":{"type":"boolean","example":false},"blocks":{"type":"object","properties":{"uuid":{"type":"string","example":"c2dffb90-1467-463e-8c41-dff230635ff4"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"fact_find_section":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSectionResource_Summary"}]},"name":{"type":"string","example":"Income Details"},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease provide your income details below.\u003c/p\u003e"},"position":{"type":"integer","example":1}}}}},"App_Http_Resources_V2_FactFind_FactFindSessionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"0e08c57a-171e-42bb-8f4b-a2f812472028"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"status":{"type":"string","example":"complete"},"completed_at":{"type":"string","example":"2026-11-13T20:11:45+00:00"},"invitation_text":{"type":"string","example":"Please complete this fact find!"},"template":{"type":"object","properties":{"uuid":{"type":"string","example":"b369b53c-0fb2-453f-9a9e-d6d2e8089d4c"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"My Fact-Find Template"},"display_name":{"type":"string","example":"Welcome Pack"},"description":{"type":"string","example":"A comprehensive fact-find template for new clients."},"opening_statement":{"type":"string","example":"Welcome to our fact-find process..."},"closing_statement":{"type":"string","example":"Thank you for completing the fact find"},"is_published":{"type":"boolean","example":true},"archived_at":{"type":"string","example":"2026-11-17T20:11:45+00:00"},"is_archived":{"type":"boolean","example":false},"is_locked":{"type":"boolean","example":false},"active_session_count":{"type":"integer","example":0},"sections":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSectionResource_Summary"}]}}},"latest_file":{"type":"object","properties":{"uuid":{"type":"string","example":"a79d2fad-f7b5-45a0-99d7-9c0236a76c2f"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"original_created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"uploaded_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"status":{"type":"string","example":"uploaded"},"filename":{"type":"string","example":"Welcome to Plannr.pdf"},"name":{"type":"string","example":"Welcome to Plannr"},"extension":{"type":"string","example":"pdf"},"type":{"type":"string","example":"type"},"size":{"type":"string","example":"21691783"},"path":{"type":"string","example":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf"},"last_modified":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"progress":{"type":"string","example":"100"},"download_url":{"type":"string","example":"https://api.plannrcrm.com/file/a15a5c49-89b6-47fe-a605-161f4016ac09/download"},"preview_url":{"type":"string","example":"https://api.plannrcrm.com/file/48645bbf-9cee-4d93-94c2-f3f8d7d387a1/preview"},"folder_name":{"type":"string","example":"folder 2"},"folder":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"documentable_type":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"navigator":{"type":"object","properties":{"model_type":{"type":"string","example":"account"},"model_uuid":{"type":"string","example":"6e5e5999-d4bd-40f1-905f-a37aff0bcb12"}}},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"06283993-f56b-4308-90c3-80d5ca6c8c32"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"invitation_url":{"type":"string","example":"https://api.plannrcrm.com/fact-find-session/2a121eb3-7c57-491b-886b-279415fbdb5a"}}},"App_Http_Resources_FactFind_FactFindTemplateResource":{"type":"object","properties":{"uuid":{"type":"string","example":"460824f7-a485-48ad-b7fd-95f174f873e6"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"My Fact-Find Template"},"display_name":{"type":"string","example":"Welcome Pack"},"description":{"type":"string","example":"A comprehensive fact-find template for new clients."},"opening_statement":{"type":"string","example":"Welcome to our fact-find process..."},"closing_statement":{"type":"string","example":"Thank you for completing the fact find"},"is_published":{"type":"boolean","example":true},"archived_at":{"type":"string","example":"2026-11-17T20:11:45+00:00"},"is_archived":{"type":"boolean","example":false},"is_locked":{"type":"boolean","example":false},"active_session_count":{"type":"integer","example":0},"sections":{"type":"object","properties":{"uuid":{"type":"string","example":"f5f5426c-9bba-479f-82be-6bd28c5f8aec"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"fact_find_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateResource_Summary"}]},"name":{"type":"string","example":"Personal Details"},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease provide your personal details below.\u003c/p\u003e"},"position":{"type":"integer","example":1},"is_complete":{"type":"boolean","example":false},"blocks":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindBlockResource_Summary"}]}}}}},"App_Http_Resources_FactFind_LockingClientResource":{"type":"object","properties":{"account_uuid":{"type":"string","example":"44b5efe1-5b64-455f-8942-6e799432a3f4"},"account_name":{"type":"string","example":"John Smith"},"active_session_count":{"type":"integer","example":3},"latest_session_updated_at":{"type":"string","example":"2026-05-07T20:15:00+00:00"}},"example":[{"account_uuid":"44b5efe1-5b64-455f-8942-6e799432a3f4","account_name":"John Smith","active_session_count":3,"latest_session_updated_at":"2026-05-07T20:15:00+00:00"}]},"App_Http_Resources_FactFind_FactFindTemplateArchiveBlockingAutomationResource":{"type":"object","properties":{"uuid":{"type":"string","example":"b7afeed7-4c75-422a-ab47-dde8b69d1603"},"name":{"type":"string","example":"Welcome new client"},"is_active":{"type":"boolean","example":true},"step_count":{"type":"integer","example":1}},"example":[{"uuid":"b7afeed7-4c75-422a-ab47-dde8b69d1603","name":"Welcome new client","is_active":true,"step_count":1}]},"App_Http_Resources_FactFind_FactFindSchemaResource":{"type":"object","properties":{"uuid":{"type":"string","example":"63d46f63-387c-4ca2-87b4-ad72ffacd8ae"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"archived_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"is_archived":{"type":"boolean","example":false},"name":{"type":"string","example":"Default fact find"},"introduction_html":{"type":"string","example":"Welcome to our fact find! \u003cb\u003eYou can use some HTML too.\u003c/b\u003e"},"sections_count":{"type":"integer","example":5},"public_url":{"type":"string","example":"https://api.plannrcrm.com/fact-find/f61a7b1e-4861-47e1-b415-2252b84825db"}},"example":[{"uuid":"63d46f63-387c-4ca2-87b4-ad72ffacd8ae","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","archived_at":"2026-11-17T20:11:44+00:00","is_archived":false,"name":"Default fact find","introduction_html":"Welcome to our fact find! \u003cb\u003eYou can use some HTML too.\u003c/b\u003e","sections_count":5,"public_url":"https://api.plannrcrm.com/fact-find/f61a7b1e-4861-47e1-b415-2252b84825db"}]},"App_Http_Resources_FactFind_FactFindSchemaSectionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"86330deb-0214-434a-b091-37744b2fdea4"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Basic Details"},"front_end_section":{"type":"string","example":"basic_details"},"introduction_html":{"type":"string","example":"\u003cp\u003ePlease tell us your \u003cb\u003ebasic details.\u003c/b\u003e\u003c/p\u003e"},"position":{"type":"integer","example":1}},"example":[{"uuid":"86330deb-0214-434a-b091-37744b2fdea4","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","name":"Basic Details","front_end_section":"basic_details","introduction_html":"\u003cp\u003ePlease tell us your \u003cb\u003ebasic details.\u003c/b\u003e\u003c/p\u003e","position":1}]},"App_Http_Resources_FeatureResource":{"type":"object","properties":{"uuid":{"type":"string","example":"e45f3c95-fd23-4abc-890a-40991373d5e6"},"created_at":{"type":"string","example":"2026-11-18T20:11:46+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:46+00:00"},"key":{"type":"string","example":"four-admin-addon"},"enabled":{"type":"boolean","example":true}},"example":[{"uuid":"e45f3c95-fd23-4abc-890a-40991373d5e6","created_at":"2026-11-18T20:11:46+00:00","updated_at":"2026-11-18T20:11:46+00:00","key":"four-admin-addon","enabled":true}]},"_App_Http_Resources_FileResource":{"type":"object","properties":{"uuid":{"type":"string","example":"334a252f-8f6d-4368-b656-7b19c026983e","description":"UUID of the file"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"original_created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Timestamp of when the file was originally created"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"uploaded_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Timestamp of when the file was uploaded"},"status":{"type":"string","example":"uploaded","description":"Current status of the uploading progress"},"filename":{"type":"string","example":"Welcome to Plannr.pdf","description":"The filename including extension"},"name":{"type":"string","example":"Welcome to Plannr","description":"The name of the file without extension"},"extension":{"type":"string","example":"pdf","description":"The extension of the file"},"type":{"type":"string","example":"type","description":"The MIME type of the file"},"size":{"type":"string","example":"21691783","description":"The size of the file in bytes"},"path":{"type":"string","example":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf","description":"The path of the file"},"last_modified":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Timestamp of when the file was last modified before uploading"},"progress":{"type":"string","example":"100","description":"The progress of the uploaded file as a percentage between 0 and 100"},"download_url":{"type":"string","example":"https://api.plannrcrm.com/file/4488c68b-3dc3-4b8f-8812-43ccb6c5f92d/download","description":"The download URL of the file"},"preview_url":{"type":"string","example":"https://api.plannrcrm.com/file/dfa6db7c-d0c5-4c37-a798-a3cf3251b395/preview","description":"The URL to preview the file inline in the browser. Only present for images and PDFs within the preview size limit"},"folder_name":{"type":"string","example":"folder 2","description":"The name of the folder the file is located in"},"folder":{"type":"object","properties":{"uuid":{"type":"string","example":"ccee485a-f45d-4871-a8fa-860913705d92"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Important Documents"},"slug":{"type":"string","example":"important-documents"},"path":{"type":"string","example":"Codepotato/Important Documents"},"clients_read":{"type":"boolean","example":true},"clients_write":{"type":"boolean","example":true},"show_client_permissions":{"type":"boolean","example":true},"is_system_folder":{"type":"boolean","example":true},"is_pseudo_folder":{"type":"boolean","example":true},"is_root_folder":{"type":"boolean","example":true},"documentable_type":{"type":"string","example":"account"},"documentable_uuid":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"participants_count":{"type":"integer","example":3},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderParticipantResource_Summary"}]},"folders_count":{"type":"integer","example":5},"folders":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"files_count":{"type":"integer","example":8},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"parents":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"ancestors":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"depth":{"type":"integer","example":5},"owned":{"type":"boolean","example":false}},"description":"The folder this file is located in"},"documentable_type":{"type":"string","example":"account","description":"The documentable type such as account/plan/case/etc the file was uploaded to"},"documentable":{"type":"string","example":"Object","description":"The documentable the file was uploaded to"},"navigator":{"type":"object","properties":{"model_type":{"type":"string","example":"account"},"model_uuid":{"type":"string","example":"2523f5fd-27f8-40b4-851d-1db56e780af4"}},"description":"The documentable type and its UUID in order to navigator to the correct resource"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"86e91213-a80f-4f2e-9c3d-284e527ca5a5"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}},"description":"The firm which the file belongs to"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"07389462-0009-4a49-9987-2eae75f0ee5b"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account that uploaded the file (if specified)"},"tags":{"type":"array","example":[{"uuid":"a4d90630-14fb-48bc-9e19-1d036442c5c8","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","name":"Mortgage","slug":"mortgage","colour":"#ef4582"}],"description":"The tags added to the file (if provided)","items":{"type":"object","properties":{"uuid":{"type":"string","example":"a4d90630-14fb-48bc-9e19-1d036442c5c8"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Mortgage"},"slug":{"type":"string","example":"mortgage"},"colour":{"type":"string","example":"#ef4582"}}}}}},"App_Http_Resources_FolderResource":{"type":"object","properties":{"uuid":{"type":"string","example":"1838e5a2-4483-4f77-9b71-ceaabae6a134","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The timestamp of when the resource was updated."},"name":{"type":"string","example":"Important Documents","description":"Folder name"},"slug":{"type":"string","example":"important-documents","description":"Slug of the folder name"},"path":{"type":"string","example":"Codepotato/Important Documents","description":"Folder path"},"clients_read":{"type":"boolean","example":true,"description":"Denotes whether clients can access this folder and files"},"clients_write":{"type":"boolean","example":true,"description":"Denotes whether clients can upload files to this folder"},"show_client_permissions":{"type":"boolean","example":true,"description":"Denotes whether the option to change client permissions is enabled which depends on the firm show pseudo folders in client portal setting"},"is_system_folder":{"type":"boolean","example":true,"description":"Denotes if this folder is a system folder"},"is_pseudo_folder":{"type":"boolean","example":true,"description":"Denotes if this folder is a pseudo folder"},"is_root_folder":{"type":"boolean","example":true,"description":"Denotes if this folder is a root folder of a documentable item"},"documentable_type":{"type":"string","example":"account","description":"The documentable type such as account/plan/case/etc the file was uploaded to"},"documentable_uuid":{"type":"string","example":"account","description":"The UUID of the documentable resource"},"documentable":{"type":"string","example":"Object","description":"The documentable the file was uploaded to"},"participants_count":{"type":"integer","example":3,"description":"Number of accounts this folder has been directly shared with"},"participants":{"type":"array","example":[{"uuid":"183e419c-e134-4a5b-a340-2fa7b62951d1","created_at":"2026-11-18T20:11:42+00:00","updated_at":"2026-11-18T20:11:42+00:00","name":"Gareth Thompson","write":true}],"description":"Participants whom this folder has been directly shared with.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"183e419c-e134-4a5b-a340-2fa7b62951d1"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Gareth Thompson"},"write":{"type":"boolean","example":true}}}},"folders_count":{"type":"integer","example":5,"description":"Number of subfolders within the folder"},"folders":{"type":"array","description":"Subfolders within the folder.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"cb6d5ce8-5db7-486c-87de-dd4c0e941c8e"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Important Documents"},"slug":{"type":"string","example":"important-documents"},"path":{"type":"string","example":"Codepotato/Important Documents"},"clients_read":{"type":"boolean","example":true},"clients_write":{"type":"boolean","example":true},"show_client_permissions":{"type":"boolean","example":true},"is_system_folder":{"type":"boolean","example":true},"is_pseudo_folder":{"type":"boolean","example":true},"is_root_folder":{"type":"boolean","example":true},"documentable_type":{"type":"string","example":"account"},"documentable_uuid":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"participants_count":{"type":"integer","example":3},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderParticipantResource_Summary"}]},"folders_count":{"type":"integer","example":5},"folders":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"files_count":{"type":"integer","example":8},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"parents":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"ancestors":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"depth":{"type":"integer","example":5},"owned":{"type":"boolean","example":false}}}},"files_count":{"type":"integer","example":8,"description":"Number of files stored in the folder"},"files":{"type":"array","description":"Files stored in the folder.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"8f8b8483-1146-4223-b2e8-9bed114f5d76"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"original_created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"uploaded_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"status":{"type":"string","example":"uploaded"},"filename":{"type":"string","example":"Welcome to Plannr.pdf"},"name":{"type":"string","example":"Welcome to Plannr"},"extension":{"type":"string","example":"pdf"},"type":{"type":"string","example":"type"},"size":{"type":"string","example":"21691783"},"path":{"type":"string","example":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf"},"last_modified":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"progress":{"type":"string","example":"100"},"download_url":{"type":"string","example":"https://api.plannrcrm.com/file/970aecd3-432a-4a4b-85b7-b38b9507a9c9/download"},"preview_url":{"type":"string","example":"https://api.plannrcrm.com/file/8f696db7-595b-4026-ae97-53a39f0336bc/preview"},"folder_name":{"type":"string","example":"folder 2"},"folder":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"documentable_type":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"navigator":{"type":"object","properties":{"model_type":{"type":"string","example":"account"},"model_uuid":{"type":"string","example":"a4496498-3f4f-463c-a764-88b8af3b7cf1"}}},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]}}}},"parents":{"type":"array","description":"Parent folders.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"91c81b64-0247-4561-a991-59230178626a"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Important Documents"},"slug":{"type":"string","example":"important-documents"},"path":{"type":"string","example":"Codepotato/Important Documents"},"clients_read":{"type":"boolean","example":true},"clients_write":{"type":"boolean","example":true},"show_client_permissions":{"type":"boolean","example":true},"is_system_folder":{"type":"boolean","example":true},"is_pseudo_folder":{"type":"boolean","example":true},"is_root_folder":{"type":"boolean","example":true},"documentable_type":{"type":"string","example":"account"},"documentable_uuid":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"participants_count":{"type":"integer","example":3},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderParticipantResource_Summary"}]},"folders_count":{"type":"integer","example":5},"folders":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"files_count":{"type":"integer","example":8},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"parents":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"ancestors":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"depth":{"type":"integer","example":5},"owned":{"type":"boolean","example":false}}}},"ancestors":{"type":"array","description":"All parents folders up the folder hierarchy structure.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"1c7c8a3e-2393-4445-bdea-35cb90c51120"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Important Documents"},"slug":{"type":"string","example":"important-documents"},"path":{"type":"string","example":"Codepotato/Important Documents"},"clients_read":{"type":"boolean","example":true},"clients_write":{"type":"boolean","example":true},"show_client_permissions":{"type":"boolean","example":true},"is_system_folder":{"type":"boolean","example":true},"is_pseudo_folder":{"type":"boolean","example":true},"is_root_folder":{"type":"boolean","example":true},"documentable_type":{"type":"string","example":"account"},"documentable_uuid":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"participants_count":{"type":"integer","example":3},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderParticipantResource_Summary"}]},"folders_count":{"type":"integer","example":5},"folders":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"files_count":{"type":"integer","example":8},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"parents":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"ancestors":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"depth":{"type":"integer","example":5},"owned":{"type":"boolean","example":false}}}},"children":{"type":"array","description":"Subfolders within the folder.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"a68bf971-01b1-40b9-97e1-433da22c0ed5"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Important Documents"},"slug":{"type":"string","example":"important-documents"},"path":{"type":"string","example":"Codepotato/Important Documents"},"clients_read":{"type":"boolean","example":true},"clients_write":{"type":"boolean","example":true},"show_client_permissions":{"type":"boolean","example":true},"is_system_folder":{"type":"boolean","example":true},"is_pseudo_folder":{"type":"boolean","example":true},"is_root_folder":{"type":"boolean","example":true},"documentable_type":{"type":"string","example":"account"},"documentable_uuid":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"participants_count":{"type":"integer","example":3},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderParticipantResource_Summary"}]},"folders_count":{"type":"integer","example":5},"folders":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"files_count":{"type":"integer","example":8},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"parents":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"ancestors":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"depth":{"type":"integer","example":5},"owned":{"type":"boolean","example":false}}}},"depth":{"type":"integer","example":5,"description":"How many levels deep there are to this folder hierarchy structure"},"owned":{"type":"boolean","example":false,"description":"Is true if the authenticated account in the request has created this folder"}}},"App_Http_Resources_FileResource":{"type":"object","properties":{"uuid":{"type":"string","example":"1325dedf-8e8a-42f2-84d4-98a870996e3a","description":"UUID of the file"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"original_created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Timestamp of when the file was originally created"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"uploaded_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Timestamp of when the file was uploaded"},"status":{"type":"string","example":"uploaded","description":"Current status of the uploading progress"},"filename":{"type":"string","example":"Welcome to Plannr.pdf","description":"The filename including extension"},"name":{"type":"string","example":"Welcome to Plannr","description":"The name of the file without extension"},"extension":{"type":"string","example":"pdf","description":"The extension of the file"},"type":{"type":"string","example":"type","description":"The MIME type of the file"},"size":{"type":"string","example":"21691783","description":"The size of the file in bytes"},"path":{"type":"string","example":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf","description":"The path of the file"},"last_modified":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Timestamp of when the file was last modified before uploading"},"progress":{"type":"string","example":"100","description":"The progress of the uploaded file as a percentage between 0 and 100"},"download_url":{"type":"string","example":"https://api.plannrcrm.com/file/7c29b7af-892d-4870-9524-5b36514e1252/download","description":"The download URL of the file"},"preview_url":{"type":"string","example":"https://api.plannrcrm.com/file/66e9b6b5-cf2d-4c5d-bd48-b5347822d7c0/preview","description":"The URL to preview the file inline in the browser. Only present for images and PDFs within the preview size limit"},"folder_name":{"type":"string","example":"folder 2","description":"The name of the folder the file is located in"},"folder":{"type":"object","properties":{"uuid":{"type":"string","example":"346cf77d-3cd4-4324-a5d1-78609f4223d1"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Important Documents"},"slug":{"type":"string","example":"important-documents"},"path":{"type":"string","example":"Codepotato/Important Documents"},"clients_read":{"type":"boolean","example":true},"clients_write":{"type":"boolean","example":true},"show_client_permissions":{"type":"boolean","example":true},"is_system_folder":{"type":"boolean","example":true},"is_pseudo_folder":{"type":"boolean","example":true},"is_root_folder":{"type":"boolean","example":true},"documentable_type":{"type":"string","example":"account"},"documentable_uuid":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"participants_count":{"type":"integer","example":3},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderParticipantResource_Summary"}]},"folders_count":{"type":"integer","example":5},"folders":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"files_count":{"type":"integer","example":8},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"parents":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"ancestors":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"depth":{"type":"integer","example":5},"owned":{"type":"boolean","example":false}},"description":"The folder this file is located in"},"documentable_type":{"type":"string","example":"account","description":"The documentable type such as account/plan/case/etc the file was uploaded to"},"documentable":{"type":"string","example":"Object","description":"The documentable the file was uploaded to"},"navigator":{"type":"object","properties":{"model_type":{"type":"string","example":"account"},"model_uuid":{"type":"string","example":"dd4cf33a-19d3-4354-b7ad-b3a37d71f344"}},"description":"The documentable type and its UUID in order to navigator to the correct resource"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"c69462ff-6271-40b6-ba59-dc3b488ef2ea"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}},"description":"The firm which the file belongs to"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"b9d064a2-a600-4fa6-9478-2ca170db388f"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account that uploaded the file (if specified)"},"tags":{"type":"array","example":[{"uuid":"19562772-194c-48e6-8841-c2bd70d98418","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","name":"Mortgage","slug":"mortgage","colour":"#ef4582"}],"description":"The tags added to the file (if provided)","items":{"type":"object","properties":{"uuid":{"type":"string","example":"19562772-194c-48e6-8841-c2bd70d98418"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Mortgage"},"slug":{"type":"string","example":"mortgage"},"colour":{"type":"string","example":"#ef4582"}}}}}},"App_Http_Resources_Addons_AddonResource_Summary":{"type":"object","properties":{"id":{"example":"transact_valuation_feed","description":"Unique identifier for this addon"},"name":{"example":"Transact Valuation Feed","description":"Short descriptive name for the addon"},"description":{"example":"Provides an automatic holding and valuation feed via a transact integration","description":"Description of the addons functions"},"setup_instructions":{"example":"Retrieve your transact api key from https://www.transact-online.co.uk/contact-us/","description":"Setup instructions for the user"},"category":{"example":"valuation_feed_integration","description":"Addon Category"},"params":{"example":{"access_code":null,"pin":null,"second_access_code":null,"second_pin":null,"third_access_code":null,"third_pin":null},"description":"Configuration Parameters"},"banner_url":{"example":"https://plannrcrm.com/banner.png","description":"Url for banner image"},"icon_url":{"example":"https://plannrcrm.com/icon.png","description":"Url for Icon image"},"price":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Price of the addon"},"can_be_subscribed_to":{"example":true,"description":"Denotes if the addon can be subscribed to."},"is_visible":{"example":true,"description":"Denotes if the addon can shown on the addon page."},"free_trial_days":{"example":30,"description":"Number of days the addon is free for. This only applies for paid for addons."},"should_poll_for_subscription_changes":{"example":true,"description":"Denotes if the front-end should poll/refresh for subscription changes. This is useful for add-ons managed remotely."}},"example":{"id":"transact_valuation_feed","name":"Transact Valuation Feed","description":"Provides an automatic holding and valuation feed via a transact integration","setup_instructions":"Retrieve your transact api key from https://www.transact-online.co.uk/contact-us/","category":"valuation_feed_integration","params":{"access_code":null,"pin":null,"second_access_code":null,"second_pin":null,"third_access_code":null,"third_pin":null},"banner_url":"https://plannrcrm.com/banner.png","icon_url":"https://plannrcrm.com/icon.png","price":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"can_be_subscribed_to":true,"is_visible":true,"free_trial_days":30,"should_poll_for_subscription_changes":true}},"App_Http_Resources_FirmResource":{"type":"object","properties":{"uuid":{"type":"string","example":"15d57563-c130-4bad-a71c-7a675c0c47f4","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The timestamp of when the resource was updated."},"name":{"type":"string","example":"Codepotato","description":"Name of the firm"},"slug":{"type":"string","example":"codepotato","description":"Slug of the firm"},"address_1":{"type":"string","example":"Suite E, 5 The Briars","description":"First line of the address"},"address_2":{"type":"string","example":"Waterberry Drive","description":"Second line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"},"regulatory_text":{"type":"string","example":"Regulatory text","description":"Regulatory text of the firm."},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg","description":"URL of your firm logo."},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg","description":"URL of your firm logo icon."},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}},"description":"Firm branding colours."},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56","description":"Header background colour (hex) for the fact-find snapshot PDF."},"factfind_pdf_header_text":{"type":"string","example":"#ffffff","description":"Header text colour (hex) for the fact-find snapshot PDF."},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg","description":"URL of the logo used on the fact-find snapshot PDF."},"is_subscribed":{"type":"boolean","example":true,"description":"Subscription status."},"addon_subscriptions":{"type":"array","description":"All addons the firm is subscribed to.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"4b087bb7-91cd-488a-b6ef-74504bc3ff7c"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"enabled":{"type":"string","example":"true"},"addon":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonResource_Summary"}]},"trial_ends_at":{"type":"string","example":"2026-12-02"},"trial_ends_in_days":{"type":"integer","example":14},"payment_confirmed_at":{"type":"string","example":"2026-12-06"}}}},"keep_deleted_files_for":{"type":"integer","example":30,"description":"Number of days to keep deleted files for"},"tax":{"type":"number","example":17.5,"description":"Tax percent"},"month_end":{"type":"integer","example":25,"description":"Date of the month for the monthly income reconciliation statements to end"},"statement_frequency":{"type":"string","example":"monthly","description":"The frequency of the income reconciliation statements"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}},"description":"Firm invoice details for billing"},"task_board_template":{"type":"object","properties":{"uuid":{"type":"string","example":"b674d3ad-b54a-45a6-949d-ad2f1d3dc176"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"is_template":{"type":"boolean","example":false},"name":{"type":"string","example":"Task Board"},"default_list_uuid":{"type":"string","example":"c9951ee8-3d59-40b6-ae47-65dc98659909"},"lists":{"type":"string","example":"App\\Http\\Resources\\Board\\BoardListResource"},"is_editable":{"type":"boolean","example":true},"priorities":{"type":"array","example":[{"name":"High","value":"high"},{"name":"Low","value":"low"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"High"},"value":{"type":"string","example":"high"}}}},"modelable":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]}},"description":"The task board template that is used when every client or case is created"},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"description":"IP addresses allowed to access the firm. Authorised Plannr-issued integrations are exempt.","items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e","description":"Custom welcome paragraph html for the branded auth welcome page"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!","description":"Custom welcome paragraph for the welcome/new user email"},"show_fact_find_illustrations":{"type":"boolean","example":true,"description":"Determines if the illustrations/graphics are displayed on the fact find."},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"description":"Array of email cc addresses.","items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"description":"Array of email bcc addresses.","items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com","description":"Firm reply to email address."},"mobile_app_support_number":{"type":"string","example":"01234 567890","description":"Firm mobile app support number."},"mobile_app_support_email":{"type":"string","example":"support@example.com","description":"Firm mobile app support email address."}}},"App_Http_Resources_EffectiveNetworkSettingResource":{"type":"object","properties":{"key":{"type":"string","example":"mandatory_firm_two_factor"},"label":{"type":"string","example":"Mandatory firm 2FA"},"value":{"type":"boolean","example":true},"source":{"type":"string","example":"network"},"source_firm":{"type":"object","properties":{"uuid":{"type":"string","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"},"name":{"type":"string","example":"Harbour Wealth"}}},"owning_level":{"type":"string","example":"network"},"lock_status":{"type":"string","example":"overridable"},"exception":{"type":"object","properties":{"reason":{"type":"string","example":"SPF firm - agreed with network compliance"},"review_date":{"type":"string","example":"2027-04-01"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"},"name":{"type":"string","example":"Acme Wealth"}}}}},"editable":{"type":"boolean","example":true},"locked_message":{"type":"string","example":"Mandatory firm 2FA is mandated by Network and cannot be changed for your firm."}},"example":[{"key":"mandatory_firm_two_factor","label":"Mandatory firm 2FA","value":true,"source":"network","source_firm":{"uuid":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","name":"Harbour Wealth"},"owning_level":"network","lock_status":"overridable","exception":{"reason":"SPF firm - agreed with network compliance","review_date":"2027-04-01","firm":{"uuid":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","name":"Acme Wealth"}},"editable":true,"locked_message":"Mandatory firm 2FA is mandated by Network and cannot be changed for your firm."}]},"App_Http_Resources_NetworkSettingGovernanceResource":{"type":"object","properties":{"key":{"type":"string","example":"mandatory_firm_two_factor"},"label":{"type":"string","example":"Mandatory firm 2FA"},"value":{"type":"boolean","example":true},"status":{"type":"string","example":"inherited"},"status_label":{"type":"string","example":"Inherited"},"source":{"type":"string","example":"network"},"source_firm":{"type":"object","properties":{"uuid":{"type":"string","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"},"name":{"type":"string","example":"Harbour Wealth"}}},"network_value":{"type":"boolean","example":false},"exception":{"type":"object","properties":{"reason":{"type":"string","example":"SPF firm - agreed with network compliance"},"review_date":{"type":"string","example":"2027-04-01"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"},"name":{"type":"string","example":"Acme Wealth"}}}}},"owning_level":{"type":"string","example":"network"},"lock_status":{"type":"string","example":"overridable"},"editable":{"type":"boolean","example":true},"locked_message":{"type":"string","example":"Mandatory firm 2FA is mandated by Network and cannot be changed for your firm."}},"example":[{"key":"mandatory_firm_two_factor","label":"Mandatory firm 2FA","value":true,"status":"inherited","status_label":"Inherited","source":"network","source_firm":{"uuid":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","name":"Harbour Wealth"},"network_value":false,"exception":{"reason":"SPF firm - agreed with network compliance","review_date":"2027-04-01","firm":{"uuid":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","name":"Acme Wealth"}},"owning_level":"network","lock_status":"overridable","editable":true,"locked_message":"Mandatory firm 2FA is mandated by Network and cannot be changed for your firm."}]},"App_Http_Resources_NetworkSettingConfigurationControlResource":{"type":"object","properties":{"key":{"type":"string","example":"mandatory_firm_two_factor"},"label":{"type":"string","example":"Mandatory firm 2FA"},"sub_firm_configuration_enabled":{"type":"boolean","example":false},"adviser_configuration_enabled":{"type":"boolean","example":false},"editable":{"type":"boolean","example":true},"locked_message":{"type":"string","example":"Mandatory firm 2FA is mandated by Network and cannot be changed for your firm."}},"example":[{"key":"mandatory_firm_two_factor","label":"Mandatory firm 2FA","sub_firm_configuration_enabled":false,"adviser_configuration_enabled":false,"editable":true,"locked_message":"Mandatory firm 2FA is mandated by Network and cannot be changed for your firm."}]},"App_Http_Resources_FormSectionResource_Summary":{"type":"object","properties":{"uuid":{"example":"bec95bf9-0b4f-4839-a6ac-39e7f52e294c","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"title":{"example":"Personal Details","description":"The title of the section"},"position":{"example":1,"description":"The position of the section"}},"example":{"uuid":"bec95bf9-0b4f-4839-a6ac-39e7f52e294c","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","title":"Personal Details","position":1}},"App_Http_Resources_FormBuilder_LinkedFormQuestionResource_Summary":{"type":"object","properties":{"type":{"example":"selection","description":"Type of question"},"field":{"example":"gender","description":"The field this question is linked to"},"label":{"example":"Gender","description":"The label this question is linked to"},"formatted_field":{"example":"Gender","description":"The field formatted in title case"},"selection_options":{"example":["male","female","non-binary","transgender","intersex","other","unknown"],"description":"The selection options for selection type questions"},"is_custom_field":{"example":false,"description":"Denotes if this is linked to a custom field"},"forced_required":{"example":false,"description":"Denotes if this is question must be required"},"caption":{"example":"Your drink preference","description":"Placeholder caption for this question"}},"example":{"type":"selection","field":"gender","label":"Gender","formatted_field":"Gender","selection_options":["male","female","non-binary","transgender","intersex","other","unknown"],"is_custom_field":false,"forced_required":false,"caption":"Your drink preference"}},"App_Http_Resources_FormResource":{"type":"object","properties":{"uuid":{"type":"string","example":"97ea59ae-ba82-4b76-88a4-21858dba5ed1"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"title":{"type":"string","example":"Annual Catchup 2022"},"description":{"type":"string","example":"This is the annual catchup form for 2022"},"live":{"type":"boolean","example":true},"visibility":{"type":"string","example":"public"},"sections":{"type":"object","properties":{"uuid":{"type":"string","example":"0131c0b2-5d47-467b-85c4-0e913fb26779"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"section":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormSectionResource_Summary"}]},"title":{"type":"string","example":"What is your name?"},"help_text":{"type":"string","example":"Gareth"},"caption":{"type":"string","example":"Your full legal name"},"type":{"type":"string","example":"string"},"required":{"type":"boolean","example":true},"position":{"type":"integer","example":1},"selection_options":{"type":"array","example":["option 1","option 2"],"items":{"type":"string"}},"target_field":{"type":"string","example":"name"},"key":{"type":"string","example":"what_is_your_name"},"linked_question":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormBuilder_LinkedFormQuestionResource_Summary"}]},"linked_primary":{"type":"boolean","example":true}}},"allowed_hosts":{"type":"array","example":["domain.com","subdomain.domain.com"],"items":{"type":"string"}},"draft_submissions_count":{"type":"integer","example":5},"submitted_submissions_count":{"type":"integer","example":5},"create_client":{"type":"boolean","example":true},"client_type":{"type":"string","example":"client"}}},"App_Http_Resources_FormBuilder_LinkedFormQuestionResource":{"type":"object","properties":{"type":{"type":"string","example":"selection"},"field":{"type":"string","example":"gender"},"label":{"type":"string","example":"Gender"},"formatted_field":{"type":"string","example":"Gender"},"selection_options":{"type":"array","example":["male","female","non-binary","transgender","intersex","other","unknown"],"items":{"type":"string"}},"is_custom_field":{"type":"boolean","example":false},"forced_required":{"type":"boolean","example":false},"caption":{"type":"string","example":"Your drink preference"}},"example":[{"type":"selection","field":"gender","label":"Gender","formatted_field":"Gender","selection_options":["male","female","non-binary","transgender","intersex","other","unknown"],"is_custom_field":false,"forced_required":false,"caption":"Your drink preference"}]},"App_Http_Resources_FormSubmissionRequestResource_Summary":{"type":"object","properties":{"uuid":{"example":"23fbceb6-f91c-47be-9ffb-667d53378fe9","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:49+00:00","description":"The timestamp of when the resource was updated."},"description":{"example":"Please submit your annual survey form","description":"The description of the form submission request"},"has_submission":{"example":true,"description":"Denotes if this request has a submission stored against it"}},"example":{"uuid":"23fbceb6-f91c-47be-9ffb-667d53378fe9","created_at":"2026-11-18T20:11:49+00:00","updated_at":"2026-11-18T20:11:49+00:00","description":"Please submit your annual survey form","has_submission":true}},"App_Http_Resources_FormSubmissionRequestResource":{"type":"object","properties":{"uuid":{"type":"string","example":"fa3436c9-d805-43aa-8f55-a004d4793815"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"description":{"type":"string","example":"Please submit your annual survey form"},"form":{"type":"object","properties":{"uuid":{"type":"string","example":"f1fdcb05-0a0a-40e3-bd32-ba493071b14d"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"title":{"type":"string","example":"Annual Catchup 2022"},"description":{"type":"string","example":"This is the annual catchup form for 2022"},"live":{"type":"boolean","example":true},"visibility":{"type":"string","example":"public"},"sections":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormQuestionResource_Summary"}]},"allowed_hosts":{"type":"array","example":["domain.com","subdomain.domain.com"],"items":{"type":"string"}},"draft_submissions_count":{"type":"integer","example":5},"submitted_submissions_count":{"type":"integer","example":5},"create_client":{"type":"boolean","example":true},"client_type":{"type":"string","example":"client"}}},"has_submission":{"type":"boolean","example":true},"submission":{"type":"object","properties":{"uuid":{"type":"string","example":"b1f8b519-bda7-4a66-ab6f-d003f2c6613d"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"stage":{"type":"string","example":"draft"},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"request":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionRequestResource_Summary"}]},"form":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormResource_Summary"}]},"answers":{"type":"array","example":[{"first_name":"john","last_name":"olive"}],"items":{"type":"object","properties":{"first_name":{"type":"string","example":"john"},"last_name":{"type":"string","example":"olive"}}}}}},"receiver":{"type":"object","properties":{"uuid":{"type":"string","example":"51905fe8-cbb4-4900-8ab6-8f934b438d45"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_FormSectionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"68336390-7dcd-45fd-8090-0cdcdf8f5303","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was updated."},"form":{"type":"object","properties":{"uuid":{"type":"string","example":"e2baf865-0579-4d38-94de-3a0e6a43128e"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"title":{"type":"string","example":"Annual Catchup 2022"},"description":{"type":"string","example":"This is the annual catchup form for 2022"},"live":{"type":"boolean","example":true},"visibility":{"type":"string","example":"public"},"sections":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormQuestionResource_Summary"}]},"allowed_hosts":{"type":"array","example":["domain.com","subdomain.domain.com"],"items":{"type":"string"}},"draft_submissions_count":{"type":"integer","example":5},"submitted_submissions_count":{"type":"integer","example":5},"create_client":{"type":"boolean","example":true},"client_type":{"type":"string","example":"client"}},"description":"The form this section belongs to"},"title":{"type":"string","example":"Personal Details","description":"The title of the section"},"position":{"type":"integer","example":1,"description":"The position of the section"},"questions":{"type":"object","properties":{"uuid":{"type":"string","example":"6c5d2596-f4b9-4994-9dd6-4a693b0c7835"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"section":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormSectionResource_Summary"}]},"title":{"type":"string","example":"What is your name?"},"help_text":{"type":"string","example":"Gareth"},"caption":{"type":"string","example":"Your full legal name"},"type":{"type":"string","example":"string"},"required":{"type":"boolean","example":true},"position":{"type":"integer","example":1},"selection_options":{"type":"array","example":["option 1","option 2"],"items":{"type":"string"}},"target_field":{"type":"string","example":"name"},"key":{"type":"string","example":"what_is_your_name"},"linked_question":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormBuilder_LinkedFormQuestionResource_Summary"}]},"linked_primary":{"type":"boolean","example":true}},"description":"The questions in the section"}}},"App_Http_Resources_FormQuestionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"491d73bd-b8c6-4a11-b1a2-dc5efe5ec1a4","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was updated."},"section":{"type":"object","properties":{"uuid":{"type":"string","example":"7b3a7e48-1a73-4d9e-8ced-92f15855687b"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"form":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormResource_Summary"}]},"title":{"type":"string","example":"Personal Details"},"position":{"type":"integer","example":1},"questions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormQuestionResource_Summary"}]}},"description":"The section this question belongs to"},"title":{"type":"string","example":"What is your name?","description":"The title of the question"},"help_text":{"type":"string","example":"Gareth","description":"Input placeholder text"},"caption":{"type":"string","example":"Your full legal name","description":"Text to describe the input"},"type":{"type":"string","example":"string","description":"The type of question"},"required":{"type":"boolean","example":true,"description":"Whether the question is required"},"position":{"type":"integer","example":1,"description":"The position of the question in the section"},"selection_options":{"type":"array","example":["option 1","option 2"],"description":"The options for selection questions","items":{"type":"string"}},"target_field":{"type":"string","example":"name","description":"The field to update upon question completion"},"key":{"type":"string","example":"what_is_your_name","description":"The key to use when updating the target field"},"linked_question":{"type":"object","properties":{"type":{"type":"string","example":"selection"},"field":{"type":"string","example":"gender"},"label":{"type":"string","example":"Gender"},"formatted_field":{"type":"string","example":"Gender"},"selection_options":{"type":"array","example":["male","female","non-binary","transgender","intersex","other","unknown"],"items":{"type":"string"}},"is_custom_field":{"type":"boolean","example":false},"forced_required":{"type":"boolean","example":false},"caption":{"type":"string","example":"Your drink preference"}},"description":"the linked form question"},"linked_primary":{"type":"boolean","example":true,"description":"Will the this linked field become a primary Address/Phone Number/Email Address"}}},"App_Http_Resources_FormAnswerResource":{"type":"object","properties":{"uuid":{"type":"string","example":"3ce257a7-4be8-465b-b361-f8426d2da785"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"value":{"type":"string","example":"this as an answer to a form question"},"question":{"type":"object","properties":{"uuid":{"type":"string","example":"28e5f1b6-65ac-4692-a203-02d26dbc8bb1"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"section":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormSectionResource_Summary"}]},"title":{"type":"string","example":"What is your name?"},"help_text":{"type":"string","example":"Gareth"},"caption":{"type":"string","example":"Your full legal name"},"type":{"type":"string","example":"string"},"required":{"type":"boolean","example":true},"position":{"type":"integer","example":1},"selection_options":{"type":"array","example":["option 1","option 2"],"items":{"type":"string"}},"target_field":{"type":"string","example":"name"},"key":{"type":"string","example":"what_is_your_name"},"linked_question":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FormBuilder_LinkedFormQuestionResource_Summary"}]},"linked_primary":{"type":"boolean","example":true}}}}},"App_Http_Resources_GoalResource":{"type":"object","properties":{"uuid":{"type":"string","example":"843d9a2d-7abf-41e7-b38e-10fdbc87839a"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Reduced Mileage"},"description":{"type":"string","example":"Reduce the amount of gas spent yearly."},"target_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"progress":{"type":"string","example":"68"},"progress_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"progress_type":{"type":"string","example":"percentage"},"timeframe":{"type":"string","example":"Within the year."},"complete_goal_by":{"type":"string","example":"2027-11-18T20:11:43+00:00"},"priority":{"type":"string","example":"4"},"shared_owner_type":{"type":"string","example":"individual"},"shared_owner":{"type":"object","properties":{"uuid":{"type":"string","example":"1600b3e2-f37d-43cf-a928-e110f18dfc6c"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_GroupResource":{"type":"object","properties":{"uuid":{"type":"string","example":"b41d9272-8149-4cc2-a407-1d44d7234c88"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"participants_count":{"type":"string","example":"3"},"participants":{"type":"object","properties":{"uuid":{"type":"object","properties":{"example":{"type":"string","example":"edb7a1d0-13d3-485c-b5cd-4d36c01bab48"},"description":{"type":"string","example":"UUID of the account"}}},"role":{"type":"object","properties":{"example":{"type":"string","example":"client"},"description":{"type":"string","example":"Role of the account"}}},"first_name":{"type":"object","properties":{"example":{"type":"string","example":"Gareth"},"description":{"type":"string","example":"First name of the account"}}},"last_name":{"type":"object","properties":{"example":{"type":"string","example":"Thompson"},"description":{"type":"string","example":"Last name of the account"}}},"name":{"type":"object","properties":{"example":{"type":"string","example":"Gareth Thompson"},"description":{"type":"string","example":"Name of the account"}}},"email":{"type":"object","properties":{"example":{"type":"string","example":"gareth@codepotato.co.uk"},"description":{"type":"string","example":"Email of the account"}}}}},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}},"example":[{"uuid":"b41d9272-8149-4cc2-a407-1d44d7234c88","name":"finance","slug":"finance","participants_count":"3","participants":{"uuid":{"example":"edb7a1d0-13d3-485c-b5cd-4d36c01bab48","description":"UUID of the account"},"role":{"example":"client","description":"Role of the account"},"first_name":{"example":"Gareth","description":"First name of the account"},"last_name":{"example":"Thompson","description":"Last name of the account"},"name":{"example":"Gareth Thompson","description":"Name of the account"},"email":{"example":"gareth@codepotato.co.uk","description":"Email of the account"}},"created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00"}]},"App_Http_Resources_Plans_HoldingResource":{"type":"object","properties":{"uuid":{"type":"string","example":"fd6098bf-7f04-4702-bf24-cd58fc934cdb","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"fund_name":{"type":"string","example":"Fund","description":"The name of the fund."},"reference":{"type":"string","example":"REF123","description":"The reference of the holding."},"sector":{"type":"string","example":"Europe","description":"The sector of the holding."},"sedol":{"type":"string","example":"ACB123","description":"The SEDOL of the holding."},"isin":{"type":"string","example":"ACB123","description":"The ISIN of the holding."},"citi":{"type":"string","example":"ACB123","description":"The CITI of the holding."},"units":{"type":"integer","example":5,"description":"Holding units as a decimal."},"unit_price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"1000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£10.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The unit price of the holding."},"unit_price_raw":{"type":"integer","example":10,"description":"The raw unit price of the holding."},"purchase_price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The purchase price of the holding."},"is_active":{"type":"boolean","example":true,"description":"Denotes if the holding is active or not."},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The current value of the holding."},"sub_account":{"type":"object","properties":{"uuid":{"type":"string","example":"9b5e8f55-ba78-4d7e-b251-4a5c2d05aec7"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}},"description":"The holdings sub account."},"external_references":{"type":"object","properties":{"uuid":{"type":"string","example":"e032cddd-444c-4148-b159-1f7e8bdd47f6"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"third_party":{"type":"string","example":"nucleus"},"reference":{"type":"string","example":"AB123456"}},"description":"The external references of the holding."}}},"App_Http_Resources_V2_HoldingResource":{"type":"object","properties":{"uuid":{"type":"string","example":"310677bd-eb31-4c8e-9c33-97bef13f7899"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"plan_uuid":{"type":"string","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"},"sub_account_uuid":{"type":"string","example":"6a6a176d-52bc-47f2-88c3-141d44059bcf"},"fund_name":{"type":"string","example":"Fund"},"reference":{"type":"string","example":"REF123"},"provider":{"type":"string","example":"Vanguard"},"sector":{"type":"string","example":"Europe"},"sedol":{"type":"string","example":"ACB123"},"isin":{"type":"string","example":"ACB123"},"citi":{"type":"string","example":"ACB123"},"units":{"type":"integer","example":5},"unit_price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"1000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£10.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"unit_price_raw":{"type":"integer","example":10},"purchase_price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"currency":{"type":"string","example":"GBP"},"is_active":{"type":"boolean","example":true},"plan":{"type":"object","properties":{"uuid":{"type":"string","example":"bd2cb85d-4ee2-49eb-aae0-87a5a1a1d8ac"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:45+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"sub_account":{"type":"object","properties":{"uuid":{"type":"string","example":"8bc02894-015a-455b-bc6e-96e23720805a"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}}},"portfolio":{"type":"object","properties":{"uuid":{"type":"string","example":"d2971dfd-4d57-4521-afc8-f15d0fffec42"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"is_proposed":{"type":"boolean","example":true},"proposed_at":{"type":"string","example":"2026-11-18T00:00:00+00:00"},"name":{"type":"string","example":"Risky Portfolio"}}},"external_references":{"type":"object","properties":{"uuid":{"type":"string","example":"f4fb1d8b-b097-496b-a421-b7f32f2c5ee0"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"third_party":{"type":"string","example":"nucleus"},"reference":{"type":"string","example":"AB123456"}}}}},"App_Http_Resources_ImportResource":{"type":"object","properties":{"uuid":{"type":"string","example":"e9ac270c-d0d3-434d-8da7-390ac09edbc7"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"clients"},"mode":{"type":"string","example":"store"},"headers":{"type":"array","example":["fname","lname","email"],"items":{"type":"string"}},"mapping":{"type":"object","properties":{"fname":{"type":"string","example":"first_name"},"lname":{"type":"string","example":"last_name"},"email":{"type":"string","example":"email"}}},"importable_uuid":{"type":"string","example":"9f223945-ce96-4158-bf97-636f360baa82"},"parameters":{"type":"object","properties":{"revenue_type_mapping":{"type":"object","properties":{"IF":{"type":"string","example":"initial_fee"},"ADJ":{"type":"string","example":"adjustment"}}}}},"status":{"type":"string","example":"processing"},"total_jobs":{"type":"integer","example":4},"progress":{"type":"integer","example":100},"jobs_remaining":{"type":"integer","example":1},"failed_jobs":{"type":"integer","example":1},"error_report":{"type":"object","properties":{"uuid":{"type":"string","example":"5a6307b0-b1ae-4e8b-89f9-d2f139f67ed0"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"original_created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"uploaded_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"status":{"type":"string","example":"uploaded"},"filename":{"type":"string","example":"Welcome to Plannr.pdf"},"name":{"type":"string","example":"Welcome to Plannr"},"extension":{"type":"string","example":"pdf"},"type":{"type":"string","example":"type"},"size":{"type":"string","example":"21691783"},"path":{"type":"string","example":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf"},"last_modified":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"progress":{"type":"string","example":"100"},"download_url":{"type":"string","example":"https://api.plannrcrm.com/file/fc1f4aae-6dff-4556-a987-08478a495f3c/download"},"preview_url":{"type":"string","example":"https://api.plannrcrm.com/file/7f2c2b9d-9c18-41ff-9707-486cf77207e7/preview"},"folder_name":{"type":"string","example":"folder 2"},"folder":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"documentable_type":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"navigator":{"type":"object","properties":{"model_type":{"type":"string","example":"account"},"model_uuid":{"type":"string","example":"bc2e9c5a-c2fa-405f-81d3-13c918aadeed"}}},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]}}},"errors":{"type":"object","properties":{"client":{"type":"object","properties":{"example":{"type":"array","example":[]},"description":{"type":"string","example":"Client that failed importing"}}},"errors":{"type":"object","properties":{"example":{"type":"object","properties":{"send_welcome_email":{"type":"array","example":["The send welcome email field is required."],"items":{"type":"string"}}}},"description":{"type":"string","example":"The reasons why the client failed importing"}}}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"73ac4c4b-7b5e-4f0a-a205-c15ceb8a363e"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_ImportKeysResource":{"type":"object","properties":{"keys":{"type":"array","example":["name","uuid","client_uuid","type","sub_type","provider_uuid","policy_number"],"description":"List of keys for the specified importer","items":{"type":"string"}}},"example":{"keys":["name","uuid","client_uuid","type","sub_type","provider_uuid","policy_number"]}},"App_Http_Resources_ImportModesResource":{"type":"object","properties":{"modes":{"type":"array","example":["store","update","validate"],"description":"List of allowed modes for the specified importer","items":{"type":"string"}}},"example":{"modes":["store","update","validate"]}},"App_Http_Resources_AddressResource_Summary":{"type":"object","properties":{"uuid":{"example":"797f496b-5ab0-4fde-b43e-63dea1158809","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Work Address","description":"Name of the address"},"address_1":{"example":"Suite E, 5 The Briars","description":"First line of the address"},"address_2":{"example":"Waterberry Drive","description":"Second line of the address"},"address_3":{"example":"The Innovative Centre","description":"Third line of the address"},"address_4":{"example":"Waterlooville","description":"Fourth line of the address"},"town_city":{"example":"Waterlooville","description":"Town/City"},"county":{"example":"Hampshire","description":"County"},"postcode":{"example":"PO7 7YH","description":"Postcode"},"country":{"example":"United Kingdom","description":"Country"},"move_in_date":{"example":"2025-11-18","description":"Address move in date. This field may provide inaccurate data. We recommend using the v2/addresses API which has the moved_in_month and moved_in_year fields instead."}},"example":{"uuid":"797f496b-5ab0-4fde-b43e-63dea1158809","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","name":"Work Address","address_1":"Suite E, 5 The Briars","address_2":"Waterberry Drive","address_3":"The Innovative Centre","address_4":"Waterlooville","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom","move_in_date":"2025-11-18"}},"App_Http_Resources_TurnoverHistoryResource_Summary":{"type":"object","properties":{"year":{"example":2020,"description":"The year of the turnover."},"value":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"The value of the turnover."}},"example":{"year":2020,"value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}}}},"App_Http_Resources_IncomeResource_Summary":{"type":"object","properties":{"uuid":{"example":"12d9bd8b-a297-43fb-9b2e-738f84c651ff","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"My Salary","description":"The name of the income."},"type":{"example":"salary","description":"The type of income."},"type_other":{"example":"Other income type","description":"The other type of income, if the type is \"other\"."},"amount":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"The amount of the income."},"amount_type":{"example":"net","description":"The type of the amount."},"start_date":{"example":"2025-11-18","description":"The start date of the income."},"end_date":{"example":"2026-11-18","description":"The end date of the income."},"frequency":{"example":"annually","description":"The frequency of the income."},"is_taxable":{"example":true,"description":"Denotes if the income is taxable or not."},"shared_owner_type":{"example":"individual","description":"Denotes if the employment is shared across the client or belongs to one of the owners of the client. (Only applicable for joint/business/trust clients)."}},"example":{"uuid":"12d9bd8b-a297-43fb-9b2e-738f84c651ff","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","name":"My Salary","type":"salary","type_other":"Other income type","amount":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"amount_type":"net","start_date":"2025-11-18","end_date":"2026-11-18","frequency":"annually","is_taxable":true,"shared_owner_type":"individual"}},"App_Http_Resources_IncomeResource":{"type":"object","properties":{"uuid":{"type":"string","example":"910a1241-c6eb-4685-a377-d391c59bd041"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"My Salary"},"type":{"type":"string","example":"salary"},"type_other":{"type":"string","example":"Other income type"},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"amount_type":{"type":"string","example":"net"},"start_date":{"type":"string","example":"2025-11-18"},"end_date":{"type":"string","example":"2026-11-18"},"frequency":{"type":"string","example":"annually"},"is_taxable":{"type":"boolean","example":true},"shared_owner_type":{"type":"string","example":"individual"},"shared_owner":{"type":"object","properties":{"uuid":{"type":"string","example":"c4f05a9b-97b8-4ea0-ab61-9e242740a953"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"employment":{"type":"object","properties":{"uuid":{"type":"string","example":"0ea723ad-c681-4708-af4e-a2e5369c29ea"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"status":{"type":"string","example":"employed"},"occupation":{"type":"string","example":"Financial Adviser"},"occupation_code":{"type":"string","example":"FAC02774"},"job_title":{"type":"string","example":"Senior financial adviser"},"employer":{"type":"string","example":"Plannr Technologies Ltd"},"started_at":{"type":"string","example":"2021-11-18T20:11:43+00:00"},"ended_at":{"type":"string","example":"2022-11-18T20:11:43+00:00"},"is_business_owner":{"type":"boolean","example":true},"percentage_of_business_shared":{"type":"integer","example":50},"address":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AddressResource_Summary"}]},"phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"email_address":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"shared_owner_type":{"type":"string","example":"individual"},"shared_owner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"last_salary_increase":{"type":"string","example":"2019-01-01"},"business_name":{"type":"string","example":"My Business"},"business_year_end":{"type":"string","example":"2020-12-31"},"business_value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"directors":{"type":"string","example":"Susan F. Lancaster"},"shareholding_in_business":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"profit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"accountant_company_name":{"type":"string","example":"My Accountant"},"accountant_email":{"type":"string","example":"accountant@email.com"},"accountant_telephone_number":{"type":"string","example":"+441234567890"},"accountant_address":{"type":"string","example":"23 Chollerton, Hexham, Northumberland, NE46 4TF"},"primary":{"type":"boolean","example":true},"turnover_history":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TurnoverHistoryResource_Summary"}]},"income":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_IncomeResource_Summary"}]}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"b68ea343-96d8-4105-bbd9-67c312758e71"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_V2_IncomeResource":{"type":"object","properties":{"uuid":{"type":"string","example":"054fa686-08eb-4b50-b332-34a0f7113525"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"My Salary"},"type":{"type":"string","example":"salary"},"type_other":{"type":"string","example":"Other income type"},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"amount_type":{"type":"string","example":"net"},"start_date":{"type":"string","example":"2025-11-18"},"end_date":{"type":"string","example":"2026-11-18"},"frequency":{"type":"string","example":"annually"},"is_taxable":{"type":"boolean","example":true},"employment":{"type":"object","properties":{"uuid":{"type":"string","example":"12311f48-72bc-4860-bf28-7293d9b2cac4"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"status":{"type":"string","example":"employed"},"primary":{"type":"boolean","example":true},"occupation":{"type":"string","example":"Financial Adviser"},"occupation_code":{"type":"string","example":"FAC02774"},"job_title":{"type":"string","example":"Senior financial adviser"},"employer":{"type":"string","example":"Plannr Technologies Ltd"},"started_at":{"type":"string","example":"2021-11-18T20:11:45+00:00"},"ended_at":{"type":"string","example":"2022-11-18T20:11:45+00:00"},"is_business_owner":{"type":"boolean","example":true},"percentage_of_business_shared":{"type":"integer","example":50},"address":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AddressResource_Summary"}]},"phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"email_address":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"shared_owner_type":{"type":"string","example":"individual"},"shared_owner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"last_salary_increase":{"type":"string","example":"2019-01-01"},"business_name":{"type":"string","example":"My Business"},"business_year_end":{"type":"string","example":"2020-12-31"},"business_value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"directors":{"type":"string","example":"Susan F. Lancaster"},"shareholding_in_business":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"profit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"accountant_company_name":{"type":"string","example":"My Accountant"},"accountant_email":{"type":"string","example":"accountant@email.com"},"accountant_telephone_number":{"type":"string","example":"+441234567890"},"accountant_address":{"type":"string","example":"23 Chollerton, Hexham, Northumberland, NE46 4TF"},"turnover_history":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TurnoverHistoryResource_Summary"}]},"income":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_IncomeResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"6aed81ec-c7f5-4d5e-bb06-da2626148fb4"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_Plans_PremiumResource_Summary":{"type":"object","properties":{"uuid":{"example":"5767a799-265d-49d2-a11a-eb0fbaa1823c","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"transfer_type":{"example":"transfer","description":"Transfer type"},"date_of_transfer_valuation":{"example":"2026-07-02","description":"Date of transfer valuation"},"date_advice_given":{"example":"2026-05-28","description":"Date advice given"},"premium":{"example":74584,"description":"The calculated premium amount which is received at frequency intervals"},"premium_monthly":{"example":298336,"description":"The calculated premium amount which is received as a monthly value"},"premium_annually":{"example":3580032,"description":"The calculated premium amount which is received as an annual value"},"total_premium_to_date":{"example":74584,"description":"The total of this premium so far to current date or end date according to frequency"},"amount":{"example":74584,"description":"Premium amount in pennies. Either amount or percentage can be given in request"},"percentage":{"example":5.5,"description":"Premium percentage of the plans pensionable salary. Either amount or percentage can be given in request"},"frequency":{"example":"weekly","description":"Frequency of the premium"},"source":{"example":"employee","description":"Premium source. Only required for pension plans"},"payment_method":{"example":"direct_debit","description":"Payment method"},"start_date":{"example":"2026-10-04","description":"Start date"},"end_date":{"example":"2028-11-18","description":"End date. Blank for ongoing"},"pensionable_salary":{"example":10000000,"description":"The pensionable salary that was used to calculate percentage based premium"},"details":{"example":"Extra premium details","description":"Details"},"transferred_from_plan_type":{"example":"cash_account","description":"Plan type this premium was transferred from if the actual plan is unknown"},"transferred_from_plan_sub_type":{"example":"cash_deposit","description":"Plan sub type this premium was transferred from if the actual plan is unknown"}},"example":{"uuid":"5767a799-265d-49d2-a11a-eb0fbaa1823c","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","transfer_type":"transfer","date_of_transfer_valuation":"2026-07-02","date_advice_given":"2026-05-28","premium":74584,"premium_monthly":298336,"premium_annually":3580032,"total_premium_to_date":74584,"amount":74584,"percentage":5.5,"frequency":"weekly","source":"employee","payment_method":"direct_debit","start_date":"2026-10-04","end_date":"2028-11-18","pensionable_salary":10000000,"details":"Extra premium details","transferred_from_plan_type":"cash_account","transferred_from_plan_sub_type":"cash_deposit"}},"App_Http_Resources_ProviderStatementResource_Summary":{"type":"object","properties":{"uuid":{"example":"ef6ac775-845f-44c7-9e0d-9216b9e14641","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"number":{"example":23,"description":"Provider statement number"},"name":{"example":"Aviva","description":"Provider name"},"date":{"example":"2026-11-18","description":"Provider statement date"},"reference":{"example":"SW#8434","description":"provider statement reference given by provider"},"filename":{"example":"aviva-statement-may.csv","description":"Filename if uploaded by CSV or automatically from EDI"},"origin":{"example":"upload","description":"how the provider statement was created. Values are edi, manual, upload and auto"},"statement_transactions_count":{"example":6,"description":"Total number of statement transactions within provider statement"},"total_amount":{"example":null,"description":"Total amount of all statement transactions within this provider statement"},"reconciled_expectations_amount":{"example":null,"description":"Total amount reconciled against expectations"},"reconciled_expectations_percentage":{"example":95.68,"description":"Total percentage reconciled against expectations"},"reconciled_bank_transactions_amount":{"example":null,"description":"Total amount reconciled against bank transactions"},"reconciled_bank_transactions_percentage":{"example":95.68,"description":"Total percentage reconciled against bank transactions"},"is_fully_reconciled_to_expectations":{"example":true,"description":"Returns if all statement transactions are fully reconciled to expectations"}},"example":{"uuid":"ef6ac775-845f-44c7-9e0d-9216b9e14641","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","number":23,"name":"Aviva","date":"2026-11-18","reference":"SW#8434","filename":"aviva-statement-may.csv","origin":"upload","statement_transactions_count":6,"total_amount":null,"reconciled_expectations_amount":null,"reconciled_expectations_percentage":95.68,"reconciled_bank_transactions_amount":null,"reconciled_bank_transactions_percentage":95.68,"is_fully_reconciled_to_expectations":true}},"App_Http_Resources_ExpectationResource_Summary":{"type":"object","properties":{"uuid":{"example":"5eb8ccd8-6ecd-4a1e-805b-0ae6bd2d9167","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"payment_origin":{"example":"provider","description":"Who you expect to be paying this expectation"},"type":{"example":"fee","description":"Expectation type, fee or commission"},"category":{"example":"ongoing_fee","description":"Expectation category, used for accurate reporting"},"expected_payment_date":{"example":"2026-11-18T20:11:50+00:00","description":"Expected payment date of expectation"},"tax_exempt":{"example":true,"description":"Denotes if this expectation is tax exempt"},"tax":{"example":20.0,"description":"Tax percentage that was applied to this expectation"},"recurring":{"example":true,"description":"Denotes if this expectation is from a recurring charge"},"is_balanced":{"example":false,"description":"Denotes if the expected amount has been balanced to the reconciled amount"},"unbalanced_expected_amount":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"The unbalanced amount the expectation is expected to received"},"expected_amount":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Amount the expectation is expected to be received"},"gross_amount":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Gross amount the expectation is expected to be received"},"net_amount":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Net amount the expectation is expected to be received"},"amount":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Amount that was entered for the charge"},"percentage":{"example":0.75,"description":"Percentage of plans value that was entered for the charge"},"exclude_from_rmar":{"example":true,"description":"Denotes if this expectation will be excluded from RMAR"},"rmar_type":{"example":"adviser_charge","description":"RMAR type"},"advice_type":{"example":"independent","description":"Advice type"},"service_type":{"example":"initial","description":"Service type"},"advice_area_gross":{"example":{"deposit":7500,"non_regulated":0,"non_rmar":0,"non_investment_insurance":0,"regulated_mortgage":2500,"retail_investment":0,"other_fca_regulated":0,"unknown":0},"description":"RMAR advice area gross values."},"advice_area_net":{"example":{"deposit":7500,"non_regulated":0,"non_rmar":0,"non_investment_insurance":0,"regulated_mortgage":2500,"retail_investment":0,"other_fca_regulated":0,"unknown":0},"description":"RMAR advice area net values."},"chargeable_type":{"example":"plan","description":"Model type this expectation belongs to"},"notes_count":{"example":5,"description":"Notes count"}},"example":{"uuid":"5eb8ccd8-6ecd-4a1e-805b-0ae6bd2d9167","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","payment_origin":"provider","type":"fee","category":"ongoing_fee","expected_payment_date":"2026-11-18T20:11:50+00:00","tax_exempt":true,"tax":20.0,"recurring":true,"is_balanced":false,"unbalanced_expected_amount":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"expected_amount":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"gross_amount":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"net_amount":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"amount":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"percentage":0.75,"exclude_from_rmar":true,"rmar_type":"adviser_charge","advice_type":"independent","service_type":"initial","advice_area_gross":{"deposit":7500,"non_regulated":0,"non_rmar":0,"non_investment_insurance":0,"regulated_mortgage":2500,"retail_investment":0,"other_fca_regulated":0,"unknown":0},"advice_area_net":{"deposit":7500,"non_regulated":0,"non_rmar":0,"non_investment_insurance":0,"regulated_mortgage":2500,"retail_investment":0,"other_fca_regulated":0,"unknown":0},"chargeable_type":"plan","notes_count":5}},"App_Http_Resources_BankTransactionResource_Summary":{"type":"object","properties":{"uuid":{"example":"d19f16a6-20e5-4914-82b1-4c78542d17cc","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"date":{"example":"2022-07-15","description":"Transaction date on bank statement"},"amount":{"example":null,"description":"Transaction amount"},"reference":{"example":"VitalityLtd","description":"Transaction reference on bank statement"},"metadata":{"example":{"client_name":"Gareth Thompson"},"description":"Any metadata that was saved during a CSV import for transactions"},"filename":{"example":"Natwest June 2022 Statement.xlsx","description":"Filename of the CSV import transactions"}},"example":{"uuid":"d19f16a6-20e5-4914-82b1-4c78542d17cc","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","date":"2022-07-15","amount":null,"reference":"VitalityLtd","metadata":{"client_name":"Gareth Thompson"},"filename":"Natwest June 2022 Statement.xlsx"}},"App_Http_Resources_StatementResource_Summary":{"type":"object","properties":{"uuid":{"example":"36e1b220-9b71-4d4a-8fe4-cdf681db5a2d","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"01/06/2022 - 30/06/2022","description":"Statement description"},"start_date":{"example":"2022-06-30","description":"End date of the statement"},"end_date":{"example":"2022-06-01","description":"Start date of the statement"},"locked":{"example":false,"description":"Denotes whether the statement is locked or not"},"locked_at":{"example":"2026-11-18T20:11:50+00:00","description":"The time that the statement was locked at"},"total_expectations":{"example":null,"description":"Total amount of expectations for the statement period"},"total_statement_transactions":{"example":null,"description":"Total amount of statement transactions received for the statement period"},"total_bank_transactions":{"example":null,"description":"Total amount of bank transactions received for the statement period"},"total_expectation_amount_reconciled_to_bank":{"example":null,"description":"Total amount of expectations that have been reconciled to the bank received for the statement period"},"total_expectation_percentage_reconciled_to_bank":{"example":null,"description":"Total percentage of expectations that have been reconciled to the bank received for the statement period"},"expectations_count":{"example":6,"description":"Total number of expectations for the statement period"},"statement_transactions_count":{"example":6,"description":"Total number of statement transactions received for the statement period"}},"example":{"uuid":"36e1b220-9b71-4d4a-8fe4-cdf681db5a2d","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","name":"01/06/2022 - 30/06/2022","start_date":"2022-06-30","end_date":"2022-06-01","locked":false,"locked_at":"2026-11-18T20:11:50+00:00","total_expectations":null,"total_statement_transactions":null,"total_bank_transactions":null,"total_expectation_amount_reconciled_to_bank":null,"total_expectation_percentage_reconciled_to_bank":null,"expectations_count":6,"statement_transactions_count":6}},"App_Http_Resources_StatementTransactionResource_Summary":{"type":"object","properties":{"uuid":{"example":"0858a3be-dd4d-4cc6-affd-f5d7230ad903","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"client_name":{"example":"Gareth Thompson","description":"Client name"},"transaction_reference":{"example":"7ICjcDoBN3","description":"Unique statement transactions reference assigned by the provider"},"policy_number":{"example":"AVIVA_00001","description":"Provider reference of the plan the statement transactions belongs to"},"date":{"example":"2026-11-18","description":"Date of when the provider received the statement transactions"},"gross_amount":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Gross amount"},"net_amount":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Net amount"},"category":{"example":"initial_fee","description":"Expected payment category for accurate reporting"},"payment_origin":{"example":"provider","description":"Who is expected to pay this statement transactions"},"agency_number":{"example":"Agency number","description":"Agency number"},"product_reference":{"example":"Product reference","description":"Product reference"},"adviser_name":{"example":"Adviser name","description":"Adviser name"},"sender_id_sib_number":{"example":"Sender id sib number","description":"Sender id sib number"},"reason":{"example":"Reason","description":"Reason"},"auto_reconciliation_message":{"example":"No plans matching policy number AVIVA_00001.","description":"Reason why this statement transaction could not be auto reconciled against an expectation. Cleared once it is reconciled."},"scheme_name":{"example":"Scheme name","description":"Scheme name"},"scheme_number":{"example":"Scheme number","description":"Scheme number"},"customer_number":{"example":"Customer number","description":"Customer number"},"policy_market_value":{"example":"Policy market value","description":"Policy market value"},"provider":{"example":"Aviva","description":"Provider this statement transaction belongs to if provided"},"metadata":{"example":{"client_name":"Gareth Thompson"},"description":"Any metadata that was saved during a CSV import for statement transactions"}},"example":{"uuid":"0858a3be-dd4d-4cc6-affd-f5d7230ad903","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","client_name":"Gareth Thompson","transaction_reference":"7ICjcDoBN3","policy_number":"AVIVA_00001","date":"2026-11-18","gross_amount":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"net_amount":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"category":"initial_fee","payment_origin":"provider","agency_number":"Agency number","product_reference":"Product reference","adviser_name":"Adviser name","sender_id_sib_number":"Sender id sib number","reason":"Reason","auto_reconciliation_message":"No plans matching policy number AVIVA_00001.","scheme_name":"Scheme name","scheme_number":"Scheme number","customer_number":"Customer number","policy_market_value":"Policy market value","provider":"Aviva","metadata":{"client_name":"Gareth Thompson"}}},"App_Http_Resources_ExpectationWithReconciliationResource":{"type":"object","properties":{"uuid":{"type":"string","example":"adfd0232-a11d-4722-a7de-b79a155ea123"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"payment_origin":{"type":"string","example":"provider"},"type":{"type":"string","example":"fee"},"category":{"type":"string","example":"ongoing_fee"},"expected_payment_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"tax_exempt":{"type":"boolean","example":true},"tax":{"type":"integer","example":20},"recurring":{"type":"boolean","example":true},"is_balanced":{"type":"boolean","example":false},"unbalanced_expected_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"expected_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"percentage":{"type":"number","example":0.75},"exclude_from_rmar":{"type":"boolean","example":true},"rmar_type":{"type":"string","example":"adviser_charge"},"advice_type":{"type":"string","example":"independent"},"service_type":{"type":"string","example":"initial"},"advice_area_gross":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}}},"advice_area_net":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"8b28abbf-37cd-4f54-a4e3-85af08261db2"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"seller":{"type":"object","properties":{"uuid":{"type":"string","example":"f9619666-3671-4d48-8722-7889bbc31a5e"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"author":{"type":"object","properties":{"uuid":{"type":"string","example":"26b80b8c-8521-4857-9d56-e5386263603b"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"charge_schedule":{"type":"object","properties":{"uuid":{"type":"string","example":"18cadb3d-2485-4a38-83e2-81adcf65b9de"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"payment_origin":{"type":"string","example":"provider"},"type":{"type":"string","example":"fee"},"category":{"type":"string","example":"ongoing_fee"},"recurring":{"type":"boolean","example":true},"frequency":{"type":"string","example":"monthly"},"start_date":{"type":"string","example":"2026-03-18"},"end_date":{"type":"string","example":"2026-12-18"},"next_expectation_date":{"type":"string","example":"2026-11-28"},"tax_exempt":{"type":"boolean","example":false},"tax":{"type":"number","example":17.5},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"percentage":{"type":"number","example":0.75},"percentage_frequency":{"type":"string","example":"annually"},"charge_identifier":{"type":"string","example":"PLANNR-72484"},"exclude_from_rmar":{"type":"boolean","example":true},"rmar_type":{"type":"string","example":"adviser_charge"},"advice_type":{"type":"string","example":"independent"},"service_type":{"type":"string","example":"initial"},"advice_area":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}}},"plan_value":{"type":"string","example":"plan"},"chargeable_type":{"type":"object","properties":{"amount":{"type":"string","example":"12000000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£120,000.00"}}},"chargeable":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"author":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"premium":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PremiumResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"notes_count":{"type":"integer","example":5}}},"chargeable_type":{"type":"string","example":"plan"},"chargeable":{"type":"object","properties":{"uuid":{"type":"string","example":"d9a374dd-6c5e-4255-9917-835af57db8e0"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:43+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"statement_transactions":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"7c8db792-2d3d-4217-82f1-372cae8cb6cf"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_name":{"type":"string","example":"Gareth Thompson"},"transaction_reference":{"type":"string","example":"jzSpTEcV7E"},"policy_number":{"type":"string","example":"AVIVA_00001"},"date":{"type":"string","example":"2026-11-18"},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"category":{"type":"string","example":"initial_fee"},"payment_origin":{"type":"string","example":"provider"},"agency_number":{"type":"string","example":"Agency number"},"product_reference":{"type":"string","example":"Product reference"},"adviser_name":{"type":"string","example":"Adviser name"},"sender_id_sib_number":{"type":"string","example":"Sender id sib number"},"reason":{"type":"string","example":"Reason"},"auto_reconciliation_message":{"type":"string","example":"No plans matching policy number AVIVA_00001."},"scheme_name":{"type":"string","example":"Scheme name"},"scheme_number":{"type":"string","example":"Scheme number"},"customer_number":{"type":"string","example":"Customer number"},"policy_market_value":{"type":"string","example":"Policy market value"},"provider":{"type":"string","example":"Aviva"},"provider_statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ProviderStatementResource_Summary"}]},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}}},"expectation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExpectationResource_Summary"}]},"bank_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]}}}},"statement":{"type":"object","properties":{"uuid":{"type":"string","example":"333d1be5-1720-42e9-bc99-998e24a5321e"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"01/06/2022 - 30/06/2022"},"start_date":{"type":"string","example":"2022-06-30"},"end_date":{"type":"string","example":"2022-06-01"},"locked":{"type":"boolean","example":false},"locked_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"locked_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"total_expectations":{"type":"object","properties":{"amount":{"type":"string","example":"124585"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,245.85"}}},"total_statement_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_bank_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_amount_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_percentage_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"8570"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£85.70"}}},"expectations_count":{"type":"integer","example":6},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]}}},"income_splits":{"type":"array","example":[{"splitable_type":"account","splitable_uuid":"4628a13e-590e-4f10-9e3c-bafcae8bfe85","type":"selling_adviser","name":"Gareth Thompson","requested_percentage":70,"percentage":70,"expected_amount":{"amount":"12500","currency":"GBP","formatted":"£125.00"},"expected_gross_amount":{"amount":"12500","currency":"GBP","formatted":"£125.00"},"expected_net_amount":{"amount":"10400","currency":"GBP","formatted":"£104.00"},"expected_fci_recognition":{"amount":"12500","currency":"GBP","formatted":"£125.00"},"reconciled_gross_amount":{"amount":"11483","currency":"GBP","formatted":"£114.83"},"reconciled_net_amount":{"amount":"9569","currency":"GBP","formatted":"£95.69"},"reconciled_fci_recognition":{"amount":"9569","currency":"GBP","formatted":"£95.69"},"bank_receipt_date":"2026-11-18"}],"items":{"type":"object","properties":{"splitable_type":{"type":"string","example":"account"},"splitable_uuid":{"type":"string","example":"4628a13e-590e-4f10-9e3c-bafcae8bfe85"},"type":{"type":"string","example":"selling_adviser"},"name":{"type":"string","example":"Gareth Thompson"},"requested_percentage":{"type":"integer","example":70},"percentage":{"type":"integer","example":70},"expected_amount":{"type":"object","properties":{"amount":{"type":"string","example":"12500"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£125.00"}}},"expected_gross_amount":{"type":"object","properties":{"amount":{"type":"string","example":"12500"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£125.00"}}},"expected_net_amount":{"type":"object","properties":{"amount":{"type":"string","example":"10400"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£104.00"}}},"expected_fci_recognition":{"type":"object","properties":{"amount":{"type":"string","example":"12500"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£125.00"}}},"reconciled_gross_amount":{"type":"object","properties":{"amount":{"type":"string","example":"11483"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£114.83"}}},"reconciled_net_amount":{"type":"object","properties":{"amount":{"type":"string","example":"9569"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£95.69"}}},"reconciled_fci_recognition":{"type":"object","properties":{"amount":{"type":"string","example":"9569"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£95.69"}}},"bank_receipt_date":{"type":"string","example":"2026-11-18"}}}},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"3fabae8e-52d4-42d6-9a27-fb3b7e95ad3a"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"notes_count":{"type":"integer","example":5},"reconciliation":{"type":"object","properties":{"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"percentage":{"type":"integer","example":100},"is_reconciled":{"type":"boolean","example":true}}}}},"App_Http_Resources_ChargeResource_Summary":{"type":"object","properties":{"uuid":{"example":"6d5bbf2f-0c27-44d0-ab07-26c71fd7232e","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"payment_origin":{"example":"provider","description":"Who you expect to be paying this charge"},"type":{"example":"fee","description":"Expectation type, fee or commission"},"category":{"example":"ongoing_fee","description":"Expectation category, used for accurate reporting"},"recurring":{"example":true,"description":"Whether the charge should be recurring at a frequency"},"frequency":{"example":"monthly","description":"Frequency of the recurring charge"},"start_date":{"example":"2026-03-18","description":"Date of one off charge, or when the recurring charge should start from"},"end_date":{"example":"2026-12-18","description":"Date recurring charge should stop, blank for indefinitely"},"next_expectation_date":{"example":"2026-11-28","description":"Date when the next expectation will be available"},"tax_exempt":{"example":false,"description":"Denotes whether tax will be applied to the charge or not"},"tax":{"example":17.5,"description":"Custom tax to be applied to the charge net amount if not tax exempt. Will use the firms default tax rate if not provided"},"amount":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Amount of recurring charge"},"percentage":{"example":0.75,"description":"Percentage of plans value the recurring charge is expecting to take"},"percentage_frequency":{"example":"annually","description":"Frequency which the percentage is describing/calculated from"},"charge_identifier":{"example":"PLANNR-72484","description":"Invoice Number / Charge Identifier"},"exclude_from_rmar":{"example":true,"description":"Whether or not this charge and its expectations will be excluded from RMAR or not"},"rmar_type":{"example":"adviser_charge","description":"RMAR type"},"advice_type":{"example":"independent","description":"Advice type"},"service_type":{"example":"initial","description":"Service type"},"advice_area":{"example":{"deposit":7500,"non_regulated":0,"non_rmar":0,"non_investment_insurance":0,"regulated_mortgage":2500,"retail_investment":0,"other_fca_regulated":0,"unknown":0},"description":"RMAR advice area values."},"plan_value":{"example":"plan","description":"The model type this charge belongs to"},"chargeable_type":{"example":null,"description":"The plan value at the charges start date"},"notes_count":{"example":5,"description":"Notes count"}},"example":{"uuid":"6d5bbf2f-0c27-44d0-ab07-26c71fd7232e","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","payment_origin":"provider","type":"fee","category":"ongoing_fee","recurring":true,"frequency":"monthly","start_date":"2026-03-18","end_date":"2026-12-18","next_expectation_date":"2026-11-28","tax_exempt":false,"tax":17.5,"amount":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"percentage":0.75,"percentage_frequency":"annually","charge_identifier":"PLANNR-72484","exclude_from_rmar":true,"rmar_type":"adviser_charge","advice_type":"independent","service_type":"initial","advice_area":{"deposit":7500,"non_regulated":0,"non_rmar":0,"non_investment_insurance":0,"regulated_mortgage":2500,"retail_investment":0,"other_fca_regulated":0,"unknown":0},"plan_value":"plan","chargeable_type":null,"notes_count":5}},"App_Http_Resources_IncomeSplitResource_Summary":{"type":"object","properties":{"splitable_type":{"example":"account","description":"The income split entity type."},"splitable_uuid":{"example":"ca636c8d-0b65-40ed-b08b-a5de78fd75bb","description":"The income split entity UUID."},"type":{"example":"selling_adviser","description":"The role of the income split entity on this income split."},"name":{"example":"Gareth Thompson","description":"The name of the income split entity."},"requested_percentage":{"example":70,"description":"Percentage of the expected amount this entity requested. Will differ from final results depending on an extra charge splits."},"percentage":{"example":70,"description":"Percentage of the expected amount this income split entity is entitled to."},"expected_amount":{"example":null,"description":"Expected amount this income split entity is entitled to."},"expected_gross_amount":{"example":null,"description":"Expected gross amount this income split entity is entitled to."},"expected_net_amount":{"example":null,"description":"Expected net amount this income split entity is entitled to."},"expected_fci_recognition":{"example":null,"description":"Expected amount this entity will be recognised for FCI."},"reconciled_gross_amount":{"example":null,"description":"Reconciled gross amount this income split entity is entitled to."},"reconciled_net_amount":{"example":null,"description":"Reconciled net amount this income split entity is entitled to."},"reconciled_fci_recognition":{"example":null,"description":"Reconciled amount this entity will be recognised for FCI."},"bank_receipt_date":{"example":"2026-11-18","description":"Date of the bank transaction that is linked to this expectation."}},"example":{"splitable_type":"account","splitable_uuid":"ca636c8d-0b65-40ed-b08b-a5de78fd75bb","type":"selling_adviser","name":"Gareth Thompson","requested_percentage":70,"percentage":70,"expected_amount":null,"expected_gross_amount":null,"expected_net_amount":null,"expected_fci_recognition":null,"reconciled_gross_amount":null,"reconciled_net_amount":null,"reconciled_fci_recognition":null,"bank_receipt_date":"2026-11-18"}},"App_Http_Resources_BankStatementResource_Summary":{"type":"object","properties":{"uuid":{"example":"76ead240-255a-4739-a239-e6cfe1e12f8f","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"number":{"example":23,"description":"Bank statement number"},"reference":{"example":"SW#8434","description":"Bank statement reference given by bank statement"},"date":{"example":"2026-11-18","description":"Bank statement date"},"name":{"example":"Aviva","description":"Bank statement name"},"bank_transactions_count":{"example":6,"description":"Total number of bank transactions within bank statement"},"total_amount":{"example":null,"description":"Total amount of all bank transactions within this bank statement"},"reconciled_amount":{"example":null,"description":"Total amount reconciled"},"reconciled_percentage":{"example":95.68,"description":"Total percentage reconciled"}},"example":{"uuid":"76ead240-255a-4739-a239-e6cfe1e12f8f","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","number":23,"reference":"SW#8434","date":"2026-11-18","name":"Aviva","bank_transactions_count":6,"total_amount":null,"reconciled_amount":null,"reconciled_percentage":95.68}},"App_Http_Resources_StatementTransactionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"279c25e6-200b-484e-bee8-5f3afbdee26c","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"client_name":{"type":"string","example":"Gareth Thompson","description":"Client name"},"transaction_reference":{"type":"string","example":"bERCCiKdS6","description":"Unique statement transactions reference assigned by the provider"},"policy_number":{"type":"string","example":"AVIVA_00001","description":"Provider reference of the plan the statement transactions belongs to"},"date":{"type":"string","example":"2026-11-18","description":"Date of when the provider received the statement transactions"},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Gross amount"},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Net amount"},"category":{"type":"string","example":"initial_fee","description":"Expected payment category for accurate reporting"},"payment_origin":{"type":"string","example":"provider","description":"Who is expected to pay this statement transactions"},"agency_number":{"type":"string","example":"Agency number","description":"Agency number"},"product_reference":{"type":"string","example":"Product reference","description":"Product reference"},"adviser_name":{"type":"string","example":"Adviser name","description":"Adviser name"},"sender_id_sib_number":{"type":"string","example":"Sender id sib number","description":"Sender id sib number"},"reason":{"type":"string","example":"Reason","description":"Reason"},"auto_reconciliation_message":{"type":"string","example":"No plans matching policy number AVIVA_00001.","description":"Reason why this statement transaction could not be auto reconciled against an expectation. Cleared once it is reconciled."},"scheme_name":{"type":"string","example":"Scheme name","description":"Scheme name"},"scheme_number":{"type":"string","example":"Scheme number","description":"Scheme number"},"customer_number":{"type":"string","example":"Customer number","description":"Customer number"},"policy_market_value":{"type":"string","example":"Policy market value","description":"Policy market value"},"provider":{"type":"string","example":"Aviva","description":"Provider this statement transaction belongs to if provided"},"provider_statement":{"type":"object","properties":{"uuid":{"type":"string","example":"c0b89422-5c6e-41df-a0c5-55077157a7e8"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"number":{"type":"integer","example":23},"name":{"type":"string","example":"Aviva"},"date":{"type":"string","example":"2026-11-18"},"reference":{"type":"string","example":"SW#8434"},"filename":{"type":"string","example":"aviva-statement-may.csv"},"origin":{"type":"string","example":"upload"},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]},"total_amount":{"type":"object","properties":{"amount":{"type":"string","example":"345895"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£3,458.95"}}},"reconciled_expectations_amount":{"type":"object","properties":{"amount":{"type":"string","example":"12849"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£128.49"}}},"reconciled_expectations_percentage":{"type":"number","example":95.68},"reconciled_bank_transactions_amount":{"type":"object","properties":{"amount":{"type":"string","example":"22985"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£229.85"}}},"reconciled_bank_transactions_percentage":{"type":"number","example":95.68},"is_fully_reconciled_to_expectations":{"type":"boolean","example":true}},"description":"Provider statement this statement transaction belongs to"},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}},"description":"Any metadata that was saved during a CSV import for statement transactions"},"expectation":{"type":"object","properties":{"uuid":{"type":"string","example":"1518f26d-3d01-4df4-a494-18d3401a5721"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"payment_origin":{"type":"string","example":"provider"},"type":{"type":"string","example":"fee"},"category":{"type":"string","example":"ongoing_fee"},"expected_payment_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"tax_exempt":{"type":"boolean","example":true},"tax":{"type":"integer","example":20},"recurring":{"type":"boolean","example":true},"is_balanced":{"type":"boolean","example":false},"unbalanced_expected_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"expected_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"percentage":{"type":"number","example":0.75},"exclude_from_rmar":{"type":"boolean","example":true},"rmar_type":{"type":"string","example":"adviser_charge"},"advice_type":{"type":"string","example":"independent"},"service_type":{"type":"string","example":"initial"},"advice_area_gross":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}}},"advice_area_net":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}}},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"author":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"charge_schedule":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ChargeResource_Summary"}]},"chargeable_type":{"type":"string","example":"plan"},"chargeable":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"income_splits":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_IncomeSplitResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"notes_count":{"type":"integer","example":5}},"description":"The expectation that the statement transaction has been reconciled against"},"bank_transactions":{"type":"array","description":"The bank payments used to reconcile this statement transaction","items":{"type":"object","properties":{"uuid":{"type":"string","example":"e52034d8-898f-4af4-b4ad-ce0f0840c09e"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"date":{"type":"string","example":"2022-07-15"},"amount":{"type":"object","properties":{"amount":{"type":"string","example":"12399"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£123.99"}}},"reference":{"type":"string","example":"VitalityLtd"},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}}},"filename":{"type":"string","example":"Natwest June 2022 Statement.xlsx"},"bank_statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankStatementResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]}}}},"statement":{"type":"object","properties":{"uuid":{"type":"string","example":"0447615c-79e4-4479-ae6d-3d59297b76f5"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"01/06/2022 - 30/06/2022"},"start_date":{"type":"string","example":"2022-06-30"},"end_date":{"type":"string","example":"2022-06-01"},"locked":{"type":"boolean","example":false},"locked_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"locked_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"total_expectations":{"type":"object","properties":{"amount":{"type":"string","example":"124585"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,245.85"}}},"total_statement_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_bank_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_amount_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_percentage_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"8570"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£85.70"}}},"expectations_count":{"type":"integer","example":6},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]}},"description":"The statement period this statement transaction belongs to"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"b7d2d34e-f97f-4c5d-82b3-8afb82a88a72"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Account that created this statement transaction"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"85611e90-c500-4faf-8f1b-0cbeb1496283"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}},"description":"Firm this statement transaction belongs to"}}},"App_Http_Resources_ProviderStatementResource":{"type":"object","properties":{"uuid":{"type":"string","example":"50e46c95-eed7-46de-9eb5-5a0972f6632f"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"number":{"type":"integer","example":23},"name":{"type":"string","example":"Aviva"},"date":{"type":"string","example":"2026-11-18"},"reference":{"type":"string","example":"SW#8434"},"filename":{"type":"string","example":"aviva-statement-may.csv"},"origin":{"type":"string","example":"upload"},"provider":{"type":"object","properties":{"uuid":{"type":"string","example":"4f23ab7b-35dd-4dd0-b827-4a69e75356a8"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"AJ Bell"},"slug":{"type":"string","example":"aj-bell"}}},"statement":{"type":"object","properties":{"uuid":{"type":"string","example":"aed52162-a356-4cd5-a930-41800867bbfe"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"01/06/2022 - 30/06/2022"},"start_date":{"type":"string","example":"2022-06-30"},"end_date":{"type":"string","example":"2022-06-01"},"locked":{"type":"boolean","example":false},"locked_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"locked_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"total_expectations":{"type":"object","properties":{"amount":{"type":"string","example":"124585"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,245.85"}}},"total_statement_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_bank_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_amount_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_percentage_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"8570"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£85.70"}}},"expectations_count":{"type":"integer","example":6},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]}}},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"c387603c-a9f8-4adc-9d5a-607fac5134c6"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_name":{"type":"string","example":"Gareth Thompson"},"transaction_reference":{"type":"string","example":"EDvjrJpt6t"},"policy_number":{"type":"string","example":"AVIVA_00001"},"date":{"type":"string","example":"2026-11-18"},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"category":{"type":"string","example":"initial_fee"},"payment_origin":{"type":"string","example":"provider"},"agency_number":{"type":"string","example":"Agency number"},"product_reference":{"type":"string","example":"Product reference"},"adviser_name":{"type":"string","example":"Adviser name"},"sender_id_sib_number":{"type":"string","example":"Sender id sib number"},"reason":{"type":"string","example":"Reason"},"auto_reconciliation_message":{"type":"string","example":"No plans matching policy number AVIVA_00001."},"scheme_name":{"type":"string","example":"Scheme name"},"scheme_number":{"type":"string","example":"Scheme number"},"customer_number":{"type":"string","example":"Customer number"},"policy_market_value":{"type":"string","example":"Policy market value"},"provider":{"type":"string","example":"Aviva"},"provider_statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ProviderStatementResource_Summary"}]},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}}},"expectation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExpectationResource_Summary"}]},"bank_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]}}}},"total_amount":{"type":"object","properties":{"amount":{"type":"string","example":"345895"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£3,458.95"}}},"reconciled_expectations_amount":{"type":"object","properties":{"amount":{"type":"string","example":"12849"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£128.49"}}},"reconciled_expectations_percentage":{"type":"number","example":95.68},"reconciled_bank_transactions_amount":{"type":"object","properties":{"amount":{"type":"string","example":"22985"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£229.85"}}},"reconciled_bank_transactions_percentage":{"type":"number","example":95.68},"is_fully_reconciled_to_expectations":{"type":"boolean","example":true}}},"App_Http_Resources_BankStatementResource":{"type":"object","properties":{"uuid":{"type":"string","example":"07ec9439-7039-470a-ba27-3d27c9a437ec"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"number":{"type":"integer","example":23},"reference":{"type":"string","example":"SW#8434"},"date":{"type":"string","example":"2026-11-18"},"name":{"type":"string","example":"Aviva"},"statement":{"type":"object","properties":{"uuid":{"type":"string","example":"012ed9c0-aa66-4f3f-95c6-b6d718b80228"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"01/06/2022 - 30/06/2022"},"start_date":{"type":"string","example":"2022-06-30"},"end_date":{"type":"string","example":"2022-06-01"},"locked":{"type":"boolean","example":false},"locked_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"locked_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"total_expectations":{"type":"object","properties":{"amount":{"type":"string","example":"124585"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,245.85"}}},"total_statement_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_bank_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_amount_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_percentage_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"8570"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£85.70"}}},"expectations_count":{"type":"integer","example":6},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]}}},"bank_transactions_count":{"type":"integer","example":6},"bank_transactions":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"daa5c515-d25d-432e-8bab-e96c615f68ff"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"date":{"type":"string","example":"2022-07-15"},"amount":{"type":"object","properties":{"amount":{"type":"string","example":"12399"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£123.99"}}},"reference":{"type":"string","example":"VitalityLtd"},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}}},"filename":{"type":"string","example":"Natwest June 2022 Statement.xlsx"},"bank_statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankStatementResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]}}}},"total_amount":{"type":"object","properties":{"amount":{"type":"string","example":"345895"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£3,458.95"}}},"reconciled_amount":{"type":"object","properties":{"amount":{"type":"string","example":"12849"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£128.49"}}},"reconciled_percentage":{"type":"number","example":95.68}}},"App_Http_Resources_ChargeResource":{"type":"object","properties":{"uuid":{"type":"string","example":"e9ec5eb1-b3be-43cd-babd-13ede9d9d531"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"payment_origin":{"type":"string","example":"provider"},"type":{"type":"string","example":"fee"},"category":{"type":"string","example":"ongoing_fee"},"recurring":{"type":"boolean","example":true},"frequency":{"type":"string","example":"monthly"},"start_date":{"type":"string","example":"2026-03-18"},"end_date":{"type":"string","example":"2026-12-18"},"next_expectation_date":{"type":"string","example":"2026-11-28"},"tax_exempt":{"type":"boolean","example":false},"tax":{"type":"number","example":17.5},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"percentage":{"type":"number","example":0.75},"percentage_frequency":{"type":"string","example":"annually"},"charge_identifier":{"type":"string","example":"PLANNR-72484"},"exclude_from_rmar":{"type":"boolean","example":true},"rmar_type":{"type":"string","example":"adviser_charge"},"advice_type":{"type":"string","example":"independent"},"service_type":{"type":"string","example":"initial"},"advice_area":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}}},"plan_value":{"type":"string","example":"plan"},"chargeable_type":{"type":"object","properties":{"amount":{"type":"string","example":"12000000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£120,000.00"}}},"chargeable":{"type":"object","properties":{"uuid":{"type":"string","example":"375676e1-b651-46fc-a0d9-76446fd4fee6"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"43644106-8ec6-4db0-a011-3056ce0d9db0"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"author":{"type":"object","properties":{"uuid":{"type":"string","example":"d6238f35-c9b3-46c5-ae25-3e230329ee96"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"seller":{"type":"object","properties":{"uuid":{"type":"string","example":"e1283db8-e632-46f3-ae6b-9020fd88625e"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"premium":{"type":"object","properties":{"uuid":{"type":"string","example":"825194e7-36d7-4985-8de5-96a51371a02d"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"transfer_type":{"type":"string","example":"transfer"},"date_of_transfer_valuation":{"type":"string","example":"2026-07-02"},"date_advice_given":{"type":"string","example":"2026-05-28"},"premium":{"type":"integer","example":74584},"premium_monthly":{"type":"integer","example":298336},"premium_annually":{"type":"integer","example":3580032},"total_premium_to_date":{"type":"integer","example":74584},"amount":{"type":"integer","example":74584},"percentage":{"type":"number","example":5.5},"frequency":{"type":"string","example":"weekly"},"source":{"type":"string","example":"employee"},"payment_method":{"type":"string","example":"direct_debit"},"start_date":{"type":"string","example":"2026-10-04"},"end_date":{"type":"string","example":"2028-11-18"},"pensionable_salary":{"type":"integer","example":10000000},"details":{"type":"string","example":"Extra premium details"},"created_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"transferred_from_plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"transferred_from_plan_type":{"type":"string","example":"cash_account"},"transferred_from_plan_sub_type":{"type":"string","example":"cash_deposit"}}},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"f526073f-9d56-40c8-a9d9-0308b809d937"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"notes_count":{"type":"integer","example":5}}},"App_Http_Resources_StatementTransactionWithReconciliationResource":{"type":"object","properties":{"uuid":{"type":"string","example":"42d25125-e578-4878-8ee4-5f183d090ac1","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"client_name":{"type":"string","example":"Gareth Thompson","description":"Client name"},"transaction_reference":{"type":"string","example":"eWdnfkZecd","description":"Unique statement transactions reference assigned by the provider"},"policy_number":{"type":"string","example":"AVIVA_00001","description":"Provider reference of the plan the statement transactions belongs to"},"date":{"type":"string","example":"2026-11-18","description":"Date of when the provider received the statement transactions"},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Gross amount"},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Net amount"},"category":{"type":"string","example":"initial_fee","description":"Expected payment category for accurate reporting"},"payment_origin":{"type":"string","example":"provider","description":"Who is expected to pay this statement transactions"},"agency_number":{"type":"string","example":"Agency number","description":"Agency number"},"product_reference":{"type":"string","example":"Product reference","description":"Product reference"},"adviser_name":{"type":"string","example":"Adviser name","description":"Adviser name"},"sender_id_sib_number":{"type":"string","example":"Sender id sib number","description":"Sender id sib number"},"reason":{"type":"string","example":"Reason","description":"Reason"},"auto_reconciliation_message":{"type":"string","example":"No plans matching policy number AVIVA_00001.","description":"Reason why this statement transaction could not be auto reconciled against an expectation. Cleared once it is reconciled."},"scheme_name":{"type":"string","example":"Scheme name","description":"Scheme name"},"scheme_number":{"type":"string","example":"Scheme number","description":"Scheme number"},"customer_number":{"type":"string","example":"Customer number","description":"Customer number"},"policy_market_value":{"type":"string","example":"Policy market value","description":"Policy market value"},"provider":{"type":"string","example":"Aviva","description":"Provider this statement transaction belongs to if provided"},"provider_statement":{"type":"object","properties":{"uuid":{"type":"string","example":"4b310abb-1a48-4726-aa90-00b1ffb5f260"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"number":{"type":"integer","example":23},"name":{"type":"string","example":"Aviva"},"date":{"type":"string","example":"2026-11-18"},"reference":{"type":"string","example":"SW#8434"},"filename":{"type":"string","example":"aviva-statement-may.csv"},"origin":{"type":"string","example":"upload"},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]},"total_amount":{"type":"object","properties":{"amount":{"type":"string","example":"345895"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£3,458.95"}}},"reconciled_expectations_amount":{"type":"object","properties":{"amount":{"type":"string","example":"12849"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£128.49"}}},"reconciled_expectations_percentage":{"type":"number","example":95.68},"reconciled_bank_transactions_amount":{"type":"object","properties":{"amount":{"type":"string","example":"22985"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£229.85"}}},"reconciled_bank_transactions_percentage":{"type":"number","example":95.68},"is_fully_reconciled_to_expectations":{"type":"boolean","example":true}},"description":"Provider statement this statement transaction belongs to"},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}},"description":"Any metadata that was saved during a CSV import for statement transactions"},"expectation":{"type":"object","properties":{"uuid":{"type":"string","example":"3c55f7b6-9a8a-47a7-a489-d1f20942978c"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"payment_origin":{"type":"string","example":"provider"},"type":{"type":"string","example":"fee"},"category":{"type":"string","example":"ongoing_fee"},"expected_payment_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"tax_exempt":{"type":"boolean","example":true},"tax":{"type":"integer","example":20},"recurring":{"type":"boolean","example":true},"is_balanced":{"type":"boolean","example":false},"unbalanced_expected_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"expected_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"percentage":{"type":"number","example":0.75},"exclude_from_rmar":{"type":"boolean","example":true},"rmar_type":{"type":"string","example":"adviser_charge"},"advice_type":{"type":"string","example":"independent"},"service_type":{"type":"string","example":"initial"},"advice_area_gross":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}}},"advice_area_net":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}}},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"author":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"charge_schedule":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ChargeResource_Summary"}]},"chargeable_type":{"type":"string","example":"plan"},"chargeable":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"income_splits":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_IncomeSplitResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"notes_count":{"type":"integer","example":5}},"description":"The expectation that the statement transaction has been reconciled against"},"bank_transactions":{"type":"array","description":"The bank payments used to reconcile this statement transaction","items":{"type":"object","properties":{"uuid":{"type":"string","example":"8bc1acb9-cfd7-463e-912e-4dd0fff350a4"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"date":{"type":"string","example":"2022-07-15"},"amount":{"type":"object","properties":{"amount":{"type":"string","example":"12399"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£123.99"}}},"reference":{"type":"string","example":"VitalityLtd"},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}}},"filename":{"type":"string","example":"Natwest June 2022 Statement.xlsx"},"bank_statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankStatementResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]}}}},"statement":{"type":"object","properties":{"uuid":{"type":"string","example":"372b139d-7efa-4bde-9ab1-5be0827f81d0"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"01/06/2022 - 30/06/2022"},"start_date":{"type":"string","example":"2022-06-30"},"end_date":{"type":"string","example":"2022-06-01"},"locked":{"type":"boolean","example":false},"locked_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"locked_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"total_expectations":{"type":"object","properties":{"amount":{"type":"string","example":"124585"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,245.85"}}},"total_statement_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_bank_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_amount_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_percentage_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"8570"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£85.70"}}},"expectations_count":{"type":"integer","example":6},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]}},"description":"The statement period this statement transaction belongs to"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"8402282d-67ea-4f26-b181-fae4b6347b8e"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Account that created this statement transaction"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"4f018a63-98fc-4713-af2c-b368fe355fd0"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}},"description":"Firm this statement transaction belongs to"},"reconciliation":{"type":"object","properties":{"bank_transaction_reconciliation_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"bank_transaction_reconciliation_percentage":{"type":"integer","example":100},"is_fully_reconciled_with_bank_transactions":{"type":"boolean","example":true},"expectation_reconciliation_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"expectation_reconciliation_percentage":{"type":"integer","example":50},"is_reconciled_with_expectation":{"type":"boolean","example":false},"is_fully_reconciled_with_expectations":{"type":"boolean","example":false}},"description":"The reconciliation amount to both expectations and bank transactions"},"bank_transaction_reconciliations":{"type":"object","properties":{"uuid":{"type":"string","example":"0bb50c90-2992-4604-9bc2-9293ca408838"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"statement_transaction":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]},"bank_transaction":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}},"description":"The individual reconciliations against the statement transaction for bank transactions"}}},"App_Http_Resources_BankTransactionWithReconciliationResource":{"type":"object","properties":{"uuid":{"type":"string","example":"4a8ffcc2-64ed-4978-8cc0-f2cda44f80c9"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"date":{"type":"string","example":"2022-07-15"},"amount":{"type":"object","properties":{"amount":{"type":"string","example":"12399"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£123.99"}}},"reference":{"type":"string","example":"VitalityLtd"},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}}},"filename":{"type":"string","example":"Natwest June 2022 Statement.xlsx"},"bank_statement":{"type":"object","properties":{"uuid":{"type":"string","example":"d85d03f2-6afe-436c-81be-64d3de8586ba"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"number":{"type":"integer","example":23},"reference":{"type":"string","example":"SW#8434"},"date":{"type":"string","example":"2026-11-18"},"name":{"type":"string","example":"Aviva"},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"bank_transactions_count":{"type":"integer","example":6},"bank_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionResource_Summary"}]},"total_amount":{"type":"object","properties":{"amount":{"type":"string","example":"345895"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£3,458.95"}}},"reconciled_amount":{"type":"object","properties":{"amount":{"type":"string","example":"12849"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£128.49"}}},"reconciled_percentage":{"type":"number","example":95.68}}},"statement":{"type":"object","properties":{"uuid":{"type":"string","example":"f091a75d-c4f7-4343-be68-9a1e92c7cb1d"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"01/06/2022 - 30/06/2022"},"start_date":{"type":"string","example":"2022-06-30"},"end_date":{"type":"string","example":"2022-06-01"},"locked":{"type":"boolean","example":false},"locked_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"locked_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"total_expectations":{"type":"object","properties":{"amount":{"type":"string","example":"124585"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,245.85"}}},"total_statement_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_bank_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_amount_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_percentage_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"8570"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£85.70"}}},"expectations_count":{"type":"integer","example":6},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"17d44c46-3be5-4776-b53d-e59364d21d56"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"83dbd57b-34ab-4462-b742-e16d5b74e63c"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"reconciliation":{"type":"object","properties":{"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"percentage":{"type":"integer","example":100},"is_reconciled":{"type":"boolean","example":true}}},"reconciliations":{"type":"object","properties":{"uuid":{"type":"string","example":"ed09be1d-9340-449c-a9c9-ebe1008bc781"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"statement_transaction":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]},"bank_transaction":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}}}},"App_Http_Resources_ExpectationResource":{"type":"object","properties":{"uuid":{"type":"string","example":"2dd4f8bb-07be-4ea5-b0c4-eb482843840b","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"payment_origin":{"type":"string","example":"provider","description":"Who you expect to be paying this expectation"},"type":{"type":"string","example":"fee","description":"Expectation type, fee or commission"},"category":{"type":"string","example":"ongoing_fee","description":"Expectation category, used for accurate reporting"},"expected_payment_date":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Expected payment date of expectation"},"tax_exempt":{"type":"boolean","example":true,"description":"Denotes if this expectation is tax exempt"},"tax":{"type":"integer","example":20,"description":"Tax percentage that was applied to this expectation"},"recurring":{"type":"boolean","example":true,"description":"Denotes if this expectation is from a recurring charge"},"is_balanced":{"type":"boolean","example":false,"description":"Denotes if the expected amount has been balanced to the reconciled amount"},"unbalanced_expected_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The unbalanced amount the expectation is expected to received"},"expected_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Amount the expectation is expected to be received"},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Gross amount the expectation is expected to be received"},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Net amount the expectation is expected to be received"},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Amount that was entered for the charge"},"percentage":{"type":"number","example":0.75,"description":"Percentage of plans value that was entered for the charge"},"exclude_from_rmar":{"type":"boolean","example":true,"description":"Denotes if this expectation will be excluded from RMAR"},"rmar_type":{"type":"string","example":"adviser_charge","description":"RMAR type"},"advice_type":{"type":"string","example":"independent","description":"Advice type"},"service_type":{"type":"string","example":"initial","description":"Service type"},"advice_area_gross":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}},"description":"RMAR advice area gross values."},"advice_area_net":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}},"description":"RMAR advice area net values."},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"9ba3ecd3-e9fe-4841-8bd8-b3a67bcb6fe4"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Client this expectation belongs to"},"seller":{"type":"object","properties":{"uuid":{"type":"string","example":"7f3de00f-558e-4ca2-b1e7-d2591b046c4c"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Adviser who sold this expectation"},"author":{"type":"object","properties":{"uuid":{"type":"string","example":"1a145fed-dea6-451f-bfbc-798ba335edd9"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Adviser who created the charge of this expectation"},"charge_schedule":{"type":"object","properties":{"uuid":{"type":"string","example":"9eff40fd-b246-417e-a5fa-d1b286f2544b"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"payment_origin":{"type":"string","example":"provider"},"type":{"type":"string","example":"fee"},"category":{"type":"string","example":"ongoing_fee"},"recurring":{"type":"boolean","example":true},"frequency":{"type":"string","example":"monthly"},"start_date":{"type":"string","example":"2026-03-18"},"end_date":{"type":"string","example":"2026-12-18"},"next_expectation_date":{"type":"string","example":"2026-11-28"},"tax_exempt":{"type":"boolean","example":false},"tax":{"type":"number","example":17.5},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"percentage":{"type":"number","example":0.75},"percentage_frequency":{"type":"string","example":"annually"},"charge_identifier":{"type":"string","example":"PLANNR-72484"},"exclude_from_rmar":{"type":"boolean","example":true},"rmar_type":{"type":"string","example":"adviser_charge"},"advice_type":{"type":"string","example":"independent"},"service_type":{"type":"string","example":"initial"},"advice_area":{"type":"object","properties":{"deposit":{"type":"integer","example":7500},"non_regulated":{"type":"integer","example":0},"non_rmar":{"type":"integer","example":0},"non_investment_insurance":{"type":"integer","example":0},"regulated_mortgage":{"type":"integer","example":2500},"retail_investment":{"type":"integer","example":0},"other_fca_regulated":{"type":"integer","example":0},"unknown":{"type":"integer","example":0}}},"plan_value":{"type":"string","example":"plan"},"chargeable_type":{"type":"object","properties":{"amount":{"type":"string","example":"12000000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£120,000.00"}}},"chargeable":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"author":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"premium":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PremiumResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"notes_count":{"type":"integer","example":5}},"description":"The expectation schedule for a recurring expectation"},"chargeable_type":{"type":"string","example":"plan","description":"Model type this expectation belongs to"},"chargeable":{"type":"object","properties":{"uuid":{"type":"string","example":"ae2a218d-a265-408f-af34-d45ce3527550"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Model this expectation belongs to e.g. plan"},"statement_transactions":{"type":"array","description":"Payments used to reconcile the expectation","items":{"type":"object","properties":{"uuid":{"type":"string","example":"50c01623-7814-414b-be31-e1915c6e8776"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_name":{"type":"string","example":"Gareth Thompson"},"transaction_reference":{"type":"string","example":"lAEDwpdVaG"},"policy_number":{"type":"string","example":"AVIVA_00001"},"date":{"type":"string","example":"2026-11-18"},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"category":{"type":"string","example":"initial_fee"},"payment_origin":{"type":"string","example":"provider"},"agency_number":{"type":"string","example":"Agency number"},"product_reference":{"type":"string","example":"Product reference"},"adviser_name":{"type":"string","example":"Adviser name"},"sender_id_sib_number":{"type":"string","example":"Sender id sib number"},"reason":{"type":"string","example":"Reason"},"auto_reconciliation_message":{"type":"string","example":"No plans matching policy number AVIVA_00001."},"scheme_name":{"type":"string","example":"Scheme name"},"scheme_number":{"type":"string","example":"Scheme number"},"customer_number":{"type":"string","example":"Customer number"},"policy_market_value":{"type":"string","example":"Policy market value"},"provider":{"type":"string","example":"Aviva"},"provider_statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ProviderStatementResource_Summary"}]},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}}},"expectation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExpectationResource_Summary"}]},"bank_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]}}}},"statement":{"type":"object","properties":{"uuid":{"type":"string","example":"eec8e535-11d4-431e-9cad-8f7d4292cc1f"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"01/06/2022 - 30/06/2022"},"start_date":{"type":"string","example":"2022-06-30"},"end_date":{"type":"string","example":"2022-06-01"},"locked":{"type":"boolean","example":false},"locked_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"locked_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"total_expectations":{"type":"object","properties":{"amount":{"type":"string","example":"124585"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,245.85"}}},"total_statement_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_bank_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_amount_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_percentage_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"8570"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£85.70"}}},"expectations_count":{"type":"integer","example":6},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource_Summary"}]}},"description":"The statement period this expectation belongs to"},"income_splits":{"type":"array","example":[{"splitable_type":"account","splitable_uuid":"16882cfe-d518-4b9c-9bbc-1a45328db4ad","type":"selling_adviser","name":"Gareth Thompson","requested_percentage":70,"percentage":70,"expected_amount":{"amount":"12500","currency":"GBP","formatted":"£125.00"},"expected_gross_amount":{"amount":"12500","currency":"GBP","formatted":"£125.00"},"expected_net_amount":{"amount":"10400","currency":"GBP","formatted":"£104.00"},"expected_fci_recognition":{"amount":"12500","currency":"GBP","formatted":"£125.00"},"reconciled_gross_amount":{"amount":"11483","currency":"GBP","formatted":"£114.83"},"reconciled_net_amount":{"amount":"9569","currency":"GBP","formatted":"£95.69"},"reconciled_fci_recognition":{"amount":"9569","currency":"GBP","formatted":"£95.69"},"bank_receipt_date":"2026-11-18"}],"description":"Details of who will be receiving what of this expectation","items":{"type":"object","properties":{"splitable_type":{"type":"string","example":"account"},"splitable_uuid":{"type":"string","example":"16882cfe-d518-4b9c-9bbc-1a45328db4ad"},"type":{"type":"string","example":"selling_adviser"},"name":{"type":"string","example":"Gareth Thompson"},"requested_percentage":{"type":"integer","example":70},"percentage":{"type":"integer","example":70},"expected_amount":{"type":"object","properties":{"amount":{"type":"string","example":"12500"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£125.00"}}},"expected_gross_amount":{"type":"object","properties":{"amount":{"type":"string","example":"12500"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£125.00"}}},"expected_net_amount":{"type":"object","properties":{"amount":{"type":"string","example":"10400"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£104.00"}}},"expected_fci_recognition":{"type":"object","properties":{"amount":{"type":"string","example":"12500"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£125.00"}}},"reconciled_gross_amount":{"type":"object","properties":{"amount":{"type":"string","example":"11483"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£114.83"}}},"reconciled_net_amount":{"type":"object","properties":{"amount":{"type":"string","example":"9569"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£95.69"}}},"reconciled_fci_recognition":{"type":"object","properties":{"amount":{"type":"string","example":"9569"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£95.69"}}},"bank_receipt_date":{"type":"string","example":"2026-11-18"}}}},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"c5031ff7-da25-49e9-869a-d82a68071e7b"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}},"description":"Firm this expectation schedule belongs to"},"notes_count":{"type":"integer","example":5,"description":"Notes count"}}},"App_Http_Resources_IncomeReconciliation_ReconciliationResource":{"type":"object","properties":{"uuid":{"type":"string","example":"f8d257ba-be15-43ab-bb22-f8ee7a35abc8","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The amount that has been reconciled."},"statement_transaction":{"type":"object","properties":{"uuid":{"type":"string","example":"b56c5c52-88f7-4946-9f13-c7c49faad651"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_name":{"type":"string","example":"Gareth Thompson"},"transaction_reference":{"type":"string","example":"kPqTEv4U0F"},"policy_number":{"type":"string","example":"AVIVA_00001"},"date":{"type":"string","example":"2026-11-18"},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"category":{"type":"string","example":"initial_fee"},"payment_origin":{"type":"string","example":"provider"},"agency_number":{"type":"string","example":"Agency number"},"product_reference":{"type":"string","example":"Product reference"},"adviser_name":{"type":"string","example":"Adviser name"},"sender_id_sib_number":{"type":"string","example":"Sender id sib number"},"reason":{"type":"string","example":"Reason"},"auto_reconciliation_message":{"type":"string","example":"No plans matching policy number AVIVA_00001."},"scheme_name":{"type":"string","example":"Scheme name"},"scheme_number":{"type":"string","example":"Scheme number"},"customer_number":{"type":"string","example":"Customer number"},"policy_market_value":{"type":"string","example":"Policy market value"},"provider":{"type":"string","example":"Aviva"},"provider_statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ProviderStatementResource_Summary"}]},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}}},"expectation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExpectationResource_Summary"}]},"bank_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]}},"description":"The statement transaction the reconciliation has been made against."},"bank_transaction":{"type":"object","properties":{"uuid":{"type":"string","example":"ec6cd00d-96e4-4594-82ff-a9dd78903655"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"date":{"type":"string","example":"2022-07-15"},"amount":{"type":"object","properties":{"amount":{"type":"string","example":"12399"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£123.99"}}},"reference":{"type":"string","example":"VitalityLtd"},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}}},"filename":{"type":"string","example":"Natwest June 2022 Statement.xlsx"},"bank_statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankStatementResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]}},"description":"The bank transaction this reconciliation is for."},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"dcc6e611-7753-43c5-ab8d-5695035b1cec"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account that created the reconciliation."}}},"App_Http_Resources_AdviserSplitResource":{"type":"object","properties":{"uuid":{"type":"string","example":"2c1dce11-b88a-4aa0-9770-8b77d250db96"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Trainee Rate"},"firm_percentage":{"type":"integer","example":30},"adviser_percentage":{"type":"integer","example":30},"type":{"type":"string","example":"adviser"}},"example":[{"uuid":"2c1dce11-b88a-4aa0-9770-8b77d250db96","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","name":"Trainee Rate","firm_percentage":30,"adviser_percentage":30,"type":"adviser"}]},"App_Http_Resources_ChargeSplitSchemaResource":{"type":"object","properties":{"uuid":{"type":"string","example":"d8a4711a-3e55-4d3b-9f87-936959a8269b"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Basic Introducer Rate"},"min_percentage":{"type":"integer","example":10},"max_percentage":{"type":"integer","example":20},"default_percentage":{"type":"integer","example":15},"percentage_paid_by_firm":{"type":"integer","example":25},"percentage_paid_by_adviser":{"type":"integer","example":75},"can_change_transfer_fci":{"type":"boolean","example":true},"default_transfer_fci":{"type":"boolean","example":true},"can_change_initial":{"type":"boolean","example":true},"default_initial":{"type":"boolean","example":true},"can_change_ongoing":{"type":"boolean","example":true},"default_ongoing":{"type":"boolean","example":true},"valid_for_advisers":{"type":"boolean","example":true},"valid_for_clients":{"type":"boolean","example":true},"valid_for_introducers":{"type":"boolean","example":true},"visible_to_advisers":{"type":"boolean","example":true}},"example":[{"uuid":"d8a4711a-3e55-4d3b-9f87-936959a8269b","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","name":"Basic Introducer Rate","min_percentage":10,"max_percentage":20,"default_percentage":15,"percentage_paid_by_firm":25,"percentage_paid_by_adviser":75,"can_change_transfer_fci":true,"default_transfer_fci":true,"can_change_initial":true,"default_initial":true,"can_change_ongoing":true,"default_ongoing":true,"valid_for_advisers":true,"valid_for_clients":true,"valid_for_introducers":true,"visible_to_advisers":true}]},"App_Http_Resources_LeadInterestResource":{"type":"object","properties":{"uuid":{"type":"string","example":"1b97ba51-d0ae-4311-97a0-730ccd062101"},"name":{"type":"string","example":"Wealth"},"description":{"type":"string","example":"Investment and wealth management enquiries"},"position":{"type":"integer","example":1},"archived":{"type":"boolean","example":false},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}},"example":[{"uuid":"1b97ba51-d0ae-4311-97a0-730ccd062101","name":"Wealth","description":"Investment and wealth management enquiries","position":1,"archived":false,"created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00"}]},"App_Http_Resources_Leads_LeadSubSourceResource_Summary":{"type":"object","properties":{"uuid":{"example":"2e77cfbb-3318-4892-9d33-c9540ece3315","description":"The UUID of the resource."},"name":{"example":"Google","description":"The name of the lead sub-source."},"description":{"example":"Paid search on Google","description":"An optional description of the lead sub-source."},"position":{"example":1,"description":"The position of the sub-source within its lead source's list."},"archived":{"example":false,"description":"Whether the sub-source is archived and hidden from selection."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."}},"example":{"uuid":"2e77cfbb-3318-4892-9d33-c9540ece3315","name":"Google","description":"Paid search on Google","position":1,"archived":false,"created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00"}},"App_Http_Resources_Leads_LeadSubSourceResource":{"type":"object","properties":{"uuid":{"type":"string","example":"eca1ecc0-1a0d-4d72-afb1-5720ec595303"},"name":{"type":"string","example":"Google"},"description":{"type":"string","example":"Paid search on Google"},"position":{"type":"integer","example":1},"archived":{"type":"boolean","example":false},"lead_source":{"type":"object","properties":{"uuid":{"type":"string","example":"fdb4dbce-c27c-4ff3-8ac9-78143be7dd8a"},"name":{"type":"string","example":"Website"},"description":{"type":"string","example":"Enquiries via the contact page"},"position":{"type":"integer","example":1},"archived":{"type":"boolean","example":false},"sub_sources":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSubSourceResource_Summary"}]},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}},"App_Http_Resources_Leads_LeadSourceResource_Summary":{"type":"object","properties":{"uuid":{"example":"6cbe8899-5b2c-45f2-9ec7-0da21fa9ce4a","description":"The UUID of the resource."},"name":{"example":"Website","description":"The name of the lead source."},"description":{"example":"Enquiries via the contact page","description":"An optional description of the lead source."},"position":{"example":1,"description":"The position of the lead source within the firm's list."},"archived":{"example":false,"description":"Whether the lead source is archived and hidden from selection."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."}},"example":{"uuid":"6cbe8899-5b2c-45f2-9ec7-0da21fa9ce4a","name":"Website","description":"Enquiries via the contact page","position":1,"archived":false,"created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00"}},"App_Http_Resources_Leads_LeadSourceResource":{"type":"object","properties":{"uuid":{"type":"string","example":"bcbf9f1a-c8f4-4ab7-8864-829c44fbdd6d"},"name":{"type":"string","example":"Website"},"description":{"type":"string","example":"Enquiries via the contact page"},"position":{"type":"integer","example":1},"archived":{"type":"boolean","example":false},"sub_sources":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"0108509c-37f9-4d57-a171-6dbdbc47c3eb"},"name":{"type":"string","example":"Google"},"description":{"type":"string","example":"Paid search on Google"},"position":{"type":"integer","example":1},"archived":{"type":"boolean","example":false},"lead_source":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSourceResource_Summary"}]},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}}},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}},"App_Http_Resources_Leads_LeadResource":{"type":"object","properties":{"uuid":{"type":"string","example":"0a4924fe-a6fc-4638-9b53-8e6c515bd913"},"title":{"type":"string","example":"mr"},"first_name":{"type":"string","example":"Sam"},"last_name":{"type":"string","example":"Patel"},"name":{"type":"string","example":"Sam Patel"},"client_type":{"type":"string","example":"individual"},"date_of_birth":{"type":"string","example":"1985-04-12"},"status":{"type":"string","example":"new"},"status_changed_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"is_archived":{"type":"boolean","example":false},"is_disqualified":{"type":"boolean","example":false},"is_pending_disqualified":{"type":"boolean","example":false},"is_promoted":{"type":"boolean","example":false},"can_promote":{"type":"boolean","example":true},"can_update":{"type":"boolean","example":true},"can_archive":{"type":"boolean","example":true},"can_disqualify":{"type":"string","example":"no"},"can_assign":{"type":"boolean","example":false},"can_update_introducer":{"type":"boolean","example":false},"can_view_promoted":{"type":"boolean","example":false},"source":{"type":"object","properties":{"uuid":{"type":"string","example":"05879ccb-e03f-4f4b-bc34-f0395a21dd32"},"name":{"type":"string","example":"Website"},"description":{"type":"string","example":"Enquiries via the contact page"},"position":{"type":"integer","example":1},"archived":{"type":"boolean","example":false},"sub_sources":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSubSourceResource_Summary"}]},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}},"sub_source":{"type":"object","properties":{"uuid":{"type":"string","example":"e115585a-0df7-41bd-8ecd-52ab4dee0410"},"name":{"type":"string","example":"Google"},"description":{"type":"string","example":"Paid search on Google"},"position":{"type":"integer","example":1},"archived":{"type":"boolean","example":false},"lead_source":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSourceResource_Summary"}]},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}},"assigned_account":{"type":"object","properties":{"uuid":{"type":"string","example":"8dd966ef-7b4d-4374-9b2c-6d9394a737d5"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"introduced_by":{"type":"object","properties":{"uuid":{"type":"string","example":"4ec3800e-bd94-49aa-a985-c2e18a0ed3e4"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"created_by":{"type":"object","properties":{"uuid":{"type":"string","example":"de7a2120-5483-48ce-b965-32ff71090107"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"archived_by":{"type":"object","properties":{"uuid":{"type":"string","example":"2ca9a597-35e3-48ee-97d4-523262f58a5e"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"disqualified_by":{"type":"object","properties":{"uuid":{"type":"string","example":"544a063b-5e01-4d47-90c8-036e0250b8ad"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"promoted_by":{"type":"object","properties":{"uuid":{"type":"string","example":"b9b06239-984d-4097-895d-a29d1d81c7b2"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"client_account":{"type":"object","properties":{"uuid":{"type":"string","example":"80784471-f528-463b-ad71-96bb7f5704b8"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"primary_email":{"type":"object","properties":{"uuid":{"type":"string","example":"90dbff69-4391-4f39-9d2f-7b3bc557f4ce"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"phone_number"},"name":{"type":"string","example":"Work number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"primary_phone_number":{"type":"object","properties":{"uuid":{"type":"string","example":"f8f33b0d-3786-4540-bdaf-9ed362a79313"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"phone_number"},"name":{"type":"string","example":"Work number"},"value":{"type":"string","example":"+443330903630"},"phone_number_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}}},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"primary_address":{"type":"object","properties":{"uuid":{"type":"string","example":"55a60249-6bf5-4802-991f-87f988ff6925"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Work Address"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"address_3":{"type":"string","example":"The Innovative Centre"},"address_4":{"type":"string","example":"Waterlooville"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"move_in_date":{"type":"string","example":"2025-11-18"},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"interests":{"type":"array","example":[{"uuid":"7c3c084d-b54c-468d-8eb6-bed50a78a85e","name":"Wealth","description":"Investment and wealth management enquiries","position":1,"archived":false,"created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"7c3c084d-b54c-468d-8eb6-bed50a78a85e"},"name":{"type":"string","example":"Wealth"},"description":{"type":"string","example":"Investment and wealth management enquiries"},"position":{"type":"integer","example":1},"archived":{"type":"boolean","example":false},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}}},"custom_fields":{"type":"array","example":[{"uuid":"152291f0-a07e-4ae8-a28d-b62b9b5309b0","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","type":"string","name":"Favourite Drink","reference":"favourite_drink","is_required":false,"value":"Coffee","selection_options":["Coffee","Tea","Water"],"help_text":"This is the client's favourite drink.","is_retired":false}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"152291f0-a07e-4ae8-a28d-b62b9b5309b0"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"string"},"name":{"type":"string","example":"Favourite Drink"},"reference":{"type":"string","example":"favourite_drink"},"is_required":{"type":"boolean","example":false},"value":{"type":"string","example":"Coffee"},"selection_options":{"type":"array","example":["Coffee","Tea","Water"],"items":{"type":"string"}},"help_text":{"type":"string","example":"This is the client's favourite drink."},"is_retired":{"type":"boolean","example":false}}}},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}}},"App_Http_Resources_LoginResource":{"type":"object","properties":{"uuid":{"type":"string","example":"6dcb718a-0e54-4e15-b8dc-b9f62c7a43ff"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"expires_at":{"type":"string","example":"2027-02-26T20:11:42+00:00"},"has_write_permission":{"type":"boolean","example":false},"has_delete_permission":{"type":"boolean","example":false},"primary":{"type":"boolean","example":false},"receives_unread_notifications_email":{"type":"boolean","example":true},"wealth_enabled":{"type":"boolean","example":true},"goals_enabled":{"type":"boolean","example":true},"factfind_enabled":{"type":"boolean","example":true},"tasks_enabled":{"type":"boolean","example":true},"welcome_enabled":{"type":"boolean","example":true},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"email":{"type":"string","example":"gareth@plannrcrm.com"},"user_type":{"type":"string","example":"standard"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"ad99aa87-2d18-4e25-b679-dc3fee0bf709"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"c21f8edc-85eb-42a8-a455-233539a80c8d"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"is_impersonated":{"type":"boolean","example":false},"is_enterprise":{"type":"boolean","example":false}}},"App_Http_Resources_LogResource":{"type":"object","properties":{"uuid":{"type":"string","example":"7175a033-8220-44fc-b17b-9d7bf00b20eb"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"description":{"type":"string","example":":author :action Mantas Ruigys"},"author":{"type":"object","properties":{"uuid":{"type":"string","example":"a17ae890-d403-4ec7-83a6-8b9dcd764de2"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"modelable":{"type":"object","properties":{"uuid":{"type":"string","example":"a106817e-174c-452c-92fa-ee757abe68b2"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"modelable_type":{"type":"string","example":"client"},"modelable_name":{"type":"string","example":"Mantas Ruigys"},"through":{"type":"object","properties":{"uuid":{"type":"string","example":"b87082cc-b2f1-4cd6-8204-2c834cb07050"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"f581760a-feb2-48a8-b5e6-df95c96963cd"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"accounts":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"object","properties":{"example":{"type":"string","example":"2add24ad-98a9-484a-a627-b24b274600ea"},"description":{"type":"string","example":"The UUID of the resource."},"collection":{"type":"boolean","example":false}}},"created_at":{"type":"object","properties":{"example":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"description":{"type":"string","example":"The timestamp of when the resource was created."},"collection":{"type":"boolean","example":false}}},"updated_at":{"type":"object","properties":{"example":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"description":{"type":"string","example":"The timestamp of when the resource was updated."},"collection":{"type":"boolean","example":false}}},"type":{"type":"object","properties":{"example":{"type":"string","example":"client"},"description":{"type":"string","example":"Account type"},"collection":{"type":"boolean","example":false}}},"role":{"type":"object","properties":{"example":{"type":"string","example":"client"},"description":{"type":"string","example":"Account role"},"collection":{"type":"boolean","example":false}}},"first_name":{"type":"object","properties":{"example":{"type":"string","example":"Gareth"},"description":{"type":"string","example":"First name"},"collection":{"type":"boolean","example":false}}},"last_name":{"type":"object","properties":{"example":{"type":"string","example":"Thompson"},"description":{"type":"string","example":"Last name"},"collection":{"type":"boolean","example":false}}},"name":{"type":"object","properties":{"example":{"type":"string","example":"Gareth Thompson"},"description":{"type":"string","example":"Name"},"collection":{"type":"boolean","example":false}}},"email":{"type":"object","properties":{"example":{"type":"string","example":"gareth@codepotato.co.uk"},"description":{"type":"string","example":"(Deprecated - Please use the primary email of the account instead). The email of the account."},"collection":{"type":"boolean","example":false}}},"photo_url":{"type":"object","properties":{"example":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"description":{"type":"string","example":"The photo URL of the client"},"collection":{"type":"boolean","example":false}}},"external_references":{"type":"object","properties":{"example":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]},"description":{"type":"string","example":"The external references that have been added to the client."},"collection":{"type":"boolean","example":true}}}}}},"type":{"type":"string","example":"viewed"},"level":{"type":"string","example":"info"},"metadata":{"type":"array","example":[]},"is_impersonated":{"type":"string","example":"false"}}},"App_Http_Resources_MailboxResource":{"type":"object","properties":{"uuid":{"type":"string","example":"1e9ab724-dd8f-43e2-885d-616c94c5b6c4"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"created_by":{"type":"object","properties":{"uuid":{"type":"string","example":"4616b223-f898-4ed5-8bae-e76b99dff09f"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"type":{"type":"string","example":"imap"},"email":{"type":"string","example":"test@example.org"},"name":{"type":"string","example":"Test Mailbox"},"state":{"type":"string","example":"connected"},"enabled":{"type":"boolean","example":true},"message_count":{"type":"integer","example":1}}},"App_Http_Resources_V2_DirectDebitMandateResource":{"type":"object","properties":{"uuid":{"type":"string","example":"f982c612-5dee-4d7f-bcef-e0cb0deac597"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"completed_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"ba5b949c-cf3e-4e4c-afd4-c5b7368d6060"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"f25dde98-166f-48fa-9743-d6212fd61614"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"supported_platform":{"type":"string","example":"seccl"}}},"App_Http_Resources_MortgageSearchResource":{"type":"object","properties":{"uuid":{"type":"string","example":"da4c4bc0-15e5-4444-8a21-b8b7dfc06271"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"My Mortgage Search"},"status":{"type":"string","example":"pending"},"provider":{"type":"string","example":"Mortgage Brain"},"provider_reference":{"type":"string","example":"123456789"},"provider_data":{"type":"array","example":[]},"applicants":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"dc81acb6-b8f1-40ba-8503-03843f6b8f1c"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]}}}},"cases":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"63e9b6eb-9841-4b5b-81f2-bb9ba74e8457"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource_Summary"}]},"type":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource_Summary"}]},"review_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"assigned_to_uuids":{"type":"array","example":["76c09830-e304-45fb-9aa5-11e651b1438d"],"items":{"type":"string"}},"group_uuids":{"type":"array","example":["ea25e820-cc54-4784-9c22-59bf84b32ddb"],"items":{"type":"string"}},"completed_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"status_position":{"type":"integer","example":4},"participants_count":{"type":"integer","example":4},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"task_board_uuid":{"type":"string","example":"8cd41247-f975-475a-9654-45daaa56a4bb"},"plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]}}}},"products":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"1f914440-85e4-4066-b18d-a7cb9db934e6"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"provider_reference":{"type":"string","example":"example-reference"},"provider_scenario_name":{"type":"string","example":"Single Applicant, Small Deposit"},"provider_scenario_data":{"type":"array","example":[]},"lender_name":{"type":"string","example":"HSBC"},"product_title":{"type":"string","example":"5% Fixed Rate - 5 year"},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_MinimalPlanResource_Summary"}]},"mortgage_search":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchResource_Summary"}]}}}},"plans":{"type":"array","example":[{"uuid":"cd8636a7-c984-4ecd-a39b-8bf85c741ae8","created_at":"2026-11-18T20:11:45+00:00","updated_at":"2026-11-18T20:11:45+00:00","opened_at":"2026-11-18T20:11:45+00:00","name":"Johns ISA","type":"cash_account","sub_type":"lifetime isa","abstract_type":"asset","policy_number":"AVIVA-123","proposal_reference":"AB123456","status":"inactive","inactive_at":"2026-11-18T20:11:45+00:00","inactive_reason":"claimed","is_group_scheme":false,"is_sub_group_scheme":false,"is_group_scheme_member":false,"is_wrap_product":false,"is_wrap_child":false}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"cd8636a7-c984-4ecd-a39b-8bf85c741ae8"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false}}}},"files":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"6f9e0ee2-522b-4cea-a6f7-ae5de7065d84"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"original_created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"uploaded_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"status":{"type":"string","example":"uploaded"},"filename":{"type":"string","example":"Welcome to Plannr.pdf"},"name":{"type":"string","example":"Welcome to Plannr"},"extension":{"type":"string","example":"pdf"},"type":{"type":"string","example":"type"},"size":{"type":"string","example":"21691783"},"path":{"type":"string","example":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf"},"last_modified":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"progress":{"type":"string","example":"100"},"download_url":{"type":"string","example":"https://api.plannrcrm.com/file/d142a150-6246-4240-9d6c-102d0889fc1c/download"},"preview_url":{"type":"string","example":"https://api.plannrcrm.com/file/ca9d1c96-dba2-4c09-b0df-4a1f00809316/preview"},"folder_name":{"type":"string","example":"folder 2"},"folder":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"documentable_type":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"navigator":{"type":"object","properties":{"model_type":{"type":"string","example":"account"},"model_uuid":{"type":"string","example":"d91bc43c-14da-4b85-9bfe-6a0277be855e"}}},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]}}}}}},"App_Http_Resources_NetworthResource":{"type":"object","properties":{"valued_at":{"type":"string","example":"2026-11-18T20:11:45+00:00","description":"The timestamp of when the networth was calculated"},"total":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"100000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£1,000,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The total wealth of the client at the given date"},"abstract_types":{"type":"object","properties":{"assets":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"59500000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£595,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"liabilities":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"32500000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£325,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"protection":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"8000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£80,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}},"description":"The total wealth broken down in to plan abstract types"},"plan_types":{"type":"object","properties":{"annuity":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"9172106"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£91,721.06"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"cash_account":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"9452110"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£94,521.10"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"fixed_asset":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"8394776"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£83,947.76"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"general_insurance":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"3091804"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£30,918.04"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"group_protection":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"9767027"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£97,670.27"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"investment":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"3848845"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£38,488.45"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"loan_credit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"7564545"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£75,645.45"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"mortgage":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"3630342"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£36,303.42"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"pension":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"6850594"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£68,505.94"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"protection_policy":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"8796070"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£87,960.70"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}},"description":"The total wealth broken down in to plan types"}},"example":{"valued_at":"2026-11-18T20:11:45+00:00","total":{"amount":{"example":"100000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£1,000,000.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"abstract_types":{"assets":{"amount":{"example":"59500000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£595,000.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"liabilities":{"amount":{"example":"32500000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£325,000.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"protection":{"amount":{"example":"8000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£80,000.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}}},"plan_types":{"annuity":{"amount":{"example":"9172106","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£91,721.06","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"cash_account":{"amount":{"example":"9452110","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£94,521.10","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"fixed_asset":{"amount":{"example":"8394776","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£83,947.76","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"general_insurance":{"amount":{"example":"3091804","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£30,918.04","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"group_protection":{"amount":{"example":"9767027","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£97,670.27","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"investment":{"amount":{"example":"3848845","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£38,488.45","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"loan_credit":{"amount":{"example":"7564545","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£75,645.45","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"mortgage":{"amount":{"example":"3630342","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£36,303.42","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"pension":{"amount":{"example":"6850594","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£68,505.94","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}},"protection_policy":{"amount":{"example":"8796070","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£87,960.70","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}}}}},"App_Http_Resources_newBusinessEventResource":{"type":"object","properties":{"uuid":{"type":"string","example":"2d524a54-b8ee-45c8-95ff-62ec1a93463e","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"plan":{"type":"object","properties":{"uuid":{"type":"string","example":"54eb3c2e-2468-450b-b36b-a31c5f8e7399"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The plan this event belongs to (if included)"},"clients":{"type":"object","properties":{"uuid":{"type":"string","example":"b5a6f714-1860-4f7d-a718-897d079cb50e"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The clients this event belongs to"},"modelable":{"type":"object","properties":{"uuid":{"type":"string","example":"15330232-3f65-48d9-b9f3-2321d910237e"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"This will return a plan or first client in the clients collection"},"modelable_type":{"type":"string","example":"plan","description":"The type of model this event belongs to (plan or client)"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"87ec76f2-d99c-451c-8201-50d4aaeec54f"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}},"description":"The firm which this event belongs to (if included)"},"contribution_type":{"type":"string","example":"increment","description":"The type of contribution this event represents"},"contribution_type_notes":{"type":"string","example":"Contribution type notes","description":"Notes about the contribution type"},"adviser":{"type":"object","properties":{"uuid":{"type":"string","example":"25788373-2f60-48c1-b14e-cb9b061ae84d"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The adviser attached to the event"},"advice_type":{"type":"string","example":"execution_only","description":"The type of advice given"},"conducted_by":{"type":"string","example":"email","description":"How the advice was conducted"},"premium":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"How much premium was paid"},"premium_frequency":{"type":"string","example":"monthly","description":"How often premium is paid"},"start_date":{"type":"string","example":"2021-09-24","description":"The date the premiums started"},"proposal_date":{"type":"string","example":"2021-09-01","description":"The date the proposal was made"},"case":{"type":"object","properties":{"uuid":{"type":"string","example":"55e1d6e4-fba5-4ed6-b2f8-171055e37de6"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource_Summary"}]},"type":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource_Summary"}]},"review_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"assigned_to_uuids":{"type":"array","example":["9831308b-2a90-4952-8c4e-cf2cc0c001c7"],"items":{"type":"string"}},"group_uuids":{"type":"array","example":["b89e1b86-ad9b-47ca-bba4-94633738b2f1"],"items":{"type":"string"}},"completed_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"status_position":{"type":"integer","example":4},"participants_count":{"type":"integer","example":4},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"task_board_uuid":{"type":"string","example":"c35885df-8028-4621-a446-2a915397b700"},"plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]}},"description":"The case this event belongs to (if included)"},"is_vulnerable_client":{"type":"boolean","example":true,"description":"Whether the client is vulnerable"},"is_replacing_existing_plan":{"type":"boolean","example":true,"description":"Whether the client is replacing an existing plan"},"existing_plan":{"type":"object","properties":{"uuid":{"type":"string","example":"5c016f10-77f6-479f-b690-be3dee09d1fe"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The existing plan (if included)"},"existing_plan_details":{"type":"string","example":"Existing plan details","description":"Details about the existing plan"},"opted_out_of_pension_scheme_for_plan":{"type":"boolean","example":true,"description":"Whether the client opted out of a pension scheme"},"opted_out_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Timestamp of when the client opted out"},"opted_out_notes":{"type":"string","example":"Opted out notes","description":"Notes about the opt out"},"status":{"type":"string","example":"accepted","description":"The status of the event"}}},"App_Http_Resources_SubscribeableResource":{"type":"object","properties":{"subscribeable_type":{"type":"string","example":"firm","description":"type of model subscribed to"},"subscribeable_uuid":{"type":"string","example":"dc811dfa-a85e-4c32-b761-d0a8f9554f1e","description":"uuid of model subscribed to"}},"example":{"subscribeable_type":"firm","subscribeable_uuid":"dc811dfa-a85e-4c32-b761-d0a8f9554f1e"}},"App_Http_Resources_NotificationResource":{"type":"object","properties":{"title":{"type":"string","example":"notification-title"},"description":{"type":"string","example":"notification-description"},"model_uuid":{"type":"string","example":"132c61c1-7001-4917-81ff-97535a83d5ee"},"model_type":{"type":"string","example":"firm"}}},"App_Http_Resources_OAuth_OAuthProviderResource":{"type":"object","properties":{"name":{"type":"string","example":"fundment"},"label":{"type":"string","example":"Fundment"},"logo_url":{"type":"string","example":"https://api.plannrcrm.com/imgs/fundment-banner.png"},"authorization_url":{"type":"string","example":"https://api.plannrcrm.com/oauth/fundment/authorize"}},"example":[{"name":"fundment","label":"Fundment","logo_url":"https://api.plannrcrm.com/imgs/fundment-banner.png","authorization_url":"https://api.plannrcrm.com/oauth/fundment/authorize"}]},"App_Http_Resources_OAuth_OAuthConnectionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"f1cb81ab-5f50-4fb9-b971-8b34853d0246"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"provider":{"type":"object","properties":{"name":{"type":"string","example":"fundment"},"label":{"type":"string","example":"Fundment"},"logo_url":{"type":"string","example":"https://api.plannrcrm.com/imgs/fundment-banner.png"},"authorization_url":{"type":"string","example":"https://api.plannrcrm.com/oauth/fundment/authorize"}}},"access_token_expires_at":{"type":"string","example":"2026-11-19T00:11:45.132768Z"},"refresh_token_expires_at":{"type":"string","example":"2027-11-18T20:11:45.132813Z"},"refresh_authorization_url":{"type":"string","example":"https://api.plannrcrm.com/oauth/fundment/authorize/650aef0b-e074-43c8-b8a6-1fbefd8be200"},"label":{"type":"string","example":"My Fundment Account 1"}},"example":[{"uuid":"f1cb81ab-5f50-4fb9-b971-8b34853d0246","created_at":"2026-11-18T20:11:45+00:00","updated_at":"2026-11-18T20:11:45+00:00","provider":{"name":"fundment","label":"Fundment","logo_url":"https://api.plannrcrm.com/imgs/fundment-banner.png","authorization_url":"https://api.plannrcrm.com/oauth/fundment/authorize"},"access_token_expires_at":"2026-11-19T00:11:45.132768Z","refresh_token_expires_at":"2027-11-18T20:11:45.132813Z","refresh_authorization_url":"https://api.plannrcrm.com/oauth/fundment/authorize/650aef0b-e074-43c8-b8a6-1fbefd8be200","label":"My Fundment Account 1"}]},"App_Http_Resources_PlanReturnResource":{"type":"object","properties":{"calculated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"initial_valuation_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"first_valuation_within_date_range":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"time_weighted_return":{"type":"object","properties":{"value":{"type":"number","example":0.21},"growth_value":{"type":"number","example":0.19},"status":{"type":"string","example":"success"},"reason":{"type":"string","example":null,"nullable":true}}},"time_weighted_return.value":{"type":"number","example":0.21},"time_weighted_return.growth_value":{"type":"number","example":0.19},"time_weighted_return.status":{"type":"string","example":"success"},"money_weighted_return":{"type":"object","properties":{"value":{"type":"number","example":0.18},"status":{"type":"string","example":"success"},"reason":{"type":"string","example":null,"nullable":true}}},"money_weighted_return.value":{"type":"number","example":0.18},"money_weighted_return.status":{"type":"string","example":"success"}},"example":[{"calculated_at":"2026-11-18T20:11:45+00:00","initial_valuation_at":"2026-11-18T20:11:45+00:00","first_valuation_within_date_range":"2026-11-18T20:11:45+00:00","time_weighted_return":{"value":0.21,"growth_value":0.19,"status":"success","reason":null},"time_weighted_return.value":0.21,"time_weighted_return.growth_value":0.19,"time_weighted_return.status":"success","money_weighted_return":{"value":0.18,"status":"success","reason":null},"money_weighted_return.value":0.18,"money_weighted_return.status":"success"}]},"App_Http_Resources_Plans_ValuationGraphResource":{"type":"object","properties":{"valued_at":{"type":"string","example":"2026-11-18","description":"The total valuations for that day if there were any."},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"The total valuation value for that day."}},"example":{"valued_at":"2026-11-18","value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}}}},"App_Http_Resources_Plans_GroupSchemeMemberResource_Summary":{"type":"object","properties":{"uuid":{"example":"210681cd-a38c-4ed3-a8dd-380037951a12","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"opened_at":{"example":"2026-11-18T20:11:50+00:00","description":"Timestamp of when the plan was originally opened"},"name":{"example":"Johns ISA","description":"Name of the plan"},"type":{"example":"cash_account","description":"Type of plan, this will indicate what to expect from the fields attribute"},"sub_type":{"example":"lifetime isa","description":"Plan sub type"},"abstract_type":{"example":"asset","description":"describes if the plan is an asset, protection or liability"},"policy_number":{"example":"AVIVA-123","description":"The policy number on the main sub account of the plan"},"proposal_reference":{"example":"AB123456","description":"The proposal reference on the main sub account of the plan"},"status":{"example":"inactive","description":"Plan status"},"inactive_at":{"example":"2026-11-18T20:11:50+00:00","description":"Timestamp of when the plan became inactive"},"inactive_reason":{"example":"claimed","description":"Reason for inactivity"},"agency_in_your_name":{"example":true,"description":"Denotes if plan has agency in your name"},"agency_in_your_name_from":{"example":"2025-11-18","description":"Date the agency was in your name from"},"originally_sold_by_firm":{"example":true,"description":"Denotes if the plan was originally sold by your firm"},"under_advice":{"example":true,"description":"Denotes if plan is under advice"},"visible_on_client_portal":{"example":true,"description":"Denotes if this plan is visible to clients on the client portal"},"include_in_client_valuation":{"example":true,"description":"Denotes if this plan should be included in the client valuation"},"show_on_joint":{"example":true,"description":"Denotes if this individual account can be seen when viewing joint plans on any joint accounts the individual client is a part of"},"shown_on_circles":{"example":true,"description":"Determines if plan should be shown on a circle"},"review_date":{"example":"2025-11-18","description":"Review date"},"on_panel":{"example":true,"description":"On panel"},"is_group_scheme":{"example":false,"description":"Denotes if the plan is a group scheme plan. When a plan is a group scheme plan you will be able to manage group scheme members and sub schemes."},"is_sub_group_scheme":{"example":false,"description":"Denotes if the plan is a sub-scheme of a group scheme."},"is_group_scheme_member":{"example":true,"description":"Denotes if the plan is group scheme member plan. Each group scheme member is their own plan for maximum customisation."},"advice_area":{"example":"non_investment_insurance","description":"The advice area of the plan based on the plan's sub type."},"total_benefit_amount":{"example":{"amount":{"example":"25000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£250,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Total amount benefit of all covers"},"total_benefits":{"example":{"critical_illness":{"amount":{"example":"15000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£150,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"family_income_benefit":{"amount":{"example":"10000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£100,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}}},"description":"Total benefits broken down in to cover types"},"value":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Total value of the plan"},"valued_at":{"example":"2026-11-18T20:11:50+00:00","description":"When the plan was last valued - Please note this is likely going to be the current date. If you would like to see the last real date it was valued by a provider or created manually, use original_valued_at"},"original_valued_at":{"example":"2026-11-17T20:11:50+00:00","description":"When the plan was originally valued - Please note our plans is valued daily but this is the date the valuation was originally added to the system."},"statistics":{"example":{"recent_growth":100},"description":"The statistics on a plan. Only displayed when you retrieve an individual plan"},"is_wrap_product":{"example":false,"description":"Determines if the plan is a wrap plan"},"is_wrap_child":{"example":false,"description":"Determines if the plan is a wrap child"},"can_be_deleted":{"example":"false","description":"Denotes if the plan can be deleted"},"group_scheme_member_detail":{"example":{"workplace_location":"London","employment_division":"Management"},"description":"Any additional group scheme member details."}},"example":{"uuid":"210681cd-a38c-4ed3-a8dd-380037951a12","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","opened_at":"2026-11-18T20:11:50+00:00","name":"Johns ISA","type":"cash_account","sub_type":"lifetime isa","abstract_type":"asset","policy_number":"AVIVA-123","proposal_reference":"AB123456","status":"inactive","inactive_at":"2026-11-18T20:11:50+00:00","inactive_reason":"claimed","agency_in_your_name":true,"agency_in_your_name_from":"2025-11-18","originally_sold_by_firm":true,"under_advice":true,"visible_on_client_portal":true,"include_in_client_valuation":true,"show_on_joint":true,"shown_on_circles":true,"review_date":"2025-11-18","on_panel":true,"is_group_scheme":false,"is_sub_group_scheme":false,"is_group_scheme_member":true,"advice_area":"non_investment_insurance","total_benefit_amount":{"amount":{"example":"25000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£250,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"total_benefits":{"critical_illness":{"amount":{"example":"15000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£150,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"family_income_benefit":{"amount":{"example":"10000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£100,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}}},"value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"valued_at":"2026-11-18T20:11:50+00:00","original_valued_at":"2026-11-17T20:11:50+00:00","statistics":{"recent_growth":100},"is_wrap_product":false,"is_wrap_child":false,"can_be_deleted":"false","group_scheme_member_detail":{"workplace_location":"London","employment_division":"Management"}}},"App_Http_Resources_Plans_GroupSchemeMemberResource":{"type":"object","properties":{"uuid":{"type":"string","example":"3e7a5c2a-0f96-4c05-875f-417f67b1f3ff"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":true},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"type":"object","properties":{"uuid":{"type":"string","example":"aa5df359-2089-4f79-9754-19aacfc00a0b"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}}},"sub_accounts":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"8f5e98ae-c99f-4189-8484-ac837b2c7721"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}}}},"provider":{"type":"object","properties":{"uuid":{"type":"string","example":"e31e39db-e2e4-4d92-870e-d5e1d50106d2"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"AJ Bell"},"slug":{"type":"string","example":"aj-bell"}}},"covers":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"f7ef6e52-4e08-4b8a-9b1c-d01655d335be"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"cover_type":{"type":"string","example":"critical_illness"},"benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"benefit_frequency":{"type":"string","example":"monthly"},"benefit_status":{"type":"string","example":"active"},"excess":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"indexation":{"type":"number","example":1.4},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}}},"claims":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"7c7593d1-cb25-4a6c-9cb1-bc1e7e6668ec"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"claim_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"claim_start_date":{"type":"string","example":"2025-11-18"},"claim_end_date":{"type":"string","example":"2031-11-18"},"claim_notes":{"type":"string","example":"Claim notes"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}}},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"73223d25-c584-443d-9ef4-22cef04b0889"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"sub_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]}}}},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"type":"object","properties":{"uuid":{"type":"string","example":"c36ae260-6b38-410c-8fdc-ecc4303bc29a"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"accounts":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"7416e96c-4d06-413f-922e-c52348e27bb2"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"seller":{"type":"object","properties":{"uuid":{"type":"string","example":"a6bb4fe4-d97d-4576-ab2f-d4fe54c16411"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"linked_owners":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"9771efb5-1829-44bf-89d6-fa1591b8014c"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"linked_plans":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"e2eff2fd-209c-4ca5-992f-8abee54c1a9c"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":true},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_GroupSchemeMemberResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]},"group_scheme":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_GroupSchemeMemberResource_Summary"}]},"group_scheme_member_detail":{"type":"object","properties":{"workplace_location":{"type":"string","example":"London"},"employment_division":{"type":"string","example":"Management"}}}}}},"visible_to_circles":{"type":"object","properties":{"uuid":{"type":"string","example":"2e65c124-a246-44db-9b6d-f057f198d15d"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Jones Family"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=jones+family"},"bg_colour":{"type":"string","example":"#35f4e1"},"has_portal_access":{"type":"boolean","example":true},"portal_access_status":{"type":"string","example":"active"},"engagement_rating":{"type":"string","example":"green"},"last_login":{"type":"object","properties":{"logged_in_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"account_uuid":{"type":"string","example":"uuid"},"account_name":{"type":"string","example":"John Smith"},"device_type":{"type":"string","example":"desktop"},"device_platform":{"type":"string","example":"macos"}}},"portal_login_count_30d":{"type":"integer","example":5},"portal_login_count_90d":{"type":"integer","example":12},"portal_login_count_365d":{"type":"integer","example":48},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"joint_account_uuid":{"type":"string","example":"8f7d38da-120a-448f-b93e-a407c56b23a4"},"login_access_level":{"type":"string","example":"write"},"current_life_stage_uuid":{"type":"string","example":"fb1d643d-9b62-4af7-b94b-dd05309ab109"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"25c6d54c-8e60-43c0-9d58-8edb58fa132d"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource_Summary"}]},"type":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource_Summary"}]},"review_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"assigned_to_uuids":{"type":"array","example":["85c248c3-777c-4086-b478-32575286d198"],"items":{"type":"string"}},"group_uuids":{"type":"array","example":["60bacc48-0065-40d2-bfd8-a5178aa9086a"],"items":{"type":"string"}},"completed_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"status_position":{"type":"integer","example":4},"participants_count":{"type":"integer","example":4},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"task_board_uuid":{"type":"string","example":"f1a2d361-7104-4feb-aea2-7bde8715c033"},"plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]}}}},"tags":{"type":"array","example":[{"uuid":"a47efeb4-5388-44e2-af18-cf89e2f6d3f6","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","name":"Mortgage","slug":"mortgage","colour":"#ef4582"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"a47efeb4-5388-44e2-af18-cf89e2f6d3f6"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Mortgage"},"slug":{"type":"string","example":"mortgage"},"colour":{"type":"string","example":"#ef4582"}}}},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"type":"object","properties":{"uuid":{"type":"string","example":"c4e23310-cc26-442b-a3f5-1c6b4962cb14"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"wrap_children":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"4ebcdc36-173e-4c65-bec7-7e2bf46e7378"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"linked_policy_numbers":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"def26604-0d62-47d0-a64b-d4539d06749c"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"linked_policy_number":{"type":"string","example":"ABC123-X"},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]}}}},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"type":"object","properties":{"uuid":{"type":"string","example":"75af2dab-7642-4db3-a611-004b9eb2168f"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"mortgage_product":{"type":"object","properties":{"uuid":{"type":"string","example":"84e8a2b1-7b2c-41ff-ad8f-7031d68b0cdb"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"provider_reference":{"type":"string","example":"example-reference"},"provider_scenario_name":{"type":"string","example":"Single Applicant, Small Deposit"},"provider_scenario_data":{"type":"array","example":[]},"lender_name":{"type":"string","example":"HSBC"},"product_title":{"type":"string","example":"5% Fixed Rate - 5 year"},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_MinimalPlanResource_Summary"}]},"mortgage_search":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchResource_Summary"}]}}},"custom_fields":{"type":"array","example":[{"uuid":"f6e9788f-5484-4809-a412-d0dcad163758","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","type":"string","name":"Favourite Drink","reference":"favourite_drink","is_required":false,"value":"Coffee","selection_options":["Coffee","Tea","Water"],"help_text":"This is the client's favourite drink.","is_retired":false}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"f6e9788f-5484-4809-a412-d0dcad163758"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"string"},"name":{"type":"string","example":"Favourite Drink"},"reference":{"type":"string","example":"favourite_drink"},"is_required":{"type":"boolean","example":false},"value":{"type":"string","example":"Coffee"},"selection_options":{"type":"array","example":["Coffee","Tea","Water"],"items":{"type":"string"}},"help_text":{"type":"string","example":"This is the client's favourite drink."},"is_retired":{"type":"boolean","example":false}}}},"external_references":{"type":"array","example":[{"uuid":"fd9b3e0b-9f3b-4cb6-b648-6da8ee39dd11","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","third_party":"nucleus","reference":"AB123456"}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"fd9b3e0b-9f3b-4cb6-b648-6da8ee39dd11"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"third_party":{"type":"string","example":"nucleus"},"reference":{"type":"string","example":"AB123456"}}}},"group_scheme":{"type":"object","properties":{"uuid":{"type":"string","example":"ddfc66cc-5cf8-4f23-8f4a-aa1259acaa59"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":true},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_GroupSchemeMemberResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]},"group_scheme":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_GroupSchemeMemberResource_Summary"}]},"group_scheme_member_detail":{"type":"object","properties":{"workplace_location":{"type":"string","example":"London"},"employment_division":{"type":"string","example":"Management"}}}}},"group_scheme_member_detail":{"type":"object","properties":{"workplace_location":{"type":"string","example":"London"},"employment_division":{"type":"string","example":"Management"}}}}},"App_Http_Resources_Plans_SubGroupSchemeResource_Summary":{"type":"object","properties":{"uuid":{"example":"214fe057-8536-40e7-92dd-e4b5b40aada7","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"opened_at":{"example":"2026-11-18T20:11:50+00:00","description":"Timestamp of when the plan was originally opened"},"name":{"example":"Johns ISA","description":"Name of the plan"},"type":{"example":"cash_account","description":"Type of plan, this will indicate what to expect from the fields attribute"},"sub_type":{"example":"lifetime isa","description":"Plan sub type"},"abstract_type":{"example":"asset","description":"describes if the plan is an asset, protection or liability"},"policy_number":{"example":"AVIVA-123","description":"The policy number on the main sub account of the plan"},"proposal_reference":{"example":"AB123456","description":"The proposal reference on the main sub account of the plan"},"status":{"example":"inactive","description":"Plan status"},"inactive_at":{"example":"2026-11-18T20:11:50+00:00","description":"Timestamp of when the plan became inactive"},"inactive_reason":{"example":"claimed","description":"Reason for inactivity"},"agency_in_your_name":{"example":true,"description":"Denotes if plan has agency in your name"},"agency_in_your_name_from":{"example":"2025-11-18","description":"Date the agency was in your name from"},"originally_sold_by_firm":{"example":true,"description":"Denotes if the plan was originally sold by your firm"},"under_advice":{"example":true,"description":"Denotes if plan is under advice"},"visible_on_client_portal":{"example":true,"description":"Denotes if this plan is visible to clients on the client portal"},"include_in_client_valuation":{"example":true,"description":"Denotes if this plan should be included in the client valuation"},"show_on_joint":{"example":true,"description":"Denotes if this individual account can be seen when viewing joint plans on any joint accounts the individual client is a part of"},"shown_on_circles":{"example":true,"description":"Determines if plan should be shown on a circle"},"review_date":{"example":"2025-11-18","description":"Review date"},"on_panel":{"example":true,"description":"On panel"},"is_group_scheme":{"example":false,"description":"Denotes if the plan is a group scheme plan. When a plan is a group scheme plan you will be able to manage group scheme members and sub schemes."},"is_sub_group_scheme":{"example":true,"description":"Denotes if the plan is sub scheme of the group scheme plan."},"is_group_scheme_member":{"example":false,"description":"Denotes if the plan is group scheme member plan. Each group scheme member is their own plan for maximum customisation."},"advice_area":{"example":"non_investment_insurance","description":"The advice area of the plan based on the plan's sub type."},"total_benefit_amount":{"example":{"amount":{"example":"25000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£250,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Total amount benefit of all covers"},"total_benefits":{"example":{"critical_illness":{"amount":{"example":"15000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£150,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"family_income_benefit":{"amount":{"example":"10000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£100,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}}},"description":"Total benefits broken down in to cover types"},"value":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"Total value of the plan"},"valued_at":{"example":"2026-11-18T20:11:50+00:00","description":"When the plan was last valued - Please note this is likely going to be the current date. If you would like to see the last real date it was valued by a provider or created manually, use original_valued_at"},"original_valued_at":{"example":"2026-11-17T20:11:50+00:00","description":"When the plan was originally valued - Please note our plans is valued daily but this is the date the valuation was originally added to the system."},"statistics":{"example":{"recent_growth":100},"description":"The statistics on a plan. Only displayed when you retrieve an individual plan"},"is_wrap_product":{"example":false,"description":"Determines if the plan is a wrap plan"},"is_wrap_child":{"example":false,"description":"Determines if the plan is a wrap child"},"can_be_deleted":{"example":"false","description":"Denotes if the plan can be deleted"}},"example":{"uuid":"214fe057-8536-40e7-92dd-e4b5b40aada7","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","opened_at":"2026-11-18T20:11:50+00:00","name":"Johns ISA","type":"cash_account","sub_type":"lifetime isa","abstract_type":"asset","policy_number":"AVIVA-123","proposal_reference":"AB123456","status":"inactive","inactive_at":"2026-11-18T20:11:50+00:00","inactive_reason":"claimed","agency_in_your_name":true,"agency_in_your_name_from":"2025-11-18","originally_sold_by_firm":true,"under_advice":true,"visible_on_client_portal":true,"include_in_client_valuation":true,"show_on_joint":true,"shown_on_circles":true,"review_date":"2025-11-18","on_panel":true,"is_group_scheme":false,"is_sub_group_scheme":true,"is_group_scheme_member":false,"advice_area":"non_investment_insurance","total_benefit_amount":{"amount":{"example":"25000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£250,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"total_benefits":{"critical_illness":{"amount":{"example":"15000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£150,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"family_income_benefit":{"amount":{"example":"10000000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£100,000.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}}},"value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"valued_at":"2026-11-18T20:11:50+00:00","original_valued_at":"2026-11-17T20:11:50+00:00","statistics":{"recent_growth":100},"is_wrap_product":false,"is_wrap_child":false,"can_be_deleted":"false"}},"App_Http_Resources_Plans_SubGroupSchemeResource":{"type":"object","properties":{"uuid":{"type":"string","example":"aa079faa-d763-4a19-bbfd-1ad62962ee95","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Timestamp of when the plan was originally opened"},"name":{"type":"string","example":"Johns ISA","description":"Name of the plan"},"type":{"type":"string","example":"cash_account","description":"Type of plan, this will indicate what to expect from the fields attribute"},"sub_type":{"type":"string","example":"lifetime isa","description":"Plan sub type"},"abstract_type":{"type":"string","example":"asset","description":"describes if the plan is an asset, protection or liability"},"policy_number":{"type":"string","example":"AVIVA-123","description":"The policy number on the main sub account of the plan"},"proposal_reference":{"type":"string","example":"AB123456","description":"The proposal reference on the main sub account of the plan"},"status":{"type":"string","example":"inactive","description":"Plan status"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Timestamp of when the plan became inactive"},"inactive_reason":{"type":"string","example":"claimed","description":"Reason for inactivity"},"agency_in_your_name":{"type":"boolean","example":true,"description":"Denotes if plan has agency in your name"},"agency_in_your_name_from":{"type":"string","example":"2025-11-18","description":"Date the agency was in your name from"},"originally_sold_by_firm":{"type":"boolean","example":true,"description":"Denotes if the plan was originally sold by your firm"},"under_advice":{"type":"boolean","example":true,"description":"Denotes if plan is under advice"},"visible_on_client_portal":{"type":"boolean","example":true,"description":"Denotes if this plan is visible to clients on the client portal"},"include_in_client_valuation":{"type":"boolean","example":true,"description":"Denotes if this plan should be included in the client valuation"},"show_on_joint":{"type":"boolean","example":true,"description":"Denotes if this individual account can be seen when viewing joint plans on any joint accounts the individual client is a part of"},"shown_on_circles":{"type":"boolean","example":true,"description":"Determines if plan should be shown on a circle"},"review_date":{"type":"string","example":"2025-11-18","description":"Review date"},"on_panel":{"type":"boolean","example":true,"description":"On panel"},"is_group_scheme":{"type":"boolean","example":false,"description":"Denotes if the plan is a group scheme plan. When a plan is a group scheme plan you will be able to manage group scheme members and sub schemes."},"is_sub_group_scheme":{"type":"boolean","example":true,"description":"Denotes if the plan is sub scheme of the group scheme plan."},"is_group_scheme_member":{"type":"boolean","example":false,"description":"Denotes if the plan is group scheme member plan. Each group scheme member is their own plan for maximum customisation."},"advice_area":{"type":"string","example":"non_investment_insurance","description":"The advice area of the plan based on the plan's sub type."},"main_account":{"type":"object","properties":{"uuid":{"type":"string","example":"bb2bb805-7f58-49e3-8e3c-375c8f37186a"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}},"description":"Plans main account"},"sub_accounts":{"type":"array","description":"Plans sub accounts","items":{"type":"object","properties":{"uuid":{"type":"string","example":"146ee60e-b7d2-4cbf-b5c9-bbb346961f2f"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}}}},"provider":{"type":"object","properties":{"uuid":{"type":"string","example":"2f99eb92-2b64-480b-944c-2b2ba13428b5"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"AJ Bell"},"slug":{"type":"string","example":"aj-bell"}},"description":"The plan's provider"},"covers":{"type":"array","description":"Covers of the plan","items":{"type":"object","properties":{"uuid":{"type":"string","example":"16e1cf6c-3a05-4112-9187-4c2a25503077"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"cover_type":{"type":"string","example":"critical_illness"},"benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"benefit_frequency":{"type":"string","example":"monthly"},"benefit_status":{"type":"string","example":"active"},"excess":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"indexation":{"type":"number","example":1.4},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}}},"claims":{"type":"array","description":"Claims of the plan","items":{"type":"object","properties":{"uuid":{"type":"string","example":"fec63c63-7d68-4f46-a5b5-75e9d6b7c567"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"claim_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"claim_start_date":{"type":"string","example":"2025-11-18"},"claim_end_date":{"type":"string","example":"2031-11-18"},"claim_notes":{"type":"string","example":"Claim notes"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}}},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Total amount benefit of all covers"},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}},"description":"Total benefits broken down in to cover types"},"latest_valuations":{"type":"array","description":"The plan's latest valuations (Included when the \"latest_valuations\" relationship is included)","items":{"type":"object","properties":{"uuid":{"type":"string","example":"32ae86a9-bf9a-4b25-a872-3a04738e5e59"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"sub_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]}}}},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Total value of the plan"},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"When the plan was last valued - Please note this is likely going to be the current date. If you would like to see the last real date it was valued by a provider or created manually, use original_valued_at"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00","description":"When the plan was originally valued - Please note our plans is valued daily but this is the date the valuation was originally added to the system."},"client":{"type":"object","properties":{"uuid":{"type":"string","example":"d265f1e8-2007-4ad7-b1ef-4a45fbdadc30"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"[DEPRACATED] Please use accounts instead. The plan's client"},"accounts":{"type":"array","description":"The plan's accounts","items":{"type":"object","properties":{"uuid":{"type":"string","example":"0cb8f655-a953-409e-9f6b-a56459509ff1"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"seller":{"type":"object","properties":{"uuid":{"type":"string","example":"dffcae67-1e9c-49ac-8b7f-85d52e5fa4bb"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Adviser who sold the plan"},"linked_owners":{"type":"array","description":"Other clients who have been linked to this plan","items":{"type":"object","properties":{"uuid":{"type":"string","example":"8d88eee5-f755-4043-bf9e-11edf0acb685"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"linked_plans":{"type":"array","description":"Other plans that have been linked to this plan","items":{"type":"object","properties":{"uuid":{"type":"string","example":"82d809c1-82fa-4935-88dc-71597758e6bb"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":true},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubGroupSchemeResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]},"group_scheme":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubGroupSchemeResource_Summary"}]}}}},"visible_to_circles":{"type":"object","properties":{"uuid":{"type":"string","example":"90007310-5337-4fe8-b36b-14a5838f38a7"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Jones Family"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=jones+family"},"bg_colour":{"type":"string","example":"#35f4e1"},"has_portal_access":{"type":"boolean","example":true},"portal_access_status":{"type":"string","example":"active"},"engagement_rating":{"type":"string","example":"green"},"last_login":{"type":"object","properties":{"logged_in_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"account_uuid":{"type":"string","example":"uuid"},"account_name":{"type":"string","example":"John Smith"},"device_type":{"type":"string","example":"desktop"},"device_platform":{"type":"string","example":"macos"}}},"portal_login_count_30d":{"type":"integer","example":5},"portal_login_count_90d":{"type":"integer","example":12},"portal_login_count_365d":{"type":"integer","example":48},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"joint_account_uuid":{"type":"string","example":"6569a4a8-9b8c-447f-b16d-ba8347b9a356"},"login_access_level":{"type":"string","example":"write"},"current_life_stage_uuid":{"type":"string","example":"34accaf7-2d10-4ce6-b8a4-1856d2a6f609"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Circles which members of circles can see the plan as long as they have the right access level for the circle"},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}},"description":"The statistics on a plan. Only displayed when you retrieve an individual plan"},"cases":{"type":"array","description":"Cases this plan belongs to","items":{"type":"object","properties":{"uuid":{"type":"string","example":"6ab0377d-4f29-4d34-9bc5-07670f3da6f0"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource_Summary"}]},"type":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource_Summary"}]},"review_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"assigned_to_uuids":{"type":"array","example":["9d395363-9e47-49e8-b52f-cab916ac5775"],"items":{"type":"string"}},"group_uuids":{"type":"array","example":["0194c65a-755a-4303-8894-69a6961d9a6b"],"items":{"type":"string"}},"completed_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"status_position":{"type":"integer","example":4},"participants_count":{"type":"integer","example":4},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"task_board_uuid":{"type":"string","example":"018ce5f7-5226-47bf-8d61-6e6c3fa11792"},"plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]}}}},"tags":{"type":"array","example":[{"uuid":"131c95a3-60fc-4849-9e51-847c4ef28319","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","name":"Mortgage","slug":"mortgage","colour":"#ef4582"}],"description":"Tags this plan have been tagged with","items":{"type":"object","properties":{"uuid":{"type":"string","example":"131c95a3-60fc-4849-9e51-847c4ef28319"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Mortgage"},"slug":{"type":"string","example":"mortgage"},"colour":{"type":"string","example":"#ef4582"}}}},"is_wrap_product":{"type":"boolean","example":false,"description":"Determines if the plan is a wrap plan"},"is_wrap_child":{"type":"boolean","example":false,"description":"Determines if the plan is a wrap child"},"wrap":{"type":"object","properties":{"uuid":{"type":"string","example":"b751a014-eef4-40be-933b-782bba5ac654"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"Parent wrap plan. if this plan is linked to a wrap product"},"wrap_children":{"type":"array","description":"List of child plans on a wrap product","items":{"type":"object","properties":{"uuid":{"type":"string","example":"363dcb7e-be8c-4b6e-bf03-5ceb7ddde53c"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"linked_policy_numbers":{"type":"array","description":"Linked policy numbers","items":{"type":"object","properties":{"uuid":{"type":"string","example":"f686cf05-b630-438b-87b3-42a17c8abbc1"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"linked_policy_number":{"type":"string","example":"ABC123-X"},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]}}}},"can_be_deleted":{"type":"string","example":"false","description":"Denotes if the plan can be deleted"},"contract_enquiry_account":{"type":"object","properties":{"uuid":{"type":"string","example":"4ffe9eae-887b-4963-921e-a4525dc78698"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The specific account used to make contract enquiry requests."},"mortgage_product":{"type":"object","properties":{"uuid":{"type":"string","example":"4354da57-4a5a-4579-8221-32597cde2759"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"provider_reference":{"type":"string","example":"example-reference"},"provider_scenario_name":{"type":"string","example":"Single Applicant, Small Deposit"},"provider_scenario_data":{"type":"array","example":[]},"lender_name":{"type":"string","example":"HSBC"},"product_title":{"type":"string","example":"5% Fixed Rate - 5 year"},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_MinimalPlanResource_Summary"}]},"mortgage_search":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchResource_Summary"}]}},"description":"The mortgage search product this plan was created from, if any."},"custom_fields":{"type":"array","example":[{"uuid":"d57f095b-db1b-412e-9621-b2350a30ef7b","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","type":"string","name":"Favourite Drink","reference":"favourite_drink","is_required":false,"value":"Coffee","selection_options":["Coffee","Tea","Water"],"help_text":"This is the client's favourite drink.","is_retired":false}],"description":"Any custom fields on the model.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"d57f095b-db1b-412e-9621-b2350a30ef7b"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"string"},"name":{"type":"string","example":"Favourite Drink"},"reference":{"type":"string","example":"favourite_drink"},"is_required":{"type":"boolean","example":false},"value":{"type":"string","example":"Coffee"},"selection_options":{"type":"array","example":["Coffee","Tea","Water"],"items":{"type":"string"}},"help_text":{"type":"string","example":"This is the client's favourite drink."},"is_retired":{"type":"boolean","example":false}}}},"external_references":{"type":"array","example":[{"uuid":"fe3c2c6f-b77e-4daf-a3eb-b6309580b253","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","third_party":"nucleus","reference":"AB123456"}],"description":"The external references that have been added to the client.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"fe3c2c6f-b77e-4daf-a3eb-b6309580b253"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"third_party":{"type":"string","example":"nucleus"},"reference":{"type":"string","example":"AB123456"}}}},"group_scheme":{"type":"object","properties":{"uuid":{"type":"string","example":"d7887c89-b670-4bf3-83fc-2ce3b4cfacd9"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":true},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubGroupSchemeResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]},"group_scheme":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubGroupSchemeResource_Summary"}]}},"description":"The group scheme that the sub scheme is part of."}}},"App_Http_Resources_Plans_ProviderFeedLogResource":{"type":"object","properties":{"uuid":{"type":"string","example":"2cad70b1-15f0-4774-a884-37e88f9cf055","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"sub_account":{"type":"object","properties":{"uuid":{"type":"string","example":"dd284e37-8f2e-4a39-b7fe-7ef26efaf827"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}},"description":"The sub-account if the log was added to the sub-account level."},"level":{"type":"string","example":"info","description":"The level of the log. Available options: info, warning and error"},"message":{"type":"string","example":"Successfully updated valuation and holdings from provider feed.","description":"The message of the log"},"context":{"type":"object","properties":{"additional":{"type":"string","example":"info"}},"description":"Key-value store for additional information about the log."}}},"App_Http_Resources_Plans_LinkedPolicyNumberResource":{"type":"object","properties":{"uuid":{"type":"string","example":"3ba07395-a455-43ee-86d4-5ce72aefce5f"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"linked_policy_number":{"type":"string","example":"ABC123-X"},"plan":{"type":"object","properties":{"uuid":{"type":"string","example":"7e52c50f-5a3a-4468-a8a8-642c7a4a616f"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:45+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_PlatformDetailResource":{"type":"object","properties":{"uuid":{"type":"string","example":"d1d46fa5-6ff8-4e3c-a645-5eae59ed0a09"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"supported_platform":{"type":"string","example":"seccl"},"config":{"type":"array","example":[]},"friendly_name":{"type":"string","example":"A cool name"}},"example":[{"uuid":"d1d46fa5-6ff8-4e3c-a645-5eae59ed0a09","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","supported_platform":"seccl","config":[],"friendly_name":"A cool name"}]},"App_Http_Resources_Platform_PlatformModelResource":{"type":"object","properties":{"id":{"type":"string","example":"0T8B25"},"name":{"type":"string","example":"Balanced Model Portfolio"},"active":{"type":"boolean","example":true},"riskRating":{"type":"integer","example":3},"additional_data":{"type":"array","example":[]}},"example":[{"id":"0T8B25","name":"Balanced Model Portfolio","active":true,"riskRating":3,"additional_data":[]}]},"App_Http_Resources_Plans_PremiumResource":{"type":"object","properties":{"uuid":{"type":"string","example":"38411042-e05c-4846-a24f-cc23c61705a1"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"transfer_type":{"type":"string","example":"transfer"},"date_of_transfer_valuation":{"type":"string","example":"2026-07-02"},"date_advice_given":{"type":"string","example":"2026-05-28"},"premium":{"type":"integer","example":74584},"premium_monthly":{"type":"integer","example":298336},"premium_annually":{"type":"integer","example":3580032},"total_premium_to_date":{"type":"integer","example":74584},"amount":{"type":"integer","example":74584},"percentage":{"type":"number","example":5.5},"frequency":{"type":"string","example":"weekly"},"source":{"type":"string","example":"employee"},"payment_method":{"type":"string","example":"direct_debit"},"start_date":{"type":"string","example":"2026-10-04"},"end_date":{"type":"string","example":"2028-11-18"},"pensionable_salary":{"type":"integer","example":10000000},"details":{"type":"string","example":"Extra premium details"},"created_by":{"type":"object","properties":{"uuid":{"type":"string","example":"2f2a4172-ad89-466d-8569-81367557cb53"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"plan":{"type":"object","properties":{"uuid":{"type":"string","example":"317334d8-18f2-484b-b33b-dbc8db7706fe"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"transferred_from_plan":{"type":"object","properties":{"uuid":{"type":"string","example":"d79ef86c-9b45-461d-bdf0-ba7725fc5692"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"transferred_from_plan_type":{"type":"string","example":"cash_account"},"transferred_from_plan_sub_type":{"type":"string","example":"cash_deposit"}}},"App_Http_Resources_Plans_ProviderResource":{"type":"object","properties":{"uuid":{"type":"string","example":"b4e6780f-2997-401b-a317-2fadf1fee7b7"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"AJ Bell"},"slug":{"type":"string","example":"aj-bell"}},"example":[{"uuid":"b4e6780f-2997-401b-a317-2fadf1fee7b7","created_at":"2026-11-18T20:11:42+00:00","updated_at":"2026-11-18T20:11:42+00:00","name":"AJ Bell","slug":"aj-bell"}]},"App_Http_Resources_ReportTemplateResource":{"type":"object","properties":{"uuid":{"type":"string","example":"2a559724-7f61-40b5-a6a8-1f73b2a69cf1"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"2 weeks overdue task report"},"created_by":{"type":"object","properties":{"uuid":{"type":"string","example":"93f79352-8eeb-4002-81b1-805c8c626082"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"report_type_id":{"type":"string","example":"rmar"},"report_query":{"type":"object","properties":{"start_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"}}}}},"App_Http_Resources_ReportTypeResource":{"type":"object","properties":{"id":{"type":"string","example":"rmar"},"name":{"type":"string","example":"RMAR Report"},"description":{"type":"string","example":"Generates an RMAR report"},"query_params":{"type":"object","properties":{"start_date":{"type":"object","properties":{"type":{"type":"string","example":"date"},"description":{"type":"string","example":"Start point of created at date for clients"},"example":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}},"end_date":{"type":"object","properties":{"type":{"type":"string","example":"date"},"description":{"type":"string","example":"End point of created at date for clients"},"example":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"options":{"type":"array","example":[]},"required":{"type":"boolean","example":false},"inputs":{"type":"array","example":[]},"list_type":{"type":"string","example":null,"nullable":true},"attributes":{"type":"array","example":[]}}}}}},"example":[{"id":"rmar","name":"RMAR Report","description":"Generates an RMAR report","query_params":{"start_date":{"type":"date","description":"Start point of created at date for clients","example":"2026-11-18T20:11:44+00:00","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]},"end_date":{"type":"date","description":"End point of created at date for clients","example":"2026-11-18T20:11:44+00:00","options":[],"required":false,"inputs":[],"list_type":null,"attributes":[]}}}]},"App_Http_Resources_ReportResource":{"type":"object","properties":{"uuid":{"type":"string","example":"aeb7ac77-3dc2-4fec-925d-bb19c0a97e67"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"last_interaction_at":{"type":"string","example":"2024-01-24T10:30:00Z"},"last_login_at":{"type":"string","example":"2024-01-24T09:15:00Z"},"name":{"type":"string","example":"rmar-report-2026-11-18T20:11:44+00:00"},"created_by":{"type":"object","properties":{"uuid":{"type":"string","example":"f25f879f-f120-4b18-a388-21691919893f"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"report_type_id":{"type":"string","example":"rmar"},"status":{"type":"string","example":"complete"},"progress":{"type":"integer","example":100},"files":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"1c163e80-51c7-40df-87e2-e47b7aa96f29"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"uploaded_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"status":{"type":"string","example":"uploaded"},"filename":{"type":"string","example":"Welcome to Plannr.pdf"},"name":{"type":"string","example":"Welcome to Plannr"},"extension":{"type":"string","example":"pdf"},"type":{"type":"string","example":"type"},"size":{"type":"string","example":"21691783"},"path":{"type":"string","example":"Gareth Thompson/Subfolder/Welcome to Plannr.pdf"},"last_modified":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"progress":{"type":"string","example":"100"},"download_url":{"type":"string","example":"https://api.plannrcrm.com/file/e43311fd-ff86-474f-9b83-8e4f3f678999/download"},"preview_url":{"type":"string","example":"https://api.plannrcrm.com/file/63f1c4c8-5fa0-457f-94b3-df52a63034c9/preview"},"folder_name":{"type":"string","example":"folder 2"},"folder":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"documentable_type":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"navigator":{"type":"object","properties":{"model_type":{"type":"string","example":"account"},"model_uuid":{"type":"string","example":"16e6e7f0-b68b-43fc-9e01-ed984923aba2"}}},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]}}}},"folder":{"type":"object","properties":{"uuid":{"type":"string","example":"3801128d-e439-4216-bbbb-ca38173c9d0b"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Important Documents"},"slug":{"type":"string","example":"important-documents"},"path":{"type":"string","example":"Codepotato/Important Documents"},"clients_read":{"type":"boolean","example":true},"clients_write":{"type":"boolean","example":true},"show_client_permissions":{"type":"boolean","example":true},"is_system_folder":{"type":"boolean","example":true},"is_pseudo_folder":{"type":"boolean","example":true},"is_root_folder":{"type":"boolean","example":true},"documentable_type":{"type":"string","example":"account"},"documentable_uuid":{"type":"string","example":"account"},"documentable":{"type":"string","example":"Object"},"participants_count":{"type":"integer","example":3},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderParticipantResource_Summary"}]},"folders_count":{"type":"integer","example":5},"folders":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"files_count":{"type":"integer","example":8},"files":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FileResource_Summary"}]},"parents":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"ancestors":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FolderResource_Summary"}]},"depth":{"type":"integer","example":5},"owned":{"type":"boolean","example":false}}},"can_delete":{"type":"boolean","example":true}}},"App_Http_Resources_RiskResource":{"type":"object","properties":{"uuid":{"type":"string","example":"09f60bb5-48d6-420b-811b-e83a9dde9cab"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"level":{"type":"integer","example":52},"level_string":{"type":"string","example":"Moderately Aggressive"},"completed_at":{"type":"string","example":"2025-11-18T20:11:43+00:00"},"completed_by":{"type":"object","properties":{"uuid":{"type":"string","example":"7d8b8c39-1f28-4bc6-b470-002128cfe18a"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"risk_assessment_provider":{"type":"string","example":"Defaqto"},"time_horizon":{"type":"string","example":"For the next 5 years"},"time_horizon_set_at":{"type":"string","example":"2026-10-18T20:11:43+01:00"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"fe1e987c-7cbe-4c10-921c-c48c4c0add4c"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_V2_RiskResource":{"type":"object","properties":{"uuid":{"type":"string","example":"9173df07-7eec-49cc-9133-895f2d14bef9"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"level":{"type":"integer","example":52},"level_string":{"type":"string","example":"Moderately Aggressive"},"completed_at":{"type":"string","example":"2025-11-18T20:11:45+00:00"},"completed_by":{"type":"object","properties":{"uuid":{"type":"string","example":"a6a26d67-afd5-4e38-8cdc-7228f3efd519"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:45"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"risk_assessment_provider":{"type":"string","example":"Defaqto"},"time_horizon":{"type":"string","example":"For the next 5 years"},"time_horizon_set_at":{"type":"string","example":"2026-10-18T20:11:45+01:00"},"risk_description":{"type":"string","example":"The client has a moderate appetite for risk..."},"chosen_risk_level":{"type":"integer","example":52},"chosen_risk_level_string":{"type":"string","example":"Moderately Aggressive"},"chosen_risk_reason":{"type":"string","example":"Based on the assessment, the client..."},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"1ab24e9a-6d3b-4326-a838-04bd3a5fabc8"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_Rbac_RoleResource":{"type":"object","properties":{"uuid":{"type":"string","example":"061052d3-1da7-406f-8131-90e11b17d25e"},"name":{"type":"string","example":"Admin Role"},"scope":{"type":"string","example":"plannr-crm"},"description":{"type":"string","example":"Full administrative access"},"permissions":{"type":"array","example":["cases:read","firms:read"],"items":{"type":"string"}},"is_protected":{"type":"boolean","example":false},"is_managed":{"type":"boolean","example":false},"standard_role":{"type":"string","example":"adviser"},"keeps_firm_wide_access":{"type":"boolean","example":false},"assigned_to_authed":{"type":"boolean","example":false},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"85b004b4-3bdc-4fda-bf79-a6a4398c0dc1"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"assignees_count":{"type":"integer","example":3},"assignees":{"type":"array","example":[{"uuid":"6f669492-22d5-457c-ab42-8fe07b28c5ff","type":"user","name":"Ron Swanson","email":"ron@example.com","photo_url":"https://eu.ui-avatars.com/api/?name=Ron+Swanson","role":[],"is_limited":false,"managed_by_head_office":false}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"6f669492-22d5-457c-ab42-8fe07b28c5ff"},"type":{"type":"string","example":"user"},"name":{"type":"string","example":"Ron Swanson"},"email":{"type":"string","example":"ron@example.com"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Ron+Swanson"},"role":{"type":"array","example":[]},"is_limited":{"type":"boolean","example":false},"managed_by_head_office":{"type":"boolean","example":false}}}},"legacy_role":{"type":"string","example":"admin"}}},"App_Http_Resources_ServiceLevelResource":{"type":"object","properties":{"uuid":{"type":"string","example":"c32c146e-e265-4639-a166-123a57cdb336"},"name":{"type":"string","example":"Gold"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"}},"example":[{"uuid":"c32c146e-e265-4639-a166-123a57cdb336","name":"Gold","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00"}]},"App_Http_Resources_ShareholderResource":{"type":"object","properties":{"uuid":{"type":"string","example":"5d670cf2-a616-4d31-a3d1-686aacf45487"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"full_name":{"type":"string","example":"Connor Richards"},"role":{"type":"string","example":"Director"},"appointed_at":{"type":"string","example":"2015-01-19"},"address":{"type":"object","properties":{"uuid":{"type":"string","example":"29023e72-9329-4b62-a006-e51a9b7e4ab7"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Work Address"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"address_3":{"type":"string","example":"The Innovative Centre"},"address_4":{"type":"string","example":"Waterlooville"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"move_in_date":{"type":"string","example":"2025-11-18"},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]}}},"percentage":{"type":"number","example":42.54},"shares_owned":{"type":"number","example":60.53},"voting_rights":{"type":"string","example":"Yes"},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"a9a243d5-f2ee-4f3e-9b40-8db6882d2188"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Codepotato"},"slug":{"type":"string","example":"codepotato"},"address_1":{"type":"string","example":"Suite E, 5 The Briars"},"address_2":{"type":"string","example":"Waterberry Drive"},"town_city":{"type":"string","example":"Waterlooville"},"county":{"type":"string","example":"Hampshire"},"postcode":{"type":"string","example":"PO7 7YH"},"country":{"type":"string","example":"United Kingdom"},"regulatory_text":{"type":"string","example":"Regulatory text"},"logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"logo_icon":{"type":"string","example":"https://api.plannrcrm.com/images/plannr-icon.jpg"},"brand_colours":{"type":"object","properties":{"sidebar_background":{"type":"string","example":"#0E0E56"},"sidebar_accent":{"type":"string","example":"#36367E"},"sidebar_text":{"type":"string","example":"#FFFFFF"},"sidebar_hover":{"type":"string","example":"#0A0A42"},"sidebar_active":{"type":"string","example":"#53DBB8"},"sidebar_title_background":{"type":"string","example":"#36367E"},"sidebar_title_primary":{"type":"string","example":"#FFC634"},"sidebar_title_secondary":{"type":"string","example":"#FFFFFF"},"sidebar_title_secondary_hover":{"type":"string","example":"#FFFFFF"},"email_background":{"type":"string","example":"#0E0E56"},"email_logo_background_panel":{"type":"string","example":"#36367E"},"email_sub_text":{"type":"string","example":"#FFFFFF"},"email_button_background":{"type":"string","example":"#36367E"},"email_button_text":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_button_hover":{"type":"string","example":"#FFFFFF"},"portal_sidebar_button_active":{"type":"string","example":"#FFFFFF"},"portal_brand_title":{"type":"string","example":"#323B4B"},"portal_brand_sub_title":{"type":"string","example":"#828994"},"portal_sidebar_title":{"type":"string","example":"#11151D"},"portal_sidebar_text":{"type":"string","example":"#323B4B"},"portal_sidebar_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_text_active":{"type":"string","example":"#323B4B"},"portal_sidebar_icon":{"type":"string","example":"#828994"},"portal_sidebar_icon_hover":{"type":"string","example":"#828994"},"portal_sidebar_icon_active":{"type":"string","example":"#828994"},"portal_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_account_title":{"type":"string","example":"#11151D"},"portal_sidebar_account_email":{"type":"string","example":"#828994"},"portal_sidebar_divider":{"type":"string","example":"#E3E5E9"},"portal_dashboard_bg_one":{"type":"string","example":"#EF4583"},"portal_dashboard_bg_two":{"type":"string","example":"#FFC634"},"portal_sidebar_collapse_button":{"type":"string","example":"#828994"},"portal_sidebar_collapse_button_hover":{"type":"string","example":"#B3B9C4"},"portal_sidebar_user_select_background":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_hover":{"type":"string","example":"#F6F6F6"},"portal_sidebar_user_select_text":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_text_hover":{"type":"string","example":"#323B4B"},"portal_sidebar_user_select_border":{"type":"string","example":"#EEEEEE"},"portal_sidebar_user_select_border_hover":{"type":"string","example":"#828994"}}},"factfind_pdf_header_background":{"type":"string","example":"#0E0E56"},"factfind_pdf_header_text":{"type":"string","example":"#ffffff"},"factfind_pdf_logo":{"type":"string","example":"https://api.plannrcrm.com/images/plannr.jpg"},"is_subscribed":{"type":"boolean","example":true},"addon_subscriptions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource_Summary"}]},"keep_deleted_files_for":{"type":"integer","example":30},"tax":{"type":"number","example":17.5},"month_end":{"type":"integer","example":25},"statement_frequency":{"type":"string","example":"monthly"},"billing":{"type":"object","properties":{"invoice_address_1":{"type":"string","example":"Suite E, 5 The Briars"},"invoice_address_2":{"type":"string","example":"Waterberry Drive"},"invoice_town_city":{"type":"string","example":"Waterlooville"},"invoice_county":{"type":"string","example":"Hampshire"},"invoice_postcode":{"type":"string","example":"PO7 7YH"},"invoice_country":{"type":"string","example":"United Kingdom"},"invoice_email":{"type":"string","example":"gareth@codepotato.co.uk"}}},"task_board_template":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_BoardResource_Summary"}]},"ip_whitelist":{"type":"array","example":["192.168.0.1","127.0.0.1"],"items":{"type":"string"}},"welcome_paragraph_html":{"type":"string","example":"\u003ch1\u003eWelcome.\u003c/h1\u003e"},"email_welcome_paragraph_html":{"type":"string","example":"Welcome to Plannr!"},"show_fact_find_illustrations":{"type":"boolean","example":true},"cc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"bcc_email_addresses":{"type":"array","example":["jack@example.com","jill@example.com"],"items":{"type":"string"}},"reply_to_email_address":{"type":"string","example":"jack@example.com"},"mobile_app_support_number":{"type":"string","example":"01234 567890"},"mobile_app_support_email":{"type":"string","example":"support@example.com"}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"1fecfd2e-fd0f-417d-9b7d-38b3df62c24b"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:45"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_StaffMemberResource":{"type":"object","properties":{"uuid":{"type":"string","example":"1acba6ac-865e-48ef-848e-ddfff0a4e665"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"hired_at":{"type":"string","example":"2018-01-15T00:00:00+00:00"},"left_at":{"type":"string","example":"2025-01-15T00:00:00+00:00"},"job_title":{"type":"string","example":"Chief Coffee Maker"},"basic_annual_salary":{"type":"object","properties":{"amount":{"type":"integer","example":5000000},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£50,000.00"}}},"payroll_number":{"type":"string","example":"#12345"},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"d9ed4bad-c929-49ba-8cf8-61cb7379c1f3"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:43"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_StatementResource":{"type":"object","properties":{"uuid":{"type":"string","example":"4eb37444-33d5-42f5-8f53-98df892b1ffb"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"01/06/2022 - 30/06/2022"},"start_date":{"type":"string","example":"2022-06-30"},"end_date":{"type":"string","example":"2022-06-01"},"locked":{"type":"boolean","example":false},"locked_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"locked_by":{"type":"object","properties":{"uuid":{"type":"string","example":"9c5d3036-3f0c-4dab-a7e1-dc25fcd50ec2"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"total_expectations":{"type":"object","properties":{"amount":{"type":"string","example":"124585"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,245.85"}}},"total_statement_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_bank_transactions":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_amount_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"125599"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£1,255.99"}}},"total_expectation_percentage_reconciled_to_bank":{"type":"object","properties":{"amount":{"type":"string","example":"8570"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£85.70"}}},"expectations_count":{"type":"integer","example":6},"statement_transactions_count":{"type":"integer","example":6},"statement_transactions":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"7007df0f-64bc-4f5a-a246-f70745dda8cc"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_name":{"type":"string","example":"Gareth Thompson"},"transaction_reference":{"type":"string","example":"nZVYTn41U3"},"policy_number":{"type":"string","example":"AVIVA_00001"},"date":{"type":"string","example":"2026-11-18"},"gross_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"net_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"category":{"type":"string","example":"initial_fee"},"payment_origin":{"type":"string","example":"provider"},"agency_number":{"type":"string","example":"Agency number"},"product_reference":{"type":"string","example":"Product reference"},"adviser_name":{"type":"string","example":"Adviser name"},"sender_id_sib_number":{"type":"string","example":"Sender id sib number"},"reason":{"type":"string","example":"Reason"},"auto_reconciliation_message":{"type":"string","example":"No plans matching policy number AVIVA_00001."},"scheme_name":{"type":"string","example":"Scheme name"},"scheme_number":{"type":"string","example":"Scheme number"},"customer_number":{"type":"string","example":"Customer number"},"policy_market_value":{"type":"string","example":"Policy market value"},"provider":{"type":"string","example":"Aviva"},"provider_statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ProviderStatementResource_Summary"}]},"metadata":{"type":"object","properties":{"client_name":{"type":"string","example":"Gareth Thompson"}}},"expectation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExpectationResource_Summary"}]},"bank_transactions":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionResource_Summary"}]},"statement":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_StatementResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]}}}}}},"App_Http_Resources_Static_StaticOccupationResource":{"type":"object","properties":{"name":{"type":"string","example":"Accountant"},"code":{"type":"string","example":"AAB00011"}},"example":[{"name":"Accountant","code":"AAB00011"}]},"App_Http_Resources_Static_StaticNationalityResource":{"type":"object","properties":{"country":{"type":"string","example":"United Kingdom of Great Britain and Northern Ireland"},"nationality":{"type":"string","example":"British"},"code":{"type":"string","example":"GB"}},"example":[{"country":"United Kingdom of Great Britain and Northern Ireland","nationality":"British","code":"GB"}]},"App_Http_Resources_Static_StaticAddonCategoryResource":{"type":"object","properties":{"name":{"type":"string","example":"Valuation Feed Integration"},"value":{"type":"string","example":"valuation_feed_integration"}},"example":[{"name":"Valuation Feed Integration","value":"valuation_feed_integration"}]},"App_Http_Resources_Static_StaticPlanTypeResource":{"type":"object","properties":{"name":{"type":"string","example":"CASH_ACCOUNT"},"value":{"type":"string","example":"cash_account"}},"example":[{"name":"CASH_ACCOUNT","value":"cash_account"}]},"App_Http_Resources_Static_StaticPlanSubTypeResource":{"type":"object","properties":{"name":{"type":"string","example":"ISA Cash"},"value":{"type":"string","example":"isa_cash"}},"example":[{"name":"ISA Cash","value":"isa_cash"}]},"App_Http_Resources_Plans_PortfolioResource":{"type":"object","properties":{"uuid":{"type":"string","example":"4a72f0a2-08a6-49b5-8ac8-5312de04563d"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"is_proposed":{"type":"boolean","example":true},"proposed_at":{"type":"string","example":"2026-11-18T00:00:00+00:00"},"name":{"type":"string","example":"Risky Portfolio"}},"example":[{"uuid":"4a72f0a2-08a6-49b5-8ac8-5312de04563d","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","is_proposed":true,"proposed_at":"2026-11-18T00:00:00+00:00","name":"Risky Portfolio"}]},"App_Http_Resources_TagResource":{"type":"object","properties":{"uuid":{"type":"string","example":"a8762d30-cd66-4ef6-987c-9c715292433f"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Mortgage"},"slug":{"type":"string","example":"mortgage"},"colour":{"type":"string","example":"#ef4582"}},"example":[{"uuid":"a8762d30-cd66-4ef6-987c-9c715292433f","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","name":"Mortgage","slug":"mortgage","colour":"#ef4582"}]},"App_Http_Resources_TaskStatusResource":{"type":"object","properties":{"uuid":{"type":"string","example":"d196b734-ce82-4409-b575-76228977501c"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Incomplete"},"colour":{"type":"string","example":"#398898"},"position":{"type":"integer","example":1},"is_type_completed":{"type":"boolean","example":false},"is_archived":{"type":"boolean","example":false},"is_not_started":{"type":"boolean","example":false}},"example":[{"uuid":"d196b734-ce82-4409-b575-76228977501c","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","name":"Incomplete","colour":"#398898","position":1,"is_type_completed":false,"is_archived":false,"is_not_started":false}]},"App_Http_Resources_TaskStatusResource_Summary":{"type":"object","properties":{"uuid":{"example":"4fddff24-829b-4271-aa6e-3f36fa7305ae","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Incomplete","description":"The name of the status"},"colour":{"example":"#398898","description":"Status colour"},"position":{"example":1,"description":"The position of the status"},"is_type_completed":{"example":false,"description":"Whether the status is a completed status"},"is_archived":{"example":false,"description":"Whether the status is a archived status"},"is_not_started":{"example":false,"description":"Whether the status is a not started status"}},"example":{"uuid":"4fddff24-829b-4271-aa6e-3f36fa7305ae","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","name":"Incomplete","colour":"#398898","position":1,"is_type_completed":false,"is_archived":false,"is_not_started":false}},"App_Http_Resources_Board_WorkflowBoardTaskResource_Summary":{"type":"object","properties":{"uuid":{"example":"c3dfc784-5199-4b74-9a6c-a42b256e247d","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Mortgage Review","description":"The name of the task"},"description":{"example":"We need to run through a mortgage review with Gareth, as he can probably find a better deal.","description":"The extra description added to a task"},"priority":{"example":"high","description":"The priority level of the task (e.g p1, p2, p3, p4)"},"position":{"example":2,"description":"The task position."},"offset_due_at_by":{"example":2,"description":"How many days from the day the workflow is run should the due at be set by."},"visible_to_clients":{"example":true,"description":"Indicator for if the task is visible to clients."},"auto_assign_assigned_adviser":{"example":true,"description":"Denotes if the task will auto-assign the assigned adviser / assigned adviser of the client when it is created."},"auto_assign_assigned_administrator":{"example":true,"description":"Denotes if the task will auto-assign the administrator of the client when it is created."},"auto_assign_clients":{"example":true,"description":"Denotes if the task will auto-assign the clients when it is created. If the workflow is run on a case then all the clients on the case will be assigned."},"location_uuid":{"example":"5ee98af0-987d-4c38-ab8d-34a54abb5821","description":"The parent task or workflow trigger task this task is a child of."},"is_trigger_task":{"example":true,"description":"Denotes if this is a triggered task."}},"example":{"uuid":"c3dfc784-5199-4b74-9a6c-a42b256e247d","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","name":"Mortgage Review","description":"We need to run through a mortgage review with Gareth, as he can probably find a better deal.","priority":"high","position":2,"offset_due_at_by":2,"visible_to_clients":true,"auto_assign_assigned_adviser":true,"auto_assign_assigned_administrator":true,"auto_assign_clients":true,"location_uuid":"5ee98af0-987d-4c38-ab8d-34a54abb5821","is_trigger_task":true}},"App_Http_Resources_Board_WorkflowResource_Summary":{"type":"object","properties":{"uuid":{"example":"148d1fb9-67b2-4bc3-8e28-3a09d337b31d","description":"UUID of the account"},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was updated."},"name":{"example":"Pension Transfer","description":"Name of the workflow"},"type":{"example":"simple","description":"The type of workflow."},"tasks_count":{"example":5,"description":"The number of tasks on the workflow."},"network_locked":{"example":false,"description":"Whether the network owns this workflow's shape. A locked workflow can be run but never changed by the firm, whatever the firms_can_manage_workflows network setting says."}},"example":{"uuid":"148d1fb9-67b2-4bc3-8e28-3a09d337b31d","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","name":"Pension Transfer","type":"simple","tasks_count":5,"network_locked":false}},"App_Http_Resources_IndexTaskResource":{"type":"object","properties":{"uuid":{"type":"string","example":"6b621ae3-c613-4345-9a81-9eaa73e77d4c"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Document the transaction"},"priority":{"type":"string","example":"high"},"position":{"type":"integer","example":1},"due_at":{"type":"string","example":"2021-01-01 00:00:00"},"status":{"type":"object","properties":{"uuid":{"type":"string","example":"b80dcfa6-2920-4879-a0e0-7c0505dca934"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Incomplete"},"colour":{"type":"string","example":"#398898"},"position":{"type":"integer","example":1},"is_type_completed":{"type":"boolean","example":false},"is_archived":{"type":"boolean","example":false},"is_not_started":{"type":"boolean","example":false}}},"taskable_type":{"type":"string","example":"case"},"taskable":{"type":"object","properties":{"uuid":{"type":"string","example":"8fa98b1f-0c96-4c81-8082-61d5570584be"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource_Summary"}]},"type":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource_Summary"}]},"review_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"assigned_to_uuids":{"type":"array","example":["b04e0de3-8eaa-49ab-b76f-024508681181"],"items":{"type":"string"}},"group_uuids":{"type":"array","example":["435a9ed9-053e-461f-a165-05bd813471e1"],"items":{"type":"string"}},"completed_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"status_position":{"type":"integer","example":4},"participants_count":{"type":"integer","example":4},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"task_board_uuid":{"type":"string","example":"f75fbc17-3b61-47ed-9a07-21494d316deb"},"plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]}}},"author":{"type":"object","properties":{"uuid":{"type":"string","example":"1ee5c2be-d5bf-4bf2-b2ee-6e8c8e4ff289"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"assigned_to":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string","example":"93ff3d47-8168-4688-82c0-f24c9cb30c34"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"completed_at":{"type":"string","example":"2021-01-01 00:00:00"},"completed_by":{"type":"object","properties":{"uuid":{"type":"string","example":"d258edc0-43e7-43e1-b20d-03b680d6eb66"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"workflow_task":{"type":"object","properties":{"uuid":{"type":"string","example":"032f7df0-bc18-47ca-894a-4610845dae27"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Mortgage Review"},"description":{"type":"string","example":"We need to run through a mortgage review with Gareth, as he can probably find a better deal."},"priority":{"type":"string","example":"high"},"position":{"type":"integer","example":2},"task_status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TaskStatusResource_Summary"}]},"offset_due_at_by":{"type":"integer","example":2},"visible_to_clients":{"type":"boolean","example":true},"auto_assign_assigned_adviser":{"type":"boolean","example":true},"auto_assign_assigned_administrator":{"type":"boolean","example":true},"auto_assign_clients":{"type":"boolean","example":true},"author":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"location_uuid":{"type":"string","example":"fea5c587-c201-40af-8da6-db51524a5bf9"},"parent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowBoardTaskResource_Summary"}]},"trigger":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowBoardTaskResource_Summary"}]},"trigger_tasks":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowBoardTaskResource_Summary"}]},"sub_tasks":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowBoardTaskResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"workflow":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowResource_Summary"}]},"is_trigger_task":{"type":"boolean","example":true}}},"workflow":{"type":"object","properties":{"uuid":{"type":"string","example":"e63399ce-60ff-4b2f-ada8-bd325f9f21d4"},"name":{"type":"string","example":"New Client Onboarding"}}},"is_recurring":{"type":"boolean","example":true},"recurring_frequency":{"type":"string","example":"weekly"},"recurring_last_run":{"type":"string","example":"2026-01-01 00:00:00"},"recurring_next_run":{"type":"string","example":"2026-01-01 00:00:00"},"custom_fields":{"type":"array","example":[{"uuid":"775310da-5ee3-455b-99e4-12c0b30238a8","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","type":"string","name":"Favourite Drink","reference":"favourite_drink","is_required":false,"value":"Coffee","selection_options":["Coffee","Tea","Water"],"help_text":"This is the client's favourite drink.","is_retired":false}],"items":{"type":"object","properties":{"uuid":{"type":"string","example":"775310da-5ee3-455b-99e4-12c0b30238a8"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"string"},"name":{"type":"string","example":"Favourite Drink"},"reference":{"type":"string","example":"favourite_drink"},"is_required":{"type":"boolean","example":false},"value":{"type":"string","example":"Coffee"},"selection_options":{"type":"array","example":["Coffee","Tea","Water"],"items":{"type":"string"}},"help_text":{"type":"string","example":"This is the client's favourite drink."},"is_retired":{"type":"boolean","example":false}}}}}},"App_Http_Resources_TaskResource":{"type":"object","properties":{"uuid":{"type":"string","example":"643533bc-6b55-412b-818f-cb5ae548e26e","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00","description":"The timestamp of when the resource was updated."},"name":{"type":"string","example":"Document the transaction","description":"The name of the task"},"description":{"type":"string","example":"Document the transaction","description":"The description of the task"},"priority":{"type":"string","example":"high","description":"The priority of the task. Available Options: low, medium, high and highest"},"position":{"type":"integer","example":1,"description":"The position of the task"},"due_at":{"type":"string","example":"2021-01-01 00:00:00","description":"The due date of the task"},"status":{"type":"object","properties":{"uuid":{"type":"string","example":"f3c81a9e-950d-43c1-8a92-5fb221c52571"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Incomplete"},"colour":{"type":"string","example":"#398898"},"position":{"type":"integer","example":1},"is_type_completed":{"type":"boolean","example":false},"is_archived":{"type":"boolean","example":false},"is_not_started":{"type":"boolean","example":false}},"description":"The status of the task. Can be any of the task statuses defined in the firm's settings"},"taskable_type":{"type":"string","example":"case","description":"The type of the taskable. Available options: client, employee, case, plan"},"taskable":{"type":"object","properties":{"uuid":{"type":"string","example":"1e5c5635-8cc9-46dc-97ec-9b60b774c644"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"finance"},"slug":{"type":"string","example":"finance"},"status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource_Summary"}]},"type":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource_Summary"}]},"review_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"assigned_to_uuids":{"type":"array","example":["91969f0f-347d-4983-8c6f-1106dc865139"],"items":{"type":"string"}},"group_uuids":{"type":"array","example":["25f63a18-d7a2-47ea-89fe-387bfc2088c0"],"items":{"type":"string"}},"completed_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"status_position":{"type":"integer","example":4},"participants_count":{"type":"integer","example":4},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"task_board_uuid":{"type":"string","example":"0dfa8699-97ca-4754-a3df-2ec8e685a548"},"plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]}},"description":"The type of the taskable."},"author":{"type":"object","properties":{"uuid":{"type":"string","example":"eafc46de-5438-46a0-92e1-b6c0732af2cf"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account that created the task"},"assigned_to":{"type":"array","description":"The accounts that the task is assigned to","items":{"type":"object","properties":{"uuid":{"type":"string","example":"7f6c1572-8fea-4fe4-8c7f-0b851409e24b"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}},"completed_at":{"type":"string","example":"2021-01-01 00:00:00","description":"The date the task was completed"},"completed_by":{"type":"object","properties":{"uuid":{"type":"string","example":"13a5c612-2d80-4d14-b3bb-1eb10287eabe"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account that completed the task"},"workflow_task":{"type":"object","properties":{"uuid":{"type":"string","example":"72576730-5841-43b8-868a-e63376c8f941"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Mortgage Review"},"description":{"type":"string","example":"We need to run through a mortgage review with Gareth, as he can probably find a better deal."},"priority":{"type":"string","example":"high"},"position":{"type":"integer","example":2},"task_status":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TaskStatusResource_Summary"}]},"offset_due_at_by":{"type":"integer","example":2},"visible_to_clients":{"type":"boolean","example":true},"auto_assign_assigned_adviser":{"type":"boolean","example":true},"auto_assign_assigned_administrator":{"type":"boolean","example":true},"auto_assign_clients":{"type":"boolean","example":true},"author":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"participants":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"location_uuid":{"type":"string","example":"854d6a61-cfb0-4c74-9c8a-6402d131b33e"},"parent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowBoardTaskResource_Summary"}]},"trigger":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowBoardTaskResource_Summary"}]},"trigger_tasks":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowBoardTaskResource_Summary"}]},"sub_tasks":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowBoardTaskResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"workflow":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowResource_Summary"}]},"is_trigger_task":{"type":"boolean","example":true}},"description":"The workflow task associated with this task"},"workflow":{"type":"object","properties":{"uuid":{"type":"string","example":"fde4b921-ad55-4098-af61-e88b158809e5"},"name":{"type":"string","example":"New Client Onboarding"}},"description":"The Workflow this Task was created from, or null when the Task did not come from a Workflow."},"is_recurring":{"type":"boolean","example":true,"description":"Whether the task is recurring or not"},"recurring_frequency":{"type":"string","example":"weekly","description":"The frequency of the recurrence."},"recurring_last_run":{"type":"string","example":"2026-01-01 00:00:00","description":"The last time the recurring task was run"},"recurring_next_run":{"type":"string","example":"2026-01-01 00:00:00","description":"The next time the recurring task will be run"},"custom_fields":{"type":"array","example":[{"uuid":"b7003599-e344-4cfd-8e9a-55ebad413232","created_at":"2026-11-18T20:11:43+00:00","updated_at":"2026-11-18T20:11:43+00:00","type":"string","name":"Favourite Drink","reference":"favourite_drink","is_required":false,"value":"Coffee","selection_options":["Coffee","Tea","Water"],"help_text":"This is the client's favourite drink.","is_retired":false}],"description":"Any custom fields on the model.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"b7003599-e344-4cfd-8e9a-55ebad413232"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"string"},"name":{"type":"string","example":"Favourite Drink"},"reference":{"type":"string","example":"favourite_drink"},"is_required":{"type":"boolean","example":false},"value":{"type":"string","example":"Coffee"},"selection_options":{"type":"array","example":["Coffee","Tea","Water"],"items":{"type":"string"}},"help_text":{"type":"string","example":"This is the client's favourite drink."},"is_retired":{"type":"boolean","example":false}}}}}},"App_Http_Resources_TimeEntryResource":{"type":"object","properties":{"uuid":{"type":"string","example":"66b18b9e-ed78-410d-960a-ad1b48200e05"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"name":{"type":"string","example":"Research"},"description":{"type":"string","example":"This is a description."},"trackable_type":{"type":"string","example":"Client"},"trackable":{"type":"object","properties":{"uuid":{"type":"string","example":"ad470102-4144-4d02-87ac-6d05fbe1a048"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"start_date":{"type":"string","example":"2026-11-18T19:21:43+00:00"},"end_date":{"type":"string","example":"2026-11-18T19:49:43+00:00"},"is_active":{"type":"boolean","example":true},"total_time_in_minutes":{"type":"integer","example":28},"computed_time_elapsed_in_seconds":{"type":"integer","example":1680},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"c7d06617-2efe-4b40-9057-43ce04677844"},"created_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:43+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}}}},"App_Http_Resources_Plans_HoldingResource_Summary":{"type":"object","properties":{"uuid":{"example":"cedf39ad-c1f9-4ab9-b215-199b894107ac","description":"The UUID of the resource."},"created_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"example":"2026-11-18T20:11:50+00:00","description":"The timestamp of when the resource was created."},"fund_name":{"example":"Fund","description":"The name of the fund."},"reference":{"example":"REF123","description":"The reference of the holding."},"sector":{"example":"Europe","description":"The sector of the holding."},"sedol":{"example":"ACB123","description":"The SEDOL of the holding."},"isin":{"example":"ACB123","description":"The ISIN of the holding."},"citi":{"example":"ACB123","description":"The CITI of the holding."},"units":{"example":5,"description":"Holding units as a decimal."},"unit_price":{"example":{"amount":{"example":"1000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£10.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"The unit price of the holding."},"unit_price_raw":{"example":10.0,"description":"The raw unit price of the holding."},"purchase_price":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"The purchase price of the holding."},"is_active":{"example":true,"description":"Denotes if the holding is active or not."},"value":{"example":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"description":"The current value of the holding."}},"example":{"uuid":"cedf39ad-c1f9-4ab9-b215-199b894107ac","created_at":"2026-11-18T20:11:50+00:00","updated_at":"2026-11-18T20:11:50+00:00","fund_name":"Fund","reference":"REF123","sector":"Europe","sedol":"ACB123","isin":"ACB123","citi":"ACB123","units":5,"unit_price":{"amount":{"example":"1000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£10.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"unit_price_raw":10.0,"purchase_price":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}},"is_active":true,"value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":null,"description":"Currency of the money"}}}},"App_Http_Resources_TransactionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"5bfd71ed-b673-4e40-93c8-e5578be023d8"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"plan":{"type":"object","properties":{"uuid":{"type":"string","example":"7b7df55e-8d29-41dc-9a8e-80147fc74664"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"sub_account":{"type":"object","properties":{"uuid":{"type":"string","example":"60654d97-9fa8-43d2-91bb-4d08c6927c8a"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}}},"holding":{"type":"object","properties":{"uuid":{"type":"string","example":"f0df368a-94e7-4023-b508-03a18a89954a"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"fund_name":{"type":"string","example":"Fund"},"reference":{"type":"string","example":"REF123"},"sector":{"type":"string","example":"Europe"},"sedol":{"type":"string","example":"ACB123"},"isin":{"type":"string","example":"ACB123"},"citi":{"type":"string","example":"ACB123"},"units":{"type":"integer","example":5},"unit_price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"1000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£10.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"unit_price_raw":{"type":"integer","example":10},"purchase_price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"is_active":{"type":"boolean","example":true},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"sub_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"e41e002f-f9c3-4584-9d6f-45e42423a1eb"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"transaction_schedule":{"type":"object","properties":{"uuid":{"type":"string","example":"4508c2cb-f750-4be5-9080-b9e6d491fc91"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"sub_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"holding":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_HoldingResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"provider_controlled":{"type":"boolean","example":true},"type":{"type":"string","example":"contribution"},"sub_type":{"type":"string","example":"product_fees"},"amount":{"type":"object","properties":{"amount":{"type":"string","example":"1099"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£10.99"}}},"frequency":{"type":"string","example":"monthly"},"start_date":{"type":"string","example":"2026-11-18"},"end_date":{"type":"string","example":"2027-11-18"},"next_transaction_date":{"type":"string","example":"2026-12-18"},"paused_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"}}},"provider":{"type":"object","properties":{"uuid":{"type":"string","example":"0ea8549b-5119-400c-b86e-669149fdec1a"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"AJ Bell"},"slug":{"type":"string","example":"aj-bell"}}},"type":{"type":"string","example":"contribution"},"sub_type":{"type":"string","example":"product_fees"},"amount":{"type":"object","properties":{"amount":{"type":"string","example":"1099"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£10.99"}}},"date":{"type":"string","example":"2026-11-18"},"notes":{"type":"string","example":"Withdrawal from ISA"},"status":{"type":"string","example":"Completed"},"editable":{"type":"boolean","example":true}}},"App_Http_Resources_TransactionScheduleSummaryResource":{"type":"object","properties":{"daily":{"type":"object","properties":{"incoming":{"type":"object","properties":{"amount":{"type":"string","example":"1000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£10.00"}}},"outgoing":{"type":"object","properties":{"amount":{"type":"string","example":"-1000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"-£10.00"}}}},"description":"The transaction schedules daily estimate."},"weekly":{"type":"object","properties":{"incoming":{"type":"object","properties":{"amount":{"type":"string","example":"1000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£10.00"}}},"outgoing":{"type":"object","properties":{"amount":{"type":"string","example":"-1000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"-£10.00"}}}},"description":"The transaction schedules weekly estimate."},"monthly":{"type":"object","properties":{"incoming":{"type":"object","properties":{"amount":{"type":"string","example":"1000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£10.00"}}},"outgoing":{"type":"object","properties":{"amount":{"type":"string","example":"-1000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"-£10.00"}}}},"description":"The transaction schedules monthly estimate."},"quarterly":{"type":"object","properties":{"incoming":{"type":"object","properties":{"amount":{"type":"string","example":"1000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£10.00"}}},"outgoing":{"type":"object","properties":{"amount":{"type":"string","example":"-1000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"-£10.00"}}}},"description":"The transaction schedules quarterly estimate."},"annually":{"type":"object","properties":{"incoming":{"type":"object","properties":{"amount":{"type":"string","example":"1000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£10.00"}}},"outgoing":{"type":"object","properties":{"amount":{"type":"string","example":"-1000"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"-£10.00"}}}},"description":"The transaction schedules annual estimate."}},"example":{"daily":{"incoming":{"amount":"1000","currency":"GBP","formatted":"£10.00"},"outgoing":{"amount":"-1000","currency":"GBP","formatted":"-£10.00"}},"weekly":{"incoming":{"amount":"1000","currency":"GBP","formatted":"£10.00"},"outgoing":{"amount":"-1000","currency":"GBP","formatted":"-£10.00"}},"monthly":{"incoming":{"amount":"1000","currency":"GBP","formatted":"£10.00"},"outgoing":{"amount":"-1000","currency":"GBP","formatted":"-£10.00"}},"quarterly":{"incoming":{"amount":"1000","currency":"GBP","formatted":"£10.00"},"outgoing":{"amount":"-1000","currency":"GBP","formatted":"-£10.00"}},"annually":{"incoming":{"amount":"1000","currency":"GBP","formatted":"£10.00"},"outgoing":{"amount":"-1000","currency":"GBP","formatted":"-£10.00"}}}},"App_Http_Resources_TransactionScheduleResource":{"type":"object","properties":{"uuid":{"type":"string","example":"e495c63d-3013-4f33-9dfa-0bb3a9218511"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"plan":{"type":"object","properties":{"uuid":{"type":"string","example":"ea3b8019-f1c0-4202-a371-24da08205d67"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:44+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"sub_account":{"type":"object","properties":{"uuid":{"type":"string","example":"0f1ee05d-5605-4740-b2ca-a47da5810420"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}}},"holding":{"type":"object","properties":{"uuid":{"type":"string","example":"8510c6cd-a7f3-4703-b2af-e7d9dcdc8c5a"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"fund_name":{"type":"string","example":"Fund"},"reference":{"type":"string","example":"REF123"},"sector":{"type":"string","example":"Europe"},"sedol":{"type":"string","example":"ACB123"},"isin":{"type":"string","example":"ACB123"},"citi":{"type":"string","example":"ACB123"},"units":{"type":"integer","example":5},"unit_price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"1000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£10.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"unit_price_raw":{"type":"integer","example":10},"purchase_price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"is_active":{"type":"boolean","example":true},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"sub_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"1f90b9a3-a704-419f-ac79-4f78f0183a26"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:44"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"provider":{"type":"object","properties":{"uuid":{"type":"string","example":"8ff3624c-d2b4-4b3f-aaca-ed0c9d549da1"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"AJ Bell"},"slug":{"type":"string","example":"aj-bell"}}},"provider_controlled":{"type":"boolean","example":true},"type":{"type":"string","example":"contribution"},"sub_type":{"type":"string","example":"product_fees"},"amount":{"type":"object","properties":{"amount":{"type":"string","example":"1099"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£10.99"}}},"frequency":{"type":"string","example":"monthly"},"start_date":{"type":"string","example":"2026-11-18"},"end_date":{"type":"string","example":"2027-11-18"},"next_transaction_date":{"type":"string","example":"2026-12-18"},"paused_until":{"type":"string","example":"2026-11-18T20:11:44+00:00"}}},"App_Http_Resources_V2_TransactionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"1eb57ff8-ea24-4191-a847-d786ed010686"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"type":{"type":"string","example":"transfer"},"sub_type":{"type":"string","example":"consolidations"},"amount":{"type":"integer","example":10000},"date":{"type":"string","example":"2026-11-18"},"notes":{"type":"string","example":"My interesting note"},"status":{"type":"string","example":"Completed"},"editable":{"type":"boolean","example":true},"plan":{"type":"object","properties":{"uuid":{"type":"string","example":"6331bfb9-a761-49df-9ab6-994119a09e5e"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"opened_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"Johns ISA"},"type":{"type":"string","example":"cash_account"},"sub_type":{"type":"string","example":"lifetime isa"},"abstract_type":{"type":"string","example":"asset"},"policy_number":{"type":"string","example":"AVIVA-123"},"proposal_reference":{"type":"string","example":"AB123456"},"status":{"type":"string","example":"inactive"},"inactive_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"inactive_reason":{"type":"string","example":"claimed"},"agency_in_your_name":{"type":"boolean","example":true},"agency_in_your_name_from":{"type":"string","example":"2025-11-18"},"originally_sold_by_firm":{"type":"boolean","example":true},"under_advice":{"type":"boolean","example":true},"visible_on_client_portal":{"type":"boolean","example":true},"include_in_client_valuation":{"type":"boolean","example":true},"show_on_joint":{"type":"boolean","example":true},"shown_on_circles":{"type":"boolean","example":true},"review_date":{"type":"string","example":"2025-11-18"},"on_panel":{"type":"boolean","example":true},"is_group_scheme":{"type":"boolean","example":false},"is_sub_group_scheme":{"type":"boolean","example":false},"is_group_scheme_member":{"type":"boolean","example":false},"advice_area":{"type":"string","example":"non_investment_insurance"},"main_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"sub_accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"covers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource_Summary"}]},"claims":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource_Summary"}]},"total_benefit_amount":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"25000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£250,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"total_benefits":{"type":"object","properties":{"critical_illness":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"15000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£150,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"family_income_benefit":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"10000000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£100,000.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}}}},"latest_valuations":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"valued_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"original_valued_at":{"type":"string","example":"2026-11-17T20:11:45+00:00"},"client":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"accounts":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"seller":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"linked_plans":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"visible_to_circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}},"cases":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CasesResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"is_wrap_product":{"type":"boolean","example":false},"is_wrap_child":{"type":"boolean","example":false},"wrap":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"wrap_children":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"linked_policy_numbers":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource_Summary"}]},"can_be_deleted":{"type":"string","example":"false"},"contract_enquiry_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"mortgage_product":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchProductResource_Summary"}]},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"sub_account":{"type":"object","properties":{"uuid":{"type":"string","example":"59cde7c7-b38f-4c5b-be45-bdb3f5347a10"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}}},"holding":{"type":"object","properties":{"uuid":{"type":"string","example":"b9da04be-3ed2-4d16-a1c4-6f7561592724"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"fund_name":{"type":"string","example":"Fund"},"reference":{"type":"string","example":"REF123"},"sector":{"type":"string","example":"Europe"},"sedol":{"type":"string","example":"ACB123"},"isin":{"type":"string","example":"ACB123"},"citi":{"type":"string","example":"ACB123"},"units":{"type":"integer","example":5},"unit_price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"1000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£10.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"unit_price_raw":{"type":"integer","example":10},"purchase_price":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"is_active":{"type":"boolean","example":true},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}}},"sub_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}}},"transaction_schedule":{"type":"object","properties":{"uuid":{"type":"string","example":"4f5e463b-4ee9-4f07-b146-8033b4735a28"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"plan":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource_Summary"}]},"sub_account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource_Summary"}]},"holding":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_HoldingResource_Summary"}]},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"provider":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource_Summary"}]},"provider_controlled":{"type":"boolean","example":true},"type":{"type":"string","example":"contribution"},"sub_type":{"type":"string","example":"product_fees"},"amount":{"type":"object","properties":{"amount":{"type":"string","example":"1099"},"currency":{"type":"string","example":"GBP"},"formatted":{"type":"string","example":"£10.99"}}},"frequency":{"type":"string","example":"monthly"},"start_date":{"type":"string","example":"2026-11-18"},"end_date":{"type":"string","example":"2027-11-18"},"next_transaction_date":{"type":"string","example":"2026-12-18"},"paused_until":{"type":"string","example":"2026-11-18T20:11:45+00:00"}}}}},"App_Http_Resources_UserResource":{"type":"object","properties":{"uuid":{"type":"string","example":"22d7a688-0eb7-4282-93dd-6b29eb9eae2a","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The timestamp of when the resource was updated."},"type":{"type":"string","example":"standard","description":"The user type"},"first_name":{"type":"string","example":"Gareth","description":"First name of the user"},"last_name":{"type":"string","example":"Thompson","description":"Last name of the user"},"name":{"type":"string","example":"Gareth Thompson","description":"Name of the user"},"email":{"type":"string","example":"gareth@codepotato.co.uk","description":"Email of the user"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson","description":"The photo URL of the user."},"current_account":{"type":"object","properties":{"uuid":{"type":"string","example":"5c9e7354-6859-4990-8002-efdb54497016"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The current account log in of the user (if included)"},"current_login":{"type":"object","properties":{"uuid":{"type":"string","example":"0fa03081-427c-467c-8728-3b501c700b1d"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"expires_at":{"type":"string","example":"2027-02-26T20:11:42+00:00"},"has_write_permission":{"type":"boolean","example":false},"has_delete_permission":{"type":"boolean","example":false},"primary":{"type":"boolean","example":false},"receives_unread_notifications_email":{"type":"boolean","example":true},"wealth_enabled":{"type":"boolean","example":true},"goals_enabled":{"type":"boolean","example":true},"factfind_enabled":{"type":"boolean","example":true},"tasks_enabled":{"type":"boolean","example":true},"welcome_enabled":{"type":"boolean","example":true},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"email":{"type":"string","example":"gareth@plannrcrm.com"},"user_type":{"type":"string","example":"standard"},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"is_impersonated":{"type":"boolean","example":false},"is_enterprise":{"type":"boolean","example":false}},"description":"The current account log in of the user (if included)"},"two_factor_enabled":{"type":"boolean","example":true,"description":"Denotes if the two factor authentication has been enabled."},"two_factor_setup_required":{"type":"boolean","example":true,"description":"Denotes if the user must set up two factor authentication before they can access their current account, because the firm or its network enforces it."},"two_factor_type":{"type":"string","example":"sms","description":"The type of two factor enabled."},"otp_confirmed_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The date when OTP two factor was confirmed"},"otp_pending":{"type":"boolean","example":false,"description":"Denotes if the OTP two factor is pending"},"sms_two_factor_enabled":{"type":"boolean","example":true,"description":"Denotes if the SMS two factor is enabled"},"two_factor_mobile":{"type":"boolean","example":true,"description":"The E.164 mobile phone used for two factor authentication."},"two_factor_mobile_meta":{"type":"object","properties":{"country":{"type":"string","example":"GB"},"formatted":{"type":"string","example":"0333 090 3630"}},"description":"If the two_factor_mobile is present, this additional field will be displayed giving you information about the phone number."},"current_time_entry":{"type":"object","properties":{"uuid":{"type":"string","example":"97f83393-314e-4e6c-b314-83abc10414f9"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"name":{"type":"string","example":"Research"},"description":{"type":"string","example":"This is a description."},"trackable_type":{"type":"string","example":"Client"},"trackable":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]},"start_date":{"type":"string","example":"2026-11-18T19:21:42+00:00"},"end_date":{"type":"string","example":"2026-11-18T19:49:42+00:00"},"is_active":{"type":"boolean","example":true},"total_time_in_minutes":{"type":"integer","example":28},"computed_time_elapsed_in_seconds":{"type":"integer","example":1680},"account":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MinimalAccountResource_Summary"}]}},"description":"The current time entry if a timer is running"},"session_expires_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The session expiry time if signed in via the front-end."},"remember_token_expires_at":{"type":"boolean","example":true,"description":"Denotes when the users \"remember me\" token expires."},"should_auto_save_notes":{"type":"boolean","example":true,"description":"Denotes if the user wants to use the auto-save notes feature. Can reduce browser performance on low-powered machines."}}},"App_Http_Resources_FactFindPassResource":{"type":"object","properties":{"uuid":{"type":"string","example":"101ee075-1ee1-44ea-a12a-5ec3096783c4","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The timestamp of when the resource was updated."},"firm":{"type":"object","properties":{"uuid":{"type":"string","example":"b1d2ba66-5c6f-4561-ab53-55a2dbbc0d58"},"name":{"type":"string","example":"Codepotato Ltd"}},"description":"The name of the firm the fact find pass is for."},"account":{"type":"object","properties":{"uuid":{"type":"string","example":"8333d8f8-7c33-408c-9c57-2441e6e5521c"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=Gareth+Thompson"},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"The account the fact find pass is for."},"circle":{"type":"object","properties":{"uuid":{"type":"string","example":"205e003c-bdf9-4d17-8bb4-88c50c844488"},"name":{"type":"string","example":"The Codepotato Gang"}},"description":"The circle the fact find is for."},"expires_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The expiry date of the fact find pass. When blank, the fact find pass will not expire."},"progress":{"type":"integer","example":50,"description":"The progress of the fact find pass on the fact find."},"is_complete":{"type":"boolean","example":false,"description":"Determines if the fact find pass has completed the fact find."},"completed_sections":{"type":"integer","example":2,"description":"The number of sections the fact find pass has completed on the fact find."}}},"App_Http_Resources_Plans_ValuationResource":{"type":"object","properties":{"uuid":{"type":"string","example":"2a81ca02-958d-417a-b95c-00757301179a","description":"The UUID of the resource."},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"valued_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"Valued at"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"Valuation"},"sub_account":{"type":"object","properties":{"uuid":{"type":"string","example":"1bce63de-2401-4eea-ad37-054b761f7eef"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00"},"name":{"type":"string","example":"John's ISA"},"policy_number":{"type":"string","example":"AVI-4837"},"latest_valuation":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource_Summary"}]},"is_main_account":{"type":"boolean","example":false},"active_portfolio":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource_Summary"}]},"statistics":{"type":"object","properties":{"recent_growth":{"type":"integer","example":100}}}},"description":"Sub account of the valuations when loaded"}}},"App_Http_Resources_WebhookSubscriptionResource":{"type":"object","properties":{"uuid":{"type":"string","example":"8a23401a-6b59-4613-a0d4-3a638d144362"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"signing_secret":{"type":"string","example":"exM0XSCSlX20B95lolZIwZpAhiz5d6NXUduadGg29AoGLESF074vBW7UAiva"},"url":{"type":"string","example":"https://api.example.com/webhooks"},"events":{"type":"array","example":["account.deleted","circle.created"],"items":{"type":"string"}},"status":{"type":"string","example":"enabled"},"status_message":{"type":"string","example":"We did not receive a response from your endpoint in time."},"next_retry_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"last_outgoing_webhook_call_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"}},"example":[{"uuid":"8a23401a-6b59-4613-a0d4-3a638d144362","created_at":"2026-11-18T20:11:45+00:00","updated_at":"2026-11-18T20:11:45+00:00","signing_secret":"exM0XSCSlX20B95lolZIwZpAhiz5d6NXUduadGg29AoGLESF074vBW7UAiva","url":"https://api.example.com/webhooks","events":["account.deleted","circle.created"],"status":"enabled","status_message":"We did not receive a response from your endpoint in time.","next_retry_at":"2026-11-18T20:11:45+00:00","last_outgoing_webhook_call_at":"2026-11-18T20:11:45+00:00"}]},"App_Http_Resources_OutgoingWebhookCallResource":{"type":"object","properties":{"uuid":{"type":"string","example":"c568df0b-a3b9-4f0c-8cef-1b66f5907959"},"created_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"request_body":{"type":"object","properties":{"event":{"type":"string","example":"account.created"},"sent_at":{"type":"string","example":"2026-11-18T20:11:45+00:00"},"data":{"type":"array","example":[]}}},"response_status":{"type":"integer","example":200},"response_body":{"type":"object","properties":{"message":{"type":"string","example":"ok"}}},"successful":{"type":"boolean","example":true},"fatal_error":{"type":"string","example":"Unable to connect"},"is_retry":{"type":"boolean","example":false}},"example":[{"uuid":"c568df0b-a3b9-4f0c-8cef-1b66f5907959","created_at":"2026-11-18T20:11:45+00:00","updated_at":"2026-11-18T20:11:45+00:00","request_body":{"event":"account.created","sent_at":"2026-11-18T20:11:45+00:00","data":[]},"response_status":200,"response_body":{"message":"ok"},"successful":true,"fatal_error":"Unable to connect","is_retry":false}]},"App_Http_Resources_Plans_WithdrawalResource":{"type":"object","properties":{"uuid":{"type":"string","example":"b40122f2-775a-4575-9e9c-d99580cb693c","description":"uuid of the withdrawal"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"datetime the withdrawal was created"},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"datetime the withdrawal was updated"},"withdrawn_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"datetime the money was withdrawn"},"value":{"type":"object","properties":{"amount":{"type":"object","properties":{"example":{"type":"string","example":"4000"},"description":{"type":"string","example":"Money amount at their lowest denominator (for example: pennies)"}}},"formatted":{"type":"object","properties":{"example":{"type":"string","example":"£40.00"},"description":{"type":"string","example":"Money amount formatted with currency"}}},"currency":{"type":"object","properties":{"example":{"type":"string","example":"GBP"},"description":{"type":"string","example":"Currency of the money"}}}},"description":"withdrawal value"}},"example":{"uuid":"b40122f2-775a-4575-9e9c-d99580cb693c","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","withdrawn_at":"2026-11-18T20:11:44+00:00","value":{"amount":{"example":"4000","description":"Money amount at their lowest denominator (for example: pennies)"},"formatted":{"example":"£40.00","description":"Money amount formatted with currency"},"currency":{"example":"GBP","description":"Currency of the money"}}}},"App_Http_Resources_Board_WorkflowResource":{"type":"object","properties":{"uuid":{"type":"string","example":"d5206cde-25ea-4fdf-864f-3893ddcb68cf","description":"UUID of the account"},"created_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was created."},"updated_at":{"type":"string","example":"2026-11-18T20:11:44+00:00","description":"The timestamp of when the resource was updated."},"name":{"type":"string","example":"Pension Transfer","description":"Name of the workflow"},"type":{"type":"string","example":"simple","description":"The type of workflow."},"tasks_count":{"type":"integer","example":5,"description":"The number of tasks on the workflow."},"network_locked":{"type":"boolean","example":false,"description":"Whether the network owns this workflow's shape. A locked workflow can be run but never changed by the firm, whatever the firms_can_manage_workflows network setting says."}},"example":{"uuid":"d5206cde-25ea-4fdf-864f-3893ddcb68cf","created_at":"2026-11-18T20:11:44+00:00","updated_at":"2026-11-18T20:11:44+00:00","name":"Pension Transfer","type":"simple","tasks_count":5,"network_locked":false}},"App_Http_Resources_Board_WorkflowTreeResource_Summary":{"type":"object","properties":{"uuid":{"example":"1ee88df2-4ca3-4305-8371-a3be32981a9d","description":"The UUID of the resource."},"name":{"example":"Task With Children","description":"The name of the task."},"trigger_tasks_count":{"example":5,"description":"The number of tasks this task will trigger when it is added to the workflow."}},"example":{"uuid":"1ee88df2-4ca3-4305-8371-a3be32981a9d","name":"Task With Children","trigger_tasks_count":5}},"App_Http_Resources_Board_WorkflowTreeResource":{"type":"object","properties":{"uuid":{"type":"string","example":"999ea84a-cb68-4fae-b5c8-2f8e2e061fef","description":"The UUID of the resource."},"name":{"type":"string","example":"Task With Children","description":"The name of the task."},"sub_tasks":{"type":"array","description":"The sub tasks of the workflow task.","items":{"type":"object","properties":{"uuid":{"type":"string","example":"539989c2-9beb-4a17-b515-a320bab46667"},"name":{"type":"string","example":"Task With Children"},"sub_tasks":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowTreeResource_Summary"}]},"trigger_tasks_count":{"type":"integer","example":5}}}},"trigger_tasks_count":{"type":"integer","example":5,"description":"The number of tasks this task will trigger when it is added to the workflow."}}},"App_Http_Resources_Board_WorkflowBreadcrumbsResource":{"type":"object","properties":{"uuid":{"type":"string","example":"e5718e2d-1471-4a79-9b4b-6d7a7cb98c4f","description":"The UUID of the resource."},"name":{"type":"string","example":"Example Task","description":"The name of the task"},"breadcrumbs":{"type":"string","example":"Parent Task \u003e Example Task","description":"The breadcrumbs of the tasks"}},"example":{"uuid":"e5718e2d-1471-4a79-9b4b-6d7a7cb98c4f","name":"Example Task","breadcrumbs":"Parent Task \u003e Example Task"}},"SubAccountHolding":{"type":"object","required":["fund_name","units"],"properties":{"fund_name":{"type":"string","example":"My Fund","description":"The name of the fund for the holding."},"reference":{"type":"string","example":"C4$4","description":"The reference of the holding/fund.","nullable":true,"maxLength":255},"provider":{"type":"string","example":"Transact","description":"The Provider of the holding/fund.","nullable":true,"maxLength":255},"sector":{"type":"string","example":"Europe","description":"The sector of the holding/fund.","nullable":true,"maxLength":255},"sedol":{"type":"string","example":"ABC12345","description":"The sedol of the holding/fund.","nullable":true,"maxLength":255},"isin":{"type":"string","example":"ABC12345","description":"The isin of the holding/fund.","nullable":true,"maxLength":255},"citi":{"type":"string","example":"ABC12345","description":"The citi of the holding/fund.","nullable":true,"maxLength":255},"units":{"type":"number","example":10,"description":"The units of the holding"},"unit_price":{"type":"integer","example":50000,"description":"The current price of the units in pennies.","minimum":0},"unit_price_raw":{"type":"number","example":500.2345,"description":"The current price of the units in it's raw format with decimals."},"purchase_price":{"type":"integer","example":25000,"description":"The original purchase price of the holding in pennies.","minimum":0,"nullable":true},"currency":{"type":"string","example":"GBP","description":"The currency of the holding/fund.","minLength":3,"maxLength":3},"is_active":{"type":"boolean","example":true,"description":"Whether the holding is active or not."},"portfolio_uuid":{"type":"string","example":"73949d53-e9af-43d0-8365-3ebc5a296d14","description":"The portfolio UUID this holding belongs to.","format":"uuid","nullable":true}}},"ExternalReference":{"type":"object","required":["third_party","reference"],"properties":{"third_party":{"type":"string","example":"adviser_office","description":"\n\nThe third party that the reference is from.\n\n| Value | Description |\n| ----- | ----------- |\n|adviser_office|Adviser Office|\n|aj_bell|Aj Bell|\n|be_iq_organisation|Be Iq Organisation|\n|cash_calc|Cash Calc|\n|concert_hub|Concert Hub|\n|conquest|Conquest|\n|data_migration|Data Migration|\n|filehaven|Filehaven|\n|finio|Finio|\n|fundment|Fundment|\n|intelliflo_office|Intelliflo Office|\n|nucleus|Nucleus|\n|octopus_money|Octopus Money|\n|p1|P1|\n|parmenion|Parmenion|\n|pensionlab_advisor_firm|Pensionlab Advisor Firm|\n|pensionlab_webhook|Pensionlab Webhook|\n|seccl|Seccl|\n|smartsearch|Smartsearch|\n|soderberg|Soderberg|\n|swift|Swift|\n|transact_remuneration|Transact Remuneration|","enum":["adviser_office","aj_bell","be_iq_organisation","cash_calc","concert_hub","conquest","data_migration","filehaven","finio","fundment","intelliflo_office","nucleus","octopus_money","p1","parmenion","pensionlab_advisor_firm","pensionlab_webhook","seccl","smartsearch","soderberg","swift","transact_remuneration"]},"reference":{"type":"string","example":"AB123456","description":"The reference value."}}},"DefaultFoldersStructure":{"type":"object","required":["name","children"],"properties":{"uuid":{"type":"string","example":"1bcdcab5-aa32-49ae-9e25-a42f0c12f353","description":"The UUID of the folder. This is only required when updating an existing folder in the structure.","format":"uuid"},"name":{"type":"string","example":"Documents","description":"The name of the folder."},"children":{"type":"array","example":[],"description":"The child folders of this folder.","items":{"allOf":[{"$ref":"#/components/schemas/DefaultFoldersStructure"}]}},"clients_read":{"type":"boolean","example":false,"description":"Whether clients have read access to this folder."},"clients_write":{"type":"boolean","example":false,"description":"Whether clients have write access to this folder."}}},"TurnoverHistoryItem":{"type":"object","required":["year","value"],"properties":{"year":{"type":"string","example":"2020","description":"The year of the turnover entry.","format":"date"},"value":{"type":"integer","example":1000000,"description":"The turnover value in pennies for the given year.","minimum":0}}},"BasicAddress":{"type":"object","properties":{"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"},"move_in_date":{"type":"string","example":"2024-06-20","description":"Move in date"},"moved_in_month":{"type":"integer","example":6,"description":"The month the client moved into this address."},"moved_in_year":{"type":"integer","example":2022,"description":"The year the client moved into this address."},"moved_out_month":{"type":"integer","example":1,"description":"The month the client moved out of this address."},"moved_out_year":{"type":"integer","example":2024,"description":"The year the client moved out of this address."},"residential_status":{"type":"string","example":"homeowner","description":"\n\nThe client's residential status when living at the address.\n\n| Value | Description |\n| ----- | ----------- |\n|homeowner|Homeowner|\n|renting|Renting|\n|living_with_parents|Living With Parents|\n|other|Other|","enum":["homeowner","renting","living_with_parents","other"]},"residential_status_other":{"type":"string","example":"Non-tenant occupier","description":"The client's residential status if it is not provided in the residential_status options. Must only be provided if residential_status is other."}}},"SimpleAddress":{"type":"object","properties":{"address_1":{"type":"string","example":"Work Address","description":"Name of the address"},"address_2":{"type":"string","example":"Suite E, 5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"}}},"Plannr_ValidationError":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable description of the error.","example":"This action is unauthorized."},"errors":{"type":"object","description":"Validation messages keyed by the field that failed.","additionalProperties":{"type":"array","items":{"type":"string"}},"example":{"field":["The field is invalid."]}}},"required":["message"]},"Plannr_Error":{"type":"object","properties":{"message":{"type":"string","description":"A human-readable description of the error.","example":"This action is unauthorized."}},"required":["message"]},"Create_Client_Account":{"type":"object","description":"Client route for Create an account","nullable":false,"title":"Create Client Account","required":["type","role","first_name","last_name","business_details"],"properties":{"type":{"type":"string","example":"client","description":"The type of the account being created. For creating a client, this type must be `client`."},"role":{"type":"string","example":"individual","description":"\n\nThe role of the account being created.\n\n| Value | Description |\n| ----- | ----------- |\n|individual|Individual|\n|joint|Joint|\n|trust|Trust|\n|business|Business|","enum":["individual","joint","trust","business"]},"title":{"type":"string","example":"Mr","description":"Title"},"first_name":{"type":"string","example":"Gareth","description":"First Name"},"middle_name":{"type":"string","example":"Alex","description":"Middle Name"},"last_name":{"type":"string","example":"Thompson","description":"Last Name"},"maiden_name":{"type":"string","example":"Thompson","description":"Maiden Name"},"email":{"type":"string","example":"gareth@codepotato.co.uk","description":"Email address","format":"email"},"send_welcome_email":{"type":"boolean","example":true,"description":"Send an email on account creation and create a login"},"phone":{"type":"string","example":"443330509960","description":"Phone number"},"address":{"allOf":[{"$ref":"#/components/schemas/BasicAddress"}],"description":"The Address!"},"assigned_adviser_uuid":{"type":"string","example":"610fc886-6d39-4bf0-a122-e648aaf48c71","description":"The UUID of the employee that the client directly reports to","format":"uuid"},"assigned_administrator_uuid":{"type":"string","example":"34d204fc-fc05-4138-be8c-3bb77cd276bb","description":"The UUID of the adviser employee that the client has been assigned","format":"uuid"},"assigned_paraplanner_uuid":{"type":"string","example":"d482bdd1-d674-4b9d-adf7-cdb154a62b91","description":"The UUID of the paraplanner employee that the client has been assigned","format":"uuid"},"introduced_by_uuid":{"type":"string","example":"ca8405db-30ba-4ce1-981a-f5fc9124d1a2","description":"The UUID of the introducer for this client","format":"uuid"},"date_of_birth":{"type":"string","example":"1976-11-18","description":"Date of birth","format":"date"},"gender":{"type":"string","example":"male","description":"\n\nGender.\n\n| Value | Description |\n| ----- | ----------- |\n|male|male|\n|female|female|\n|non-binary|non-binary|\n|transgender|transgender|\n|intersex|intersex|\n|other|other|\n|unknown|unknown|","enum":["male","female","non-binary","transgender","intersex","other","unknown"]},"ni_number":{"type":"string","example":"AB 12 34 56 C","description":"National Insurance Number"},"nickname":{"type":"string","example":"G","description":"preferred nickname of the client"},"target_retirement_age":{"type":"integer","example":60,"description":"Target retirement age."},"pronouns":{"type":"string","example":"he/him","description":"Pronouns"},"smoker_status":{"type":"string","example":"non-smoker","description":"Smoker Status. Possible values are: smoker, non-smoker, vaper, ex-smoker, never-smoked, unknown"},"last_used_nicotine_products_date":{"type":"string","example":"2025-11-18","description":"The date of the last time the client used nicotine products.","format":"date"},"residential_status":{"type":"string","example":"settled","description":"Residential status"},"country_of_residence":{"type":"string","example":"United Kingdom","description":"Country of residence"},"marital_status":{"type":"string","example":"married","description":"Marital Status. Possible values are: single, cohabiting, married, divorced, civil-partnership, dissolved-civil-partnership, widowed, separated, engaged, in-relationship, other, unknown"},"is_vulnerable":{"type":"string","example":"possibly","description":"whether the client is vulnerable.  Possible values are: \"yes\", \"no\", and \"possibly\""},"is_prospect":{"type":"boolean","example":false,"description":"Denotes if the client is a prospect or not."},"prospect_converted_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The datetime when the prospect was converted into a client.","format":"date"},"value":{"type":"integer","example":500000,"description":"The value of the client in penny format. E.g £5,000 would be 500000."},"is_uk_resident":{"type":"boolean","example":true,"description":"Whether the client is a UK resident or not."},"is_uk_domicile":{"type":"boolean","example":true,"description":"Whether the client is a UK domicile or not."},"expected_retirement_age":{"type":"integer","example":60,"description":"The expected retirement age."},"state_retirement_age":{"type":"integer","example":60,"description":"The state retirement age."},"nationalities":{"type":"array","example":["British","Romanian"],"description":"Nationalities of the client. You can use the api/v1/static/nationalities endpoint to get our list."},"vulnerability_details":{"type":"string","example":"No vulnerabilities","description":"Any details regarding the client's vulnerabilities."},"third_party_offered":{"type":"boolean","example":true,"description":"Whether the client has been offered any third party."},"procedure_adaptation":{"type":"boolean","example":true,"description":"Whether any procedures need to be adapted to the client."},"adaption_details_notes":{"type":"boolean","example":true,"description":"Any notes regarding adaptations"},"client_preferences":{"type":"string","example":"Prefers telephone calls in the morning.","description":"Any client preferences."},"current_state_of_health":{"type":"string","example":"Fit and healthy","description":"The client's current state of health."},"state_of_health_explanation":{"type":"string","example":"Explanation of the current state of health.","description":"Explanation of the current state of health."},"cigarettes_daily":{"type":"integer","example":6,"description":"The amount of cigarettes the client smokes a day."},"smoker_since":{"type":"string","example":"2016-11-18","description":"The date of when the client started smoking.","format":"date"},"long_term_care_needed":{"type":"boolean","example":false,"description":"Whether the client required long term care."},"long_term_care_notes":{"type":"string","example":"Notes on the client's long term care.","description":"Notes on the client's long term care."},"has_will":{"type":"boolean","example":false,"description":"Whether the client has a will or not."},"will_notes":{"type":"string","example":"Notes on the client's will.","description":"Notes on the client's will."},"will_last_reviewed":{"type":"string","example":"2026-11-17","description":"The date of the last time the will's been reviewed.","format":"date"},"has_power_of_attorney":{"type":"boolean","example":true,"description":"Whether the client has power of attorney."},"power_of_attorney_notes":{"type":"string","example":"Notes on the client's power of attorney.","description":"Notes on the client's power of attorney."},"first_contact_date":{"type":"string","example":"2026-10-18","description":"The date of the first contact.","format":"date"},"units_of_alcohol_weekly":{"type":"integer","example":28,"description":"The units of alcohol digested weekly."},"height":{"type":"integer","example":186,"description":"The height of the client in centimeters."},"weight":{"type":"integer","example":220,"description":"The weight of the client in pounds."},"health_notes":{"type":"string","example":"Notes on the client's health.","description":"Notes on the client's health."},"has_iht_planning":{"type":"boolean","example":true,"description":"Whether the client has Inheritance Tax (IHT) planning or not."},"iht_planning_notes":{"type":"string","example":"Notes on the client's Inheritance Tax (IHT) planning.","description":"Notes on the client's Inheritance Tax (IHT) planning."},"has_gifted_family":{"type":"boolean","example":true,"description":"Whether the client has gifted the family."},"gift_notes":{"type":"string","example":"Notes on the gifts.","description":"Notes on the gifts."},"is_anticipating_inheritance":{"type":"boolean","example":true,"description":"Whether the client is anticipating/ expecting any inheritance."},"anticipating_inheritance_notes":{"type":"string","example":"Notes on the client's inheritance anticipation/ expectations.","description":"Notes on the client's inheritance anticipation/ expectations."},"next_review_date":{"type":"string","example":"2026-12-18","description":"Date of next review","format":"date"},"previous_review_date":{"type":"string","example":"2026-10-18","description":"Date of previous review","format":"date"},"anniversary_review_date":{"type":"string","example":"2026-11-18","description":"Anniversary review date","format":"date"},"terms_of_business_at":{"type":"string","example":"2026-10-18","description":"Date the Terms of Business were agreed and signed","format":"date","nullable":true},"client_agreement_at":{"type":"string","example":"2026-10-18","description":"Date the client agreement was agreed and signed","format":"date","nullable":true},"is_will_accurate":{"type":"boolean","example":true,"description":"Does your current will reflect your wishes?"},"will_executors":{"type":"string","example":"","description":"Who are the executors?"},"will_location":{"type":"string","example":"","description":"Where is the will stored?"},"will_bequests_detail":{"type":"string","example":"","description":"Details of any Bequests"},"is_poa_registered_epa_or_lpa":{"type":"string","example":"epa","description":"\n\nIs the Power of Attorney Registered as a EPA or LPA\n\n| Value | Description |\n| ----- | ----------- |\n|epa|Epa|\n|lpa|Lpa|","enum":["epa","lpa"]},"are_poa_appointed_for_health_or_wealth":{"type":"string","example":"health","description":"Are the Attorneys appointed for Health, Wealth or Both?"},"poa_attorney_appointed_at":{"type":"string","example":"2026-11-18T00:00:00+00:00","description":"When were the Attorney’s appointed?","format":"date"},"will_poa_details":{"type":"string","example":"","description":"Who are the Attorney’s?"},"are_poa_documents_registered":{"type":"boolean","example":true,"description":"Are the documents registered?"},"will_gifts_details":{"type":"string","example":"","description":"Notes of gifts"},"groups":{"type":"array","example":["6f7c6a56-a573-4240-a735-e98d1a3b4a13","0dc8fa8b-4999-4aa1-a92a-55216b7053bc","dfab9e06-af82-4ee2-8b53-56a89ebc4b2a"],"description":"Group UUIDs to sync client to.","items":{"type":"string","example":"8c3b3535-e1ec-4555-830a-f29225702ac6","format":"uuid"}},"is_in_receipt_of_your_state_pension":{"type":"boolean","example":true,"description":"Are you in receipt of your State Pension"},"has_obtained_a_forecast":{"type":"boolean","example":true,"description":"Have you recently obtained a forecast"},"date_of_forecast":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"What is the date of the obtained forecast","format":"date"},"projected_state_pension":{"type":"integer","example":50000,"description":"What is the projected State Pension"},"years_of_national_insurance_contributions":{"type":"integer","example":5,"description":"How many years have you made Nation Insurance Contributions"},"pension_notes":{"type":"string","example":"","description":"Notes on the pension"},"status_uuid":{"type":"string","example":"5054ed1b-1120-471a-ad6d-55348354c639","description":"The status of the client.","format":"uuid"},"current_life_stage_uuid":{"type":"string","example":"947df4b4-7bb3-4737-a4b2-e06ec54d0692","description":"The clients current life stage for expenditure. Defaults to first available to firm if not provided.","format":"uuid"},"date_of_marriage":{"type":"string","example":"2026-11-18","description":"Date of marriage","format":"date"},"is_deceased":{"type":"boolean","example":false,"description":"Denotes if the client is deceased"},"deceased_at":{"type":"string","example":"2026-11-18","description":"Date of death","format":"date"},"is_married_to_partner":{"type":"boolean","example":true,"description":"Denotes if the client is married to their partner"},"checked_sanctions_at":{"type":"string","example":"2026-11-18","description":"Date the client was checked for sanctions","format":"date"},"lead_source":{"type":"string","example":"LeadGen Company","description":"Marks the lead source of the client"},"write_to_whom":{"type":"string","example":"Gareth","description":"Marks the name of the client to write to"},"passport_number":{"type":"string","example":"123456","description":"The passport number of the client"},"do_not_contact_via_fax":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via fax"},"do_not_contact_via_mail":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via mail"},"do_not_contact_via_sms":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via SMS"},"do_not_contact_via_email":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via email"},"do_not_contact_via_telephone":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via telephone"},"do_not_visit":{"type":"boolean","example":false,"description":"Denotes if the client can be visited"},"do_not_market":{"type":"boolean","example":false,"description":"Denotes if the client can be marketed to"},"inactive_at":{"type":"string","example":"2026-11-18","description":"Inactive from date","format":"date"},"circles":{"type":"array","example":[],"description":"Circles to associate the client to on creation with a login access level that controls what the client would see if they have a login.","items":{"type":"object","example":{"uuid":"e7c62731-7fbf-40e5-a534-af2c44d92d5e","login_access_level":"read"},"properties":{"uuid":{"type":"string","example":"e7c62731-7fbf-40e5-a534-af2c44d92d5e","description":"uuid of the circle","format":"uuid"},"login_access_level":{"type":"string","example":"read","description":"\n\nLogin Access level\n\n| Value | Description |\n| ----- | ----------- |\n|read|Read|\n|write|Write|","enum":["read","write"]}}}},"business_unit":{"type":"string","example":"bb05c7cc-7754-4345-8506-ae6b326afee6","description":"UUID of the business unit to associate this account to","format":"uuid","nullable":true},"service_level":{"type":"string","example":"a1deff28-0e3f-459a-83ca-1d1a88a24f7f","description":"UUID of the service level to associate this account to","format":"uuid","nullable":true},"external_reference":{"allOf":[{"$ref":"#/components/schemas/ExternalReference"}],"description":"A third-party external reference to attach when creating the model."},"owners":{"type":"array","example":["46e54086-d5a7-468e-acca-8832ff450a32","9c67d25c-a0b6-44c0-b9b6-c59c67b705a9","e377e1b1-1334-4953-afb7-97e1198a168a"],"description":"Array of client account UUIDs that are owners","items":{"type":"string","example":"637fbfc0-03cb-4f2c-8d4d-5db9aa3dc545","format":"uuid"}},"shareholders":{"type":"array","example":[],"description":"Array of shareholders details","items":{"type":"object","example":{"full_name":"John Smith","role":"Director","appointed_at":"2026-11-18","address":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"percentage":60,"shares_owned":20,"voting_rights":"Right to appoint or remove directors"},"properties":{"full_name":{"type":"string","example":"John Smith","description":"The shareholder's full name."},"role":{"type":"string","example":"Director","description":"The shareholder's role."},"appointed_at":{"type":"string","example":"2026-11-18","description":"Date the shareholder was appointed","format":"date"},"address":{"type":"object","description":"Shareholder's address","example":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"properties":{"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"}}},"percentage":{"type":"integer","example":60,"description":"Shareholder's percentage"},"shares_owned":{"type":"integer","example":20,"description":"Shareholder's amount of shares owned"},"voting_rights":{"type":"string","example":"Right to appoint or remove directors","description":"The shareholder's voting rights."}}}},"incomes":{"type":"array","example":[],"description":"Array of incomes","items":{"type":"object","example":{"name":"State Pension","type":"salary","amount":20000,"amount_type":"net","start_date":"2026-11-18","end_date":"2026-11-18","frequency":"daily","is_taxable":false},"properties":{"name":{"type":"string","example":"State Pension","description":"The income's name."},"type":{"type":"string","example":"salary","description":"\n\nThe income's type.\n\n| Value | Description |\n| ----- | ----------- |\n|salary|Salary|\n|dividend|Dividend|\n|bonus|Bonus|\n|benefit|Benefit|\n|other|Other|\n|investment|Investment|\n|rental|Rental|\n|pension|Pension|\n|capital_gains|Capital Gains|\n|business_loan|Business Loan|\n|investor_funding|Investor Funding|\n|grant|Grant|\n|charity|Charity|\n|crowdfunding|Crowdfunding|\n|gross_profit|Gross Profit|\n|operating_profit|Operating Profit|\n|operating_revenue|Operating Revenue|\n|non_operating_revenue|Non Operating Revenue|\n|net_profit|Net Profit|","enum":["salary","dividend","bonus","benefit","other","investment","rental","pension","capital_gains","business_loan","investor_funding","grant","charity","crowdfunding","gross_profit","operating_profit","operating_revenue","non_operating_revenue","net_profit"]},"amount":{"type":"integer","example":20000,"description":"The amount of the income"},"amount_type":{"type":"string","example":"net","description":"\n\nThe income's type (net/gross).\n\n| Value | Description |\n| ----- | ----------- |\n|net|Net|\n|gross|Gross|","enum":["net","gross"]},"start_date":{"type":"string","example":"2026-11-18","description":"Date the income started","format":"date"},"end_date":{"type":"string","example":"2026-11-18","description":"Date the income ended","format":"date"},"frequency":{"type":"string","example":"daily","description":"\n\nThe income's frequency.\n\n| Value | Description |\n| ----- | ----------- |\n|daily|Daily|\n|weekly|Weekly|\n|fortnightly|Fortnightly|\n|four_weekly|Four Weekly|\n|monthly|Monthly|\n|bimonthly|Bimonthly|\n|quarterly|Quarterly|\n|biannually|Biannually|\n|annually|Annually|\n|adhoc|Adhoc|\n|one_off|One Off|","enum":["daily","weekly","fortnightly","four_weekly","monthly","bimonthly","quarterly","biannually","annually","adhoc","one_off"]},"is_taxable":{"type":"boolean","example":false,"description":"Denotes if the income is taxable"}}}},"business_details":{"type":"object","description":"Business details","example":{"status":"Insolvent","status_comments":"This was due to an accounting error","type":"Public Limited Company","type_comments":"They became a Public Limited Company after May 2025","incorporated_on":"2026-11-18","business_registered_address":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"nature":"Construction","uk_sic_code":"12345","companies_house_number":"OC999999","legal_entity_identifier":"213800XQH3M93XJ27N32","year_end_day":11,"year_end_month":7,"firm_website":"www.google.com","employee_count":30,"self_employed_staff_count":30,"business_value":45000000,"is_registered_vat":false,"vat_number":"12345","accountant_company":"Accurate Accounting","accountant_name":"Andy Accountant","business_accountant_address":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"legal_adviser_name":"Lenny Legal","business_legal_adviser_address":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"auditor_name":"Andy Audit","business_auditor_address":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"data_protection_officer":"Dave Data","primary_contacts":[]},"properties":{"status":{"type":"string","example":"Insolvent","description":"The status of the business."},"status_comments":{"type":"string","example":"This was due to an accounting error","description":"The comments related to the status of the business."},"type":{"type":"string","example":"Public Limited Company","description":"The type of business."},"type_comments":{"type":"string","example":"They became a Public Limited Company after May 2025","description":"The type of business."},"incorporated_on":{"type":"string","example":"2026-11-18","description":"The Date the business was incorporated on","format":"date"},"business_registered_address":{"type":"object","description":"the business registered address details","example":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"properties":{"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"}}},"nature":{"type":"string","example":"Construction","description":"The nature of the business"},"uk_sic_code":{"type":"string","example":"12345","description":"The uk SIC code of the business"},"companies_house_number":{"type":"string","example":"OC999999","description":"The companies house number of the business"},"legal_entity_identifier":{"type":"string","example":"213800XQH3M93XJ27N32","description":"The Legal Entity Identifier (LEI) of the business","minLength":20,"maxLength":20,"pattern":"^[a-zA-Z0-9]{18}[0-9]{2}$"},"year_end_day":{"type":"integer","example":11,"description":"The day of the month the business uses for their year end date"},"year_end_month":{"type":"integer","example":7,"description":"The month the business uses for their year end date"},"firm_website":{"type":"string","example":"www.google.com","description":"The website of the business"},"employee_count":{"type":"integer","example":30,"description":"The number of employees the business has"},"self_employed_staff_count":{"type":"integer","example":30,"description":"The number of self employed staff the business has"},"business_value":{"type":"integer","example":45000000,"description":"The value of the business"},"is_registered_vat":{"type":"boolean","example":false,"description":"Denotes if the business is registered for VAT"},"vat_number":{"type":"string","example":"12345","description":"The VAT number of the business"},"accountant_company":{"type":"string","example":"Accurate Accounting","description":"The name of the accounting firm used by the business"},"accountant_name":{"type":"string","example":"Andy Accountant","description":"The name of the accountant used by the business"},"business_accountant_address":{"type":"object","description":"The accountant's address details","example":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"properties":{"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"}}},"legal_adviser_name":{"type":"string","example":"Lenny Legal","description":"The name of the legal adviser used by the business"},"business_legal_adviser_address":{"type":"object","description":"The legal adviser's address details","example":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"properties":{"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"}}},"auditor_name":{"type":"string","example":"Andy Audit","description":"The name of the auditor used by the business"},"business_auditor_address":{"type":"object","description":"The auditor's address details","example":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"properties":{"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"}}},"data_protection_officer":{"type":"string","example":"Dave Data","description":"The name of the data protection officer used by the business"},"primary_contacts":{"type":"array","example":[],"description":"Array of the business's primary contacts","items":{"type":"object","example":{"uuid":"fb26f5ec-f9fb-4be5-81a2-82dc6c5f48df","name":"Jane Doe","email":"janedoe@primarycontact.com","address":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"}},"properties":{"uuid":{"type":"string","example":"fb26f5ec-f9fb-4be5-81a2-82dc6c5f48df","description":"The uuid of the primary contact.","format":"uuid"},"name":{"type":"string","example":"Jane Doe","description":"Name of the primary contact"},"email":{"type":"string","example":"janedoe@primarycontact.com","description":"Email of the primary contact","format":"email"},"address":{"type":"object","description":"The primary contact's address details","example":{"name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire"},"properties":{"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"}}}}}}}},"trust_details":{"type":"object","description":"Trust details","example":{"unique_trust_reference":"XVTRUST80725028","unique_charity_reference":"1234567","legal_entity_identifier":"213800XQH3M93XJ27N32"},"properties":{"unique_trust_reference":{"type":"string","example":"XVTRUST80725028","description":"The HMRC-issued Unique Trust Reference (UTR) for the trust","maxLength":50,"nullable":true},"unique_charity_reference":{"type":"string","example":"1234567","description":"The Charity Commission Unique Charity Reference for trusts of type Charity","maxLength":50,"nullable":true},"legal_entity_identifier":{"type":"string","example":"213800XQH3M93XJ27N32","description":"The Legal Entity Identifier (LEI) of the trust","minLength":20,"maxLength":20,"pattern":"^[a-zA-Z0-9]{18}[0-9]{2}$","nullable":true}}}}},"Create_Employee_Account":{"type":"object","description":"Employee route for Create an account","nullable":false,"title":"Create Employee Account","required":["type","role","first_name","last_name","send_welcome_email","departments"],"properties":{"type":{"type":"string","example":"employee","description":"The type of the account being created. For creating an employee, this type must be `employee`."},"role":{"type":"string","example":"owner","description":"\n\nThe employee type of the account being created.\n\n| Value | Description |\n| ----- | ----------- |\n|owner|An owner of the firm|\n|employee|A regular employee of the firm|\n|admin|A legacy admin type employee\u003cbr/\u003e\u003cbr/\u003e\u003cb\u003eDEPRECATED:\u003c/b\u003e\u003cbr/\u003eThis value is replaced in system with `employee`\u003cbr/\u003eSince: 2026-07-27 v1.130.0|\n|member|A legacy member type employee\u003cbr/\u003e\u003cbr/\u003e\u003cb\u003eDEPRECATED:\u003c/b\u003e\u003cbr/\u003eThis value is replaced in system with `employee`\u003cbr/\u003eSince: 2026-07-27 v1.130.0|","enum":["owner","employee","admin","member"]},"first_name":{"type":"string","example":"Gareth","description":"The first name of the employee."},"last_name":{"type":"string","example":"Thompson","description":"The last name of the employee."},"email":{"type":"string","example":"gareth@codepotato.co.uk","description":"Email address","format":"email"},"send_welcome_email":{"type":"boolean","example":true,"description":"Send an email on account creation and create a login"},"phone":{"type":"string","example":"443330509960","description":"Phone number"},"address":{"allOf":[{"$ref":"#/components/schemas/BasicAddress"}],"description":"Address"},"assigned_adviser_uuid":{"type":"string","example":"e3e6fbf9-4cbf-4932-9520-d159f7bfc878","description":"216d8a74-8423-400b-a541-8930958ab24a","format":"uuid"},"departments":{"type":"array","example":["paraplanner","adviser"],"description":"The departments the employee is part of","items":{"type":"string","example":"administrator","enum":["administrator","adviser","compliance","finance","it","marketing","operations","paraplanner"]}},"groups":{"type":"array","example":["e0e753eb-2400-45f3-9ef9-cc44738463ef","1d639a80-d061-4853-9983-11fc27731b47","bd9f1b69-c2bb-4520-85a1-182b2716dc7b"],"description":"Group uuids belonging to the firm.","items":{"type":"string","example":"cd20a3bc-11a4-4186-94b8-2465ee8ea130","format":"uuid"}},"adviser_split_uuid":{"type":"string","example":"a0ba02ea-35bf-4936-95df-7a4388a641e0","description":"The uuid of the the adviser split that will be applied when this adviser adds charges","format":"uuid"},"advice_type":{"type":"string","example":"independent","description":"\n\nEmployee's RMAR advice type\n\n| Value | Description |\n| ----- | ----------- |\n|independent|Independent|\n|restricted|Restricted|","enum":["independent","restricted"]},"next_review_date":{"type":"string","example":"2026-12-18","description":"Date of next review","format":"date"},"previous_review_date":{"type":"string","example":"2026-10-18","description":"Date of previous review","format":"date"},"anniversary_review_date":{"type":"string","example":"2026-11-18","description":"Anniversary review date","format":"date"},"terms_of_business_at":{"type":"string","example":"2026-10-18","description":"Date the Terms of Business were agreed and signed","format":"date","nullable":true},"client_agreement_at":{"type":"string","example":"2026-10-18","description":"Date the client agreement was agreed and signed","format":"date","nullable":true},"meeting_booking_url":{"type":"string","example":"https://calendly.com/gareth-codepotato","description":"Employee's meeting booking URL"},"inactive_at":{"type":"string","example":"2026-11-18","description":"Inactive from date","format":"date"},"role_uuids":{"type":"array","example":["92270d7c-8fb5-46a5-bfb5-0c568580be9f","76d7d01f-f176-458f-aed3-f438bb3bbfee","5a30fb3c-5445-4fa1-a575-85eee6047be3"],"description":"List of RBAC Role uuids to assign to the account","items":{"type":"string","example":"06da48f6-186b-449b-a953-9876b0f9e3be","format":"uuid"}},"business_unit":{"type":"string","example":"4df35963-7e22-4218-ab93-dac911ba9b26","description":"UUID of the business unit to associate this account to","format":"uuid","nullable":true},"service_level":{"type":"string","example":"7a2446e6-8b9a-4a5c-bfeb-f0d5dd7a98d2","description":"UUID of the service level to associate this account to","format":"uuid","nullable":true}}},"Create_Introducer_Account":{"type":"object","description":"Introducer route for Create an account","nullable":false,"title":"Create Introducer Account","required":["type","role","first_name","last_name","entity_name"],"properties":{"type":{"type":"string","example":"external","description":"The type of the account being created. For creating an introducer, this type must be `external`."},"role":{"type":"string","example":"introducer","description":"\n\nThe external role of the account being created. For creating an introducer, this role must be `introducer`.\n\n| Value | Description |\n| ----- | ----------- |\n|introducer|Introducer|","enum":["introducer"]},"title":{"type":"string","example":"Mr","description":"Title"},"first_name":{"type":"string","example":"Patrick","description":"First name"},"last_name":{"type":"string","example":"Stanton","description":"Last name"},"entity_name":{"type":"string","example":"PatrickCo","description":"Entity/business name"},"email":{"type":"string","example":"gareth@codepotato.co.uk","description":"Email address","format":"email"},"send_welcome_email":{"type":"boolean","example":true,"description":"Send an email on account creation and create a login"},"phone":{"type":"string","example":"443330509960","description":"Phone number"},"address":{"allOf":[{"$ref":"#/components/schemas/BasicAddress"}],"description":"Address"},"assigned_adviser_uuid":{"type":"string","example":"9a4c3438-38ed-43bc-aa8b-cf6e31c3b864","description":"UUID of the account that this account reports to","format":"uuid"},"groups":{"type":"array","example":["31c0a946-7284-49f9-95e9-b3c5463b2c7e","18545069-6d67-4408-a6c2-389b294342ee","d5405d18-8ab4-4cd4-a6a5-62bba6521702"],"description":"Group uuids belonging to the firm.","items":{"type":"string","example":"332fdd7d-7331-40ba-b5f7-2699c7d43e33","format":"uuid"}},"charge_split_schema_uuid":{"type":"string","example":"1a441e3e-b9e8-4358-ab4e-c62872397b73","description":"Charge split schema that is always used when adding a charge split for this introducer","format":"uuid"},"business_unit":{"type":"string","example":"131be411-bb93-46d1-98a9-497f512d027b","description":"UUID of the business unit to associate this account to","format":"uuid","nullable":true},"service_level":{"type":"string","example":"d4367fc3-44dd-4988-989e-514565dd1fdf","description":"UUID of the service level to associate this account to","format":"uuid","nullable":true},"next_review_date":{"type":"string","example":"2026-12-18","description":"Date of next review","format":"date"},"previous_review_date":{"type":"string","example":"2026-10-18","description":"Date of previous review","format":"date"},"anniversary_review_date":{"type":"string","example":"2026-11-18","description":"Anniversary review date","format":"date"},"terms_of_business_at":{"type":"string","example":"2026-10-18","description":"Date the Terms of Business were agreed and signed","format":"date","nullable":true},"client_agreement_at":{"type":"string","example":"2026-10-18","description":"Date the client agreement was agreed and signed","format":"date","nullable":true},"inactive_at":{"type":"string","example":"2026-11-18","description":"Inactive from date","format":"date"}}},"Update_Client_Account":{"type":"object","description":"Client route for Update an account","nullable":false,"title":"Update Client Account","required":["business_details"],"properties":{"title":{"type":"string","example":"Mr","description":"Title"},"first_name":{"type":"string","example":"Gareth","description":"First name"},"middle_name":{"type":"string","example":"Alex","description":"Middle name."},"last_name":{"type":"string","example":"Thompson","description":"Last name"},"maiden_name":{"type":"string","example":"Thompson","description":"Maiden name."},"entity_name":{"type":"string","example":"Plannr Ltd","description":"Entity name for shared account types"},"assigned_adviser_uuid":{"type":"string","example":"61f54189-fd6c-4b50-a1b4-d31e15668874","description":"The UUID of the employee that the client directly reports to","format":"uuid"},"assigned_administrator_uuid":{"type":"string","example":"ce6fe356-2c83-4f6a-82a2-26799bb95ad5","description":"The UUID of the adviser employee that the client has been assigned","format":"uuid"},"assigned_paraplanner_uuid":{"type":"string","example":"0357e73f-eae4-4529-a49b-7511827f22b9","description":"The UUID of the paraplanner employee that the client has been assigned","format":"uuid"},"introduced_by_uuid":{"type":"string","example":"2600776b-1b84-4e8f-ad1e-e78113b02489","description":"The UUID of the introducer for this client","format":"uuid"},"date_of_birth":{"type":"string","example":"1976-11-18","description":"Date of birth","format":"date"},"gender":{"type":"string","example":"male","description":"\n\nGender.\n\n| Value | Description |\n| ----- | ----------- |\n|male|male|\n|female|female|\n|non-binary|non-binary|\n|transgender|transgender|\n|intersex|intersex|\n|other|other|\n|unknown|unknown|","enum":["male","female","non-binary","transgender","intersex","other","unknown"]},"ni_number":{"type":"string","example":"AB 12 34 56 C","description":"National Insurance Number"},"nickname":{"type":"string","example":"Garth","description":"preferred nickname of the client"},"target_retirement_age":{"type":"integer","example":60,"description":"Targest retirement age."},"pronouns":{"type":"string","example":"he/him","description":"Pronouns"},"smoker_status":{"type":"string","example":"non-smoker","description":"Smoker Status. Possible values are: smoker, non-smoker, vaper, ex-smoker, never-smoked, unknown"},"residential_status":{"type":"string","example":"settled","description":"Residential status"},"country_of_residence":{"type":"string","example":"United Kingdom","description":"Country of residence"},"marital_status":{"type":"string","example":"married","description":"Marital status. Possible values are: single, cohabiting, married, divorced, civil-partnership, dissolved-civil-partnership, widowed, separated, engaged, in-relationship, other, unknown"},"is_vulnerable":{"type":"string","example":"possibly","description":"whether the client is vulnerable.  Possible values are: \"yes\", \"no\", and \"possibly\""},"is_prospect":{"type":"boolean","example":false,"description":"Denotes if the client is a prospect or not."},"prospect_converted_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"The datetime when the prospect was converted into a client.","format":"date"},"value":{"type":"integer","example":500000,"description":"The value of the client in penny format. E.g £5,000 would be 500000."},"is_uk_resident":{"type":"boolean","example":true,"description":"Whether the client is a UK resident or not."},"is_uk_domicile":{"type":"boolean","example":true,"description":"Whether the client is a UK domicile or not."},"expected_retirement_age":{"type":"integer","example":60,"description":"The expected retirement age."},"state_retirement_age":{"type":"integer","example":60,"description":"The state retirement age."},"nationalities":{"type":"array","example":["British","Romanian"],"description":"Nationalities of the client. You can use the api/v1/static/nationalities endpoint to get our list."},"vulnerability_details":{"type":"string","example":"No vulnerabilities","description":"Any details regarding the client's vulnerabilities."},"third_party_offered":{"type":"boolean","example":true,"description":"Whether the client has been offered any third party."},"procedure_adaptation":{"type":"boolean","example":false,"description":"Whether any procedures need to be adapted to the client."},"adaption_details_notes":{"type":"boolean","example":true,"description":"Any notes regarding adaptations"},"client_preferences":{"type":"string","example":"Prefers telephone calls in the morning.","description":"Any client preferences."},"current_state_of_health":{"type":"string","example":"Fit and healthy","description":"The client's current state of health."},"state_of_health_explanation":{"type":"string","example":"Explanation of the current state of health.","description":"Explanation of the current state of health."},"cigarettes_daily":{"type":"integer","example":6,"description":"The amount of cigarettes the client smokes a day."},"smoker_since":{"type":"string","example":"2016-11-18","description":"The date of when the client started smoking.","format":"date"},"last_used_nicotine_products_date":{"type":"string","example":"2025-11-18","description":"The date of the last time the client used nicotine products.","format":"date"},"long_term_care_needed":{"type":"boolean","example":false,"description":"Whether the client required long term care."},"long_term_care_notes":{"type":"string","example":"Notes on the client's long term care.","description":"Notes on the client's long term care."},"has_will":{"type":"boolean","example":true,"description":"Whether the client has a will or not."},"will_notes":{"type":"string","example":"Notes on the client's will.","description":"Notes on the client's will."},"will_last_reviewed":{"type":"string","example":"2026-11-18","description":"The date of the last time the will's been reviewed.","format":"date"},"has_power_of_attorney":{"type":"boolean","example":true,"description":"Whether the client has power of attorney."},"power_of_attorney_notes":{"type":"string","example":"Notes on the client's power of attorney.","description":"Notes on the client's power of attorney."},"first_contact_date":{"type":"string","example":"2026-10-18","description":"The date of the first contact.","format":"date"},"units_of_alcohol_weekly":{"type":"integer","example":28,"description":"The units of alcohol digested weekly."},"height":{"type":"integer","example":186,"description":"The height of the client in centimeters."},"weight":{"type":"integer","example":220,"description":"The weight of the client in pounds."},"health_notes":{"type":"string","example":"Notes on the client's health.","description":"Notes on the client's health."},"has_iht_planning":{"type":"boolean","example":true,"description":"Whether the client has Inheritance Tax (IHT) planning or not."},"iht_planning_notes":{"type":"string","example":"Notes on the client's Inheritance Tax (IHT) planning.","description":"Notes on the client's Inheritance Tax (IHT) planning."},"has_gifted_family":{"type":"boolean","example":true,"description":"Whether the client has gifted the family."},"gift_notes":{"type":"string","example":"Notes on the gifts.","description":"Notes on the gifts."},"is_anticipating_inheritance":{"type":"boolean","example":true,"description":"Whether the client is anticipating/ expecting any inheritance."},"anticipating_inheritance_notes":{"type":"string","example":"Notes on the client's inheritance anticipation/ expectations.","description":"Notes on the client's inheritance anticipation/ expectations."},"next_review_date":{"type":"string","example":"2026-12-18","description":"Date of next review","format":"date"},"previous_review_date":{"type":"string","example":"2026-10-18","description":"Date of previous review","format":"date"},"anniversary_review_date":{"type":"string","example":"2026-11-18","description":"Anniversary review date","format":"date"},"terms_of_business_at":{"type":"string","example":"2026-10-18","description":"Date the Terms of Business were agreed and signed","format":"date","nullable":true},"client_agreement_at":{"type":"string","example":"2026-10-18","description":"Date the client agreement was agreed and signed","format":"date","nullable":true},"is_will_accurate":{"type":"boolean","example":true,"description":"Does your current will reflect your wishes?"},"will_executors":{"type":"string","example":"","description":"Who are the executors?"},"will_location":{"type":"string","example":"","description":"Where is the will stored?"},"will_bequests_detail":{"type":"string","example":"","description":"Details of any Bequests"},"is_poa_registered_epa_or_lpa":{"type":"string","example":"epa","description":"\n\nIs the Power of Attorney Registered as a EPA or LPA\n\n| Value | Description |\n| ----- | ----------- |\n|epa|Epa|\n|lpa|Lpa|","enum":["epa","lpa"]},"are_poa_appointed_for_health_or_wealth":{"type":"string","example":"health","description":"Are the Attorneys appointed for Health, Wealth or Both?"},"poa_attorney_appointed_at":{"type":"string","example":"2026-11-18T00:00:00+00:00","description":"When were the Attorney’s appointed?","format":"date"},"will_poa_details":{"type":"string","example":"","description":"Who are the Attorney’s?"},"are_poa_documents_registered":{"type":"boolean","example":true,"description":"Are the documents registered?"},"will_gifts_details":{"type":"string","example":"","description":"Notes of gifts"},"is_in_receipt_of_your_state_pension":{"type":"boolean","example":true,"description":"Are you in receipt of your State Pension"},"has_obtained_a_forecast":{"type":"boolean","example":true,"description":"Have you recently obtained a forecast"},"date_of_forecast":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"What is the date of the obtained forecast","format":"date"},"projected_state_pension":{"type":"integer","example":50000,"description":"What is the projected State Pension"},"years_of_national_insurance_contributions":{"type":"integer","example":5,"description":"How many years have you made Nation Insurance Contributions"},"pension_notes":{"type":"string","example":"","description":"Notes on the pension"},"date_of_marriage":{"type":"string","example":"2026-11-18","description":"Date of marriage","format":"date"},"is_deceased":{"type":"boolean","example":false,"description":"Denotes if the client is deceased"},"deceased_at":{"type":"string","example":"2026-11-18","description":"Date of death","format":"date"},"is_married_to_partner":{"type":"boolean","example":true,"description":"Denotes if the client is married to their partner"},"checked_sanctions_at":{"type":"string","example":"2026-11-18","description":"Date the client was checked for sanctions","format":"date"},"lead_source":{"type":"string","example":"LeadGen Company","description":"Marks the lead source of the client"},"write_to_whom":{"type":"string","example":"Gareth","description":"Marks the name of the client to write to"},"passport_number":{"type":"string","example":"123456","description":"The passport number of the client"},"do_not_contact_via_fax":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via fax"},"do_not_contact_via_mail":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via mail"},"do_not_contact_via_sms":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via SMS"},"do_not_contact_via_email":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via email"},"do_not_contact_via_telephone":{"type":"boolean","example":false,"description":"Denotes if the client can be contacted via telephone"},"do_not_visit":{"type":"boolean","example":false,"description":"Denotes if the client can be visited"},"do_not_market":{"type":"boolean","example":false,"description":"Denotes if the client can be visited"},"current_life_stage_uuid":{"type":"string","example":"ff983827-bc4b-49f9-b147-68876c65bd09","description":"The clients current life stage for expenditure.","format":"uuid"},"status_uuid":{"type":"string","example":"f5f0746e-6493-4e8d-9776-66dca948b3dc","description":"The status of the client.","format":"uuid"},"primary_address_uuid":{"type":"string","example":"82863770-c486-4a2f-9314-516821056e7c","description":"uuid of the primary address","format":"uuid"},"primary_email_uuid":{"type":"string","example":"4f16de96-e3a8-4e9b-ac14-f6c1528086a7","description":"uuid of the primary email contact detail","format":"uuid"},"primary_phone_number_uuid":{"type":"string","example":"cfc7d53b-3b39-4cb8-8fc4-5c89909baeac","description":"uuid of the primary phone number contact detail","format":"uuid"},"groups":{"type":"array","example":["0c6184aa-3883-4fdf-88f4-71b42113a10f","cf2ac356-0cfd-495f-9e95-17300e09f017","05d35af3-1933-4e75-ad1b-241baa3c3740"],"description":"Group UUIDs to sync client to. Null can be provided to clear a clients groups.","items":{"type":"string","example":"99c931b0-1bc0-44a0-a488-4458d71384e2","format":"uuid"},"nullable":true},"inactive_at":{"type":"string","example":"2026-11-18","description":"Inactive from date","format":"date"},"business_unit":{"type":"string","example":"addd4491-d382-44e5-8347-53083a350f0a","description":"UUID of the business unit to associate this account to","format":"uuid","nullable":true},"service_level":{"type":"string","example":"3bd5e5c1-7c1b-443c-9945-5b218597b413","description":"UUID of the service level to associate this account to","format":"uuid","nullable":true},"circles":{"type":"array","example":[],"description":"Circles to associate the client to on creation with a login access level that controls what the client would see if they have a login.","items":{"type":"object","example":{"uuid":"f727e7b8-b665-4cc1-a860-636b0981e65b","login_access_level":"read"},"properties":{"uuid":{"type":"string","example":"f727e7b8-b665-4cc1-a860-636b0981e65b","description":"uuid of the circle","format":"uuid"},"login_access_level":{"type":"string","example":"read","description":"\n\nLogin Access level\n\n| Value | Description |\n| ----- | ----------- |\n|read|Read|\n|write|Write|","enum":["read","write"]}}}},"business_details":{"type":"object","description":"Array of business details","example":{"status":"Insolvent","status_comments":"This was due to an accounting error","type":"Public Limited Company","type_comments":"They became a Public Limited Company after May 2025","incorporated_on":"2026-11-18","business_registered_address":{"uuid":"d3fe8690-13a0-4952-bb4c-d7c18178a775","name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom"},"nature":"Construction","uk_sic_code":"12345","companies_house_number":"OC999999","legal_entity_identifier":"213800XQH3M93XJ27N32","year_end_day":11,"year_end_month":7,"firm_website":"www.google.com","employee_count":30,"self_employed_staff_count":30,"business_value":45000000,"is_registered_vat":false,"vat_number":"12345","accountant_company":"Accurate Accounting","accountant_name":"Andy Accountant","business_accountant_address":{"uuid":"de787af5-a55f-4f5f-b348-87a731a21316","name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom"},"legal_adviser_name":"Lenny Legal","business_legal_adviser_address":{"uuid":"b5155288-6098-4324-bee0-0a43873a023f","name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom"},"auditor_name":"Andy Audit","business_auditor_address":{"uuid":"a30c85f1-5f8a-436e-84e2-5735dd6eb294","name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom"},"data_protection_officer":"Dave Data","primary_contacts":[]},"properties":{"status":{"type":"string","example":"Insolvent","description":"The status of the business."},"status_comments":{"type":"string","example":"This was due to an accounting error","description":"The comments related to the status of the business."},"type":{"type":"string","example":"Public Limited Company","description":"The type of business."},"type_comments":{"type":"string","example":"They became a Public Limited Company after May 2025","description":"The type of business."},"incorporated_on":{"type":"string","example":"2026-11-18","description":"The Date the business was incorporated on","format":"date"},"business_registered_address":{"type":"object","description":"Array of business registered address details","example":{"uuid":"d3fe8690-13a0-4952-bb4c-d7c18178a775","name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom"},"properties":{"uuid":{"type":"string","example":"d3fe8690-13a0-4952-bb4c-d7c18178a775","description":"The uuid of the registered address.","format":"uuid"},"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"}}},"nature":{"type":"string","example":"Construction","description":"The nature of the business"},"uk_sic_code":{"type":"string","example":"12345","description":"The uk SIC code of the business"},"companies_house_number":{"type":"string","example":"OC999999","description":"The companies house number of the business"},"legal_entity_identifier":{"type":"string","example":"213800XQH3M93XJ27N32","description":"The Legal Entity Identifier (LEI) of the business","minLength":20,"maxLength":20,"pattern":"^[a-zA-Z0-9]{18}[0-9]{2}$"},"year_end_day":{"type":"integer","example":11,"description":"The day of the month the business uses for their year end date"},"year_end_month":{"type":"integer","example":7,"description":"The month the business uses for their year end date"},"firm_website":{"type":"string","example":"www.google.com","description":"The website of the business"},"employee_count":{"type":"integer","example":30,"description":"The number of employees the business has"},"self_employed_staff_count":{"type":"integer","example":30,"description":"The number of self employed staff the business has"},"business_value":{"type":"integer","example":45000000,"description":"The value of the business"},"is_registered_vat":{"type":"boolean","example":false,"description":"Denotes if the business is registered for VAT"},"vat_number":{"type":"string","example":"12345","description":"The VAT number of the business"},"accountant_company":{"type":"string","example":"Accurate Accounting","description":"The name of the accounting firm used by the business"},"accountant_name":{"type":"string","example":"Andy Accountant","description":"The name of the accountant used by the business"},"business_accountant_address":{"type":"object","description":"Array of the accountant's address details","example":{"uuid":"de787af5-a55f-4f5f-b348-87a731a21316","name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom"},"properties":{"uuid":{"type":"string","example":"de787af5-a55f-4f5f-b348-87a731a21316","description":"The uuid of the accountant's address.","format":"uuid"},"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"}}},"legal_adviser_name":{"type":"string","example":"Lenny Legal","description":"The name of the legal adviser used by the business"},"business_legal_adviser_address":{"type":"object","description":"Array of the legal adviser's address details","example":{"uuid":"b5155288-6098-4324-bee0-0a43873a023f","name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom"},"properties":{"uuid":{"type":"string","example":"b5155288-6098-4324-bee0-0a43873a023f","description":"The uuid of the legal adviser's address.","format":"uuid"},"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"}}},"auditor_name":{"type":"string","example":"Andy Audit","description":"The name of the auditor used by the business"},"business_auditor_address":{"type":"object","description":"Array of the auditor's address details","example":{"uuid":"a30c85f1-5f8a-436e-84e2-5735dd6eb294","name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom"},"properties":{"uuid":{"type":"string","example":"a30c85f1-5f8a-436e-84e2-5735dd6eb294","description":"The uuid of the auditor's address.","format":"uuid"},"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"}}},"data_protection_officer":{"type":"string","example":"Dave Data","description":"The name of the data protection officer used by the business"},"primary_contacts":{"type":"array","example":[],"description":"Array of the business's primary contacts","items":{"type":"object","example":{"uuid":"a5471dea-ff6f-4364-8d83-177be1d0cb64","name":"Jane Doe","email":"janedoe@primarycontact.com","address":{"uuid":"ac840062-a297-4138-ba9e-892e0b640624","name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom"}},"properties":{"uuid":{"type":"string","example":"a5471dea-ff6f-4364-8d83-177be1d0cb64","description":"The uuid of the primary contact.","format":"uuid"},"name":{"type":"string","example":"Jane Doe","description":"Name of the primary contact"},"email":{"type":"string","example":"janedoe@primarycontact.com","description":"Email of the primary contact","format":"email"},"address":{"type":"object","description":"Array of the primary contact's address details","example":{"uuid":"ac840062-a297-4138-ba9e-892e0b640624","name":"Work Address","address_1":"Suite E","address_2":"5 The Briars","address_3":"Waterberry Drive","address_4":"The Innovative Centre","town_city":"Waterlooville","county":"Hampshire","postcode":"PO7 7YH","country":"United Kingdom"},"properties":{"uuid":{"type":"string","example":"ac840062-a297-4138-ba9e-892e0b640624","description":"The uuid of the primary contact's address.","format":"uuid"},"name":{"type":"string","example":"Work Address","description":"Name of the address"},"address_1":{"type":"string","example":"Suite E","description":"First line of the address"},"address_2":{"type":"string","example":"5 The Briars","description":"Second line of the address"},"address_3":{"type":"string","example":"Waterberry Drive","description":"Third line of the address"},"address_4":{"type":"string","example":"The Innovative Centre","description":"Fourth line of the address"},"town_city":{"type":"string","example":"Waterlooville","description":"Town/City"},"county":{"type":"string","example":"Hampshire","description":"County"},"postcode":{"type":"string","example":"PO7 7YH","description":"Postcode"},"country":{"type":"string","example":"United Kingdom","description":"Country"}}}}}}}},"trust_details":{"type":"object","description":"Trust details","example":{"unique_trust_reference":"XVTRUST80725028","unique_charity_reference":"1234567","legal_entity_identifier":"213800XQH3M93XJ27N32"},"properties":{"unique_trust_reference":{"type":"string","example":"XVTRUST80725028","description":"The HMRC-issued Unique Trust Reference (UTR) for the trust","maxLength":50,"nullable":true},"unique_charity_reference":{"type":"string","example":"1234567","description":"The Charity Commission Unique Charity Reference for trusts of type Charity","maxLength":50,"nullable":true},"legal_entity_identifier":{"type":"string","example":"213800XQH3M93XJ27N32","description":"The Legal Entity Identifier (LEI) of the trust","minLength":20,"maxLength":20,"pattern":"^[a-zA-Z0-9]{18}[0-9]{2}$","nullable":true}}}}},"Update_Employee_Account":{"type":"object","description":"Employee route for Update an account","nullable":false,"title":"Update Employee Account","required":["departments"],"properties":{"first_name":{"type":"string","example":"Gareth","description":"The first name of the employee."},"last_name":{"type":"string","example":"Thompson","description":"The last name of the employee."},"email":{"type":"string","example":"gareth.thompson@plannrcrm.com","description":"The email of the employee. Required when with_login is present.","format":"email"},"assigned_adviser_uuid":{"type":"string","example":"479a0b7f-c6c1-42f6-990d-56611ddb206e","description":"The uuid of the senior employee that the employee directly reports to","format":"uuid"},"role":{"type":"string","example":"owner","description":"\n\nThe role of the employee.\n\n| Value | Description |\n| ----- | ----------- |\n|owner|An owner of the firm|\n|employee|A regular employee of the firm|\n|admin|A legacy admin type employee\u003cbr/\u003e\u003cbr/\u003e\u003cb\u003eDEPRECATED:\u003c/b\u003e\u003cbr/\u003eThis value is replaced in system with `employee`\u003cbr/\u003eSince: 2026-07-27 v1.130.0|\n|member|A legacy member type employee\u003cbr/\u003e\u003cbr/\u003e\u003cb\u003eDEPRECATED:\u003c/b\u003e\u003cbr/\u003eThis value is replaced in system with `employee`\u003cbr/\u003eSince: 2026-07-27 v1.130.0|","enum":["owner","employee","admin","member"]},"departments":{"type":"array","example":["paraplanner","adviser"],"description":"The departments the employee is part of","items":{"type":"string","example":"administrator","enum":["administrator","adviser","compliance","finance","it","marketing","operations","paraplanner"]}},"adviser_split_uuid":{"type":"string","example":"528e3f5c-dd8d-4121-89c5-f4faa654f320","description":"Adviser split","format":"uuid"},"groups":{"type":"array","example":["b27f3232-c12a-4f37-b907-af89a462f572","f85c2ff5-5e11-46fd-83cf-4b3b3a6950f4","a6aa6702-6ff4-4ab6-b4b2-87dff002f04e"],"description":"Group UUIDs to sync employee to. Null can be provided to clear an employees groups","items":{"type":"string","example":"4e1070bc-67c4-481f-927e-6b310e902aae","format":"uuid"},"nullable":true},"advice_type":{"type":"string","example":"independent","description":"\n\nEmployee's RMAR advice type\n\n| Value | Description |\n| ----- | ----------- |\n|independent|Independent|\n|restricted|Restricted|","enum":["independent","restricted"]},"meeting_booking_url":{"type":"string","example":"https://calendly.com/gareth-codepotato","description":"Employee's meeting booking URL"},"inactive_at":{"type":"string","example":"2026-11-18","description":"Inactive from date","format":"date"},"role_uuids":{"type":"array","example":["9184c202-dc49-4bf2-a821-79eac33682a9","7d4d77e8-83b3-4dd5-aefc-726711b49960","486e2589-48b2-429a-a6ca-507f6a80f27d"],"description":"List of RBAC Role uuids to assign to the account","items":{"type":"string","example":"f7ec9f3b-1063-4f6b-9d39-5bc8dadf52a8","format":"uuid"}},"business_unit":{"type":"string","example":"919b8c9f-525e-4d75-9929-f570a8ab3303","description":"UUID of the business unit to associate this account to","format":"uuid","nullable":true},"service_level":{"type":"string","example":"6c2a19b7-3b99-477f-a86c-f717273a4a13","description":"UUID of the service level to associate this account to","format":"uuid","nullable":true}}},"Update_Introducer_Account":{"type":"object","description":"Introducer route for Update an account","nullable":false,"title":"Update Introducer Account","properties":{"title":{"type":"string","example":"Mr","description":"Title"},"first_name":{"type":"string","example":"Patrick","description":"First name"},"last_name":{"type":"string","example":"Stanton","description":"Last name"},"entity_name":{"type":"string","example":"PatrickCo","description":"Entity/business name"},"assigned_adviser_uuid":{"type":"string","example":"7c49b9b4-a0cf-4ffc-8e7e-0677a0cd3199","description":"UUID of the account that this account reports to","format":"uuid"},"charge_split_schema_uuid":{"type":"string","example":"eca05fc2-0087-4d62-9de6-b9bd23f172f6","description":"Charge split schema that is always used when adding a charge split for this introducer","format":"uuid"},"groups":{"type":"array","example":["99b07937-a95e-4086-a67e-32cc2ca41a23","8c20e7b0-2fb9-4e7b-8532-df17437f1044","a13a7c4f-77a3-480d-85e9-a0960bca56e7"],"description":"Group UUIDs to sync introducer to. Null can be provided to clear an introducers groups","items":{"type":"string","example":"3814f31c-ed1d-4296-9cd6-d33754370bff","format":"uuid"},"nullable":true},"inactive_at":{"type":"string","example":"2026-11-18","description":"Inactive from date","format":"date"},"business_unit":{"type":"string","example":"90b876eb-96bf-4bc9-b6e3-9b2fc44d1af7","description":"UUID of the business unit to associate this account to","format":"uuid","nullable":true},"service_level":{"type":"string","example":"0f4d903b-ac65-4d3d-bb27-7d81d6d07b66","description":"UUID of the service level to associate this account to","format":"uuid","nullable":true}}}}},"security":[{"PersonalAccessToken":[],"OAuth2":[]}],"paths":{"/api/v1/account/{account_uuid}/check":{"get":{"summary":"Get all checks","operationId":"getApiV1AccountAccount_uuidCheck","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter checks by uuid.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter checks by uuid.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[provider]","description":"Filter checks by provider.","example":"smartsearch","required":false,"schema":{"type":"string","description":"Filter checks by provider.","example":"smartsearch"}},{"in":"query","name":"filter[type]","description":"Filter checks by type.","example":"aml","required":false,"schema":{"type":"string","description":"Filter checks by type.","example":"aml"}},{"in":"query","name":"filter[status]","description":"Filter checks by status.","example":"failed","required":false,"schema":{"type":"string","description":"Filter checks by status.","example":"failed"}},{"in":"query","name":"filter[via_integration]","description":"true","example":false,"required":false,"schema":{"type":"boolean","description":"true","example":false}},{"in":"query","name":"filter[date_run_from]","description":"Date to filter when the check was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the check was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[date_run_to]","description":"Date to filter when the check was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the check was created before.","example":"2022-05-31"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, provider, type, status, last_webhook_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, provider, type, status, last_webhook_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_CheckResource"}}}}}}}},"tags":["AML Checks"]},"post":{"summary":"Create a check","operationId":"postApiV1AccountAccount_uuidCheck","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CheckResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["AML Checks"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Check_StoreCheckRequest"}}}}},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/check/{uuid}":{"get":{"summary":"Show a check","operationId":"getApiV1AccountAccount_uuidCheckUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CheckResource"}}}}},"tags":["AML Checks"]},"put":{"summary":"Update a check","operationId":"putApiV1AccountAccount_uuidCheckUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CheckResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["AML Checks"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Check_UpdateCheckRequest"}}}}},"delete":{"summary":"Destroy a check","operationId":"deleteApiV1AccountAccount_uuidCheckUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["AML Checks"]},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/account/check-duplicates":{"post":{"summary":"Check for potential duplicate clients before creation.","operationId":"postApiV1AccountCheckDuplicates","description":"Matches firm-scoped clients on exact first name, last name and date of birth.\nRecords the authenticated user cannot view are returned with redacted names so\nthe UI can surface a privacy-safe warning without leaking personal data.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Account"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Contact_CheckDuplicateClientsRequest"}}}}}},"/api/v1/account":{"get":{"summary":"Get all accounts","operationId":"getApiV1Account","description":"","parameters":[{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, inactive_at, first_name, last_name, email, next_review_date, previous_review_date, anniversary_review_date, status_changed_at, terms_of_business_at, client_agreement_at, last_login_at, engagement_rating]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, inactive_at, first_name, last_name, email, next_review_date, previous_review_date, anniversary_review_date, status_changed_at, terms_of_business_at, client_agreement_at, last_login_at, engagement_rating]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number, primary_email, primary_address, assigned_adviser, assigned_administrator, assigned_paraplanner, groups, tags, owners, custom_fields, external_references, charge_split_schema, circles, seccl_lookup, soderberg_lookup, octopus_money_lookup, p1_lookup, business_unit, roles, portal_login_events, latest_portal_login, service_level].","example":"?include=groups,tags","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number, primary_email, primary_address, assigned_adviser, assigned_administrator, assigned_paraplanner, groups, tags, owners, custom_fields, external_references, charge_split_schema, circles, seccl_lookup, soderberg_lookup, octopus_money_lookup, p1_lookup, business_unit, roles, portal_login_events, latest_portal_login, service_level].","example":"?include=groups,tags"}},{"in":"query","name":"filter[assigned_administrator_uuids]","description":"Comma separated list of UUIDS to filter accounts who have the provided administrator account UUIDs","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of UUIDS to filter accounts who have the provided administrator account UUIDs","example":"architecto"}},{"in":"query","name":"filter[assigned_adviser_uuids]","description":"Comma separated list of UUIDS to filter accounts who have the provided adviser account UUIDs","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of UUIDS to filter accounts who have the provided adviser account UUIDs","example":"architecto"}},{"in":"query","name":"filter[assigned_paraplanner_uuids]","description":"Comma separated list of UUIDS to filter accounts who have the provided paraplanner account UUIDs","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of UUIDS to filter accounts who have the provided paraplanner account UUIDs","example":"architecto"}},{"in":"query","name":"filter[business_unit]","description":"Filter by a business unit UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a business unit UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated list of circle UUIDs.","example":"e995263e-7477-4118-8860-de295bafbe0b,f123456e-7890-1234-5678-abcdef123456","required":false,"schema":{"type":"string","description":"Comma separated list of circle UUIDs.","example":"e995263e-7477-4118-8860-de295bafbe0b,f123456e-7890-1234-5678-abcdef123456"}},{"in":"query","name":"filter[client_agreement_at]","description":"Filter by client agreement date with an operator.","example":"?filter[client_agreement_at]=\u003e=2025-01-01 or range ?filter[client_agreement_at]=\u003e=2025-01-01,\u003c=2025-12-31","required":false,"schema":{"type":"string","description":"Filter by client agreement date with an operator.","example":"?filter[client_agreement_at]=\u003e=2025-01-01 or range ?filter[client_agreement_at]=\u003e=2025-01-01,\u003c=2025-12-31"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the accounts was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the accounts was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the accounts was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the accounts was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a accounts custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a accounts custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto"}},{"in":"query","name":"filter[date_of_birth]","description":"Filter by date of birth with an operator.","example":"?filter[date_of_birth]=\u003e=1987-09-20 or range ?filter[date_of_birth]=\u003e=1987-09-20,\u003c=2000-01-01 or exact ?filter[date_of_birth]=1987-09-20","required":false,"schema":{"type":"string","description":"Filter by date of birth with an operator.","example":"?filter[date_of_birth]=\u003e=1987-09-20 or range ?filter[date_of_birth]=\u003e=1987-09-20,\u003c=2000-01-01 or exact ?filter[date_of_birth]=1987-09-20"}},{"in":"query","name":"filter[departments]","description":"Comma separated list of departments the employee is in.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of departments the employee is in.","example":"architecto"}},{"in":"query","name":"filter[email]","description":"Filter accounts that have an email with a partial match.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter accounts that have an email with a partial match.","example":"architecto"}},{"in":"query","name":"filter[engagement_rating]","description":"Filter accounts by their engagement rating. Valid values are [green, amber, red, none].","example":"green","required":false,"schema":{"type":"string","description":"Filter accounts by their engagement rating. Valid values are [green, amber, red, none].","example":"green"}},{"in":"query","name":"filter[exclude_groups]","description":"Provide a group UUID (or multiple as a comma-separated string) to filter accounts within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Provide a group UUID (or multiple as a comma-separated string) to filter accounts within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[exclude_uuid]","description":"Exclude accounts by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Exclude accounts by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[groups]","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[has_administrator]","description":"Filter accounts by whether they have an assigned administrator. true returns accounts with an administrator, false returns accounts without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter accounts by whether they have an assigned administrator. true returns accounts with an administrator, false returns accounts without.","example":false}},{"in":"query","name":"filter[has_advisor]","description":"Filter accounts by whether they have an assigned adviser. true returns accounts with an adviser, false returns accounts without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter accounts by whether they have an assigned adviser. true returns accounts with an adviser, false returns accounts without.","example":false}},{"in":"query","name":"filter[has_login]","description":"Filter accounts that have an active login","example":false,"required":false,"schema":{"type":"boolean","description":"Filter accounts that have an active login","example":false}},{"in":"query","name":"filter[has_paraplanner]","description":"Filter accounts by whether they have an assigned paraplanner. true returns accounts with a paraplanner, false returns accounts without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter accounts by whether they have an assigned paraplanner. true returns accounts with a paraplanner, false returns accounts without.","example":false}},{"in":"query","name":"filter[has_third_party_reference]","description":"Filter accounts that have an external reference with the provided third party.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter accounts that have an external reference with the provided third party.","example":"architecto"}},{"in":"query","name":"filter[inactive_after]","description":"Get accounts set to inactive after this date","example":"architecto","required":false,"schema":{"type":"string","description":"Get accounts set to inactive after this date","example":"architecto"}},{"in":"query","name":"filter[inactive_before]","description":"Get accounts set to inactive before this date","example":"architecto","required":false,"schema":{"type":"string","description":"Get accounts set to inactive before this date","example":"architecto"}},{"in":"query","name":"filter[include]","description":"Comma separated list of employee account UUIDs that should always be returned no matter what other filters are applied.","example":"a1d8eb7b-bcef-4321-b245-f00efd823e6a","required":false,"schema":{"type":"string","description":"Comma separated list of employee account UUIDs that should always be returned no matter what other filters are applied.","example":"a1d8eb7b-bcef-4321-b245-f00efd823e6a"}},{"in":"query","name":"filter[introduced_by]","description":"filter clients that have been introduced by this introducer account, expects introducer account uuid, can accept multiple,","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"filter clients that have been introduced by this introducer account, expects introducer account uuid, can accept multiple,","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[is_child]","description":"affects whether to include accounts based on the child account flag. Valid options are \"exclude\", \"include\", \"only\". (default: \"include\")","example":"architecto","required":false,"schema":{"type":"string","description":"affects whether to include accounts based on the child account flag. Valid options are \"exclude\", \"include\", \"only\". (default: \"include\")","example":"architecto"}},{"in":"query","name":"filter[is_deceased]","description":"Filter accounts by whether they are marked as deceased.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter accounts by whether they are marked as deceased.","example":true}},{"in":"query","name":"filter[is_pending_fact_find_account]","description":"Filter accounts that are pending a fact find. Defaults to false. Valid values are [true, false, all]. Pass all to return both pending and non-pending accounts.","example":"all","required":false,"schema":{"type":"string","description":"Filter accounts that are pending a fact find. Defaults to false. Valid values are [true, false, all]. Pass all to return both pending and non-pending accounts.","example":"all"}},{"in":"query","name":"filter[is_potential_duplicate]","description":"Filter accounts by whether they have been flagged as a potential duplicate. Only applies when the firm has duplicate client detection enabled.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter accounts by whether they have been flagged as a potential duplicate. Only applies when the firm has duplicate client detection enabled.","example":true}},{"in":"query","name":"filter[is_prospect]","description":"Get accounts with this is_prospect value","example":false,"required":false,"schema":{"type":"boolean","description":"Get accounts with this is_prospect value","example":false}},{"in":"query","name":"filter[is_vulnerable]","description":"Filter accounts by their vulnerability status. Accepts a comma separated list of values. Valid values are [yes, no, possibly].","example":"yes,possibly","required":false,"schema":{"type":"string","description":"Filter accounts by their vulnerability status. Accepts a comma separated list of values. Valid values are [yes, no, possibly].","example":"yes,possibly"}},{"in":"query","name":"filter[last_login_after]","description":"Date to filter accounts whose last login was on or after this date.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter accounts whose last login was on or after this date.","example":"2022-04-05"}},{"in":"query","name":"filter[last_login_before]","description":"Date to filter accounts whose last login was on or before this date.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter accounts whose last login was on or before this date.","example":"2022-05-31"}},{"in":"query","name":"filter[linked_to]","description":"Filter to clients that have been linked to the account given. This will also return the requested account.","example":"df240fd1-784d-47e8-8874-f779a35847ca","required":false,"schema":{"type":"string","description":"Filter to clients that have been linked to the account given. This will also return the requested account.","example":"df240fd1-784d-47e8-8874-f779a35847ca"}},{"in":"query","name":"filter[name]","description":"Filter accounts by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter accounts by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto"}},{"in":"query","name":"filter[next_review_date]","description":"Filter by next review date with an operator.","example":"?filter[next_review_date]=\u003e=2026-01-01 or range ?filter[next_review_date]=\u003e=2026-01-01,\u003c=2026-12-31","required":false,"schema":{"type":"string","description":"Filter by next review date with an operator.","example":"?filter[next_review_date]=\u003e=2026-01-01 or range ?filter[next_review_date]=\u003e=2026-01-01,\u003c=2026-12-31"}},{"in":"query","name":"filter[ni_number]","description":"Comma separated list of partial National Insurance Numbers to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of partial National Insurance Numbers to filter by.","example":"architecto"}},{"in":"query","name":"filter[portal_access_status]","description":"Filter accounts by their portal access status. Valid values are [active, has_portal_access, no_portal_access, never_logged_in, logged_in_recently].","example":"active","required":false,"schema":{"type":"string","description":"Filter accounts by their portal access status. Valid values are [active, has_portal_access, no_portal_access, never_logged_in, logged_in_recently].","example":"active"}},{"in":"query","name":"filter[previous_review_date]","description":"Filter by previous review date with an operator.","example":"?filter[previous_review_date]=\u003e=2025-01-01","required":false,"schema":{"type":"string","description":"Filter by previous review date with an operator.","example":"?filter[previous_review_date]=\u003e=2025-01-01"}},{"in":"query","name":"filter[primary_email]","description":"Filter accounts with a given primary email. Performs a partial match.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter accounts with a given primary email. Performs a partial match.","example":"architecto"}},{"in":"query","name":"filter[primary_phone_number]","description":"Filter accounts with a given primary phone number. Performs a partial match.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter accounts with a given primary phone number. Performs a partial match.","example":"architecto"}},{"in":"query","name":"filter[role]","description":"Comma separated string to filter by different account roles.  Valid types are [individual, joint, trust, business,member,owner,admin,employee,introducer].","example":"?filter[role]=individual,joint","required":false,"schema":{"type":"string","description":"Comma separated string to filter by different account roles.  Valid types are [individual, joint, trust, business,member,owner,admin,employee,introducer].","example":"?filter[role]=individual,joint"}},{"in":"query","name":"filter[role_uuids]","description":"Comma separated list of RBAC role UUIDs. Returns accounts that have a role assignment to any of the provided roles.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of RBAC role UUIDs. Returns accounts that have a role assignment to any of the provided roles.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[service_level]","description":"Filter by a service level UUID (or multiple as a comma-separated string).","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a service level UUID (or multiple as a comma-separated string).","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[status]","description":"Filter client status by partial names or uuid's","example":"active,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Filter client status by partial names or uuid's","example":"active,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[status_changed_at_from]","description":"Date to filter accounts by when their status was changed from.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter accounts by when their status was changed from.","example":"2022-04-05"}},{"in":"query","name":"filter[status_changed_at_to]","description":"Date to filter accounts by when their status was changed fup until.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter accounts by when their status was changed fup until.","example":"2022-05-31"}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[terms_of_business_at]","description":"Filter by terms of business date with an operator.","example":"?filter[terms_of_business_at]=\u003e=2025-01-01 or range ?filter[terms_of_business_at]=\u003e=2025-01-01,\u003c=2025-12-31","required":false,"schema":{"type":"string","description":"Filter by terms of business date with an operator.","example":"?filter[terms_of_business_at]=\u003e=2025-01-01 or range ?filter[terms_of_business_at]=\u003e=2025-01-01,\u003c=2025-12-31"}},{"in":"query","name":"filter[type]","description":"Comma separated string to filter by different account types.  Valid types are [client,employee,external].","example":"?filter[type]=client,employee","required":false,"schema":{"type":"string","description":"Comma separated string to filter by different account types.  Valid types are [client,employee,external].","example":"?filter[type]=client,employee"}},{"in":"query","name":"filter[uuid]","description":"Filter accounts by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter accounts by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}}}}},"tags":["Account"]},"post":{"summary":"Create an account","operationId":"postApiV1Account","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Account"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Create_Client_Account"},{"$ref":"#/components/schemas/Create_Employee_Account"},{"$ref":"#/components/schemas/Create_Introducer_Account"}]}}}}}},"/api/v1/account/{uuid}":{"get":{"summary":"Get an account","operationId":"getApiV1AccountUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}},"tags":["Account"]},"put":{"summary":"Update an account","operationId":"putApiV1AccountUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Account"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Update_Client_Account"},{"$ref":"#/components/schemas/Update_Employee_Account"},{"$ref":"#/components/schemas/Update_Introducer_Account"}]}}}}},"delete":{"summary":"Delete an account","operationId":"deleteApiV1AccountUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Account"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/out-of-office":{"put":{"summary":"Set an employee's Out of Office","operationId":"putApiV1AccountAccount_uuidOutOfOffice","description":"Record (or replace) the Out of Office window and message for an employee account.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"400":{"description":"Account is not an employee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"account-is-not-an-employee":{"summary":"Account is not an employee","value":{"message":"Out of Office can only be set on employee accounts."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"missing-fields":{"summary":"Missing fields","value":{"message":"The from field is required. (and 2 more errors)","errors":{"from":["The from field is required."],"until":["The until field is required."],"message":["The message field is required."]}}},"until-is-not-after-from":{"summary":"Until is not after from","value":{"message":"The until field must be a date after from.","errors":{"until":["The until field must be a date after from."]}}},"message-too-long":{"summary":"Message too long","value":{"message":"The message field must not be greater than 2000 characters.","errors":{"message":["The message field must not be greater than 2000 characters."]}}}}}}}},"tags":["Account"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Account_UpdateAccountOutOfOfficeRequest"}}}}},"delete":{"summary":"Clear an employee's Out of Office","operationId":"deleteApiV1AccountAccount_uuidOutOfOffice","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"400":{"description":"Account is not an employee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"account-is-not-an-employee":{"summary":"Account is not an employee","value":{"message":"Out of Office can only be set on employee accounts."}}}}}}},"tags":["Account"]},"parameters":[{"in":"path","name":"account_uuid","description":"The UUID of the employee account.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/marketing-consent":{"get":{"summary":"Get a client's marketing consent history","operationId":"getApiV1AccountAccount_uuidMarketingConsent","description":"Every consent decision recorded against the client, newest first.","parameters":[{"in":"query","name":"filter[channel]","description":"Filter by a comma separated list of channels. One of email, phone, letter, sms.","example":"email,sms","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of channels. One of email, phone, letter, sms.","example":"email,sms"}},{"in":"query","name":"filter[status]","description":"Filter by the decision recorded. One of opted_in, opted_out.","example":"opted_out","required":false,"schema":{"type":"string","description":"Filter by the decision recorded. One of opted_in, opted_out.","example":"opted_out"}},{"in":"query","name":"filter[effective_from]","description":"Only decisions that took effect at or after this ISO 8601 datetime.","example":"2026-09-01T00:00:00+01:00","required":false,"schema":{"type":"string","description":"Only decisions that took effect at or after this ISO 8601 datetime.","example":"2026-09-01T00:00:00+01:00"}},{"in":"query","name":"filter[effective_to]","description":"Only decisions that took effect at or before this ISO 8601 datetime.","example":"2026-09-30T23:59:59+01:00","required":false,"schema":{"type":"string","description":"Only decisions that took effect at or before this ISO 8601 datetime.","example":"2026-09-30T23:59:59+01:00"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [effective_at]. Negative sign to denote DESC.  Defaults to '-effective_at'.","example":"effective_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [effective_at]. Negative sign to denote DESC.  Defaults to '-effective_at'.","example":"effective_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ClientMarketingConsentResource"}}}}}}},"400":{"description":"Account is not a client","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"account-is-not-a-client":{"summary":"Account is not a client","value":{"message":"Marketing consent is only recorded for client accounts."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"unknown-status":{"summary":"Unknown status","value":{"message":"The selected status is invalid.","errors":{"filter.status":["The selected status is invalid."]}}},"invalid-effective-from-date":{"summary":"Invalid effective from date","value":{"message":"The effective from is not a valid date.","errors":{"filter.effective_from":["The effective from is not a valid date."]}}},"effective-to-before-effective-from":{"summary":"Effective to before effective from","value":{"message":"The effective to must be a date after or equal to effective from.","errors":{"filter.effective_to":["The effective to must be a date after or equal to effective from."]}}}}}}}},"tags":["Account"]},"put":{"summary":"Record a client's marketing consent","operationId":"putApiV1AccountAccount_uuidMarketingConsent","description":"Records one decision per channel supplied. Every call appends to the history; nothing is overwritten.\nPortal users are always recorded with the client_portal method at the current time.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource"}}}},"400":{"description":"Account is not a client","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"account-is-not-a-client":{"summary":"Account is not a client","value":{"message":"Marketing consent can only be recorded for client accounts."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"opt-in-without-a-consent-method":{"summary":"Opt-in without a consent method","value":{"message":"The method field is required when opt in is true.","errors":{"consents.0.method":["The method field is required when opt in is true."]}}},"opt-in-without-a-statement-version":{"summary":"Opt-in without a statement version","value":{"message":"The statement version field is required when opt in is true.","errors":{"consents.0.statement_version":["The statement version field is required when opt in is true."]}}},"unknown-channel":{"summary":"Unknown channel","value":{"message":"The selected channel is invalid.","errors":{"consents.0.channel":["The selected channel is invalid."]}}},"unknown-method":{"summary":"Unknown method","value":{"message":"The selected method is invalid.","errors":{"consents.0.method":["The selected method is invalid."]}}},"invalid-effective-date":{"summary":"Invalid effective date","value":{"message":"The effective at field must be a valid date.","errors":{"consents.0.effective_at":["The effective at field must be a valid date."]}}}}}}}},"tags":["Account"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Account_UpdateMarketingConsentRequest"}}}}},"parameters":[{"in":"path","name":"account_uuid","description":"The UUID of the client account.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/marketing-consent/status":{"get":{"summary":"Get a client's marketing consent status","operationId":"getApiV1AccountAccount_uuidMarketingConsentStatus","description":"The current status per channel, or the status as it stood at a moment in the past.","parameters":[{"in":"query","name":"at","description":"Return the status as of this ISO 8601 datetime. Current status when omitted.","example":"2026-09-15T12:00:00+01:00","required":false,"schema":{"type":"string","description":"Return the status as of this ISO 8601 datetime. Current status when omitted.","example":"2026-09-15T12:00:00+01:00"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource"}}}},"400":{"description":"Account is not a client","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"account-is-not-a-client":{"summary":"Account is not a client","value":{"message":"Marketing consent is only recorded for client accounts."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Account"]},"parameters":[{"in":"path","name":"account_uuid","description":"The UUID of the client account.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/potential-duplicates":{"get":{"summary":"List the active potential duplicates for a client.","operationId":"getApiV1ClientClient_uuidPotentialDuplicates","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Account"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/potential-duplicates/dismiss":{"post":{"summary":"Mark one or more matched records as not-a-duplicate of the given client.","operationId":"postApiV1ClientClient_uuidPotentialDuplicatesDismiss","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Account"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Contact_DismissPotentialDuplicatesRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/portal/actions":{"get":{"summary":"Get all Actions belonging to an account","operationId":"getApiV2PortalActions","description":"Get all related actions for the referenced account uuid (see header)","parameters":[{"in":"query","name":"filter[completed]","description":"affects whether to include actions which have been completed. Valid options are \"exclude\", \"include\", \"only\". (default: \"exclude\")","example":"architecto","required":false,"schema":{"type":"string","description":"affects whether to include actions which have been completed. Valid options are \"exclude\", \"include\", \"only\". (default: \"exclude\")","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_ActionsResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Actions"]}},"/api/v1/addon-subscriptions":{"get":{"summary":"Get all addon subscriptions","operationId":"getApiV1AddonSubscriptions","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[addon_id]","description":"Filter by a comma separated list of addon IDs.","example":"aberdeen,aegon-arc","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of addon IDs.","example":"aberdeen,aegon-arc"}},{"in":"query","name":"per_page","description":"the amount of addon subscriptions per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of addon subscriptions per page (Default 15. Max 500).","example":50}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC. Defaults to 'created_at'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC. Defaults to 'created_at'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource"}}}}}}}},"tags":["Addon Subscriptions"]}},"/api/v1/subscribe":{"post":{"summary":"Subscribe to an addon","operationId":"postApiV1Subscribe","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addon Subscriptions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Addons_SubscribeToAddonRequest"}}}}}},"/api/v1/addon-subscriptions/{addonSubscription_uuid}":{"get":{"summary":"Get an addon subscription","operationId":"getApiV1AddonSubscriptionsAddonSubscription_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource"}}}}},"tags":["Addon Subscriptions"]},"put":{"summary":"Update the configuration on an addon subscription","operationId":"putApiV1AddonSubscriptionsAddonSubscription_uuid","description":"This is also the only place an addon's data permissions (e.g. access to\nclient documents) can currently be changed, so it doubles as the\n\"permissions changed\" audit event until a dedicated permissions model\nexists. Config holds credentials and account ids alongside anything\npermission-like, with nothing marking which is which, so the entry is\ntagged and titled as a configuration change rather than claiming a\npermission changed when someone only corrected a username.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addon Subscriptions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Addons_UpdateAddonSubscriptionConfigRequest"}}}}},"parameters":[{"in":"path","name":"addonSubscription_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addon-subscriptions/{addonSubscription_uuid}/unsubscribe":{"delete":{"summary":"Unsubscribe from an addon","operationId":"deleteApiV1AddonSubscriptionsAddonSubscription_uuidUnsubscribe","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource"}}}}},"tags":["Addon Subscriptions"]},"parameters":[{"in":"path","name":"addonSubscription_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addon-subscriptions/{addonSubscription_uuid}/enable":{"post":{"summary":"Enable an addon","operationId":"postApiV1AddonSubscriptionsAddonSubscription_uuidEnable","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource"}}}}},"tags":["Addon Subscriptions"]},"parameters":[{"in":"path","name":"addonSubscription_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addon-subscriptions/{addonSubscription_uuid}/disable":{"post":{"summary":"Disable an addon","operationId":"postApiV1AddonSubscriptionsAddonSubscription_uuidDisable","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource"}}}}},"tags":["Addon Subscriptions"]},"parameters":[{"in":"path","name":"addonSubscription_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addon-subscriptions/{addonSubscription_uuid}/confirm-payment":{"post":{"summary":"Confirm an addon payment","operationId":"postApiV1AddonSubscriptionsAddonSubscription_uuidConfirmPayment","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonSubscriptionResource"}}}}},"tags":["Addon Subscriptions"]},"parameters":[{"in":"path","name":"addonSubscription_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addon":{"get":{"summary":"Get all available addons","operationId":"getApiV1Addon","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[category]","description":"Filter by addon category (accepts both enum value and display name).","example":"adviser_tools or Adviser Tools","required":false,"schema":{"type":"string","description":"Filter by addon category (accepts both enum value and display name).","example":"adviser_tools or Adviser Tools"}},{"in":"query","name":"per_page","description":"the amount of addon subscriptions per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of addon subscriptions per page (Default 15. Max 500).","example":50}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [name]. Negative sign to denote DESC. Defaults to 'name'.","example":"-name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [name]. Negative sign to denote DESC. Defaults to 'name'.","example":"-name"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Addons_AddonResource"}}}}}}}},"tags":["Addons"]}},"/api/v1/addon/{addon_id}/sub-firm-availability":{"get":{"summary":"Get an addon's sub-firm availability for your firm","operationId":"getApiV1AddonAddon_idSubFirmAvailability","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_FirmAddonAvailabilityResource"}}}}},"tags":["Addons"]},"put":{"summary":"Update an addon's sub-firm availability for your firm","operationId":"putApiV1AddonAddon_idSubFirmAvailability","description":"Restricting availability limits which of your sub-firms can see and\ninstall the addon to the given sub-firms (and theirs in turn).\nRemoving a sub-firm stops new installs there but leaves any existing\ninstall working. An addon the network has made mandatory cannot be\nrestricted.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_FirmAddonAvailabilityResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Addons_UpdateFirmAddonSubFirmsRequest"}}}}},"parameters":[{"in":"path","name":"addon_id","description":"The ID of the addon.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/nucleus/sync-clients":{"post":{"summary":"Initiate a sync to pull all clients from Nucleus","operationId":"postApiV1AddonsNucleusSyncClients","description":"The firm must have the Nucleus addon enabled for this to work.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons"]}},"/api/v1/addons/nucleus/sync-plans":{"post":{"summary":"Initiate a sync to pull all plans from Nucleus","operationId":"postApiV1AddonsNucleusSyncPlans","description":"The firm must have the Nucleus addon enabled for this to work.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons"]}},"/api/v1/addons/seccl/{addon}/sync-clients":{"post":{"summary":"Seccl - Sync all the clients","operationId":"postApiV1AddonsSecclAddonSyncClients","description":"","parameters":[{"in":"query","name":"new_records_only","description":"Only sync new records. Defaults to true.","example":false,"required":false,"schema":{"type":"boolean","description":"Only sync new records. Defaults to true.","example":false}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/sync-plans":{"post":{"summary":"Seccl - Sync all the plans","operationId":"postApiV1AddonsSecclAddonSyncPlans","description":"","parameters":[{"in":"query","name":"new_records_only","description":"Only sync new records. Defaults to true.","example":false,"required":false,"schema":{"type":"boolean","description":"Only sync new records. Defaults to true.","example":false}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/nodes":{"get":{"summary":"Seccl - Get a list of Seccl Nodes for the firm","operationId":"getApiV1AddonsSecclAddonNodes","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_SecclNodeResource"}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/associate-node":{"post":{"summary":"Seccl - Store an adviser node association","operationId":"postApiV1AddonsSecclAddonAssociateNode","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LookupResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Addons_Seccl_StoreAdviserSecclNodeAssociationRequest"}}}}},"parameters":[{"in":"path","name":"addon","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/search-assets":{"get":{"summary":"Seccl - Search assets on Seccl","operationId":"getApiV1AddonsSecclAddonSearchAssets","description":"","parameters":[{"in":"query","name":"search","description":"Name,ID or ISIN of asset to be returned from the platform universe. Use commas to separate terms.","example":"Vanguard","required":true,"schema":{"type":"string","description":"Name,ID or ISIN of asset to be returned from the platform universe. Use commas to separate terms.","example":"Vanguard"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_SecclAssetResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"The addon ID.","example":"soderberg","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/client":{"post":{"summary":"Seccl - Create a new Seccl client and sync them into Plannr","operationId":"postApiV1AddonsSecclAddonClient","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_SecclClientResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Addons_Seccl_CreateSecclClientRequest"}}}}},"parameters":[{"in":"path","name":"addon","description":"","example":"octopus_money","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/client/{id}":{"get":{"summary":"Seccl - Get the seccl client associated with the account","operationId":"getApiV1AddonsSecclAddonClientId","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_SecclClientResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"octopus_money","required":true,"schema":{"type":"string"}},{"in":"path","name":"id","description":"The ID of the client.","example":"VJR","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/client/{account_uuid}":{"patch":{"summary":"Seccl - Update the seccl client","operationId":"patchApiV1AddonsSecclAddonClientAccount_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_SecclClientResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Addons_Seccl_UpdateSecclClientRequest"}}}}},"parameters":[{"in":"path","name":"addon","description":"","example":"octopus_money","required":true,"schema":{"type":"string"}},{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/schema-products":{"get":{"summary":"Seccl - List scheme products on Seccl","operationId":"getApiV1AddonsSecclAddonSchemaProducts","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_SecclSchemeProductResource"}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/direct-debit-mandate":{"get":{"summary":"","operationId":"getApiV1AddonsSecclAddonDirectDebitMandate","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons"]},"post":{"summary":"","operationId":"postApiV1AddonsSecclAddonDirectDebitMandate","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/client/{account_uuid}/bank-details":{"post":{"summary":"Client portal: submit bank details once after AML has cleared but BAV is still pending.","operationId":"postApiV1AddonsSecclAddonClientAccount_uuidBankDetails","description":"Single-submit only — once SECCL has bankDetails, this endpoint refuses further attempts.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Addons_Seccl_SubmitClientBankDetailsRequest"}}}}},"parameters":[{"in":"path","name":"addon","description":"","example":"octopus_money","required":true,"schema":{"type":"string"}},{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/client/{account_uuid}/bank-details/status":{"get":{"summary":"Client portal: read the latest BAV verification status from SECCL.","operationId":"getApiV1AddonsSecclAddonClientAccount_uuidBankDetailsStatus","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"octopus_money","required":true,"schema":{"type":"string"}},{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/client/{account_uuid}/direct-debit-mandate/portal-completion":{"post":{"summary":"Client portal: complete the Direct Debit mandate inline after BAV passes.","operationId":"postApiV1AddonsSecclAddonClientAccount_uuidDirectDebitMandatePortalCompletion","description":"Mirrors acceptDirectDebitMandate but lives on a separate route so the portal's inline flow\ncan be tracked independently from the legacy email-driven DDM acceptance.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"octopus_money","required":true,"schema":{"type":"string"}},{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/client/{account_uuid}/products/{clientProductId}/accept":{"post":{"summary":"Seccl - Accept product terms for a client product","operationId":"postApiV1AddonsSecclAddonClientAccount_uuidProductsClientProductIdAccept","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_SecclClientProductResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"octopus_money","required":true,"schema":{"type":"string"}},{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"clientProductId","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/sync-client/{account_uuid}":{"post":{"summary":"","operationId":"postApiV1AddonsSecclAddonSyncClientAccount_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"octopus_money","required":true,"schema":{"type":"string"}},{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/sync-plan/{plan_uuid}":{"post":{"summary":"","operationId":"postApiV1AddonsSecclAddonSyncPlanPlan_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"octopus_money","required":true,"schema":{"type":"string"}},{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/seccl/{addon}/client-products/{account_uuid}":{"get":{"summary":"Seccl - Get a list of client products for the given account","operationId":"getApiV1AddonsSecclAddonClientProductsAccount_uuid","description":"","parameters":[{"in":"query","name":"wrapper_type","description":"Filter by wrapper type.","example":"ISA","required":false,"schema":{"type":"string","description":"Filter by wrapper type.","example":"ISA"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Addons_SecclClientProductResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"]},"parameters":[{"in":"path","name":"addon","description":"","example":"octopus_money","required":true,"schema":{"type":"string"}},{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/smartsearch/ukaml/{client_uuid}/run":{"post":{"summary":"SmartSearch - Run a UKAML Check","operationId":"postApiV1AddonsSmartsearchUkamlClient_uuidRun","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Addons_SmartSearch_RunSmartSearchUKAMLCheckRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/transact/account-opening":{"post":{"summary":"Transact - Account Opening","operationId":"postApiV1AddonsTransactAccountOpening","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Addons_Transact_TransactAccountOpeningRequest"}}}}}},"/api/v1/addons/transact/advisers":{"get":{"summary":"Get list of advisers","operationId":"getApiV1AddonsTransactAdvisers","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons"]}},"/api/v1/addons/mortgagebrain/connections":{"get":{"summary":"List the Mortgage Brain connections of the firm's advisers","operationId":"getApiV1AddonsMortgagebrainConnections","description":"","parameters":[{"in":"query","name":"filter[status]","description":"connected, expired or not_connected.","example":"not_connected","required":false,"schema":{"type":"string","description":"connected, expired or not_connected.","example":"not_connected"}},{"in":"query","name":"filter[search]","description":"Only advisers whose name contains this text.","example":"Patel","required":false,"schema":{"type":"string","description":"Only advisers whose name contains this text.","example":"Patel"}},{"in":"query","name":"sort","description":"Sort by last_name or first_name, prefixed with - for descending.","example":"last_name","required":false,"schema":{"type":"string","description":"Sort by last_name or first_name, prefixed with - for descending.","example":"last_name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_MortgageBrainConnectionResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons"]}},"/api/v1/addons/pensionlab/providers":{"get":{"summary":"Search PensionLab providers","operationId":"getApiV1AddonsPensionlabProviders","description":"Use this when a plan's provider has no PensionLab match, to choose which\nPensionLab provider the letter should go to.","parameters":[{"in":"query","name":"filter[name]","description":"Filter by part of the provider name.","example":"Aviva","required":false,"schema":{"type":"string","description":"Filter by part of the provider name.","example":"Aviva"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [name]. Negative sign to denote DESC. Defaults to 'name'.","example":"-name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [name]. Negative sign to denote DESC. Defaults to 'name'.","example":"-name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_PensionLabProviderResource"}}}}}}}},"tags":["Addons - PensionLab"]}},"/api/v1/addons/pensionlab/me/letters-of-authority":{"get":{"summary":"List the logged-in client's letters of authority","operationId":"getApiV1AddonsPensionlabMeLettersOfAuthority","description":"For the client portal. Includes joint letters where the client is the second owner,\nand leaves out letters on plans the client no longer owns or that are hidden from the portal.","parameters":[{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, raised_at]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-raised_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, raised_at]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-raised_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_PortalLetterOfAuthorityResource"}}}}}}}},"tags":["Addons - PensionLab"]}},"/api/v1/addons/pensionlab/clients/{client_id}/letters-of-authority":{"get":{"summary":"List a client's letters of authority","operationId":"getApiV1AddonsPensionlabClientsClient_idLettersOfAuthority","description":"Includes joint letters where the client is the second owner.","parameters":[{"in":"query","name":"filter[needs_attention]","description":"Only letters the provider has rejected.","example":true,"required":false,"schema":{"type":"boolean","description":"Only letters the provider has rejected.","example":true}},{"in":"query","name":"filter[state]","description":"Filter by a comma separated list of states. Valid options are [created, restarted, signed, wet sign pending, to be posted, sent, provider to update, policy checks, loa not accepted, provider cannot locate, completed, closed, unknown].","example":"sent,policy checks","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of states. Valid options are [created, restarted, signed, wet sign pending, to be posted, sent, provider to update, policy checks, loa not accepted, provider cannot locate, completed, closed, unknown].","example":"sent,policy checks"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, raised_at, state]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-raised_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, raised_at, state]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-raised_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_LetterOfAuthorityResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"needs-attention-is-not-true-or-false":{"summary":"Needs attention is not true or false","value":{"message":"The selected needs attention is invalid.","errors":{"filter.needs_attention":["The selected needs attention is invalid."]}}}}}}}},"tags":["Addons - PensionLab"]},"post":{"summary":"Raise letters of authority for a client","operationId":"postApiV1AddonsPensionlabClientsClient_idLettersOfAuthority","description":"Raises one letter per plan. Every required client, firm, provider and\npolicy detail is checked first, and all problems are returned together\nin a 422 before anything is sent to PensionLab. Retrying after a failure\ndoes not create duplicate letters.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_LetterOfAuthorityResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons - PensionLab"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"plans":{"type":"array","description":"The plans to raise letters for.","example":[[]],"items":{"type":"object","properties":{"plan":{"type":"string","description":"The plan UUID.","example":"9b1f0d4e-2c3a-4f5b-8d6e-7a8b9c0d1e2f"},"pensionlab_provider":{"type":"string","description":"The PensionLab provider UUID, needed when the plan's provider has no unique PensionLab match.","example":"f3b2b6c3-a6e7-4a2f-b5dc-95a6d1cc020d"}},"required":["plan"]}}},"required":["plans"]}}}}},"parameters":[{"in":"path","name":"client_id","description":"The ID of the client.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/pensionlab/clients/{client_id}/detail-suggestions":{"get":{"summary":"List a client's details changed in PensionLab","operationId":"getApiV1AddonsPensionlabClientsClient_idDetailSuggestions","description":"Details changed in PensionLab that differ from Plannr. Never applied\nautomatically; at most one per detail, so not paginated.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_PensionLabDetailSuggestionResource"}}}}}}}},"tags":["Addons - PensionLab"]},"parameters":[{"in":"path","name":"client_id","description":"The ID of the client.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/pensionlab/plans/{plan_uuid}/letters-of-authority":{"get":{"summary":"List a plan's letters of authority","operationId":"getApiV1AddonsPensionlabPlansPlan_uuidLettersOfAuthority","description":"","parameters":[{"in":"query","name":"filter[needs_attention]","description":"Only letters the provider has rejected.","example":true,"required":false,"schema":{"type":"boolean","description":"Only letters the provider has rejected.","example":true}},{"in":"query","name":"filter[state]","description":"Filter by a comma separated list of states. Valid options are [created, restarted, signed, wet sign pending, to be posted, sent, provider to update, policy checks, loa not accepted, provider cannot locate, completed, closed, unknown].","example":"sent,policy checks","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of states. Valid options are [created, restarted, signed, wet sign pending, to be posted, sent, provider to update, policy checks, loa not accepted, provider cannot locate, completed, closed, unknown].","example":"sent,policy checks"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, raised_at, state]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-raised_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, raised_at, state]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-raised_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_LetterOfAuthorityResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"needs-attention-is-not-true-or-false":{"summary":"Needs attention is not true or false","value":{"message":"The selected needs attention is invalid.","errors":{"filter.needs_attention":["The selected needs attention is invalid."]}}}}}}}},"tags":["Addons - PensionLab"]},"post":{"summary":"Raise a letter of authority for a plan","operationId":"postApiV1AddonsPensionlabPlansPlan_uuidLettersOfAuthority","description":"Raises the letter for the plan's first owner, and for both owners if\nthe plan is jointly owned.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_LetterOfAuthorityResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addons - PensionLab"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"pensionlab_provider":{"type":"string","description":"The PensionLab provider UUID, needed when the plan's provider has no unique PensionLab match.","example":"f3b2b6c3-a6e7-4a2f-b5dc-95a6d1cc020d"}}}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/pensionlab/letters-of-authority":{"get":{"summary":"List letters of authority","operationId":"getApiV1AddonsPensionlabLettersOfAuthority","description":"Only letters whose owners the user can see are listed and counted.\nmeta.counts gives the total and how many need attention, before filters.","parameters":[{"in":"query","name":"filter[needs_attention]","description":"Only letters the provider has rejected: not accepted, or the policy could not be found.","example":true,"required":false,"schema":{"type":"boolean","description":"Only letters the provider has rejected: not accepted, or the policy could not be found.","example":true}},{"in":"query","name":"filter[state]","description":"Filter by a comma separated list of states. Valid options are [created, restarted, signed, wet sign pending, to be posted, sent, provider to update, policy checks, loa not accepted, provider cannot locate, completed, closed, unknown].","example":"sent,policy checks","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of states. Valid options are [created, restarted, signed, wet sign pending, to be posted, sent, provider to update, policy checks, loa not accepted, provider cannot locate, completed, closed, unknown].","example":"sent,policy checks"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, raised_at, state]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-raised_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, raised_at, state]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-raised_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_LetterOfAuthorityResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"needs-attention-is-not-true-or-false":{"summary":"Needs attention is not true or false","value":{"message":"The selected needs attention is invalid.","errors":{"filter.needs_attention":["The selected needs attention is invalid."]}}}}}}}},"tags":["Addons - PensionLab"]}},"/api/v1/addons/pensionlab/letters-of-authority/export":{"get":{"summary":"Export letters of authority as CSV","operationId":"getApiV1AddonsPensionlabLettersOfAuthorityExport","description":"The same letters as the tracker, with the same filters and sort.","parameters":[{"in":"query","name":"filter[needs_attention]","description":"Only letters the provider has rejected.","example":true,"required":false,"schema":{"type":"boolean","description":"Only letters the provider has rejected.","example":true}},{"in":"query","name":"filter[state]","description":"Filter by a comma separated list of states. Valid options are [created, restarted, signed, wet sign pending, to be posted, sent, provider to update, policy checks, loa not accepted, provider cannot locate, completed, closed, unknown].","example":"sent,policy checks","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of states. Valid options are [created, restarted, signed, wet sign pending, to be posted, sent, provider to update, policy checks, loa not accepted, provider cannot locate, completed, closed, unknown].","example":"sent,policy checks"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, raised_at, state]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-raised_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, raised_at, state]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-raised_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"needs-attention-is-not-true-or-false":{"summary":"Needs attention is not true or false","value":{"message":"The selected needs attention is invalid.","errors":{"filter.needs_attention":["The selected needs attention is invalid."]}}}}}}}},"tags":["Addons - PensionLab"]}},"/api/v1/addons/pensionlab/letters-of-authority/{letterOfAuthority_uuid}":{"get":{"summary":"Get a letter of authority","operationId":"getApiV1AddonsPensionlabLettersOfAuthorityLetterOfAuthority_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_LetterOfAuthorityResource"}}}}},"tags":["Addons - PensionLab"]},"parameters":[{"in":"path","name":"letterOfAuthority_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/pensionlab/letters-of-authority/{letterOfAuthority_uuid}/events":{"get":{"summary":"List a letter of authority's events","operationId":"getApiV1AddonsPensionlabLettersOfAuthorityLetterOfAuthority_uuidEvents","description":"The letter's history: when it was raised, each time signing links were sent,\nand every update from PensionLab.","parameters":[{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [received_at]. Negative sign to denote DESC. Defaults to '-received_at'.","example":"received_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [received_at]. Negative sign to denote DESC. Defaults to '-received_at'.","example":"received_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_LetterOfAuthorityEventResource"}}}}}}}},"tags":["Addons - PensionLab"]},"parameters":[{"in":"path","name":"letterOfAuthority_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/pensionlab/letters-of-authority/{letterOfAuthority_uuid}/download/letter":{"get":{"summary":"Download a signed letter of authority","operationId":"getApiV1AddonsPensionlabLettersOfAuthorityLetterOfAuthority_uuidDownloadLetter","description":"Streamed from PensionLab. Available once every owner has signed.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons - PensionLab"]},"parameters":[{"in":"path","name":"letterOfAuthority_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/pensionlab/letters-of-authority/{letterOfAuthority_uuid}/download/certificate":{"get":{"summary":"Download a letter of authority's signing certificate","operationId":"getApiV1AddonsPensionlabLettersOfAuthorityLetterOfAuthority_uuidDownloadCertificate","description":"Streamed from PensionLab. Available once every owner has signed.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Addons - PensionLab"]},"parameters":[{"in":"path","name":"letterOfAuthority_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/pensionlab/letters-of-authority/{letterOfAuthority_uuid}/signing-links":{"get":{"summary":"Get signing links (Sign now)","operationId":"getApiV1AddonsPensionlabLettersOfAuthorityLetterOfAuthority_uuidSigningLinks","description":"Fresh signing links for each owner, for the client to sign in the\nmeeting. Each link covers all of that owner's letters awaiting signature.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"client":{"uuid":"36fe211e-f9ee-4483-bcd5-e98e48865666","name":"Jane Smith"},"signing_link":"https://thepensionlab.co.uk/loa/signature/setup/36fe211e-f9ee-4483-bcd5-e98e48865666"}]},"properties":{"data":{"type":"array","example":[{"client":{"uuid":"36fe211e-f9ee-4483-bcd5-e98e48865666","name":"Jane Smith"},"signing_link":"https://thepensionlab.co.uk/loa/signature/setup/36fe211e-f9ee-4483-bcd5-e98e48865666"}],"items":{"type":"object","properties":{"client":{"type":"object","properties":{"uuid":{"type":"string","example":"36fe211e-f9ee-4483-bcd5-e98e48865666"},"name":{"type":"string","example":"Jane Smith"}}},"signing_link":{"type":"string","example":"https://thepensionlab.co.uk/loa/signature/setup/36fe211e-f9ee-4483-bcd5-e98e48865666"}}}}}}}}}},"tags":["Addons - PensionLab"]},"parameters":[{"in":"path","name":"letterOfAuthority_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/pensionlab/letters-of-authority/{letterOfAuthority_uuid}/signing-links/send":{"post":{"summary":"Send signing links to the client","operationId":"postApiV1AddonsPensionlabLettersOfAuthorityLetterOfAuthority_uuidSigningLinksSend","description":"Sends each owner their signing link as a portal message and an email.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_LetterOfAuthorityResource"}}}}},"tags":["Addons - PensionLab"]},"parameters":[{"in":"path","name":"letterOfAuthority_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/pensionlab/letters-of-authority/{letterOfAuthority_uuid}/refresh":{"post":{"summary":"Refresh a letter of authority","operationId":"postApiV1AddonsPensionlabLettersOfAuthorityLetterOfAuthority_uuidRefresh","description":"Fetches the letter's latest state from PensionLab.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_LetterOfAuthorityResource"}}}}},"tags":["Addons - PensionLab"]},"parameters":[{"in":"path","name":"letterOfAuthority_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/pensionlab/letters-of-authority/{letterOfAuthority_uuid}/resend":{"post":{"summary":"Resend a letter of authority","operationId":"postApiV1AddonsPensionlabLettersOfAuthorityLetterOfAuthority_uuidResend","description":"Asks PensionLab to send the letter again, then refreshes it.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_PensionLab_LetterOfAuthorityResource"}}}}},"tags":["Addons - PensionLab"]},"parameters":[{"in":"path","name":"letterOfAuthority_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/address":{"get":{"summary":"Get all account addresses","operationId":"getApiV1AccountAccount_uuidAddress","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts].","example":"?include=accounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts].","example":"?include=accounts"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, address_1, postcode]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, address_1, postcode]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AddressResource"}}}}}}}},"tags":["Addresses (v1)"]},"post":{"summary":"Create an address","operationId":"postApiV1AccountAccount_uuidAddress","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AddressResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addresses (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Address_StoreAddressRequest"}}}}},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/address/{uuid}":{"get":{"summary":"Get an address","operationId":"getApiV1AccountAccount_uuidAddressUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AddressResource"}}}}},"tags":["Addresses (v1)"]},"put":{"summary":"Update an address","operationId":"putApiV1AccountAccount_uuidAddressUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AddressResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addresses (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Address_UpdateAddressRequest"}}}}},"delete":{"summary":"Delete an address","operationId":"deleteApiV1AccountAccount_uuidAddressUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Addresses (v1)"]},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/addresses":{"get":{"summary":"Get all addresses","operationId":"getApiV2Addresses","description":"This endpoint will return all addresses in the firm relevant to the user accessing them.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, primary_accounts].","example":"?include=accounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, primary_accounts].","example":"?include=accounts"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, address_1, postcode]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, address_1, postcode]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_AddressResource"}}}}}}}},"tags":["Addresses (v2)"]},"post":{"summary":"Create an address","operationId":"postApiV2Addresses","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_AddressResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addresses (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Addresses_StoreAddressRequest"}}}}}},"/api/v2/addresses/{uuid}":{"get":{"summary":"Get an address","operationId":"getApiV2AddressesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_AddressResource"}}}}},"tags":["Addresses (v2)"]},"put":{"summary":"Update an address","operationId":"putApiV2AddressesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_AddressResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Addresses (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Addresses_UpdateAddressRequest"}}}}},"delete":{"summary":"Delete an address","operationId":"deleteApiV2AddressesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Addresses (v2)"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/audit-log":{"get":{"summary":"Get the firm's Audit tab entries","operationId":"getApiV1AuditLog","description":"","parameters":[{"in":"query","name":"filter[source]","description":"Filter by source. One of: head_office, firm, automated.","example":"firm","required":false,"schema":{"type":"string","description":"Filter by source. One of: head_office, firm, automated.","example":"firm"}},{"in":"query","name":"filter[account]","description":"Filter by the author's account UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by the author's account UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[search]","description":"Search by entry title, actor name or entry UUID.","example":"Firm status","required":false,"schema":{"type":"string","description":"Search by entry title, actor name or entry UUID.","example":"Firm status"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AuditLogEntryResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Audit Log"]}},"/api/v1/audit-log/{audit}":{"get":{"summary":"Get a single Audit tab entry, for the entry's detail/view page","operationId":"getApiV1AuditLogAudit","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Audit Log"]},"parameters":[{"in":"path","name":"audit","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/marketplace-audit-log":{"get":{"summary":"Get the firm's marketplace (addon install/removal/permission-change)\naudit trail. See ENT-274.","operationId":"getApiV1MarketplaceAuditLog","description":"","parameters":[{"in":"query","name":"filter[app]","description":"Filter by addon name.","example":"Voyant Planner","required":false,"schema":{"type":"string","description":"Filter by addon name.","example":"Voyant Planner"}},{"in":"query","name":"filter[search]","description":"Search by entry title, actor name or entry UUID.","example":"Voyant Planner","required":false,"schema":{"type":"string","description":"Search by entry title, actor name or entry UUID.","example":"Voyant Planner"}},{"in":"query","name":"filter[date_from]","description":"Filter entries on or after this date.","example":"2026-10-01","required":false,"schema":{"type":"string","description":"Filter entries on or after this date.","example":"2026-10-01"}},{"in":"query","name":"filter[date_to]","description":"Filter entries on or before this date.","example":"2026-10-31","required":false,"schema":{"type":"string","description":"Filter entries on or before this date.","example":"2026-10-31"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AuditLogEntryResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Audit Log"]}},"/api/v1/marketplace-audit-log/export":{"get":{"summary":"Export the firm's marketplace audit trail as a CSV, honouring every\nfilter the index endpoint accepts.","operationId":"getApiV1MarketplaceAuditLogExport","description":"Capped at CreateHeadOfficeAuditLogCsv::ROW_LIMIT rows, most recent first;\n`X-Export-Truncated` is `1` when more entries matched than were exported.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Audit Log"]}},"/api/v1/marketplace-audit-log/{audit}":{"get":{"summary":"Get a single marketplace audit log entry, for the entry's detail/view page","operationId":"getApiV1MarketplaceAuditLogAudit","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Audit Log"]},"parameters":[{"in":"path","name":"audit","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/employee/{employee_uuid}/audits":{"get":{"summary":"Get all audits made by an employee","operationId":"getApiV1EmployeeEmployee_uuidAudits","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"the amount of audits per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of audits per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AuditResource"}}}}}}}},"tags":["Audits"]},"parameters":[{"in":"path","name":"employee_uuid","description":"the account uuid who's authored audits you want to get.","example":0,"required":true,"schema":{"type":"integer"}}]},"/api/v1/audits":{"get":{"summary":"Get all audits for the firm","operationId":"getApiV1Audits","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[auditable_type]","description":"Filter by a comma separated list of auditable types. Valid types are ['account','bank_statement','bank_transaction','board_task','case','circle','expectation','firm','group','lead','lead_interest','lead_source','lead_sub_source','plan','provider_statement','statement_transaction','statement','task','webhook_subscription']. Each type requires permission to list that record type.","example":"lead_source,lead_sub_source,lead_interest","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of auditable types. Valid types are ['account','bank_statement','bank_transaction','board_task','case','circle','expectation','firm','group','lead','lead_interest','lead_source','lead_sub_source','plan','provider_statement','statement_transaction','statement','task','webhook_subscription']. Each type requires permission to list that record type.","example":"lead_source,lead_sub_source,lead_interest"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"the amount of audits per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of audits per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AuditResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"unknown-auditable-type":{"summary":"Unknown auditable type","value":{"message":"spaceship is not a valid auditable type.","errors":{"filter.auditable_type":["spaceship is not a valid auditable type."]}}},"auditable-type-the-caller-cannot-view":{"summary":"Auditable type the caller cannot view","value":{"message":"You do not have permission to view audits for lead_interest.","errors":{"filter.auditable_type":["You do not have permission to view audits for lead_interest."]}}},"invalid-sort":{"summary":"Invalid sort","value":{"message":"The selected sort is invalid.","errors":{"sort":["The selected sort is invalid."]}}}}}}}},"tags":["Audits"]}},"/api/v1/audits/{model}/{modelUuid}":{"get":{"summary":"Get all audits attached to a model","operationId":"getApiV1AuditsModelModelUuid","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"the amount of audits per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of audits per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AuditResource"}}}}}}}},"tags":["Audits"]},"parameters":[{"in":"path","name":"model","description":"the model type, valid types are ['account','bank_statement','bank_transaction','board_task','case','circle','expectation','firm','group','lead','lead_interest','lead_source','lead_sub_source','plan','provider_statement','role','statement_transaction','statement','task','webhook_subscription']","example":"group","required":true,"schema":{"type":"string"}},{"in":"path","name":"modelUuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/automation-blocks":{"get":{"summary":"Get all Automation block information that can be used for blueprint steps","operationId":"getApiV1AutomationBlocks","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Automation_AutomationBlockResource"}}}}}}}},"tags":["Automation Blocks"]}},"/api/v1/automation-blocks/triggers":{"get":{"summary":"Get all trigger types for automation blocks","operationId":"getApiV1AutomationBlocksTriggers","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Automation_AutomationTriggerResource"}}}}}}}},"tags":["Automation Blocks"]}},"/api/v1/webhooks/{webhookTarget_uuid}":{"post":{"summary":"Trigger automations through webhook","operationId":"postApiV1WebhooksWebhookTarget_uuid","description":"","parameters":[],"responses":{"500":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Server Error"}}}}}}},"tags":["Automation Blueprints"]},"parameters":[{"in":"path","name":"webhookTarget_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/automation-blueprints":{"get":{"summary":"Get all Automation Blueprints","operationId":"getApiV1AutomationBlueprints","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [account,steps,webhook_targets].","example":"?include=account,steps","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [account,steps,webhook_targets].","example":"?include=account,steps"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[is_active]","description":"Filter automation blueprints by which are active or not.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter automation blueprints by which are active or not.","example":false}},{"in":"query","name":"filter[trigger]","description":"Filter automation blueprints by a certain trigger type.","example":"client.created","required":false,"schema":{"type":"string","description":"Filter automation blueprints by a certain trigger type.","example":"client.created"}},{"in":"query","name":"filter[name]","description":"Filter automation blueprints by a partial match to the blueprint name.","example":"Client","required":false,"schema":{"type":"string","description":"Filter automation blueprints by a partial match to the blueprint name.","example":"Client"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Automation_AutomationBlueprintResource"}}}}}}}},"tags":["Automation Blueprints"]},"post":{"summary":"Create an Automation Blueprint","operationId":"postApiV1AutomationBlueprints","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Automation_AutomationBlueprintResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Automation Blueprints"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Automation_StoreAutomationBlueprintRequest"}}}}}},"/api/v1/automation-blueprints/{automationBlueprint_uuid}":{"get":{"summary":"Get a Automation Blueprint","operationId":"getApiV1AutomationBlueprintsAutomationBlueprint_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Automation_AutomationBlueprintResource"}}}}},"tags":["Automation Blueprints"]},"put":{"summary":"Update a Automation Blueprint","operationId":"putApiV1AutomationBlueprintsAutomationBlueprint_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Automation_AutomationBlueprintResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Automation Blueprints"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Automation_UpdateAutomationBlueprintRequest"}}}}},"delete":{"summary":"Delete an Automation Blueprint","operationId":"deleteApiV1AutomationBlueprintsAutomationBlueprint_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Automation Blueprints"]},"parameters":[{"in":"path","name":"automationBlueprint_uuid","description":"The UUID of the automation","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/automation-blueprints/{automationBlueprint_uuid}/trigger":{"post":{"summary":"Trigger and start running an automation","operationId":"postApiV1AutomationBlueprintsAutomationBlueprint_uuidTrigger","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Automation Blueprints"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Automation_TriggerAutomationRequest"}}}}},"parameters":[{"in":"path","name":"automationBlueprint_uuid","description":"The UUID of the automation","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/automation-blueprints/{automationBlueprint_uuid}/webhook-targets":{"post":{"summary":"Attach a webhook target to an automation blueprint","operationId":"postApiV1AutomationBlueprintsAutomationBlueprint_uuidWebhookTargets","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Automation_WebhookTargetResource"}}}}},"tags":["Automation Blueprints"]},"parameters":[{"in":"path","name":"automationBlueprint_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/automation-blueprints/{automationBlueprint_uuid}/executions":{"get":{"summary":"Get all executions for a single automation blueprint","operationId":"getApiV1AutomationBlueprintsAutomationBlueprint_uuidExecutions","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at ]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at ]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Automation_AutomationExecutionResource"}}}}}}}},"tags":["Automation Blueprints"]},"parameters":[{"in":"path","name":"automationBlueprint_uuid","description":"The UUID of the automation","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/automation-step/{automationStep_uuid}/stop":{"post":{"summary":"Stop an automation step","operationId":"postApiV1AutomationStepAutomationStep_uuidStop","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Automation Execution Steps"]},"parameters":[{"in":"path","name":"automationStep_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/automation-step/{automationStep_uuid}/start":{"post":{"summary":"Start an automation step","operationId":"postApiV1AutomationStepAutomationStep_uuidStart","description":"You may only start a step that has previously been stopped","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Automation Execution Steps"]},"parameters":[{"in":"path","name":"automationStep_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/automation-executions":{"get":{"summary":"Get all automation executions for an automation blueprint","operationId":"getApiV1AutomationExecutions","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[client_uuids]","description":"Filter by a comma separated list of client UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of client UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"include","description":"Include relationships. Valid values are [account].","example":"account","required":false,"schema":{"type":"string","description":"Include relationships. Valid values are [account].","example":"account"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at ]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at ]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Automation_AutomationExecutionResource"}}}}}}}},"tags":["Automation Executions"]}},"/api/v1/automation-executions/{uuid}":{"get":{"summary":"Get an automation execution","operationId":"getApiV1AutomationExecutionsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Automation_AutomationExecutionResource"}}}}},"tags":["Automation Executions"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/bank-accounts":{"get":{"summary":"Get all bank accounts","operationId":"getApiV2BankAccounts","description":"This endpoint will return all bank accounts in the firm relevant to the user accessing them.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, primary_accounts].","example":"?include=accounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, primary_accounts].","example":"?include=accounts"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_name]","description":"Filter by name.","example":"My Savings Account","required":false,"schema":{"type":"string","description":"Filter by name.","example":"My Savings Account"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, account_name]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, account_name]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_BankAccountResource"}}}}}}}},"tags":["Bank Accounts"]},"post":{"summary":"Create a bank account","operationId":"postApiV2BankAccounts","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_BankAccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Bank Accounts"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_BankAccount_StoreBankAccountRequest"}}}}}},"/api/v2/bank-accounts/{uuid}":{"get":{"summary":"Get a bank account","operationId":"getApiV2BankAccountsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_BankAccountResource"}}}}},"tags":["Bank Accounts"]},"put":{"summary":"Update a bank account","operationId":"putApiV2BankAccountsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_BankAccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Bank Accounts"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_BankAccount_UpdateBankAccountRequest"}}}}},"delete":{"summary":"Delete a bank account","operationId":"deleteApiV2BankAccountsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Bank Accounts"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/beneficiary":{"get":{"summary":"Get all beneficiaries of a plan","operationId":"getApiV1PlansPlan_uuidBeneficiary","description":"","parameters":[{"in":"query","name":"filter[created_after]","description":"Date to filter when the beneficiary was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the beneficiary was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the beneficiary was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the beneficiary was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[updated_after]","description":"Date to filter when the beneficiary was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the beneficiary was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[updated_before]","description":"Date to filter when the beneficiary was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the beneficiary was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[name]","description":"Name to filter who the beneficiary is.","example":"John Smith","required":false,"schema":{"type":"string","description":"Name to filter who the beneficiary is.","example":"John Smith"}},{"in":"query","name":"filter[percentage]","description":"Percentage to filter the nominee percentage where 1 is equal to 100%.","example":54.32,"required":false,"schema":{"type":"number","description":"Percentage to filter the nominee percentage where 1 is equal to 100%.","example":54.32}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, percentage]. Negative sign to denote DESC.  Defaults to 'name'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, percentage]. Negative sign to denote DESC.  Defaults to 'name'.","example":"updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_BeneficiaryResource"}}}}}}}},"tags":["Beneficiary"]},"post":{"summary":"Create beneficiary for a plan","operationId":"postApiV1PlansPlan_uuidBeneficiary","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_BeneficiaryResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Beneficiary"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StoreBeneficiaryRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/beneficiary/{uuid}":{"get":{"summary":"Get a beneficiary of a plan","operationId":"getApiV1PlansPlan_uuidBeneficiaryUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_BeneficiaryResource"}}}}},"tags":["Beneficiary"]},"put":{"summary":"Update a beneficiary of a plan","operationId":"putApiV1PlansPlan_uuidBeneficiaryUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_BeneficiaryResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Beneficiary"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_UpdateBeneficiaryRequest"}}}}},"delete":{"summary":"Delete beneficiary of a plan","operationId":"deleteApiV1PlansPlan_uuidBeneficiaryUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Beneficiary"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/automation-blueprints/{automationBlueprint_uuid}/blueprint-steps":{"get":{"summary":"Get all Blueprint Steps on an automation blueprint","operationId":"getApiV1AutomationBlueprintsAutomationBlueprint_uuidBlueprintSteps","description":"","parameters":[{"in":"query","name":"include","description":"included relations","example":"parent","required":false,"schema":{"type":"string","description":"included relations","example":"parent"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"the amount of audits per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of audits per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Automation_BlueprintStepResource"}}}}}}}},"tags":["Blueprint Steps"]},"post":{"summary":"Create a Blueprint Step","operationId":"postApiV1AutomationBlueprintsAutomationBlueprint_uuidBlueprintSteps","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Automation_BlueprintStepResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Blueprint Steps"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Automation_StoreBlueprintStepRequest"}}}}},"parameters":[{"in":"path","name":"automationBlueprint_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/automation-blueprints/{automationBlueprint_uuid}/blueprint-steps/{blueprintStep_uuid}":{"get":{"summary":"Get a Blueprint Step","operationId":"getApiV1AutomationBlueprintsAutomationBlueprint_uuidBlueprintStepsBlueprintStep_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Automation_BlueprintStepResource"}}}}}}}},"tags":["Blueprint Steps"]},"put":{"summary":"Update a Blueprint Step (this also moves the step if a new parent is specified)","operationId":"putApiV1AutomationBlueprintsAutomationBlueprint_uuidBlueprintStepsBlueprintStep_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Automation_BlueprintStepResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Blueprint Steps"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Automation_UpdateBlueprintStepRequest"}}}}},"delete":{"summary":"Delete a Blueprint Step","operationId":"deleteApiV1AutomationBlueprintsAutomationBlueprint_uuidBlueprintStepsBlueprintStep_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Automation_BlueprintStepResource"}}}}},"tags":["Blueprint Steps"]},"parameters":[{"in":"path","name":"automationBlueprint_uuid","description":"The UUID of the automation blueprint.","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}},{"in":"path","name":"blueprintStep_uuid","description":"The UUID of the blueprint step.","example":"aaf0-495f-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/bulk-actions":{"get":{"summary":"Get all bulk actions on the firm","operationId":"getApiV1BulkActions","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter bulk actions with specific UUIDs","example":"architecto","required":false,"schema":{"type":"string","description":"Filter bulk actions with specific UUIDs","example":"architecto"}},{"in":"query","name":"filter[name]","description":"Filter bulk actions by name.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter bulk actions by name.","example":"architecto"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_BulkActionResource"}}}}}}}},"tags":["Bulk Actions"]}},"/api/v1/bulk-actions/{uuid}":{"get":{"summary":"Show a bulk action.","operationId":"getApiV1BulkActionsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_BulkActionResource"}}}}},"tags":["Bulk Actions"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/bulk-actions/execute":{"post":{"summary":"Execute a bulk action","operationId":"postApiV1BulkActionsExecute","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Bulk Actions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_ExecuteBulkActionRequest"}}}}}},"/api/v1/metrics/aum":{"get":{"summary":"Assets Under Management","operationId":"getApiV1MetricsAum","description":"Get a breakdown of the Assets Under Management for a firm.","parameters":[{"in":"query","name":"filter[agency_in_your_name]","description":"Filter the AUM to only include plans that are in the firm's name. False = all, true = only plans with agency in your name","example":true,"required":false,"schema":{"type":"boolean","description":"Filter the AUM to only include plans that are in the firm's name. False = all, true = only plans with agency in your name","example":true}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The Assets Under Management calculations for a firm on the current date or the date submitted.\u003cbr\u003e\n\u003cstrong\u003e`data.total`\u003c/strong\u003e: Total of all investment, pension, cash plans.\u003cbr\u003e\n\u003cbr\u003e\n\u003cstrong\u003e`abstract_types`\u003c/strong\u003e\u003cbr\u003e\n\u003cstrong\u003e`data.abstract_types.assets`\u003c/strong\u003e: Total of all assets.\u003cbr\u003e\n\u003cstrong\u003e`data.abstract_types.liabilities`\u003c/strong\u003e: Total of all liabilities.\u003cbr\u003e\n\u003cstrong\u003e`data.abstract_types.protection`\u003c/strong\u003e: Total of all protection.\u003cbr\u003e\n\u003cbr\u003e\n\u003cstrong\u003e`plan_types`\u003c/strong\u003e\u003cbr\u003e\n\u003cstrong\u003e`data.plan_types.annuity`\u003c/strong\u003e: Total of all annuities.\u003cbr\u003e\n\u003cstrong\u003e`data.plan_types.cash_account`\u003c/strong\u003e: Total of all cash plans.\u003cbr\u003e\n\u003cstrong\u003e`data.plan_types.fixed_asset`\u003c/strong\u003e: Total of all fixed asset plans.\u003cbr\u003e\n\u003cstrong\u003e`data.plan_types.general_insurance`\u003c/strong\u003e: Total of all fixed general insurance assets.\u003cbr\u003e\n\u003cstrong\u003e`data.plan_types.group_protection`\u003c/strong\u003e: Total of all fixed group protection assets.\u003cbr\u003e\n\u003cstrong\u003e`data.plan_types.investment`\u003c/strong\u003e: Total of all investment plans.\u003cbr\u003e\n\u003cstrong\u003e`data.plan_types.loan_credit`\u003c/strong\u003e: Total of all loan credit plans.\u003cbr\u003e\n\u003cstrong\u003e`data.plan_types.mortgage`\u003c/strong\u003e: Total of all mortgage plans.\u003cbr\u003e\n\u003cstrong\u003e`data.plan_types.pension`\u003c/strong\u003e: Total of all pension plans.\u003cbr\u003e\n\u003cstrong\u003e`data.protection_policy.pension`\u003c/strong\u003e: Total of all protection policy plans.\u003cbr\u003e\n","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_AumMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/cases":{"get":{"summary":"Cases","operationId":"getApiV1MetricsCases","description":"Get the total number of cases for a firm on the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/cases/completed":{"get":{"summary":"Cases Completed","operationId":"getApiV1MetricsCasesCompleted","description":"Get the total number of completed cases for a firm on the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/clients":{"get":{"summary":"Clients","operationId":"getApiV1MetricsClients","description":"Get the total number of clients for a firm on the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/conversations":{"get":{"summary":"Conversations","operationId":"getApiV1MetricsConversations","description":"Get the total number of conversations for a firm on the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/documents/generated":{"get":{"summary":"Documents Generated","operationId":"getApiV1MetricsDocumentsGenerated","description":"Get the total number of documents generated for a firm on the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/fact-finds/sent":{"get":{"summary":"Fact Finds Sent","operationId":"getApiV1MetricsFactFindsSent","description":"Get the total number of fact-finds sent cases for a firm on the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/files/uploaded":{"get":{"summary":"Files Uploaded","operationId":"getApiV1MetricsFilesUploaded","description":"Get the total number of files uploaded for a firm for the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/introducers":{"get":{"summary":"Introducers","operationId":"getApiV1MetricsIntroducers","description":"Get the total number of introducers for a firm for the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/messages/sent":{"get":{"summary":"Messages Sent","operationId":"getApiV1MetricsMessagesSent","description":"Get the total number of messages sent for a firm for the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/plans":{"get":{"summary":"Plans","operationId":"getApiV1MetricsPlans","description":"Get the total number of plans for a firm for the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/signatures":{"get":{"summary":"Signatures","operationId":"getApiV1MetricsSignatures","description":"Get the total number of signatures for a firm for the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/tasks":{"get":{"summary":"Tasks","operationId":"getApiV1MetricsTasks","description":"Get the total number of tasks for a firm for the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/tasks/completed":{"get":{"summary":"Tasks Completed","operationId":"getApiV1MetricsTasksCompleted","description":"Get the total number of tasks completed for a firm for the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/metrics/time-logged":{"get":{"summary":"Time Logged","operationId":"getApiV1MetricsTimeLogged","description":"Get the total amount of time-logged for a firm for the current date or the end of the date supplied.","parameters":[{"in":"query","name":"date","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04","required":false,"schema":{"type":"string","description":"The date to get the key metric from in YYYY-MM-DD format (calculations are made from the end of the day).","example":"2023-07-04"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The value of the key metric.","items":{"$ref":"#/components/schemas/App_Http_Resources_Metrics_KeyMetricResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Metrics"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_KeyMetricsRequest"}}}}}},"/api/v1/business-units":{"get":{"summary":"List business units","operationId":"getApiV1BusinessUnits","description":"","parameters":[{"in":"query","name":"filter[name]","description":"Name to filter by.","example":"Wealth","required":false,"schema":{"type":"string","description":"Name to filter by.","example":"Wealth"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name, updated_at]. Negative sign to denote DESC. Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name, updated_at]. Negative sign to denote DESC. Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource"}}}}}}}},"tags":["Business Units"]},"post":{"summary":"Create a business unit","operationId":"postApiV1BusinessUnits","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Units"]}},"/api/v1/business-units/{uuid}":{"get":{"summary":"Get a business unit","operationId":"getApiV1BusinessUnitsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource"}}}}},"tags":["Business Units"]},"put":{"summary":"Update a business unit","operationId":"putApiV1BusinessUnitsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Units"]},"delete":{"summary":"Delete a business unit","operationId":"deleteApiV1BusinessUnitsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Business Units"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/business-units/{business_unit_uuid}/branding":{"get":{"summary":"Get business unit branding settings","operationId":"getApiV1BusinessUnitsBusiness_unit_uuidBranding","description":"Returns all branding settings for the given business unit.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Business Units"]},"put":{"summary":"Update business unit branding settings","operationId":"putApiV1BusinessUnitsBusiness_unit_uuidBranding","description":"Update branding settings for a business unit. Scalar settings (colours, booleans, HTML)\nare sent as a settings array. File fields (logos, backgrounds) are sent as file uploads.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Units"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_BusinessUnit_UpdateBusinessUnitBrandingRequest"}}}}},"parameters":[{"in":"path","name":"business_unit_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/business-units/{business_unit_uuid}/members/{action}":{"post":{"summary":"Add or remove members from a business unit","operationId":"postApiV1BusinessUnitsBusiness_unit_uuidMembersAction","description":"Bulk add or remove account members from a business unit. When adding, accounts already\nassigned to a different business unit are reassigned to this one.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"successful":["uuid-1","uuid-2"],"failed":[]},"properties":{"successful":{"type":"array","example":["uuid-1","uuid-2"],"items":{"type":"string"}},"failed":{"type":"array","example":[]}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Units"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_BusinessUnit_ManageBusinessUnitMembersRequest"}}}}},"parameters":[{"in":"path","name":"business_unit_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"action","description":"The action to perform. Allowed: add, remove.","example":"add","required":true,"schema":{"type":"string"}},{"in":"path","name":"business_unit","description":"The UUID of the business unit.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/business-units/{business_unit_uuid}/members":{"get":{"summary":"List business unit members","operationId":"getApiV1BusinessUnitsBusiness_unit_uuidMembers","description":"Returns the accounts that belong to the given business unit, using the standard account index filters.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number,primary_email, assigned_adviser, assigned_administrator, groups, tags, owners, external_references].","example":"?include=groups,tags","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number,primary_email, assigned_adviser, assigned_administrator, groups, tags, owners, external_references].","example":"?include=groups,tags"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter clients by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter clients by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto"}},{"in":"query","name":"filter[email]","description":"Filter clients that have an email with a partial match.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter clients that have an email with a partial match.","example":"architecto"}},{"in":"query","name":"filter[is_prospect]","description":"Get clients with this is_prospect value","example":false,"required":false,"schema":{"type":"boolean","description":"Get clients with this is_prospect value","example":false}},{"in":"query","name":"filter[status]","description":"Filter client status by partial names or uuid's","example":"active,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Filter client status by partial names or uuid's","example":"active,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[type]","description":"Comma separated string to filter by different client types.  Valid types are [individual, joint, trust, business].","example":"?filter[type]=individual,joint","required":false,"schema":{"type":"string","description":"Comma separated string to filter by different client types.  Valid types are [individual, joint, trust, business].","example":"?filter[type]=individual,joint"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the client was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the client was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the client was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the client was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[groups]","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[exclude_groups]","description":"Provide a group UUID (or multiple as a comma-separated string) to filter clients within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Provide a group UUID (or multiple as a comma-separated string) to filter clients within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[introduced_by]","description":"Filter clients that have been introduced by this account.","example":"e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Filter clients that have been introduced by this account.","example":"e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[linked_to]","description":"Filter to clients that have been linked to the account given. This will also return the requested account.","example":"df240fd1-784d-47e8-8874-f779a35847ca","required":false,"schema":{"type":"string","description":"Filter to clients that have been linked to the account given. This will also return the requested account.","example":"df240fd1-784d-47e8-8874-f779a35847ca"}},{"in":"query","name":"filter[has_advisor]","description":"Filter clients by whether they have an assigned adviser. true returns clients with an adviser, false returns clients without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter clients by whether they have an assigned adviser. true returns clients with an adviser, false returns clients without.","example":false}},{"in":"query","name":"filter[has_administrator]","description":"Filter clients by whether they have an assigned administrator. true returns clients with an administrator, false returns clients without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter clients by whether they have an assigned administrator. true returns clients with an administrator, false returns clients without.","example":false}},{"in":"query","name":"filter[has_paraplanner]","description":"Filter clients by whether they have an assigned paraplanner. true returns clients with a paraplanner, false returns clients without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter clients by whether they have an assigned paraplanner. true returns clients with a paraplanner, false returns clients without.","example":false}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a client custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a client custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name, email, next_review_date, previous_review_date, anniversary_review_date]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name, email, next_review_date, previous_review_date, anniversary_review_date]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Business Units"]},"parameters":[{"in":"path","name":"business_unit_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/cases":{"get":{"summary":"Get all client cases","operationId":"getApiV1ClientClient_uuidCases","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, type, status, tags, plans, custom_fields, groups, assigned_to].","example":"participants,participants_count,tags","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, type, status, tags, plans, custom_fields, groups, assigned_to].","example":"participants,participants_count,tags"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[completed]","description":"Filter cases by which have been completed","example":false,"required":false,"schema":{"type":"boolean","description":"Filter cases by which have been completed","example":false}},{"in":"query","name":"filter[in_progress]","description":"Filter cases by which are still in progress","example":false,"required":false,"schema":{"type":"boolean","description":"Filter cases by which are still in progress","example":false}},{"in":"query","name":"filter[type]","description":"Comma separated list of case type UUIDs. Example fc4e2fad-d4f1-5c56-a869-60edc441ae16,add547bc-6097-5339-aaba-cbea59e79ee1","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of case type UUIDs. Example fc4e2fad-d4f1-5c56-a869-60edc441ae16,add547bc-6097-5339-aaba-cbea59e79ee1","example":"architecto"}},{"in":"query","name":"filter[status]","description":"Comma separated string of statuses to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of statuses to filter by","example":"architecto"}},{"in":"query","name":"filter[tags]","description":"Comma separated string of tags to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of tags to filter by","example":"architecto"}},{"in":"query","name":"filter[plan_uuid]","description":"Comma separated string of plan UUIDs to filter by.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated string of plan UUIDs to filter by.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[group_uuids]","description":"Comma separated string of group UUIDs to filter by.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated string of group UUIDs to filter by.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Comma separated string of account UUIDs to filter by.","example":"801c9fe8-2b6e-58d4-a5c9-ca5cfe153455,4f0be96e-060d-55f0-8f86-2ece27ef2315","required":false,"schema":{"type":"string","description":"Comma separated string of account UUIDs to filter by.","example":"801c9fe8-2b6e-58d4-a5c9-ca5cfe153455,4f0be96e-060d-55f0-8f86-2ece27ef2315"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated string of circle UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1","required":false,"schema":{"type":"string","description":"Comma separated string of circle UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1"}},{"in":"query","name":"filter[employee_account_uuids]","description":"Comma separated string of employee accounts UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1","required":false,"schema":{"type":"string","description":"Comma separated string of employee accounts UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1"}},{"in":"query","name":"filter[completed_after]","description":"Filter cases which have a completed at date after.","example":"2025-01-25","required":false,"schema":{"type":"string","description":"Filter cases which have a completed at date after.","example":"2025-01-25"}},{"in":"query","name":"filter[completed_before]","description":"Filter cases which have a completed at date before.","example":"2025-08-06","required":false,"schema":{"type":"string","description":"Filter cases which have a completed at date before.","example":"2025-08-06"}},{"in":"query","name":"filter[review_at_after]","description":"Filter cases which have a review at date after.","example":"2025-01-02","required":false,"schema":{"type":"string","description":"Filter cases which have a review at date after.","example":"2025-01-02"}},{"in":"query","name":"filter[review_at_before]","description":"Filter cases which have a review at date before.","example":"2025-06-08","required":false,"schema":{"type":"string","description":"Filter cases which have a review at date before.","example":"2025-06-08"}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a case custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a case custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name, status_position, value, completed_at, review_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name, status_position, value, completed_at, review_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_CasesResource"}}}}}}}},"tags":["Cases"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/cases":{"get":{"summary":"Get all cases","operationId":"getApiV1Cases","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, type, status, tags, plans, custom_fields,groups,assigned_to].","example":"participants,participants_count,tags","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, type, status, tags, plans, custom_fields,groups,assigned_to].","example":"participants,participants_count,tags"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[completed]","description":"Filter cases by which have been completed","example":false,"required":false,"schema":{"type":"boolean","description":"Filter cases by which have been completed","example":false}},{"in":"query","name":"filter[in_progress]","description":"Filter cases by which are still in progress","example":false,"required":false,"schema":{"type":"boolean","description":"Filter cases by which are still in progress","example":false}},{"in":"query","name":"filter[type]","description":"Comma separated list of case type UUIDs. Example fc4e2fad-d4f1-5c56-a869-60edc441ae16,add547bc-6097-5339-aaba-cbea59e79ee1","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of case type UUIDs. Example fc4e2fad-d4f1-5c56-a869-60edc441ae16,add547bc-6097-5339-aaba-cbea59e79ee1","example":"architecto"}},{"in":"query","name":"filter[status]","description":"Comma separated string of statuses to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of statuses to filter by","example":"architecto"}},{"in":"query","name":"filter[tags]","description":"Comma separated string of tags to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of tags to filter by","example":"architecto"}},{"in":"query","name":"filter[plan_uuid]","description":"Comma separated string of plan UUIDs to filter by.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated string of plan UUIDs to filter by.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Comma separated string of account UUIDs to filter by.","example":"801c9fe8-2b6e-58d4-a5c9-ca5cfe153455,4f0be96e-060d-55f0-8f86-2ece27ef2315","required":false,"schema":{"type":"string","description":"Comma separated string of account UUIDs to filter by.","example":"801c9fe8-2b6e-58d4-a5c9-ca5cfe153455,4f0be96e-060d-55f0-8f86-2ece27ef2315"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated string of circle UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1","required":false,"schema":{"type":"string","description":"Comma separated string of circle UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1"}},{"in":"query","name":"filter[employee_account_uuids]","description":"Comma separated string of employee accounts UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1","required":false,"schema":{"type":"string","description":"Comma separated string of employee accounts UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1"}},{"in":"query","name":"filter[completed_after]","description":"Filter cases which have a completed at date after.","example":"2025-01-25","required":false,"schema":{"type":"string","description":"Filter cases which have a completed at date after.","example":"2025-01-25"}},{"in":"query","name":"filter[completed_before]","description":"Filter cases which have a completed at date before.","example":"2025-08-06","required":false,"schema":{"type":"string","description":"Filter cases which have a completed at date before.","example":"2025-08-06"}},{"in":"query","name":"filter[review_at_after]","description":"Filter cases which have a review at date after.","example":"2025-01-02","required":false,"schema":{"type":"string","description":"Filter cases which have a review at date after.","example":"2025-01-02"}},{"in":"query","name":"filter[review_at_before]","description":"Filter cases which have a review at date before.","example":"2025-06-08","required":false,"schema":{"type":"string","description":"Filter cases which have a review at date before.","example":"2025-06-08"}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a case custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a case custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name, status_position, value, completed_at, review_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name, status_position, value, completed_at, review_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_CasesResource"}}}}}}}},"tags":["Cases"]},"post":{"summary":"Create a case","operationId":"postApiV1Cases","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CasesResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Cases"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Cases_StoreCasesRequest"}}}}}},"/api/v1/cases/{uuid}":{"get":{"summary":"Get a case","operationId":"getApiV1CasesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CasesResource"}}}}},"tags":["Cases"]},"put":{"summary":"Update a case","operationId":"putApiV1CasesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CasesResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Cases"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Cases_UpdateCasesRequest"}}}}},"delete":{"summary":"Delete a case","operationId":"deleteApiV1CasesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Cases"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/cases/{case_uuid}/participants":{"post":{"summary":"Add clients to a case","operationId":"postApiV1CasesCase_uuidParticipants","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Cases"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Cases_AddAccountsToCasesRequest"}}}}},"delete":{"summary":"Remove clients from a case","operationId":"deleteApiV1CasesCase_uuidParticipants","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Cases"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Cases_RemoveAccountsFromCasesRequest"}}}}},"parameters":[{"in":"path","name":"case_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/cases-status":{"get":{"summary":"Get all case statuses","operationId":"getApiV1CasesStatus","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource"}}}}}}}},"tags":["Cases"]},"post":{"summary":"Create a case status","operationId":"postApiV1CasesStatus","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Cases"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_CasesStatus_StoreCaseStatusRequest"}}}}}},"/api/v1/cases-status/{uuid}":{"put":{"summary":"Update a case status","operationId":"putApiV1CasesStatusUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Cases"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_CasesStatus_UpdateCaseStatusRequest"}}}}},"delete":{"summary":"Delete a case status","operationId":"deleteApiV1CasesStatusUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CasesStatusResource"}}}}},"tags":["Cases"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/cases-type":{"get":{"summary":"Get all case types","operationId":"getApiV1CasesType","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [name, created_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [name, created_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource"}}}}}}}},"tags":["Cases"]},"post":{"summary":"Create a case type","operationId":"postApiV1CasesType","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Cases"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_CasesType_StoreCasesTypeRequest"}}}}}},"/api/v1/cases-type/{uuid}":{"get":{"summary":"Get a case type","operationId":"getApiV1CasesTypeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource"}}}}},"tags":["Cases"]},"put":{"summary":"Update a case type","operationId":"putApiV1CasesTypeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CasesTypeResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Cases"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_CasesType_UpdateCasesTypeRequest"}}}}},"delete":{"summary":"Delete a case type","operationId":"deleteApiV1CasesTypeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Cases"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/task/{task_uuid}/checklists":{"get":{"summary":"List checklists for a task","operationId":"getApiV1TaskTask_uuidChecklists","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ChecklistResource"}}}}}}}},"tags":["Checklists"]},"post":{"summary":"Create a checklist on a task","operationId":"postApiV1TaskTask_uuidChecklists","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChecklistResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Checklists"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Checklist_StoreChecklistRequest"}}}}},"parameters":[{"in":"path","name":"task_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"task","description":"The UUID of the task.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/checklist/{uuid}":{"patch":{"summary":"Update a checklist","operationId":"patchApiV1ChecklistUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChecklistResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Checklists"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Checklist_UpdateChecklistRequest"}}}}},"delete":{"summary":"Delete a checklist","operationId":"deleteApiV1ChecklistUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Checklists"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"checklist","description":"The UUID of the checklist.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/checklist/{checklist_uuid}/items":{"post":{"summary":"Add an item to a checklist","operationId":"postApiV1ChecklistChecklist_uuidItems","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChecklistItemResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Checklists"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Checklist_StoreChecklistItemRequest"}}}}},"parameters":[{"in":"path","name":"checklist_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"checklist","description":"The UUID of the checklist.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/checklist-item/{checklistItem_uuid}":{"patch":{"summary":"Update a checklist item","operationId":"patchApiV1ChecklistItemChecklistItem_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChecklistItemResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Checklists"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Checklist_UpdateChecklistItemRequest"}}}}},"delete":{"summary":"Delete a checklist item","operationId":"deleteApiV1ChecklistItemChecklistItem_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Checklists"]},"parameters":[{"in":"path","name":"checklistItem_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"checklistItem","description":"The UUID of the checklist item.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/workflow/{workflow_uuid}/task/{workflowTask_uuid}/checklists":{"get":{"summary":"List checklists for a workflow task","operationId":"getApiV1WorkflowWorkflow_uuidTaskWorkflowTask_uuidChecklists","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ChecklistResource"}}}}}}}},"tags":["Checklists"]},"post":{"summary":"Create a checklist on a workflow task","operationId":"postApiV1WorkflowWorkflow_uuidTaskWorkflowTask_uuidChecklists","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChecklistResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Checklists"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Checklist_StoreChecklistRequest"}}}}},"parameters":[{"in":"path","name":"workflow_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"workflowTask_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"workflowTask","description":"The UUID of the workflow task.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v2/circles/{circle_uuid}/expenditures":{"get":{"summary":"Get all expenditures for a circle","operationId":"getApiV2CirclesCircle_uuidExpenditures","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"architecto"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Circle Expenditures"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"circle","description":"The uuid of the circle.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}}]},"/api/v2/circles/{circle_uuid}/expenditures/{expenditure_uuid}":{"get":{"summary":"Show an individual circle expenditure","operationId":"getApiV2CirclesCircle_uuidExpendituresExpenditure_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Circle Expenditures"]},"delete":{"summary":"Delete a circle expenditure","operationId":"deleteApiV2CirclesCircle_uuidExpendituresExpenditure_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Circle Expenditures"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"expenditure_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"circle","description":"The uuid of the circle.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}},{"in":"path","name":"expenditure","description":"The uuid of the expenditure.","example":"dc329ca6-bf88-43ad-a398-b2507569c941","required":true,"schema":{"type":"string"}}]},"/api/v2/circles/{circle_uuid}/expenditures/{lifeStage_uuid}/{lifeStageField_uuid}":{"post":{"summary":"Create or update a circle expenditure linked to a life stage field","operationId":"postApiV2CirclesCircle_uuidExpendituresLifeStage_uuidLifeStageField_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Circle Expenditures"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStage_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStageField_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"circle","description":"The uuid of the circle.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStage","description":"The uuid of the parent Life Stage.","example":"architecto","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStageField","description":"The uuid of the parent Life Stage Field.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v2/circles/{circle_uuid}/expenditures/{lifeStage_uuid}/custom":{"post":{"summary":"Create a custom circle expenditure","operationId":"postApiV2CirclesCircle_uuidExpendituresLifeStage_uuidCustom","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Circle Expenditures"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStage_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"circle","description":"The uuid of the circle.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStage","description":"The uuid of the parent Life Stage.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v2/circles/{circle_uuid}/expenditures/{lifeStage_uuid}/custom/{expenditure_uuid}":{"post":{"summary":"Update a custom circle expenditure","operationId":"postApiV2CirclesCircle_uuidExpendituresLifeStage_uuidCustomExpenditure_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Circle Expenditures"]},"delete":{"summary":"Delete a custom circle expenditure","operationId":"deleteApiV2CirclesCircle_uuidExpendituresLifeStage_uuidCustomExpenditure_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Circle Expenditures"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStage_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"expenditure_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"circle","description":"The uuid of the circle.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStage","description":"The uuid of the parent Life Stage.","example":"architecto","required":true,"schema":{"type":"string"}},{"in":"path","name":"expenditure","description":"The uuid of the expenditure.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/circles":{"get":{"summary":"Get all circles","operationId":"getApiV1Circles","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"e3431c41-1d43-5b81-be0a-ca5a3ec76191,4c99e2cf-362a-59b2-96a8-12358b92b8bd","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"e3431c41-1d43-5b81-be0a-ca5a3ec76191,4c99e2cf-362a-59b2-96a8-12358b92b8bd"}},{"in":"query","name":"filter[group_uuids]","description":"Filter by a comma separated list of group UUIDs.","example":"20c2b2d3-1e46-5518-9f2d-7a8fddabfe68,75bd59d3-8d6c-59f7-9dcc-949f267616e8","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of group UUIDs.","example":"20c2b2d3-1e46-5518-9f2d-7a8fddabfe68,75bd59d3-8d6c-59f7-9dcc-949f267616e8"}},{"in":"query","name":"filter[name]","description":"Filter by the circle name.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by the circle name.","example":"architecto"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts,firm,groups]","example":"?include=accounts,firm","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts,firm,groups]","example":"?include=accounts,firm"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [name, created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [name, created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_CircleResource"}}}}}}}},"tags":["Circles"]},"post":{"summary":"Create a circle","operationId":"postApiV1Circles","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CircleResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Circles"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Circle_StoreCircleRequest"}}}}}},"/api/v1/circles/{uuid}":{"get":{"summary":"Get a circle","operationId":"getApiV1CirclesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CircleResource"}}}}},"tags":["Circles"]},"put":{"summary":"Update a circle","operationId":"putApiV1CirclesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CircleResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Circles"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Circle_UpdateCircleRequest"}}}}},"delete":{"summary":"Delete a circle","operationId":"deleteApiV1CirclesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Circles"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/emails":{"get":{"summary":"Get all emails for a circle","operationId":"getApiV1CirclesCircle_uuidEmails","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Circles"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/notes":{"get":{"summary":"Get all notes for a circle","operationId":"getApiV1CirclesCircle_uuidNotes","description":"Includes notes for a circle or within that circle's client's plans, cases, tasks and risks.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [tags, mentionedAccounts].","example":"?include=mentionedAccounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [tags, mentionedAccounts].","example":"?include=mentionedAccounts"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Note type to filter by.  Valid types are [call, note, meeting, email]","example":"architecto","required":false,"schema":{"type":"string","description":"Note type to filter by.  Valid types are [call, note, meeting, email]","example":"architecto"}},{"in":"query","name":"filter[date_from]","description":"Note created_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"Note created_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto"}},{"in":"query","name":"filter[date_to]","description":"Note created_at date to filter to from a specific date, can be used with date_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"Note created_at date to filter to from a specific date, can be used with date_from for a range.","example":"architecto"}},{"in":"query","name":"filter[contents]","description":"Filter notes by a string to see if it's contents contains that string.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a string to see if it's contents contains that string.","example":"architecto"}},{"in":"query","name":"filter[path]","description":"Filter notes by a string to see if the path contains that string.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a string to see if the path contains that string.","example":"architecto"}},{"in":"query","name":"filter[path_exact]","description":"Filter notes by a string to see if the path is that string.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a string to see if the path is that string.","example":"architecto"}},{"in":"query","name":"filter[notable_type]","description":"Filter notes by a specific notable model. Valid types are: client, plan, case, task, risk.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a specific notable model. Valid types are: client, plan, case, task, risk.","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_NoteResource"}}}}}}}},"tags":["Circles"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/charge-splits":{"get":{"summary":"Get circle charge splits","operationId":"getApiV1CirclesCircle_uuidChargeSplits","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChargeSplitResource"}}}}},"tags":["Circles"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/accounts":{"get":{"summary":"Get all Accounts for the Circle","operationId":"getApiV1CirclesCircle_uuidAccounts","description":"Gets a list of accounts for the circle with related data","parameters":[{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, email]. Negative sign to denote DESC.  Defaults to 'name'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, email]. Negative sign to denote DESC.  Defaults to 'name'.","example":"updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Circles_CircleAccountsResource"}}}}}}}},"tags":["Circles"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/form-submissions":{"get":{"summary":"Get all form submissions for accounts in a circle","operationId":"getApiV1CirclesCircle_uuidFormSubmissions","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [account]","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [account]","example":"architecto"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the record was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the record was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the record was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the record was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[stage]","description":"Filter submissions by their stage. Valid options are draft,submitted,approved,changes_requested.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter submissions by their stage. Valid options are draft,submitted,approved,changes_requested.","example":"architecto"}},{"in":"query","name":"filter[account]","description":"Name of the account of who the submission was against.","example":"architecto","required":false,"schema":{"type":"string","description":"Name of the account of who the submission was against.","example":"architecto"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of accounts UUIDs of who the form was submitted against.","example":"940f9fe8-14cf-5674-bfe0-0554c8fa94bf,6d762f53-bfe8-5f84-b8b3-90d7beb01afe","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of accounts UUIDs of who the form was submitted against.","example":"940f9fe8-14cf-5674-bfe0-0554c8fa94bf,6d762f53-bfe8-5f84-b8b3-90d7beb01afe"}},{"in":"query","name":"filter[submitted_by_uuid]","description":"Filter by a comma separated list of account UUIDs of who submitted the form.","example":"a815517f-103d-5e31-bd09-fca00ed1d191,89bee829-900a-50e5-adca-635677137933","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs of who submitted the form.","example":"a815517f-103d-5e31-bd09-fca00ed1d191,89bee829-900a-50e5-adca-635677137933"}},{"in":"query","name":"filter[form_uuids]","description":"Filter by a comma separated list of UUIDs of the form the submission was against.","example":"6c7294bc-c782-553f-b661-cc2e1bc06a0c,6207bd5b-9053-5aaf-bfef-14dec5d5c017","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs of the form the submission was against.","example":"6c7294bc-c782-553f-b661-cc2e1bc06a0c,6207bd5b-9053-5aaf-bfef-14dec5d5c017"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, stage]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, stage]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionResource"}}}}}}}},"tags":["Circles"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/linked-clients":{"get":{"summary":"Get all linked clients for clients of a circle","operationId":"getApiV1CirclesCircle_uuidLinkedClients","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_LinkedClients_CircleLinkedClientsResource"}}}}}}}},"tags":["Circles"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/wealth":{"get":{"summary":"Get Wealth summary of all accounts of a circle","operationId":"getApiV1CirclesCircle_uuidWealth","description":"Wealth Aggregate net worth output for all clients of a circle","parameters":[{"in":"query","name":"date","description":"Get the clients net worth at a particular date in history. Get current net worth when not provided.","example":"2023-05-15","required":false,"schema":{"type":"string","description":"Get the clients net worth at a particular date in history. Get current net worth when not provided.","example":"2023-05-15"}},{"in":"query","name":"filter[include_other_plans]","description":"If true then the net worth will also include other plans the circle clients are linked to.","example":true,"required":false,"schema":{"type":"boolean","description":"If true then the net worth will also include other plans the circle clients are linked to.","example":true}},{"in":"query","name":"filter[include_inactive]","description":"If true then the net worth will also include inactive plans.","example":true,"required":false,"schema":{"type":"boolean","description":"If true then the net worth will also include inactive plans.","example":true}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_NetWorthResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Circles"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/fact-find-access":{"get":{"summary":"Get the fact-find access policies","operationId":"getApiV1CirclesCircle_uuidFactFindAccess","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Circles"]},"put":{"summary":"Update a fact-find policy","operationId":"putApiV1CirclesCircle_uuidFactFindAccess","description":"This updates the fact-find access for a given member.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Circles"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Circles_UpdateCircleFactFindAccessRequest"}}}}},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/claim":{"get":{"summary":"Get all claims of a plan","operationId":"getApiV1PlansPlan_uuidClaim","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, claim_start_date, claim_start_date, claim_amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, claim_start_date, claim_start_date, claim_amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource"}}}}}}}},"tags":["Claim"]},"post":{"summary":"Create claim for a plan","operationId":"postApiV1PlansPlan_uuidClaim","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Claim"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StoreClaimRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/claim/{uuid}":{"get":{"summary":"Get claim of a plan","operationId":"getApiV1PlansPlan_uuidClaimUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource"}}}}},"tags":["Claim"]},"put":{"summary":"Update claim of a plan","operationId":"putApiV1PlansPlan_uuidClaimUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ClaimResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Claim"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_UpdateClaimRequest"}}}}},"delete":{"summary":"Delete claim of a plan","operationId":"deleteApiV1PlansPlan_uuidClaimUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Claim"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client-status":{"get":{"summary":"Get all client statuses","operationId":"getApiV1ClientStatus","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ClientStatusResource"}}}}}}}},"tags":["Client Statuses"]},"post":{"summary":"Create a client status","operationId":"postApiV1ClientStatus","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ClientStatusResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Client Statuses"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_StoreClientStatusRequest"}}}}}},"/api/v1/client-status/{clientStatus_uuid}":{"get":{"summary":"Get a client status","operationId":"getApiV1ClientStatusClientStatus_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ClientStatusResource"}}}}},"tags":["Client Statuses"]},"put":{"summary":"Update a client status","operationId":"putApiV1ClientStatusClientStatus_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ClientStatusResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Client Statuses"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_UpdateClientStatusRequest"}}}}},"delete":{"summary":"Delete a client status","operationId":"deleteApiV1ClientStatusClientStatus_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Client Statuses"]},"parameters":[{"in":"path","name":"clientStatus_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client-status/{clientStatus}/transfer-clients":{"post":{"summary":"Transfer clients from one status to another status","operationId":"postApiV1ClientStatusClientStatusTransferClients","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Client Statuses"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_TransferClientsStatusRequest"}}}}},"parameters":[{"in":"path","name":"clientStatus","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/client":{"get":{"summary":"Get all clients [DEPRECATED: Use account route]","operationId":"getApiV1Client","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number,primary_email, assigned_adviser, assigned_administrator, groups, tags, owners, external_references, business_unit].","example":"?include=groups,tags","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number,primary_email, assigned_adviser, assigned_administrator, groups, tags, owners, external_references, business_unit].","example":"?include=groups,tags"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter clients by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter clients by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto"}},{"in":"query","name":"filter[email]","description":"Filter clients that have an email with a partial match.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter clients that have an email with a partial match.","example":"architecto"}},{"in":"query","name":"filter[is_prospect]","description":"Get clients with this is_prospect value","example":false,"required":false,"schema":{"type":"boolean","description":"Get clients with this is_prospect value","example":false}},{"in":"query","name":"filter[status]","description":"Filter client status by partial names or uuid's","example":"active,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Filter client status by partial names or uuid's","example":"active,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[type]","description":"Comma separated string to filter by different client types.  Valid types are [individual, joint, trust, business].","example":"?filter[type]=individual,joint","required":false,"schema":{"type":"string","description":"Comma separated string to filter by different client types.  Valid types are [individual, joint, trust, business].","example":"?filter[type]=individual,joint"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the client was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the client was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the client was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the client was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[groups]","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[exclude_groups]","description":"Provide a group UUID (or multiple as a comma-separated string) to filter clients within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Provide a group UUID (or multiple as a comma-separated string) to filter clients within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[introduced_by]","description":"Filter clients that have been introduced by this account.","example":"e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Filter clients that have been introduced by this account.","example":"e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[linked_to]","description":"Filter to clients that have been linked to the account given. This will also return the requested account.","example":"df240fd1-784d-47e8-8874-f779a35847ca","required":false,"schema":{"type":"string","description":"Filter to clients that have been linked to the account given. This will also return the requested account.","example":"df240fd1-784d-47e8-8874-f779a35847ca"}},{"in":"query","name":"filter[has_advisor]","description":"Filter clients by whether they have an assigned adviser. true returns clients with an adviser, false returns clients without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter clients by whether they have an assigned adviser. true returns clients with an adviser, false returns clients without.","example":false}},{"in":"query","name":"filter[has_administrator]","description":"Filter clients by whether they have an assigned administrator. true returns clients with an administrator, false returns clients without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter clients by whether they have an assigned administrator. true returns clients with an administrator, false returns clients without.","example":false}},{"in":"query","name":"filter[has_paraplanner]","description":"Filter clients by whether they have an assigned paraplanner. true returns clients with a paraplanner, false returns clients without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter clients by whether they have an assigned paraplanner. true returns clients with a paraplanner, false returns clients without.","example":false}},{"in":"query","name":"filter[business_unit]","description":"Filter by a business unit UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a business unit UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a client custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a client custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name, email, next_review_date, previous_review_date, anniversary_review_date]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name, email, next_review_date, previous_review_date, anniversary_review_date]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Clients"]},"post":{"summary":"Create a client [DEPRECATED: Use create an account route]","operationId":"postApiV1Client","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Clients"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Client_StoreClientRequest"}}}}}},"/api/v1/client/{uuid}":{"get":{"summary":"Get a client [DEPRECATED: Use get an account route]","operationId":"getApiV1ClientUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}},"tags":["Clients"]},"put":{"summary":"Update a client [DEPRECATED: Use update an account route]","operationId":"putApiV1ClientUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Clients"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Client_UpdateClientRequest"}}}}},"delete":{"summary":"Delete a client [DEPRECATED: use delete an account route]","operationId":"deleteApiV1ClientUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Clients"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/plans":{"get":{"summary":"Get all client plans","operationId":"getApiV1ClientClient_uuidPlans","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [fields, client, cases, tags, sub_accounts, latest_valuations, latest_valuations.sub_account, wrap, wrap_children, wrap_children.latest_valuations, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].","example":"?include=fields,latest_valuations","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [fields, client, cases, tags, sub_accounts, latest_valuations, latest_valuations.sub_account, wrap, wrap_children, wrap_children.latest_valuations, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].","example":"?include=fields,latest_valuations"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[include_other_plans]","description":"If filter is provided then we will also return any other plans the client is linked to [asset, liability, protection]","example":true,"required":false,"schema":{"type":"boolean","description":"If filter is provided then we will also return any other plans the client is linked to [asset, liability, protection]","example":true}},{"in":"query","name":"filter[abstract_type]","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection","required":false,"schema":{"type":"string","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection"}},{"in":"query","name":"filter[type]","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash","required":false,"schema":{"type":"string","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash"}},{"in":"query","name":"filter[name]","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage","required":false,"schema":{"type":"string","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage"}},{"in":"query","name":"filter[client]","description":"Comma separated list of client names to search against, can include partial matches.","example":"Thompson,Gar","required":false,"schema":{"type":"string","description":"Comma separated list of client names to search against, can include partial matches.","example":"Thompson,Gar"}},{"in":"query","name":"filter[account_uuids]","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[exact_account_uuids]","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636","required":false,"schema":{"type":"string","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[policy_number]","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834","required":false,"schema":{"type":"string","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834"}},{"in":"query","name":"filter[provider]","description":"Comma separated list of provider names or provider UUIDs to search against, can include partial matches.","example":"Nationwide","required":false,"schema":{"type":"string","description":"Comma separated list of provider names or provider UUIDs to search against, can include partial matches.","example":"Nationwide"}},{"in":"query","name":"filter[status]","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto"}},{"in":"query","name":"filter[seller]","description":"Comma separated list of adviser names or adviser UUIDs of who sold the plan to search against, can include partial matches.","example":"Thompson,Gar","required":false,"schema":{"type":"string","description":"Comma separated list of adviser names or adviser UUIDs of who sold the plan to search against, can include partial matches.","example":"Thompson,Gar"}},{"in":"query","name":"filter[active_adviser]","description":"Comma separated list of adviser names or adviser UUIDs of who is actively managing the plan to search against, can include partial matches.","example":"Thompson,Gar","required":false,"schema":{"type":"string","description":"Comma separated list of adviser names or adviser UUIDs of who is actively managing the plan to search against, can include partial matches.","example":"Thompson,Gar"}},{"in":"query","name":"filter[client_adviser_uuids]","description":"Comma separated list of adviser UUIDs. Returns plans where any owner has one of these as their assigned adviser.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Comma separated list of adviser UUIDs. Returns plans where any owner has one of these as their assigned adviser.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[has_active_adviser]","description":"Filter plans by whether they have a current (not deleted) active adviser.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter plans by whether they have a current (not deleted) active adviser.","example":false}},{"in":"query","name":"filter[case]","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078","required":false,"schema":{"type":"string","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078"}},{"in":"query","name":"filter[valuation_from]","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000}},{"in":"query","name":"filter[valuation_to]","description":"Amount in pennies to filter where latest valuation is less than.","example":5000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is less than.","example":5000}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[is_wrap_product]","description":"filter the plans by if they are a wrap product","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they are a wrap product","example":true}},{"in":"query","name":"filter[hide_wrap_children]","description":"Used to hide the wrap children from the primary list of plans.","example":true,"required":false,"schema":{"type":"boolean","description":"Used to hide the wrap children from the primary list of plans.","example":true}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, type, value]. Negative sign to denote DESC. Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, type, value]. Negative sign to denote DESC. Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"filter[agency_in_your_name]","description":"filter the plans by if they have agency in your name","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they have agency in your name","example":true}},{"in":"query","name":"filter[under_advice]","description":"filter the plans by if they are under advice","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they are under advice","example":true}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource"}}}}}}}},"tags":["Clients"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/linked-clients":{"get":{"summary":"Get all linked clients for a client","operationId":"getApiV1ClientClient_uuidLinkedClients","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LinkedClients_LinkedClientsResource"}}}}},"tags":["Clients"]},"post":{"summary":"Create a client link","operationId":"postApiV1ClientClient_uuidLinkedClients","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LinkedClients_LinkedClientsResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Clients"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Client_StoreClientLinkRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/linked-clients/{uuid}":{"put":{"summary":"Update a client link","operationId":"putApiV1ClientClient_uuidLinkedClientsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LinkedClients_LinkedClientsResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Clients"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Client_UpdateClientLinkRequest"}}}}},"delete":{"summary":"Delete a client link","operationId":"deleteApiV1ClientClient_uuidLinkedClientsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Clients"]},"parameters":[{"in":"path","name":"client_uuid","description":"The UUID of the client.","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"The UUID of the linked client.","example":"ab09-5f4d-a0c5-099bb7e89a84-e4ba1982","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/owners":{"post":{"summary":"Manage owners for the shared client.","operationId":"postApiV1ClientClient_uuidOwners","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Clients"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Client_ManageClientOwnersRequest"}}}}},"get":{"summary":"Retrieve the owners of the client with their personal details.","operationId":"getApiV1ClientClient_uuidOwners","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}}}}},"tags":["Clients"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/owners/personal-details/{owner_uuid}":{"put":{"summary":"Update the personal details of one of the owners.","operationId":"putApiV1ClientClient_uuidOwnersPersonalDetailsOwner_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Clients"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Client_UpdateOwnersPersonalDetailsRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"owner_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client}/shared-accounts":{"get":{"summary":"Get all shared accounts the client belongs to.","operationId":"getApiV1ClientClientSharedAccounts","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [groups, tags, owners].","example":"?include=groups,tags","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [groups, tags, owners].","example":"?include=groups,tags"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name, email]. Negative sign to denote DESC.  Defaults to 'last_name'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name, email]. Negative sign to denote DESC.  Defaults to 'last_name'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}}}}},"tags":["Clients"]},"parameters":[{"in":"path","name":"client","description":"The client.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_id}/fact-find/requests":{"get":{"summary":"Get all fact-find requests the client owns.","operationId":"getApiV1ClientClient_idFactFindRequests","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindRequestResource"}}}}}}}},"tags":["Clients"]},"parameters":[{"in":"path","name":"client_id","description":"The ID of the client.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/wealth":{"get":{"summary":"Create a wealth summary for the client.","operationId":"getApiV1ClientClient_uuidWealth","description":"","parameters":[{"in":"query","name":"date","description":"Get the clients net worth at a particular date in history. Get current net worth when not provided.","example":"2023-05-15","required":false,"schema":{"type":"string","description":"Get the clients net worth at a particular date in history. Get current net worth when not provided.","example":"2023-05-15"}},{"in":"query","name":"filter[include_other_plans]","description":"If true then the net worth will also include other plans the client is linked to.","example":true,"required":false,"schema":{"type":"boolean","description":"If true then the net worth will also include other plans the client is linked to.","example":true}},{"in":"query","name":"filter[include_inactive]","description":"If true then the net worth will also include inactive plans.","example":true,"required":false,"schema":{"type":"boolean","description":"If true then the net worth will also include inactive plans.","example":true}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_NetWorthResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Clients"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/new-business-events":{"get":{"summary":"Get all of a client's new business events","operationId":"getApiV1ClientClient_uuidNewBusinessEvents","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [adviser, case, firm, existingPlan].","example":"adviser,firm","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [adviser, case, firm, existingPlan].","example":"adviser,firm"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Plan type to filter by.","example":"pension","required":false,"schema":{"type":"string","description":"Plan type to filter by.","example":"pension"}},{"in":"query","name":"filter[sub_type]","description":"Plan sub type to filter by.","example":"master_trust_pension","required":false,"schema":{"type":"string","description":"Plan sub type to filter by.","example":"master_trust_pension"}},{"in":"query","name":"filter[provider_uuid]","description":"Plan's provider UUID to filter by.","example":"c000d7ee-e4b5-4336-a8bd-991a1bf71b03","required":false,"schema":{"type":"string","description":"Plan's provider UUID to filter by.","example":"c000d7ee-e4b5-4336-a8bd-991a1bf71b03"}},{"in":"query","name":"filter[policy_number]","description":"Fuzzy search for plan policy number.","example":"123456","required":false,"schema":{"type":"string","description":"Fuzzy search for plan policy number.","example":"123456"}},{"in":"query","name":"filter[adviser_uuid]","description":"Adviser's UUID to filter by.","example":"3c96a26c-4ac3-4805-b1bb-cc08abd95469","required":false,"schema":{"type":"string","description":"Adviser's UUID to filter by.","example":"3c96a26c-4ac3-4805-b1bb-cc08abd95469"}},{"in":"query","name":"filter[advice_type]","description":"Exact search for an advice type.","example":"direct_offer","required":false,"schema":{"type":"string","description":"Exact search for an advice type.","example":"direct_offer"}},{"in":"query","name":"filter[conducted_by]","description":"Exact search for how the advice was conducted.","example":"face_to_face","required":false,"schema":{"type":"string","description":"Exact search for how the advice was conducted.","example":"face_to_face"}},{"in":"query","name":"filter[status]","description":"Current status of the event.","example":"accepted","required":false,"schema":{"type":"string","description":"Current status of the event.","example":"accepted"}},{"in":"query","name":"filter[source_of_funds]","description":"Exact search for source of funds.","example":"savings","required":false,"schema":{"type":"string","description":"Exact search for source of funds.","example":"savings"}},{"in":"query","name":"filter[is_replacing_existing_plan]","description":"Whether the plan is replacing an existing plan.","example":true,"required":false,"schema":{"type":"boolean","description":"Whether the plan is replacing an existing plan.","example":true}},{"in":"query","name":"filter[opted_out_of_pension_scheme_for_plan]","description":"Whether the client opted out of pension scheme for the plan.","example":true,"required":false,"schema":{"type":"boolean","description":"Whether the client opted out of pension scheme for the plan.","example":true}},{"in":"query","name":"filter[date_from]","description":"Started after this date.","example":"2020-01-01","required":false,"schema":{"type":"string","description":"Started after this date.","example":"2020-01-01"}},{"in":"query","name":"filter[date_to]","description":"Started before this date.","example":"2020-12-31","required":false,"schema":{"type":"string","description":"Started before this date.","example":"2020-12-31"}},{"in":"query","name":"filter[proposed_date_to]","description":"Proposed before this date.","example":"2020-12-31","required":false,"schema":{"type":"string","description":"Proposed before this date.","example":"2020-12-31"}},{"in":"query","name":"filter[proposed_date_from]","description":"Proposed after this date.","example":"2020-01-01","required":false,"schema":{"type":"string","description":"Proposed after this date.","example":"2020-01-01"}},{"in":"query","name":"filter[contribution_type]","description":"Exact search for the contribution type.","example":"decrement","required":false,"schema":{"type":"string","description":"Exact search for the contribution type.","example":"decrement"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [start_date, proposal_date, created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [start_date, proposal_date, created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_NewBusinessEventResource"}}}}}}}},"tags":["Clients"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/emails":{"get":{"summary":"Get all the emails the client is a participant of.","operationId":"getApiV1ClientClient_uuidEmails","description":"","parameters":[{"in":"query","name":"search","description":"Search for a message by subject, content or participant (name / email).","example":"A search term","required":false,"schema":{"type":"string","description":"Search for a message by subject, content or participant (name / email).","example":"A search term"}},{"in":"query","name":"filter[incoming]","description":"Filter by incoming or outgoing messages.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by incoming or outgoing messages.","example":true}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of message UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of message UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [firm, mailbox, participants, attachments].","example":"?include=firm,mailbox","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [firm, mailbox, participants, attachments].","example":"?include=firm,mailbox"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, message_created_at]. Negative sign to denote DESC.  Defaults to '-message_created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, message_created_at]. Negative sign to denote DESC.  Defaults to '-message_created_at'.","example":"-updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_MailboxMessageResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Clients"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/illustrations":{"get":{"summary":"Get all the illustrations for a client","operationId":"getApiV1ClientClient_uuidIllustrations","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [firm, client, plan, requestedBy].","example":"?include=firm","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [firm, client, plan, requestedBy].","example":"?include=firm"}},{"in":"query","name":"filter[created_after]","description":"Illustration created after in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto","required":false,"schema":{"type":"string","description":"Illustration created after in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto"}},{"in":"query","name":"filter[created_before]","description":"Illustration created before in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto","required":false,"schema":{"type":"string","description":"Illustration created before in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto"}},{"in":"query","name":"filter[generated_after]","description":"Illustration generated after in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto","required":false,"schema":{"type":"string","description":"Illustration generated after in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto"}},{"in":"query","name":"filter[generated_before]","description":"Illustration generated before in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto","required":false,"schema":{"type":"string","description":"Illustration generated before in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto"}},{"in":"query","name":"filter[platform]","description":"Illustration platform.","example":"'seccl'","required":false,"schema":{"type":"string","description":"Illustration platform.","example":"'seccl'"}},{"in":"query","name":"filter[requested_by_uuid]","description":"Illustration requested by account uuid.","example":"'123e4567-e89b-12d3-a456-426614174000'","required":false,"schema":{"type":"string","description":"Illustration requested by account uuid.","example":"'123e4567-e89b-12d3-a456-426614174000'"}},{"in":"query","name":"filter[name]","description":"Fuzzy search for Illustration name.","example":"'My Illustration'","required":false,"schema":{"type":"string","description":"Fuzzy search for Illustration name.","example":"'My Illustration'"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, generated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-generated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, generated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-generated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IllustrationResource"}}}}},"tags":["Clients"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/clone/{modelType}/{modelUuid}":{"post":{"summary":"Clone a model","operationId":"postApiV1CloneModelTypeModelUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Cloning"]},"parameters":[{"in":"path","name":"modelType","description":"The short name of the item to be cloned. Valid options: \"automation_blueprint\", \"board_task\", \"workflow\", \"document_template\", \"fact_find_schema\", \"fact_find_template\", \"illustration\".","example":"fact_find_template","required":true,"schema":{"type":"string"}},{"in":"path","name":"modelUuid","description":"The uuid for the item to be cloned.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/contact-detail":{"get":{"summary":"Get all account contact details","operationId":"getApiV1AccountAccount_uuidContactDetail","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts].","example":"?include=accounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts].","example":"?include=accounts"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Comma separated list of types to filter by. Valid filters are [email, phone_number].","example":"?filter[type]=email","required":false,"schema":{"type":"string","description":"Comma separated list of types to filter by. Valid filters are [email, phone_number].","example":"?filter[type]=email"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type, name, value]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type, name, value]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}}},"tags":["Contact Details (v1)"]},"post":{"summary":"Create a contact detail","operationId":"postApiV1AccountAccount_uuidContactDetail","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Contact Details (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_ContactDetails_StoreContactDetailRequest"}}}}},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/contact-detail/{uuid}":{"get":{"summary":"Get a contact detail","operationId":"getApiV1AccountAccount_uuidContactDetailUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}}},"tags":["Contact Details (v1)"]},"put":{"summary":"Update a contact detail","operationId":"putApiV1AccountAccount_uuidContactDetailUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Contact Details (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_ContactDetails_UpdateContactDetailRequest"}}}}},"delete":{"summary":"Delete a contact detail","operationId":"deleteApiV1AccountAccount_uuidContactDetailUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Contact Details (v1)"]},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/contact-details":{"get":{"summary":"Get all contact details","operationId":"getApiV2ContactDetails","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Comma separated list of types to filter by. Valid filters are [email, phone_number].","example":"?filter[type]=email","required":false,"schema":{"type":"string","description":"Comma separated list of types to filter by. Valid filters are [email, phone_number].","example":"?filter[type]=email"}},{"in":"query","name":"filter[value]","description":"Comma separated list of partial values to filter by.","example":"?filter[value]=@hotmail.com,07890,+44","required":false,"schema":{"type":"string","description":"Comma separated list of partial values to filter by.","example":"?filter[value]=@hotmail.com,07890,+44"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, primary_accounts].","example":"?include=accounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, primary_accounts].","example":"?include=accounts"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, value]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, value]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_ContactDetailResource"}}}}}}}},"tags":["Contact Details (v2)"]},"post":{"summary":"Create a contact detail","operationId":"postApiV2ContactDetails","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Contact Details (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_StoreContactDetailRequest"}}}}}},"/api/v2/contact-details/{uuid}":{"get":{"summary":"Get a contact detail","operationId":"getApiV2ContactDetailsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}}},"tags":["Contact Details (v2)"]},"put":{"summary":"Update a contact detail","operationId":"putApiV2ContactDetailsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Contact Details (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_UpdateContactDetailRequest"}}}}},"delete":{"summary":"Delete a contact detail","operationId":"deleteApiV2ContactDetailsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Contact Details (v2)"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/contributions":{"post":{"summary":"Create a contribution [DEPRECATED: Use transaction routes]","operationId":"postApiV1PlansPlan_uuidSubAccountsSubAccount_uuidContributions","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ContributionResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Contributions"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Contribution_StoreContributionRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/contributions/{uuid}":{"get":{"summary":"Get a contribution [DEPRECATED: Use transaction routes]","operationId":"getApiV1PlansPlan_uuidSubAccountsSubAccount_uuidContributionsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ContributionResource"}}}}},"tags":["Contributions"],"deprecated":true},"put":{"summary":"Update a contribution [DEPRECATED: Use transaction routes]","operationId":"putApiV1PlansPlan_uuidSubAccountsSubAccount_uuidContributionsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ContributionResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Contributions"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Contribution_UpdateContributionRequest"}}}}},"delete":{"summary":"Delete a contribution [DEPRECATED: Use transaction routes]","operationId":"deleteApiV1PlansPlan_uuidSubAccountsSubAccount_uuidContributionsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ContributionResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Contributions"],"deprecated":true},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/contributions/{subAccount}":{"get":{"summary":"Get all contributions [DEPRECATED: Use transaction routes]","operationId":"getApiV1PlansPlan_uuidContributionsSubAccount","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type, started_at, ended_at, paid_at]. Negative sign to denote DESC.  Defaults to '-paid_at,-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type, started_at, ended_at, paid_at]. Negative sign to denote DESC.  Defaults to '-paid_at,-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ContributionResource"}}}}}}}},"tags":["Contributions"],"deprecated":true},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount","description":"Optional parameter. An optional sub-account to constrain the results by.","required":true,"schema":{"type":"integer"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":16}}}]},"/api/v1/account/{account_uuid}/conversations":{"get":{"summary":"Get all account conversations","operationId":"getApiV1AccountAccount_uuidConversations","description":"Get all conversations where the account is participating in.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, latest_message, messages_count, files_count, case, tags].","example":"participants,participants_count,latest_message","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, latest_message, messages_count, files_count, case, tags].","example":"participants,participants_count,latest_message"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[archived]","description":"Return with or only archived conversations for current user.  Valid options are [with, only, false].  Default is set to false.","example":"architecto","required":false,"schema":{"type":"string","description":"Return with or only archived conversations for current user.  Valid options are [with, only, false].  Default is set to false.","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, latest_message, pinned_conversations]. Negative sign to denote DESC.  Defaults to 'latest_message'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, latest_message, pinned_conversations]. Negative sign to denote DESC.  Defaults to 'latest_message'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ConversationResource"}}}}}}}},"tags":["Conversations"]},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/conversations":{"get":{"summary":"Get all circle conversations","operationId":"getApiV1CirclesCircle_uuidConversations","description":"Get all conversations where the circle accounts are participants.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, latest_message, messages_count, files_count, case, tags].","example":"participants,participants_count,latest_message","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, latest_message, messages_count, files_count, case, tags].","example":"participants,participants_count,latest_message"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[archived]","description":"Return with or only archived conversations for current user.  Valid options are [with, only, false].  Default is set to false.","example":"architecto","required":false,"schema":{"type":"string","description":"Return with or only archived conversations for current user.  Valid options are [with, only, false].  Default is set to false.","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, latest_message, pinned_conversations]. Negative sign to denote DESC.  Defaults to 'latest_message'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, latest_message, pinned_conversations]. Negative sign to denote DESC.  Defaults to 'latest_message'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ConversationResource"}}}}}}}},"tags":["Conversations"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/cases/{case_uuid}/conversations":{"get":{"summary":"Get all conversations of a case","operationId":"getApiV1CasesCase_uuidConversations","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, latest_message, messages_count, files_count, case, tags].","example":"participants,participants_count,latest_message","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, latest_message, messages_count, files_count, case, tags].","example":"participants,participants_count,latest_message"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[archived]","description":"Return with or only archived conversations for current user.  Valid options are [with, only, false].  Default is set to false.","example":"architecto","required":false,"schema":{"type":"string","description":"Return with or only archived conversations for current user.  Valid options are [with, only, false].  Default is set to false.","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, latest_message, pinned_conversations]. Negative sign to denote DESC.  Defaults to 'latest_message'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, latest_message, pinned_conversations]. Negative sign to denote DESC.  Defaults to 'latest_message'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ConversationResource"}}}}}}}},"tags":["Conversations"]},"parameters":[{"in":"path","name":"case_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/inline":{"post":{"summary":"Create a conversation with inline files","operationId":"postApiV1ConversationInline","description":"Used to create a conversation and upload files as part of the first message at the same time.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ConversationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Conversation_StoreConversationWithInlineFilesRequest"}}}}}},"/api/v1/conversation":{"get":{"summary":"Get all conversations.","operationId":"getApiV1Conversation","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, latest_message, messages_count, files_count, case, tags].","example":"participants,participants_count,latest_message","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count, latest_message, messages_count, files_count, case, tags].","example":"participants,participants_count,latest_message"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[archived]","description":"Return with or only archived conversations for current user.  Valid options are [with, only, false].  Default is set to false.","example":"architecto","required":false,"schema":{"type":"string","description":"Return with or only archived conversations for current user.  Valid options are [with, only, false].  Default is set to false.","example":"architecto"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, latest_message, pinned_conversations]. Negative sign to denote DESC.  Defaults to 'latest_message'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, latest_message, pinned_conversations]. Negative sign to denote DESC.  Defaults to 'latest_message'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ConversationResource"}}}}}}}},"tags":["Conversations"]},"post":{"summary":"Create a conversation.","operationId":"postApiV1Conversation","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ConversationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Conversation_StoreConversationRequest"}}}}}},"/api/v1/conversation/{uuid}":{"get":{"summary":"Get a conversation.","operationId":"getApiV1ConversationUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ConversationResource"}}}}},"tags":["Conversations"]},"put":{"summary":"Update a conversation.","operationId":"putApiV1ConversationUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ConversationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Conversation_UpdateConversationRequest"}}}}},"delete":{"summary":"Delete a conversation","operationId":"deleteApiV1ConversationUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Conversations"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/notifications":{"post":{"summary":"Update notification settings for a conversation","operationId":"postApiV1ConversationConversation_uuidNotifications","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Conversation_ConversationNotificationsRequest"}}}}},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/leave":{"delete":{"summary":"Leave a conversation","operationId":"deleteApiV1ConversationConversation_uuidLeave","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Conversations"]},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/archive":{"post":{"summary":"Archive the conversation","operationId":"postApiV1ConversationConversation_uuidArchive","description":"If user is a client it will only archive it for themselves.\nIf user is an employee it will archive it for everybody.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Conversations"]},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/unarchive":{"post":{"summary":"Unarchive the conversation","operationId":"postApiV1ConversationConversation_uuidUnarchive","description":"If user is a client it will only unarchive it for themselves.\nIf user is an employee it will unarchive it for everybody.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Conversations"]},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/pin":{"post":{"summary":"Pin the conversation","operationId":"postApiV1ConversationConversation_uuidPin","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Conversation_PinConversationRequest"}}}}},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/participants":{"post":{"summary":"Add participants to conversation","operationId":"postApiV1ConversationConversation_uuidParticipants","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Conversation_AddAccountsToConversationRequest"}}}}},"delete":{"summary":"Remove participants from a conversation","operationId":"deleteApiV1ConversationConversation_uuidParticipants","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Conversation_RemoveAccountsFromConversationRequest"}}}}},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/admin":{"post":{"summary":"Promote participants to conversation admins","operationId":"postApiV1ConversationConversation_uuidAdmin","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Conversation_PromoteToConversationAdminRequest"}}}}},"delete":{"summary":"Revoke admin privileges from conversation participants","operationId":"deleteApiV1ConversationConversation_uuidAdmin","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Conversation_RevokeConversationAdminRequest"}}}}},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/messages/inline":{"post":{"summary":"Create a message with inline files","operationId":"postApiV1ConversationConversation_uuidMessagesInline","description":"Used to create a message and upload files at the same time.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MessageResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Message_StoreMessageWithInlineFilesRequest"}}}}},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/messages":{"get":{"summary":"Get all messages","operationId":"getApiV1ConversationConversation_uuidMessages","description":"","parameters":[{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 30. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 30. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_MessageResource"}}}}}}}},"tags":["Conversations"]},"post":{"summary":"Create a message","operationId":"postApiV1ConversationConversation_uuidMessages","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MessageResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Message_StoreMessageRequest"}}}}},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/messages/{uuid}":{"get":{"summary":"Get a message","operationId":"getApiV1ConversationConversation_uuidMessagesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MessageResource"}}}}},"tags":["Conversations"]},"put":{"summary":"Update a message","operationId":"putApiV1ConversationConversation_uuidMessagesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MessageResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Conversations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Message_UpdateMessageRequest"}}}}},"delete":{"summary":"Delete a message","operationId":"deleteApiV1ConversationConversation_uuidMessagesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Conversations"]},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/message/{message_uuid}/edits":{"get":{"summary":"Get a messages edit history","operationId":"getApiV1ConversationConversation_uuidMessageMessage_uuidEdits","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_EditedMessageResource"}}}}}}}},"tags":["Conversations"]},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"message_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/cover":{"get":{"summary":"Get all covers of a plan","operationId":"getApiV1PlansPlan_uuidCover","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[cover_type]","description":"Comma separate string of cover types to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separate string of cover types to filter by.","example":"architecto"}},{"in":"query","name":"filter[benefit_status]","description":"Comma separate string of benefit statuses to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separate string of benefit statuses to filter by.","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type, benefit_status, benefit_amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type, benefit_status, benefit_amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource"}}}}}}}},"tags":["Cover"]},"post":{"summary":"Create cover for a plan","operationId":"postApiV1PlansPlan_uuidCover","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Cover"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StoreCoverRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/cover/{uuid}":{"get":{"summary":"Get cover of a plan","operationId":"getApiV1PlansPlan_uuidCoverUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource"}}}}},"tags":["Cover"]},"put":{"summary":"Update cover of a plan","operationId":"putApiV1PlansPlan_uuidCoverUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_CoverResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Cover"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_UpdateCoverRequest"}}}}},"delete":{"summary":"Delete cover of a plan","operationId":"deleteApiV1PlansPlan_uuidCoverUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Cover"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/custom-default-folder":{"get":{"summary":"Get all custom default folders","operationId":"getApiV1CustomDefaultFolder","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[model]","description":"Filter by model type. Valid types are [client, case, plan]","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by model type. Valid types are [client, case, plan]","example":"architecto"}},{"in":"query","name":"filter[is_active]","description":"Filter only active custom default folders","example":false,"required":false,"schema":{"type":"boolean","description":"Filter only active custom default folders","example":false}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_CustomDefaultFoldersResource"}}}}}}}},"tags":["Custom Default Folders"]},"post":{"summary":"Create a custom default folder","operationId":"postApiV1CustomDefaultFolder","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CustomDefaultFoldersResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Custom Default Folders"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_StoreCustomDefaultFoldersRequest"}}}}}},"/api/v1/custom-default-folder/{customDefaultFolder_uuid}":{"get":{"summary":"Get a custom default folder","operationId":"getApiV1CustomDefaultFolderCustomDefaultFolder_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CustomDefaultFoldersResource"}}}}},"tags":["Custom Default Folders"]},"put":{"summary":"Update a custom default folder","operationId":"putApiV1CustomDefaultFolderCustomDefaultFolder_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CustomDefaultFoldersResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Custom Default Folders"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_UpdateCustomDefaultFoldersRequest"}}}}},"delete":{"summary":"Delete a custom default folder","operationId":"deleteApiV1CustomDefaultFolderCustomDefaultFolder_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Custom Default Folders"]},"parameters":[{"in":"path","name":"customDefaultFolder_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/custom-field":{"get":{"summary":"Get all custom fields","operationId":"getApiV1CustomField","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[model_type]","description":"Filter the custom fields by a specific model type. For example: ?filter[model_type]=client","example":"architecto","required":false,"schema":{"type":"string","description":"Filter the custom fields by a specific model type. For example: ?filter[model_type]=client","example":"architecto"}},{"in":"query","name":"filter[is_retired]","description":"Only return retired (true) or active (false) custom fields. Both are returned by default.","example":false,"required":false,"schema":{"type":"boolean","description":"Only return retired (true) or active (false) custom fields. Both are returned by default.","example":false}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, model_type, position]. Negative sign to denote DESC.  Defaults to 'position'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, model_type, position]. Negative sign to denote DESC.  Defaults to 'position'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldResource"}}}}},"tags":["Custom Fields"]},"post":{"summary":"Create a custom field","operationId":"postApiV1CustomField","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Custom Fields"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_CustomFields_StoreCustomFieldRequest"}}}}}},"/api/v1/custom-field/{customField_uuid}":{"get":{"summary":"Get a custom field","operationId":"getApiV1CustomFieldCustomField_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldResource"}}}}},"tags":["Custom Fields"]},"put":{"summary":"Update a custom field","operationId":"putApiV1CustomFieldCustomField_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Custom Fields"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_CustomFields_UpdateCustomFieldRequest"}}}}},"delete":{"summary":"Delete a custom field","operationId":"deleteApiV1CustomFieldCustomField_uuid","description":"If any record has a value for the custom field, it is retired instead of deleted:\nits values are kept and stay readable, but it no longer accepts new values.\nDeleting an already retired custom field does nothing.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Custom Fields"]},"parameters":[{"in":"path","name":"customField_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"customField","description":"Optional parameter. UUID The UUID of the custom field","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v1/client/{client_uuid}/dependant":{"get":{"summary":"Get all dependants","operationId":"getApiV1ClientClient_uuidDependant","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, shared_owner].","example":"?include=accounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, shared_owner].","example":"?include=accounts"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_DependantResource"}}}}}}}},"tags":["Dependants (v1)"]},"post":{"summary":"Create a dependant","operationId":"postApiV1ClientClient_uuidDependant","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DependantResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Dependants (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Dependants_StoreDependantRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/dependant/{uuid}":{"get":{"summary":"Get a dependant","operationId":"getApiV1ClientClient_uuidDependantUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DependantResource"}}}}},"tags":["Dependants (v1)"]},"put":{"summary":"Update a dependant","operationId":"putApiV1ClientClient_uuidDependantUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DependantResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Dependants (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Dependants_UpdateDependantRequest"}}}}},"delete":{"summary":"Delete a dependant","operationId":"deleteApiV1ClientClient_uuidDependantUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Dependants (v1)"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/dependants":{"get":{"summary":"Get all dependants","operationId":"getApiV2Dependants","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts].","example":"?include=accounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts].","example":"?include=accounts"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_DependantResource"}}}}}}}},"tags":["Dependants (v2)"]},"post":{"summary":"Create a dependant","operationId":"postApiV2Dependants","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DependantResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Dependants (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Dependants_StoreDependantRequest"}}}}}},"/api/v2/dependants/{uuid}":{"get":{"summary":"Get a dependant","operationId":"getApiV2DependantsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DependantResource"}}}}},"tags":["Dependants (v2)"]},"put":{"summary":"Update a dependant","operationId":"putApiV2DependantsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DependantResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Dependants (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Dependants_UpdateDependantRequest"}}}}},"delete":{"summary":"Delete a dependant","operationId":"deleteApiV2DependantsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Dependants (v2)"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document/variables":{"get":{"summary":"Get available variables","operationId":"getApiV1DocumentVariables","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DocumentBuilder_DocumentVariablesResource"}}}}},"tags":["Document Builder"]}},"/api/v1/document-template":{"get":{"summary":"Get document templates","operationId":"getApiV1DocumentTemplate","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [name, created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [name, created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_DocumentBuilder_DocumentTemplateResource"}}}}}}}},"tags":["Document Builder"]},"post":{"summary":"Create a document template","operationId":"postApiV1DocumentTemplate","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DocumentBuilder_DocumentTemplateResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Document Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_DocumentBuilder_StoreDocumentTemplateRequest"}}}}}},"/api/v1/document-template/{documentTemplate_uuid}":{"get":{"summary":"Get a document template","operationId":"getApiV1DocumentTemplateDocumentTemplate_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DocumentBuilder_DocumentTemplateResource"}}}}},"tags":["Document Builder"]},"put":{"summary":"Update a document template","operationId":"putApiV1DocumentTemplateDocumentTemplate_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DocumentBuilder_DocumentTemplateResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Document Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_DocumentBuilder_UpdateDocumentTemplateRequest"}}}}},"delete":{"summary":"Delete a template","operationId":"deleteApiV1DocumentTemplateDocumentTemplate_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Document Builder"]},"parameters":[{"in":"path","name":"documentTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document-template/{documentTemplate_uuid}/content/docx":{"get":{"summary":"Download Template as DOCX","operationId":"getApiV1DocumentTemplateDocumentTemplate_uuidContentDocx","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Document Builder"]},"post":{"summary":"Update the DOCX content of a template","operationId":"postApiV1DocumentTemplateDocumentTemplate_uuidContentDocx","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Document Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_DocumentBuilder_UploadTemplateDocxContentRequest"}}}}},"parameters":[{"in":"path","name":"documentTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document-template/{documentTemplate_uuid}/content/sfdt":{"get":{"summary":"Download Template as SFDT","operationId":"getApiV1DocumentTemplateDocumentTemplate_uuidContentSfdt","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Document Builder"]},"parameters":[{"in":"path","name":"documentTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document-template/{documentTemplate_uuid}/content/pdf":{"get":{"summary":"Download Template as PDF","operationId":"getApiV1DocumentTemplateDocumentTemplate_uuidContentPdf","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Document Builder"]},"parameters":[{"in":"path","name":"documentTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document-template/{documentTemplate_uuid}/content/preview":{"get":{"summary":"Generate Document Preview","operationId":"getApiV1DocumentTemplateDocumentTemplate_uuidContentPreview","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Document Builder"]},"parameters":[{"in":"path","name":"documentTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document":{"get":{"summary":"Get all documents","operationId":"getApiV1Document","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [clients, file].","example":"?include=clients","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [clients, file].","example":"?include=clients"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter by partial document title","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial document title","example":"architecto"}},{"in":"query","name":"filter[created_before]","description":"date Filter documents created before a given date. Format: YYYY-MM-DD","example":"architecto","required":false,"schema":{"type":"string","description":"date Filter documents created before a given date. Format: YYYY-MM-DD","example":"architecto"}},{"in":"query","name":"filter[created_after]","description":"date Filter documents created after a given date. Format: YYYY-MM-DD","example":"architecto","required":false,"schema":{"type":"string","description":"date Filter documents created after a given date. Format: YYYY-MM-DD","example":"architecto"}},{"in":"query","name":"filter[client_uuids]","description":"Filter by a comma separated list of client UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of client UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated string of circle UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1","required":false,"schema":{"type":"string","description":"Comma separated string of circle UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'updated_at'.","example":"created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'updated_at'.","example":"created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_DocumentBuilder_DocumentResource"}}}}}}}},"tags":["Document Builder"]},"post":{"summary":"Create a document","operationId":"postApiV1Document","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DocumentBuilder_DocumentResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Document Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_DocumentBuilder_StoreDocumentRequest"}}}}}},"/api/v1/document/{uuid}":{"get":{"summary":"Get a document","operationId":"getApiV1DocumentUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DocumentBuilder_DocumentResource"}}}}},"tags":["Document Builder"]},"put":{"summary":"Update a document","operationId":"putApiV1DocumentUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DocumentBuilder_DocumentResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Document Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_DocumentBuilder_UpdateDocumentRequest"}}}}},"delete":{"summary":"Delete a document","operationId":"deleteApiV1DocumentUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Document Builder"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document/{document_uuid}/content/docx":{"get":{"summary":"Download Document as DOCX","operationId":"getApiV1DocumentDocument_uuidContentDocx","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Document Builder"]},"post":{"summary":"Update the DOCX content of a document","operationId":"postApiV1DocumentDocument_uuidContentDocx","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Document Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_DocumentBuilder_UploadDocumentDocxContentRequest"}}}}},"parameters":[{"in":"path","name":"document_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document/{document_uuid}/content/sfdt":{"get":{"summary":"Download Document as SFDT","operationId":"getApiV1DocumentDocument_uuidContentSfdt","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Document Builder"]},"parameters":[{"in":"path","name":"document_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document/{document_uuid}/content/pdf":{"get":{"summary":"Download Document as PDF","operationId":"getApiV1DocumentDocument_uuidContentPdf","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Document Builder"]},"parameters":[{"in":"path","name":"document_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document/{document_uuid}/content/preview":{"get":{"summary":"Generate Document Preview","operationId":"getApiV1DocumentDocument_uuidContentPreview","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Document Builder"]},"parameters":[{"in":"path","name":"document_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document/{document_uuid}/publish":{"post":{"summary":"Publish a document","operationId":"postApiV1DocumentDocument_uuidPublish","description":"This will make the document un-editable and will upload a DOCX and PDF file to the client.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_DocumentBuilder_DocumentResource"}}}}},"tags":["Document Builder"]},"parameters":[{"in":"path","name":"document_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document-pack/document-pack":{"get":{"summary":"Get all document packs","operationId":"getApiV1DocumentPackDocumentPack","description":"","parameters":[{"in":"query","name":"filter[name]","description":"Filter by name. This is a fuzzy search.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by name. This is a fuzzy search.","example":"architecto"}},{"in":"query","name":"filter[is_template]","description":"Filter document packs that are templates","example":false,"required":false,"schema":{"type":"boolean","description":"Filter document packs that are templates","example":false}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, is_template]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, is_template]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_DocumentPackResource"}}}}}}}},"tags":["Document Packs"]},"post":{"summary":"Create a document pack","operationId":"postApiV1DocumentPackDocumentPack","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_DocumentPackResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Document Packs"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_DocumentSigning_StoreDocumentPackRequest"}}}}}},"/api/v1/document-pack/document-pack/{uuid}":{"get":{"summary":"Get a document pack","operationId":"getApiV1DocumentPackDocumentPackUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource"}}}}}}}},"tags":["Document Packs"]},"put":{"summary":"Update a document pack","operationId":"putApiV1DocumentPackDocumentPackUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Document Packs"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_DocumentSigning_UpdateDocumentPackRequest"}}}}},"delete":{"summary":"Delete a document pack","operationId":"deleteApiV1DocumentPackDocumentPackUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Document Packs"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/signatures":{"get":{"summary":"Get all client signature transactions","operationId":"getApiV1ClientClient_uuidSignatures","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[date_from]","description":"Get signatures launched from a certain date.","example":"2022-03-20","required":false,"schema":{"type":"string","description":"Get signatures launched from a certain date.","example":"2022-03-20"}},{"in":"query","name":"filter[date_to]","description":"Get signatures launched to a certain date.","example":"2022-03-27","required":false,"schema":{"type":"string","description":"Get signatures launched to a certain date.","example":"2022-03-27"}},{"in":"query","name":"filter[status]","description":"Filter by transaction status.  Valid options are [created, pending, complete, email_sent, closed, cancelled, expired, voided, failed].","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by transaction status.  Valid options are [created, pending, complete, email_sent, closed, cancelled, expired, voided, failed].","example":"architecto"}},{"in":"query","name":"filter[clients]","description":"Filter by a comma separated list of accounts UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of accounts UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of accounts UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of accounts UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"a9cfd38f-a88e-5ec0-a4c2-5135e53b9c20,f1a0a611-3403-5dec-885f-8f3b156975d3","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"a9cfd38f-a88e-5ec0-a4c2-5135e53b9c20,f1a0a611-3403-5dec-885f-8f3b156975d3"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_SignatureTransactionResource"}}}}}}}},"tags":["Document Signing"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/document-signing":{"get":{"summary":"Get all signature transactions","operationId":"getApiV1DocumentSigning","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[date_from]","description":"Get signatures launched from a certain date.","example":"2022-03-20","required":false,"schema":{"type":"string","description":"Get signatures launched from a certain date.","example":"2022-03-20"}},{"in":"query","name":"filter[date_to]","description":"Get signatures launched to a certain date.","example":"2022-03-27","required":false,"schema":{"type":"string","description":"Get signatures launched to a certain date.","example":"2022-03-27"}},{"in":"query","name":"filter[status]","description":"Filter by transaction status.  Valid options are [created, pending, complete, email_sent, closed, cancelled, expired, voided, failed].","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by transaction status.  Valid options are [created, pending, complete, email_sent, closed, cancelled, expired, voided, failed].","example":"architecto"}},{"in":"query","name":"filter[clients]","description":"Filter by a comma separated list of accounts UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of accounts UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of accounts UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of accounts UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"a9cfd38f-a88e-5ec0-a4c2-5135e53b9c20,f1a0a611-3403-5dec-885f-8f3b156975d3","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"a9cfd38f-a88e-5ec0-a4c2-5135e53b9c20,f1a0a611-3403-5dec-885f-8f3b156975d3"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_SignatureTransactionResource"}}}}}}}},"tags":["Document Signing"]},"post":{"summary":"Launch document signing","operationId":"postApiV1DocumentSigning","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_SignatureTransactionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Document Signing"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_DocumentBuilder_LaunchDocumentSigningRequest"}}}}}},"/api/v1/document-signing/{signatureTransaction_uuid}":{"get":{"summary":"Get a signature transaction","operationId":"getApiV1DocumentSigningSignatureTransaction_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_SignatureTransactionResource"}}}}},"tags":["Document Signing"]},"parameters":[{"in":"path","name":"signatureTransaction_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/employee":{"get":{"summary":"Get all employees","operationId":"getApiV1Employee","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number, primary_email, assigned_adviser, tags, groups, business_unit].","example":"?include=groups,tags","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number, primary_email, assigned_adviser, tags, groups, business_unit].","example":"?include=groups,tags"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter employees by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter employees by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto"}},{"in":"query","name":"filter[email]","description":"Filter employees that have an email with a partial match.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter employees that have an email with a partial match.","example":"architecto"}},{"in":"query","name":"filter[type]","description":"Comma separated string to filter by different employee types.  Valid types are [owner, admin, member].","example":"?filter[type]=member","required":false,"schema":{"type":"string","description":"Comma separated string to filter by different employee types.  Valid types are [owner, admin, member].","example":"?filter[type]=member"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the client was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the client was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the client was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the client was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[groups]","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[exclude_groups]","description":"Provide a group UUID (or multiple as a comma-separated string) to filter employees within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Provide a group UUID (or multiple as a comma-separated string) to filter employees within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[departments]","description":"Comma separated list of departments the employee is in.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of departments the employee is in.","example":"architecto"}},{"in":"query","name":"filter[include]","description":"Comma separated list of employee UUIDs that should always be returned no matter what other filters are applied.","example":"a1d8eb7b-bcef-4321-b245-f00efd823e6a","required":false,"schema":{"type":"string","description":"Comma separated list of employee UUIDs that should always be returned no matter what other filters are applied.","example":"a1d8eb7b-bcef-4321-b245-f00efd823e6a"}},{"in":"query","name":"filter[business_unit]","description":"Filter by a business unit UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a business unit UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name, email]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name, email]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}},"tags":["Employee"]},"post":{"summary":"Create an employee [DEPRECATED: Use create an account route]","operationId":"postApiV1Employee","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Employee"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Employee_StoreEmployeeRequest"}}}}}},"/api/v1/employee/{uuid}":{"get":{"summary":"Get an employee [DEPRECATED: Use get an account route]","operationId":"getApiV1EmployeeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}},"tags":["Employee"]},"put":{"summary":"Update an employee [DEPRECATED: Use update an account route]","operationId":"putApiV1EmployeeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Employee"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Employee_UpdateEmployeeRequest"}}}}},"delete":{"summary":"Delete an employee [DEPRECATED: use delete an account route]","operationId":"deleteApiV1EmployeeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}},"tags":["Employee"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/employments":{"get":{"summary":"List Employments","operationId":"getApiV2Employments","description":"List of all","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[client_uuids]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[status]","description":"Filter by a comma separated list of statuses.","example":"retired,unemployed","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of statuses.","example":"retired,unemployed"}},{"in":"query","name":"filter[employer]","description":"Filter by employer name.","example":"Plannr","required":false,"schema":{"type":"string","description":"Filter by employer name.","example":"Plannr"}},{"in":"query","name":"filter[job_title]","description":"Filter by job title.","example":"Web Developer","required":false,"schema":{"type":"string","description":"Filter by job title.","example":"Web Developer"}},{"in":"query","name":"filter[started_at]","description":"Filter by start date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[started_at]=\u003e=2023-01-01,\u003c=2023-08-01","required":false,"schema":{"type":"string","description":"Filter by start date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[started_at]=\u003e=2023-01-01,\u003c=2023-08-01"}},{"in":"query","name":"filter[ended_at]","description":"Filter by end date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[ended_at]=\u003e=2023-01-01,\u003c=2023-08-01","required":false,"schema":{"type":"string","description":"Filter by end date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[ended_at]=\u003e=2023-01-01,\u003c=2023-08-01"}},{"in":"query","name":"filter[email_address]","description":"Filter by job title.","example":"my.client@example.org","required":false,"schema":{"type":"string","description":"Filter by job title.","example":"my.client@example.org"}},{"in":"query","name":"filter[phone_number]","description":"Filter pby hone number - must have international code.","example":"+441234567890","required":false,"schema":{"type":"string","description":"Filter pby hone number - must have international code.","example":"+441234567890"}},{"in":"query","name":"include","description":"A comma separated list of items to include. Possible values are [address, income, email_address, phone_number, turnover_history].","example":"email_address,phone_number","required":false,"schema":{"type":"string","description":"A comma separated list of items to include. Possible values are [address, income, email_address, phone_number, turnover_history].","example":"email_address,phone_number"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_EmploymentResource"}}}}}}}},"tags":["Employment (V2)"]},"post":{"summary":"Create an Employment","operationId":"postApiV2Employments","description":"Creates an employment record","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_EmploymentResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Employment (V2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Employment_StoreEmploymentRequest"}}}}}},"/api/v2/employments/{uuid}":{"get":{"summary":"Get an employment","operationId":"getApiV2EmploymentsUuid","description":"Display an employment record","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_EmploymentResource"}}}}},"tags":["Employment (V2)"]},"put":{"summary":"Update an Employment","operationId":"putApiV2EmploymentsUuid","description":"Update an existing Employment record","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/_App_Http_Resources_V2_EmploymentResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Employment (V2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Employment_UpdateEmploymentRequest"}}}}},"delete":{"summary":"Delete an employment","operationId":"deleteApiV2EmploymentsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Employment (V2)"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/employment":{"get":{"summary":"Get all employments","operationId":"getApiV1ClientClient_uuidEmployment","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [shared_owner, address, email_address, phone_number, income].","example":"?include=shared_owner,income","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [shared_owner, address, email_address, phone_number, income].","example":"?include=shared_owner,income"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, employer]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, employer]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_EmploymentResource"}}}}}}}},"tags":["Employments"]},"post":{"summary":"Create an employment","operationId":"postApiV1ClientClient_uuidEmployment","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_EmploymentResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Employments"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Employments_StoreEmploymentRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/employment/{uuid}":{"get":{"summary":"Get an employment","operationId":"getApiV1ClientClient_uuidEmploymentUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_EmploymentResource"}}}}},"tags":["Employments"]},"put":{"summary":"Update an employment","operationId":"putApiV1ClientClient_uuidEmploymentUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_EmploymentResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Employments"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Employments_UpdateEmploymentRequest"}}}}},"delete":{"summary":"Delete an employment","operationId":"deleteApiV1ClientClient_uuidEmploymentUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Employments"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/migrate-joint-documents-to-circle":{"post":{"summary":"","operationId":"postApiV1MigrateJointDocumentsToCircle","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Endpoints"]}},"/api/v1/referral-connections":{"get":{"summary":"Returns referral connections for the current firm with direction indicated.","operationId":"getApiV1ReferralConnections","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma-separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma-separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[status]","description":"Filter by status. Valid values: pending, accepted, denied.","example":"pending","required":false,"schema":{"type":"string","description":"Filter by status. Valid values: pending, accepted, denied.","example":"pending"}},{"in":"query","name":"filter[direction]","description":"Filter by direction. Valid values: sent, received.","example":"sent","required":false,"schema":{"type":"string","description":"Filter by direction. Valid values: sent, received.","example":"sent"}},{"in":"query","name":"filter[recipient_uuid]","description":"Filter by recipient account UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by recipient account UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, status, expires_at]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, status, expires_at]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Endpoints"]},"post":{"summary":"Creates a new referral connection request to another adviser using their referral code.","operationId":"postApiV1ReferralConnections","description":"An email notification will be sent to the recipient with accept/deny links.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReferralConnectionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Endpoints"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_ReferralConnection_StoreReferralConnectionRequest"}}}}}},"/api/v1/referral-connections/{referralConnection_uuid}":{"get":{"summary":"","operationId":"getApiV1ReferralConnectionsReferralConnection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReferralConnectionResource"}}}}},"tags":["Endpoints"]},"delete":{"summary":"Deletes a pending referral connection. Only the sender can delete a connection request.","operationId":"deleteApiV1ReferralConnectionsReferralConnection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Endpoints"]},"parameters":[{"in":"path","name":"referralConnection_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/referrals":{"get":{"summary":"Returns referrals for the current firm with direction indicated.","operationId":"getApiV1Referrals","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma-separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma-separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[status]","description":"Filter by status. Valid values: pending, accepted, rejected, expired.","example":"pending","required":false,"schema":{"type":"string","description":"Filter by status. Valid values: pending, accepted, rejected, expired.","example":"pending"}},{"in":"query","name":"filter[direction]","description":"Filter by direction. Valid values: sent, received.","example":"sent","required":false,"schema":{"type":"string","description":"Filter by direction. Valid values: sent, received.","example":"sent"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, status, expires_at]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, status, expires_at]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Endpoints"]},"post":{"summary":"Creates a new referral to share client data with a connected firm.","operationId":"postApiV1Referrals","description":"The connection must be accepted before referrals can be sent.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReferralResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Endpoints"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Referral_StoreReferralRequest"}}}}}},"/api/v1/referrals/{uuid}":{"get":{"summary":"","operationId":"getApiV1ReferralsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReferralResource"}}}}},"tags":["Endpoints"]},"delete":{"summary":"Deletes a pending referral. Only the sender can delete a referral.","operationId":"deleteApiV1ReferralsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Endpoints"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/referrals/{referral_uuid}/accept":{"post":{"summary":"Accepts a pending referral. Only the recipient firm can accept.","operationId":"postApiV1ReferralsReferral_uuidAccept","description":"Client data is cloned to the recipient firm upon acceptance.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReferralResource"}}}}},"tags":["Endpoints"]},"parameters":[{"in":"path","name":"referral_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/referrals/{referral_uuid}/reject":{"post":{"summary":"Rejects a pending referral. Only the recipient firm can reject.","operationId":"postApiV1ReferralsReferral_uuidReject","description":"A rejection reason is required. Cloned client data will be cleaned up.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReferralResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Endpoints"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Referral_RejectReferralRequest"}}}}},"parameters":[{"in":"path","name":"referral_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/conquest/client/{client}":{"post":{"summary":"Create Plan in Conquest and return URL to view Conquest Client.","operationId":"postApiV1AddonsConquestClientClient","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Endpoints"]},"put":{"summary":"Update Client in Conquest and redirect to Conquest\nto view client","operationId":"putApiV1AddonsConquestClientClient","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Endpoints"]},"parameters":[{"in":"path","name":"client","description":"The client.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/be-iq/profiler/invite":{"post":{"summary":"Create Be-IQ Risk Profile Invitation","operationId":"postApiV1AddonsBeIqProfilerInvite","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Endpoints"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Addons_CreateBeIQInvitationRequest"}}}}}},"/api/v1/addons/be-iq/client/{client_uuid}":{"get":{"summary":"Show the Be-IQ client","operationId":"getApiV1AddonsBeIqClientClient_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Endpoints"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/flux":{"get":{"summary":"","operationId":"getApiV2Flux","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Endpoints"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Controllers_V2_IndexFluxRequest"}}}}}},"/api/v1/life-stage":{"get":{"summary":"Get all Life Stages for a Firm","operationId":"getApiV1LifeStage","description":"Response includes all expenditure life stages for a firm along with their associated expenditure fields in a JSON object.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageResource"}}}}}}}},"tags":["Expenditures"]},"post":{"summary":"Create a Life Stage for a Firm","operationId":"postApiV1LifeStage","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LifeStages_StoreLifeStageRequest"}}}}}},"/api/v1/life-stage/{lifeStage_uuid}":{"get":{"summary":"Retrieve a Life Stage for a Firm","operationId":"getApiV1LifeStageLifeStage_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageResource"}}}}},"tags":["Expenditures"]},"put":{"summary":"Update a Life Stage for a Firm","operationId":"putApiV1LifeStageLifeStage_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LifeStages_UpdateLifeStageRequest"}}}}},"delete":{"summary":"Delete a Life Stages for a firm","operationId":"deleteApiV1LifeStageLifeStage_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Expenditures"]},"parameters":[{"in":"path","name":"lifeStage_uuid","description":"The uuid of the life stage.","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/life-stage/reorder":{"post":{"summary":"Reorder Life Stages for a firm","operationId":"postApiV1LifeStageReorder","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LifeStages_ReorderLifeStageRequest"}}}}}},"/api/v1/expenditure-structure/section":{"get":{"summary":"Get Sections for Life Stages for a Firm","operationId":"getApiV1ExpenditureStructureSection","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageSectionResource"}}}}}}}},"tags":["Expenditures"]},"post":{"summary":"Create a Section for a Life Stage for a Firm","operationId":"postApiV1ExpenditureStructureSection","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageSectionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LifeStages_StoreLifeStageSectionRequest"}}}}}},"/api/v1/expenditure-structure/section/{lifeStageSection_uuid}":{"get":{"summary":"Get a Section for a Life Stage for a Firm","operationId":"getApiV1ExpenditureStructureSectionLifeStageSection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageSectionResource"}}}}},"tags":["Expenditures"]},"put":{"summary":"Update a Section for a Life Stage for a Firm","operationId":"putApiV1ExpenditureStructureSectionLifeStageSection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageSectionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LifeStages_UpdateLifeStageSectionRequest"}}}}},"delete":{"summary":"Delete a Section for a Life Stage for a Firm","operationId":"deleteApiV1ExpenditureStructureSectionLifeStageSection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Expenditures"]},"parameters":[{"in":"path","name":"lifeStageSection_uuid","description":"The uuid of the life stage section.","example":"dc329ca6-bf88-43ad-a398-b2507569c941","required":true,"schema":{"type":"string"}}]},"/api/v1/expenditure-structure/section/reorder":{"post":{"summary":"Reorder Life Stage Sections for a firm","operationId":"postApiV1ExpenditureStructureSectionReorder","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LifeStages_ReorderLifeStageSectionRequest"}}}}}},"/api/v1/expenditure-structure/section/set-custom-expenditure":{"post":{"summary":"Update the custom expenditures setting across all uuids","operationId":"postApiV1ExpenditureStructureSectionSetCustomExpenditure","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LifeStages_MassSetCustomExpendituresRequest"}}}}}},"/api/v1/expenditure-structure/field":{"get":{"summary":"Get all the Fields for a Life Stage Section for a Firm","operationId":"getApiV1ExpenditureStructureField","description":"The Fields are ordered by their position values in ascending order","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageFieldResource"}}}}}}}},"tags":["Expenditures"]},"post":{"summary":"Create a Field for a Life Stage Section for a Firm","operationId":"postApiV1ExpenditureStructureField","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageFieldResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LifeStages_StoreLifeStageFieldRequest"}}}}},"parameters":[{"in":"path","name":"firm_uuid","description":"The uuid of the Firm.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStageSection_uuid","description":"The uuid of the Life Stage Section.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}}]},"/api/v1/expenditure-structure/field/{lifeStageField_uuid}":{"get":{"summary":"Get a Field for a Life Stage Section for a Firm","operationId":"getApiV1ExpenditureStructureFieldLifeStageField_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageFieldResource"}}}}},"tags":["Expenditures"]},"put":{"summary":"Update a Field for a Life Stage Section for a Firm","operationId":"putApiV1ExpenditureStructureFieldLifeStageField_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_LifeStageFieldResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LifeStages_UpdateLifeStageFieldRequest"}}}}},"delete":{"summary":"Delete a Field for a Life Stage Section for a Firm","operationId":"deleteApiV1ExpenditureStructureFieldLifeStageField_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Expenditures"]},"parameters":[{"in":"path","name":"lifeStageField_uuid","description":"The uuid of the Life Stage Field.","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/expenditure-structure/field/reorder":{"post":{"summary":"Reorder Life Stage Section Fields for a firm","operationId":"postApiV1ExpenditureStructureFieldReorder","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LifeStages_ReorderLifeStageFieldRequest"}}}}}},"/api/v1/client/{client_uuid}/expenditure":{"get":{"summary":"Get all expenditures including totals for a client","operationId":"getApiV1ClientClient_uuidExpenditure","description":"Response includes all expenditures for a client along with their calculated income and disposal income","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_ExpenditureResource"}}}}}}}},"tags":["Expenditures"]},"parameters":[{"in":"path","name":"client_uuid","description":"The uuid of the client.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/expenditure/{id}":{"get":{"summary":"Show an individual Expenditure","operationId":"getApiV1ClientClient_uuidExpenditureId","description":"This endpoint allows you to view an individual expenditure.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_ExpenditureResource"}}}}},"tags":["Expenditures"]},"parameters":[{"in":"path","name":"client_uuid","description":"The uuid of the client.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}},{"in":"path","name":"id","description":"The ID of the expenditure.","example":"architecto","required":true,"schema":{"type":"string"}},{"in":"path","name":"expenditure_uuid","description":"The uuid of the expenditure.","example":"dc329ca6-bf88-43ad-a398-b2507569c941","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/expenditure/{uuid}":{"delete":{"summary":"Delete an Expenditure","operationId":"deleteApiV1ClientClient_uuidExpenditureUuid","description":"This endpoint allows you to delete an expenditure.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Expenditures"]},"parameters":[{"in":"path","name":"client_uuid","description":"The uuid of the client.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"The uuid of the expenditure.","example":"dc329ca6-bf88-43ad-a398-b2507569c941","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/expenditure/sync-to-circle":{"post":{"summary":"Sync joint expenditure to a circle","operationId":"postApiV1ClientClient_uuidExpenditureSyncToCircle","description":"This endpoint copies the joint expenditure values from a joint account into the target circle's shared expenditure","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"circle_uuid":{"type":"string","description":"The uuid of the target circle.","example":"86e3e378-b248-49b1-af23-677dda713e96"}},"required":["circle_uuid"]}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"The uuid of the joint client.","example":"80dbe552-1d20-45a5-b0f5-a3da523de1b5","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/{lifeStageField_uuid}":{"post":{"summary":"Create or Update an Expenditure","operationId":"postApiV1ClientClient_uuidExpenditureLifeStage_uuidLifeStageField_uuid","description":"This endpoint creates an individual expenditure for a client.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_ExpenditureResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Expenditure_StoreOrUpdateExpenditureRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"The uuid of the client.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStage_uuid","description":"The uuid of the parent Life Stage.","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStageField_uuid","description":"The uuid of the parent Life Stage Field.","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/custom":{"post":{"summary":"Create an Expenditure","operationId":"postApiV1ClientClient_uuidExpenditureLifeStage_uuidCustom","description":"This endpoint creates an individual custom expenditure for a client.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_CustomExpenditureFieldResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"]},"parameters":[{"in":"path","name":"client_uuid","description":"The uuid of the client.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStage_uuid","description":"The uuid of the parent Life Stage.","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/custom/{expenditure_uuid}":{"post":{"summary":"Update an Expenditure","operationId":"postApiV1ClientClient_uuidExpenditureLifeStage_uuidCustomExpenditure_uuid","description":"This endpoint creates an individual expenditure for a client.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Expenditure_ExpenditureResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Expenditures"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Expenditure_StoreOrUpdateExpenditureRequest"}}}}},"delete":{"summary":"","operationId":"deleteApiV1ClientClient_uuidExpenditureLifeStage_uuidCustomExpenditure_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Expenditures"]},"parameters":[{"in":"path","name":"client_uuid","description":"The uuid of the client.","example":"f6aa1670-dcf0-484e-a0c5-08590fe89a84","required":true,"schema":{"type":"string"}},{"in":"path","name":"lifeStage_uuid","description":"The uuid of the parent Life Stage.","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}},{"in":"path","name":"expenditure_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm}/fca":{"get":{"summary":"Get all FCA Numbers for a Firm","operationId":"getApiV1FirmFirmFca","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FcaNumberResource"}}}}}}}},"tags":["FCA Numbers"]},"post":{"summary":"Create an FCA Number for a Firm","operationId":"postApiV1FirmFirmFca","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FcaNumberResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["FCA Numbers"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FcaNumber_StoreFcaNumberRequest"}}}}},"parameters":[{"in":"path","name":"firm","description":"The firm.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/fca/{uuid}":{"delete":{"summary":"Delete an unverified FCA Number for a Firm","operationId":"deleteApiV1FirmFirm_uuidFcaUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["FCA Numbers"]},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/blocks/reorder":{"post":{"summary":"Reorder Fact Find Blocks","operationId":"postApiV2FactFindBlocksReorder","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":["uuid-1","uuid-2","uuid-3"]},"properties":{"data":{"type":"array","example":["uuid-1","uuid-2","uuid-3"],"items":{"type":"string"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Blocks"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Blocks_ReorderFactFindBlockRequest"}}}}}},"/api/v2/fact-find/blocks/default":{"get":{"summary":"List all default fact-find blocks","operationId":"getApiV2FactFindBlocksDefault","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Fact-Find Blocks"]}},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/sections/{factFindSection_uuid}/blocks":{"get":{"summary":"Get all fact-find blocks for a section","operationId":"getApiV2FactFindTemplatesFactFindTemplate_uuidSectionsFactFindSection_uuidBlocks","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter by a given name. Partial filter.","example":"Income Details","required":false,"schema":{"type":"string","description":"Filter by a given name. Partial filter.","example":"Income Details"}},{"in":"query","name":"filter[default_block_id]","description":"Filter by default block id.","example":"addresses","required":false,"schema":{"type":"string","description":"Filter by default block id.","example":"addresses"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, position]. Negative sign to denote DESC. Defaults to 'position'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, position]. Negative sign to denote DESC. Defaults to 'position'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindBlockResource"}}}}}}}},"tags":["Fact-Find Blocks"]},"post":{"summary":"Create a fact-find block","operationId":"postApiV2FactFindTemplatesFactFindTemplate_uuidSectionsFactFindSection_uuidBlocks","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindBlockResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Blocks"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Blocks_StoreFactFindBlockRequest"}}}}},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"factFindSection_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/blocks/{factFindBlock_uuid}":{"get":{"summary":"Get a fact-find block","operationId":"getApiV2FactFindBlocksFactFindBlock_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindBlockResource"}}}}},"tags":["Fact-Find Blocks"]},"put":{"summary":"Update a fact-find block","operationId":"putApiV2FactFindBlocksFactFindBlock_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindBlockResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Blocks"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Blocks_UpdateFactFindBlockRequest"}}}}},"delete":{"summary":"Delete a fact-find block","operationId":"deleteApiV2FactFindBlocksFactFindBlock_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Fact-Find Blocks"]},"parameters":[{"in":"path","name":"factFindBlock_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/fact-find-questions/{fact_find_question_uuid}/factFindQuestionCondition":{"post":{"summary":"Create a fact-find question condition","operationId":"postApiV2FactFindFactFindQuestionsFact_find_question_uuidFactFindQuestionCondition","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindQuestionConditionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Question Conditions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_QuestionConditions_StoreFactFindQuestionConditionRequest"}}}}},"parameters":[{"in":"path","name":"fact_find_question_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/factFindQuestionCondition/{uuid}":{"put":{"summary":"Update a fact-find question condition","operationId":"putApiV2FactFindFactFindQuestionConditionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindQuestionConditionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Question Conditions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_QuestionConditions_UpdateFactFindQuestionConditionRequest"}}}}},"delete":{"summary":"Delete a fact-find question condition","operationId":"deleteApiV2FactFindFactFindQuestionConditionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Fact-Find Question Conditions"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/questions/custom-field":{"post":{"summary":"Create a fact-find question that is linked to a custom field","operationId":"postApiV2FactFindQuestionsCustomField","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindQuestionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Questions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Questions_StoreFactFindQuestionRequest"}}}}}},"/api/v2/fact-find/questions/reorder":{"post":{"summary":"Reorder Fact Find Questions","operationId":"postApiV2FactFindQuestionsReorder","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":["uuid-1","uuid-2","uuid-3"]},"properties":{"data":{"type":"array","example":["uuid-1","uuid-2","uuid-3"],"items":{"type":"string"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Questions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Questions_ReorderFactFindQuestionRequest"}}}}}},"/api/v2/fact-find/questions/{factFindQuestion_uuid}":{"put":{"summary":"Update a fact-find question","operationId":"putApiV2FactFindQuestionsFactFindQuestion_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindQuestionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Questions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Questions_UpdateFactFindQuestionRequest"}}}}},"delete":{"summary":"Delete a fact-find question","operationId":"deleteApiV2FactFindQuestionsFactFindQuestion_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Fact-Find Questions"]},"parameters":[{"in":"path","name":"factFindQuestion_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/sections":{"get":{"summary":"Get all fact-find sections for a template","operationId":"getApiV2FactFindTemplatesFactFindTemplate_uuidSections","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter by a given name. Partial filter.","example":"Personal Details","required":false,"schema":{"type":"string","description":"Filter by a given name. Partial filter.","example":"Personal Details"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, position]. Negative sign to denote DESC. Defaults to 'position'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, position]. Negative sign to denote DESC. Defaults to 'position'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSectionResource"}}}}}}}},"tags":["Fact-Find Sections"]},"post":{"summary":"Create a fact-find section","operationId":"postApiV2FactFindTemplatesFactFindTemplate_uuidSections","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSectionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Sections"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Sections_StoreFactFindSectionRequest"}}}}},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/sections/{factFindSection_uuid}":{"get":{"summary":"Get a fact-find section","operationId":"getApiV2FactFindSectionsFactFindSection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSectionResource"}}}}},"tags":["Fact-Find Sections"]},"put":{"summary":"Update a fact-find section","operationId":"putApiV2FactFindSectionsFactFindSection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSectionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Sections"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Sections_UpdateFactFindSectionRequest"}}}}},"delete":{"summary":"Delete a fact-find section","operationId":"deleteApiV2FactFindSectionsFactFindSection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Fact-Find Sections"]},"parameters":[{"in":"path","name":"factFindSection_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/sections/reorder":{"post":{"summary":"Reorder Fact Find Sections","operationId":"postApiV2FactFindSectionsReorder","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":["uuid-1","uuid-2","uuid-3"]},"properties":{"data":{"type":"array","example":["uuid-1","uuid-2","uuid-3"],"items":{"type":"string"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Sections"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Sections_ReorderFactFindSectionRequest"}}}}}},"/api/v2/fact-find/session":{"get":{"summary":"Get all fact-find sessions for the user.","operationId":"getApiV2FactFindSession","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[template_uuids]","description":"Filter by a comma separated list of template UUIDs.","example":"6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of template UUIDs.","example":"6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[status]","description":"Filter by status. Valid values are [in_progress, complete, approved, rejected]. Comma separated for multiple.","example":"in_progress,complete","required":false,"schema":{"type":"string","description":"Filter by status. Valid values are [in_progress, complete, approved, rejected]. Comma separated for multiple.","example":"in_progress,complete"}},{"in":"query","name":"filter[completed]","description":"Filter to sessions that are completed (completed_at is set) when true, or not yet completed when false.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter to sessions that are completed (completed_at is set) when true, or not yet completed when false.","example":true}},{"in":"query","name":"filter[created_after]","description":"Filter sessions created on or after this date (Y-m-d).","example":"2026-01-01","required":false,"schema":{"type":"string","description":"Filter sessions created on or after this date (Y-m-d).","example":"2026-01-01"}},{"in":"query","name":"filter[created_before]","description":"Filter sessions created on or before this date (Y-m-d).","example":"2026-12-31","required":false,"schema":{"type":"string","description":"Filter sessions created on or before this date (Y-m-d).","example":"2026-12-31"}},{"in":"query","name":"filter[completed_after]","description":"Filter sessions completed on or after this date (Y-m-d).","example":"2026-01-01","required":false,"schema":{"type":"string","description":"Filter sessions completed on or after this date (Y-m-d).","example":"2026-01-01"}},{"in":"query","name":"filter[completed_before]","description":"Filter sessions completed on or before this date (Y-m-d).","example":"2026-12-31","required":false,"schema":{"type":"string","description":"Filter sessions completed on or before this date (Y-m-d).","example":"2026-12-31"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, completed_at, status]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, completed_at, status]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_FactFind_FactFindSessionResource"}}}}}}}},"tags":["Fact-Find Sessions"]},"post":{"summary":"Create a fact-find session","operationId":"postApiV2FactFindSession","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_FactFind_FactFindSessionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Sessions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_StoreFactFindSessionRequest"}}}}}},"/api/v2/fact-find/session/{factFindSession_uuid}":{"get":{"summary":"Get a fact-find session","operationId":"getApiV2FactFindSessionFactFindSession_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_FactFind_FactFindSessionResource"}}}}},"tags":["Fact-Find Sessions"]},"delete":{"summary":"Delete a fact-find session","operationId":"deleteApiV2FactFindSessionFactFindSession_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Fact-Find Sessions"]},"parameters":[{"in":"path","name":"factFindSession_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"integer"}}]},"/api/v2/fact-find/session/{factFindSession_uuid}/launch":{"get":{"summary":"Launch a fact-find session as the client.","operationId":"getApiV2FactFindSessionFactFindSession_uuidLaunch","description":"This endpoint allows a client — or an adviser impersonating that client — to launch\nthe client's fact-find session from the portal. On success, a 6-hour authenticated\nsession is established for the fact-find and the session data is returned so the\nfrontend can render the fact-find page.\n\nWhen the request is authenticated via the mobile app, no session cookie is set.\nInstead, a `X-Fact-Find-Session-Token` header is returned containing a bearer token\nthat must be included on all subsequent fact-find requests in place of the session cookie.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string","example":"The fact-find session was launched successfully and is returned in the response body."}},"application/json":{"schema":null}}},"401":{"description":"Unauthenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthenticated":{"summary":"Unauthenticated","value":{"message":"No authenticated login was found on the request."}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"forbidden":{"summary":"Forbidden","value":{"message":"The client does not have access to this fact-find session."}}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"not-found":{"summary":"Not found","value":{"message":"The fact-find session UUID does not exist."}}}}}}},"tags":["Fact-Find Sessions"]},"parameters":[{"in":"path","name":"factFindSession_uuid","description":"The UUID of the fact-find session.","example":"c33eea50-795b-4bb0-ac3e-925ab620147a","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/questions":{"get":{"summary":"Get all fact-find template questions by template","operationId":"getApiV2FactFindTemplatesFactFindTemplate_uuidQuestions","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[block_uuid]","description":"Filter by block UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by block UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[section_uuid]","description":"Filter by section UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by section UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[internal_field_id]","description":"Filter by internal field id.","example":"first_name","required":false,"schema":{"type":"string","description":"Filter by internal field id.","example":"first_name"}},{"in":"query","name":"filter[is_required]","description":"Filter by required flag.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by required flag.","example":true}},{"in":"query","name":"filter[is_visible]","description":"Filter by visible flag.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by visible flag.","example":true}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [position, created_at, updated_at]. Negative sign to denote DESC. Defaults to 'position'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [position, created_at, updated_at]. Negative sign to denote DESC. Defaults to 'position'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindQuestionResource"}}}}}}}},"tags":["Fact-Find Template Question"]},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/questions/{factFindQuestion_uuid}":{"get":{"summary":"Get all fact-find template questions by template and question","operationId":"getApiV2FactFindTemplatesFactFindTemplate_uuidQuestionsFactFindQuestion_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindQuestionResource"}}}}}}}},"tags":["Fact-Find Template Question"]},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"factFindQuestion_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates":{"get":{"summary":"Get all fact-find templates","operationId":"getApiV2FactFindTemplates","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter by name or display name. Partial filter.","example":"Investment Fact Find","required":false,"schema":{"type":"string","description":"Filter by name or display name. Partial filter.","example":"Investment Fact Find"}},{"in":"query","name":"filter[is_published]","description":"Filter by published status.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by published status.","example":true}},{"in":"query","name":"filter[archived]","description":"Filter archived templates. One of: exclude (default), only, include.","example":"only","required":false,"schema":{"type":"string","description":"Filter archived templates. One of: exclude (default), only, include.","example":"only"}},{"in":"query","name":"filter[created_after]","description":"Filter templates created on or after this date (Y-m-d).","example":"2026-01-01","required":false,"schema":{"type":"string","description":"Filter templates created on or after this date (Y-m-d).","example":"2026-01-01"}},{"in":"query","name":"filter[created_before]","description":"Filter templates created on or before this date (Y-m-d).","example":"2026-12-31","required":false,"schema":{"type":"string","description":"Filter templates created on or before this date (Y-m-d).","example":"2026-12-31"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, active_sessions_count]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, active_sessions_count]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateResource"}}}}}}}},"tags":["Fact-Find Templates"]},"post":{"summary":"Create a fact-find template","operationId":"postApiV2FactFindTemplates","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Templates"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Templates_StoreFactFindTemplateRequest"}}}}}},"/api/v2/fact-find/templates/{factFindTemplate_uuid}":{"get":{"summary":"Get a fact-find template","operationId":"getApiV2FactFindTemplatesFactFindTemplate_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateResource"}}}}},"tags":["Fact-Find Templates"]},"put":{"summary":"Update a fact-find template","operationId":"putApiV2FactFindTemplatesFactFindTemplate_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Templates"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Templates_UpdateFactFindTemplateRequest"}}}}},"delete":{"summary":"Delete a fact-find template","operationId":"deleteApiV2FactFindTemplatesFactFindTemplate_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Fact-Find Templates"]},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/clone":{"post":{"summary":"Clone a fact-find template","operationId":"postApiV2FactFindTemplatesFactFindTemplate_uuidClone","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Templates"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_Templates_CloneFactFindTemplateRequest"}}}}},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/generate-pdf":{"post":{"summary":"Generate a fact-find snapshot PDF","operationId":"postApiV2FactFindTemplatesFactFindTemplate_uuidGeneratePdf","description":"Generates a PDF snapshot for the given template and clients.\nSupports individual snapshots per client and combined circle snapshots.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Templates"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_FactFind_GenerateFactFindV3PdfRequest"}}}}},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/print-blank":{"get":{"summary":"Print a blank copy of a fact-find template","operationId":"getApiV2FactFindTemplatesFactFindTemplate_uuidPrintBlank","description":"Renders the template's structure (sections, blocks, and question\nlabels) with no client data, and returns it as a downloadable PDF.\n\nRejected with a 409 if the template has been archived.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Fact-Find Templates"]},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/active-sessions":{"get":{"summary":"List the clients blocking edits to this template.","operationId":"getApiV2FactFindTemplatesFactFindTemplate_uuidActiveSessions","description":"Returns one row per distinct account with at least one active session\nagainst this template, so John Smith with three in-flight sessions\nappears once with `active_session_count: 3` rather than three duplicate\nrows. Circle sessions naturally expand to one row per attached account.","parameters":[{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[name]","description":"Filter by account name. Partial match against first_name, last_name and entity_name.","example":"smith","required":false,"schema":{"type":"string","description":"Filter by account name. Partial match against first_name, last_name and entity_name.","example":"smith"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [latest_session_updated_at, active_session_count, first_name, last_name]. Negative sign to denote DESC. Defaults to '-latest_session_updated_at'.","example":"first_name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [latest_session_updated_at, active_session_count, first_name, last_name]. Negative sign to denote DESC. Defaults to '-latest_session_updated_at'.","example":"first_name"}},{"in":"query","name":"per_page","description":"Number of results per page (default 15).","example":15,"required":false,"schema":{"type":"integer","description":"Number of results per page (default 15).","example":15}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_LockingClientResource"}}}}}}}},"tags":["Fact-Find Templates"]},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/automations":{"get":{"summary":"List automations using fact find template.","operationId":"getApiV2FactFindTemplatesFactFindTemplate_uuidAutomations","description":"List the automations that still send this fact-find template, so the UI\ncan warn the user before they attempt to archive it. Empty when nothing\nblocks archiving.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateArchiveBlockingAutomationResource"}}}}}}}},"tags":["Fact-Find Templates"]},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/publish":{"post":{"summary":"Publish a fact-find template.","operationId":"postApiV2FactFindTemplatesFactFindTemplate_uuidPublish","description":"Allowed even when the template is locked — publishing only flips a flag\nand never affects any in-flight or historical session. Pairs with\n`unpublish` so an adviser can retire a locked template (preventing new\nsessions from being created against it) and bring a clone forward as\nthe active version.\n\nRejected with a 422 if the template has been archived — a template is\neither live or archived, never both, and archiving is permanent.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Templates"]},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/unpublish":{"post":{"summary":"Unpublish a fact-find template — retires it from the picker so no new\nsessions can be created against it. Existing sessions are unaffected.","operationId":"postApiV2FactFindTemplatesFactFindTemplate_uuidUnpublish","description":"Allowed even when the template is locked: this is the adviser's escape\nhatch for \"I want to stop using this template\" without losing history.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateResource"}}}}},"tags":["Fact-Find Templates"]},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/fact-find/templates/{factFindTemplate_uuid}/archive":{"post":{"summary":"Archive a fact-find template.","operationId":"postApiV2FactFindTemplatesFactFindTemplate_uuidArchive","description":"Hides the template from the default list and blocks new sessions.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindTemplateResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Find Templates"]},"parameters":[{"in":"path","name":"factFindTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/fact-find-requests":{"get":{"summary":"Get all fact find requests for accounts in a circle [DEPRECATED: Use the v2 fact-find session routes]","operationId":"getApiV1CirclesCircle_uuidFactFindRequests","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindRequestResource"}}}}}}}},"tags":["Fact-Finds"],"deprecated":true},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/schema":{"get":{"summary":"Get all fact-find schemas [DEPRECATED: Use the v2 fact-find template routes]","operationId":"getApiV1FactFindSchema","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[archived]","description":"Filter archived fact-find schemas. E.g filter[archived]=include, filter[archived]=exclude, filter[archived]=only","example":"architecto","required":false,"schema":{"type":"string","description":"Filter archived fact-find schemas. E.g filter[archived]=include, filter[archived]=exclude, filter[archived]=only","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaResource"}}}}}}}},"tags":["Fact-Finds"],"deprecated":true},"post":{"summary":"Create a fact-find schema [DEPRECATED: Use the v2 fact-find template routes]","operationId":"postApiV1FactFindSchema","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Finds"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FactFind_StoreFactFindSchemaRequest"}}}}}},"/api/v1/fact-find/schema/{factFindSchema_uuid}":{"get":{"summary":"Get a fact-find schema [DEPRECATED: Use the v2 fact-find template routes]","operationId":"getApiV1FactFindSchemaFactFindSchema_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaResource"}}}}},"tags":["Fact-Finds"],"deprecated":true},"put":{"summary":"Update a fact-find schema [DEPRECATED: Use the v2 fact-find template routes]","operationId":"putApiV1FactFindSchemaFactFindSchema_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Finds"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FactFind_UpdateFactFindSchemaRequest"}}}}},"delete":{"summary":"Delete a fact-find schema [DEPRECATED: Use the v2 fact-find template routes]","operationId":"deleteApiV1FactFindSchemaFactFindSchema_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Fact-Finds"],"deprecated":true},"parameters":[{"in":"path","name":"factFindSchema_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/schema/{factFindSchema_uuid}/archive":{"post":{"summary":"Archive a fact-find schema [DEPRECATED: Use the v2 fact-find template routes]","operationId":"postApiV1FactFindSchemaFactFindSchema_uuidArchive","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaResource"}}}}},"tags":["Fact-Finds"],"deprecated":true},"parameters":[{"in":"path","name":"factFindSchema_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/schema/{factFindSchema_uuid}/unarchive":{"post":{"summary":"Unarchive a fact-find schema [DEPRECATED: Use the v2 fact-find template routes]","operationId":"postApiV1FactFindSchemaFactFindSchema_uuidUnarchive","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaResource"}}}}},"tags":["Fact-Finds"],"deprecated":true},"parameters":[{"in":"path","name":"factFindSchema_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/schema/{factFindSchema_uuid}/section":{"get":{"summary":"Get all sections for a fact-find schema [DEPRECATED: Use the v2 fact-find section routes]","operationId":"getApiV1FactFindSchemaFactFindSchema_uuidSection","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, position]. Negative sign to denote DESC.  Defaults to 'position'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, position]. Negative sign to denote DESC.  Defaults to 'position'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaSectionResource"}}}}}}}},"tags":["Fact-Finds"],"deprecated":true},"post":{"summary":"Create a schema section [DEPRECATED: Use the v2 fact-find section routes]","operationId":"postApiV1FactFindSchemaFactFindSchema_uuidSection","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaSectionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Finds"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FactFind_StoreFactFindSchemaSectionRequest"}}}}},"parameters":[{"in":"path","name":"factFindSchema_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/schema/{factFindSchema_uuid}/section/{factFindSchemaSection_uuid}":{"get":{"summary":"Get a section for a schema [DEPRECATED: Use the v2 fact-find section routes]","operationId":"getApiV1FactFindSchemaFactFindSchema_uuidSectionFactFindSchemaSection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaSectionResource"}}}}},"tags":["Fact-Finds"],"deprecated":true},"put":{"summary":"Update a schema section [DEPRECATED: Use the v2 fact-find section routes]","operationId":"putApiV1FactFindSchemaFactFindSchema_uuidSectionFactFindSchemaSection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaSectionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Finds"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FactFind_UpdateFactFindSchemaSectionRequest"}}}}},"delete":{"summary":"Delete a schema section [DEPRECATED: Use the v2 fact-find section routes]","operationId":"deleteApiV1FactFindSchemaFactFindSchema_uuidSectionFactFindSchemaSection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Fact-Finds"],"deprecated":true},"parameters":[{"in":"path","name":"factFindSchema_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"factFindSchemaSection_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/schema/{factFindSchema_uuid}/generate-pdf":{"post":{"summary":"Generate the PDF for a fact-find schema and save it to the client's documents. [DEPRECATED: Use the v2 fact-find template routes]","operationId":"postApiV1FactFindSchemaFactFindSchema_uuidGeneratePdf","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Finds"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FactFind_GenerateFactFindPdfRequest"}}}}},"parameters":[{"in":"path","name":"factFindSchema_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/request/{factFindRequest_uuid}/section":{"get":{"summary":"Retrieve all the sections for the request [DEPRECATED: Use the v2 fact-find session routes]","operationId":"getApiV1FactFindRequestFactFindRequest_uuidSection","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindSchemaSectionResource"}}}}}}}},"tags":["Fact-Finds"],"deprecated":true},"parameters":[{"in":"path","name":"factFindRequest_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/request/{factFindRequest_uuid}/section/{factFindSchemaSection_uuid}/progress":{"post":{"summary":"Update a given section progress [DEPRECATED: Use the v2 fact-find session routes]","operationId":"postApiV1FactFindRequestFactFindRequest_uuidSectionFactFindSchemaSection_uuidProgress","description":"Requires a fact-find pass to be passed in.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Finds"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FactFind_UpdateSectionProgressRequest"}}}}},"parameters":[{"in":"path","name":"factFindRequest_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"factFindSchemaSection_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/request":{"get":{"summary":"Get all fact-find requests for the user. [DEPRECATED: Use the v2 fact-find session routes]","operationId":"getApiV1FactFindRequest","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindRequestResource"}}}}}}}},"tags":["Fact-Finds"],"deprecated":true},"post":{"summary":"Create a fact-find request [DEPRECATED: Use the v2 fact-find session routes]","operationId":"postApiV1FactFindRequest","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindRequestResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Finds"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FactFind_StoreFactFindRequestRequest"}}}}}},"/api/v1/fact-find/request/{factFindRequest_uuid}":{"get":{"summary":"Get a fact-find request [DEPRECATED: Use the v2 fact-find session routes]","operationId":"getApiV1FactFindRequestFactFindRequest_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindRequestResource"}}}}},"tags":["Fact-Finds"],"deprecated":true},"delete":{"summary":"Delete a fact-find request [DEPRECATED: Use the v2 fact-find session routes]","operationId":"deleteApiV1FactFindRequestFactFindRequest_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Fact-Finds"],"deprecated":true},"parameters":[{"in":"path","name":"factFindRequest_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/request/{factFindRequest_uuid}/complete":{"post":{"summary":"Complete a fact-find request for a given fact-find pass [DEPRECATED: Use the v2 fact-find session routes]","operationId":"postApiV1FactFindRequestFactFindRequest_uuidComplete","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindRequestResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Finds"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FactFind_CompleteFactFindRequest"}}}}},"parameters":[{"in":"path","name":"factFindRequest_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/request/{factFindRequest_uuid}/finish":{"post":{"summary":"Finish the fact-find request [DEPRECATED: Use the v2 fact-find session routes]","operationId":"postApiV1FactFindRequestFactFindRequest_uuidFinish","description":"Will mark the fact-find request as completed overall regardless of fact-find pass progress.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFind_FactFindRequestResource"}}}}},"tags":["Fact-Finds"],"deprecated":true},"parameters":[{"in":"path","name":"factFindRequest_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/fact-find/request/{factFindRequest_uuid}/create-account":{"post":{"summary":"Create an additional account on a client's fact-find [DEPRECATED: Use the v2 fact-find session routes]","operationId":"postApiV1FactFindRequestFactFindRequest_uuidCreateAccount","description":"This route is for client's only - this allows them to add accounts to their fact-find","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Fact-Finds"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FactFind_CreateAccountOnFactFindRequest"}}}}},"parameters":[{"in":"path","name":"factFindRequest_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/features":{"get":{"summary":"Get all feature flags","operationId":"getApiFeatures","description":"Returns the full list of features that can be enabled or disabled.","parameters":[{"in":"query","name":"filter[key]","description":"Filter by feature key.","example":"four-admin-addon","required":false,"schema":{"type":"string","description":"Filter by feature key.","example":"four-admin-addon"}},{"in":"query","name":"filter[enabled]","description":"Filter by enabled status.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by enabled status.","example":true}},{"in":"query","name":"filter[global]","description":"Filter by global status.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter by global status.","example":false}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [key, created_at, updated_at]. Negative sign for DESC.","example":"key","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [key, created_at, updated_at]. Negative sign for DESC.","example":"key"}},{"in":"query","name":"per_page","description":"Number of results per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results per page (Default 15. Max 500).","example":50}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FeatureResource"}}}}}}}},"tags":["Features"]}},"/api/features/{uuid}":{"get":{"summary":"Get a feature flag","operationId":"getApiFeaturesUuid","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FeatureResource"}}}}},"tags":["Features"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/file/direct-upload":{"post":{"summary":"Directly upload a file.","operationId":"postApiV1FileDirectUpload","description":"Must be of Content-Type multipart/form-data","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/_App_Http_Resources_FileResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["File Uploading"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_File_DirectFileUploadRequest"}}}}}},"/api/v1/file/create-file-record":{"post":{"summary":"Create a file record for a given Folder","operationId":"postApiV1FileCreateFileRecord","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["File Uploading"]}},"/api/v1/firm/{firm_uuid}/documents":{"get":{"summary":"Get root folder for a firm","operationId":"getApiV1FirmFirm_uuidDocuments","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/documents":{"get":{"summary":"Get root folder for a client","operationId":"getApiV1AccountAccount_uuidDocuments","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/documents":{"get":{"summary":"Get root folder for a circle","operationId":"getApiV1CirclesCircle_uuidDocuments","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/illustration/{illustration_uuid}/documents":{"get":{"summary":"Get root folder for an illustration","operationId":"getApiV1IllustrationIllustration_uuidDocuments","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"illustration_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/cases/{case_uuid}/documents":{"get":{"summary":"Get root folder for a case","operationId":"getApiV1CasesCase_uuidDocuments","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"case_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/conversation/{conversation_uuid}/documents":{"get":{"summary":"Get conversation files","operationId":"getApiV1ConversationConversation_uuidDocuments","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"conversation_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/folder":{"post":{"summary":"Create a folder","operationId":"postApiV1Folder","description":"To create a subfolder pass the parent folder UUID under parent key.\nThis subfolder will inherit the documentable_type and documentable_uuid of its parent folder.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Filesystem"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Folder_StoreFolderRequest"}}}}}},"/api/v1/folder/{uuid}":{"get":{"summary":"Get a folder","operationId":"getApiV1FolderUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}}},"tags":["Filesystem"]},"put":{"summary":"Update and/or move folders","operationId":"putApiV1FolderUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Filesystem"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Folder_UpdateFolderRequest"}}}}},"delete":{"summary":"Delete a folder","operationId":"deleteApiV1FolderUuid","description":"This will also delete all of the folders contents.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/folder/{folder_uuid}/files":{"get":{"summary":"Get all files in a folder","operationId":"getApiV1FolderFolder_uuidFiles","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [documentable, folder, account, tags].","example":"?include=documentable,folder","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [documentable, folder, account, tags].","example":"?include=documentable,folder"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[include_subfolders]","description":"Denotes whether to include files from the requested folders recursive sub folders if the account can view them.","example":true,"required":false,"schema":{"type":"boolean","description":"Denotes whether to include files from the requested folders recursive sub folders if the account can view them.","example":true}},{"in":"query","name":"filter[folder_uuid]","description":"Filter by a comma separated list of folder UUIDs that belong to the folder in the URL.","example":"ceffbc98-1849-52f8-b6f9-f8ae0ef12886,ad6ad0a4-2a89-52a9-93c7-d6df0f0a6582","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of folder UUIDs that belong to the folder in the URL.","example":"ceffbc98-1849-52f8-b6f9-f8ae0ef12886,ad6ad0a4-2a89-52a9-93c7-d6df0f0a6582"}},{"in":"query","name":"filter[name]","description":"File name to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"File name to filter by.","example":"architecto"}},{"in":"query","name":"filter[date_from]","description":"File uploaded_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File uploaded_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto"}},{"in":"query","name":"filter[date_to]","description":"File uploaded_at date to filter to a specific date, can be used with date_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File uploaded_at date to filter to a specific date, can be used with date_from for a range.","example":"architecto"}},{"in":"query","name":"filter[extension]","description":"File extension to filter by.","example":"png","required":false,"schema":{"type":"string","description":"File extension to filter by.","example":"png"}},{"in":"query","name":"filter[uploaded_by_uuid]","description":"Filter by a comma separated list of account UUIDs of who uploaded the file.","example":"50d585db-54cd-5a34-ae24-fb2929537535","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs of who uploaded the file.","example":"50d585db-54cd-5a34-ae24-fb2929537535"}},{"in":"query","name":"filter[size]","description":"The size of the file to filter by. Can take two values to filter in a range or one value to get files lesser than or equal to value. Unit of file size is in kilobytes.","example":"0,25000","required":false,"schema":{"type":"string","description":"The size of the file to filter by. Can take two values to filter in a range or one value to get files lesser than or equal to value. Unit of file size is in kilobytes.","example":"0,25000"}},{"in":"query","name":"filter[last_modified_from]","description":"File last_modified date to filter to from a specific date, can be used with last_modified_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File last_modified date to filter to from a specific date, can be used with last_modified_to for a range.","example":"architecto"}},{"in":"query","name":"filter[last_modified_to]","description":"File last_modified date to filter to a specific date, can be used with last_modified_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File last_modified date to filter to a specific date, can be used with last_modified_from for a range.","example":"architecto"}},{"in":"query","name":"filter[original_created_from]","description":"File original_created_at date to filter from a specific date, can be used with original_created_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File original_created_at date to filter from a specific date, can be used with original_created_to for a range.","example":"architecto"}},{"in":"query","name":"filter[original_created_to]","description":"File original_created_at date to filter to a specific date, can be used with original_created_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File original_created_at date to filter to a specific date, can be used with original_created_from for a range.","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [uploaded_at, created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [uploaded_at, created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FileResource"}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"folder_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/folder/{folder_uuid}/permissions":{"post":{"summary":"Update folder permissions","operationId":"postApiV1FolderFolder_uuidPermissions","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Filesystem"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Folder_UpdateFolderPermissionRequest"}}}}},"parameters":[{"in":"path","name":"folder_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/folder/{folder_uuid}/tree":{"get":{"summary":"Get a folder structure","operationId":"getApiV1FolderFolder_uuidTree","description":"","parameters":[{"in":"query","name":"max_depth","description":"How many levels of subfolders to return, between 1 and 10. Every level is returned when this is left out. It is ignored when searching by name. Circles and the other members of a circle only appear within the first three levels, so load at least three levels before loading more with children_only.","example":3,"required":false,"schema":{"type":"integer","description":"How many levels of subfolders to return, between 1 and 10. Every level is returned when this is left out. It is ignored when searching by name. Circles and the other members of a circle only appear within the first three levels, so load at least three levels before loading more with children_only.","example":3}},{"in":"query","name":"children_only","description":"Start the folder structure at the requested folder instead of the root folder of its documentable. Use it to load the next levels of a folder the structure stopped at. It never crosses between client and circle folders.","example":true,"required":false,"schema":{"type":"boolean","description":"Start the folder structure at the requested folder instead of the root folder of its documentable. Use it to load the next levels of a folder the structure stopped at. It never crosses between client and circle folders.","example":true}},{"in":"query","name":"filter[name]","description":"Only return the branches of the folder structure that lead to folders whose name contains this.","example":"Statements","required":false,"schema":{"type":"string","description":"Only return the branches of the folder structure that lead to folders whose name contains this.","example":"Statements"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}}},"tags":["Filesystem"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"max_depth":{"type":"integer","description":"Must be between 1 and 10.","example":2},"children_only":{"type":"boolean","description":"","example":false},"filter":{"type":"object","description":"","example":[],"properties":{"name":{"type":"string","description":"","example":"architecto","nullable":true}}}}}}}}},"parameters":[{"in":"path","name":"folder_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/file/bin":{"get":{"summary":"View deleted files","operationId":"getApiV1FileBin","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [documentable, folder, account, tags].","example":"?include=documentable,folder","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [documentable, folder, account, tags].","example":"?include=documentable,folder"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"File name to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"File name to filter by.","example":"architecto"}},{"in":"query","name":"filter[date_from]","description":"File uploaded_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File uploaded_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto"}},{"in":"query","name":"filter[date_to]","description":"File uploaded_at date to filter to a specific date, can be used with date_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File uploaded_at date to filter to a specific date, can be used with date_from for a range.","example":"architecto"}},{"in":"query","name":"filter[extension]","description":"File extension to filter by.","example":"png","required":false,"schema":{"type":"string","description":"File extension to filter by.","example":"png"}},{"in":"query","name":"filter[uploaded_by_uuid]","description":"Filter by a comma separated list of account UUIDs of who uploaded the file.","example":"50d585db-54cd-5a34-ae24-fb2929537535","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs of who uploaded the file.","example":"50d585db-54cd-5a34-ae24-fb2929537535"}},{"in":"query","name":"filter[size]","description":"The size of the file to filter by. Can take two values to filter in a range or one value to get files lesser than or equal to value. Unit of file size is in kilobytes.","example":"0,25000","required":false,"schema":{"type":"string","description":"The size of the file to filter by. Can take two values to filter in a range or one value to get files lesser than or equal to value. Unit of file size is in kilobytes.","example":"0,25000"}},{"in":"query","name":"filter[last_modified_from]","description":"File last_modified date to filter to from a specific date, can be used with last_modified_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File last_modified date to filter to from a specific date, can be used with last_modified_to for a range.","example":"architecto"}},{"in":"query","name":"filter[last_modified_to]","description":"File last_modified date to filter to a specific date, can be used with last_modified_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File last_modified date to filter to a specific date, can be used with last_modified_from for a range.","example":"architecto"}},{"in":"query","name":"filter[original_created_from]","description":"File original_created_at date to filter from a specific date, can be used with original_created_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File original_created_at date to filter from a specific date, can be used with original_created_to for a range.","example":"architecto"}},{"in":"query","name":"filter[original_created_to]","description":"File original_created_at date to filter to a specific date, can be used with original_created_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File original_created_at date to filter to a specific date, can be used with original_created_from for a range.","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [uploaded_at, created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [uploaded_at, created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FileResource"}}}}}}}},"tags":["Filesystem"]}},"/api/v1/file":{"post":{"summary":"Assign file","operationId":"postApiV1File","description":"Set the unassigned files to belong to a documentable item and folder.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FileResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Filesystem"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_File_StoreFileRequest"}}}}}},"/api/v1/file/{uuid}":{"get":{"summary":"Get a file","operationId":"getApiV1FileUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FileResource"}}}}},"tags":["Filesystem"]},"put":{"summary":"Update and/or move a file","operationId":"putApiV1FileUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FileResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Filesystem"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_File_UpdateFileRequest"}}}}},"delete":{"summary":"Delete a file","operationId":"deleteApiV1FileUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/files/{model}/{modelUuid}":{"get":{"summary":"Get all files on a documentable model","operationId":"getApiV1FilesModelModelUuid","description":"Provide a documentable model as a string ('account', 'case', 'firm', or 'plan') and the UUID for the model.\nThis index will get all files within the folder tree starting from the root folder of the provided model.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [documentable, folder, account, tags].","example":"?include=documentable,folder","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [documentable, folder, account, tags].","example":"?include=documentable,folder"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"File name to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"File name to filter by.","example":"architecto"}},{"in":"query","name":"filter[date_from]","description":"File uploaded_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File uploaded_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto"}},{"in":"query","name":"filter[date_to]","description":"File uploaded_at date to filter to a specific date, can be used with date_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File uploaded_at date to filter to a specific date, can be used with date_from for a range.","example":"architecto"}},{"in":"query","name":"filter[extension]","description":"File extension to filter by.","example":"png","required":false,"schema":{"type":"string","description":"File extension to filter by.","example":"png"}},{"in":"query","name":"filter[uploaded_by_uuid]","description":"Filter by a comma separated list of account UUIDs of who uploaded the file.","example":"50d585db-54cd-5a34-ae24-fb2929537535","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs of who uploaded the file.","example":"50d585db-54cd-5a34-ae24-fb2929537535"}},{"in":"query","name":"filter[uploaded_by]","description":"[DEPRECATED] Use uploaded_by_uuid instead. The account the uploaded the file to filter by. Takes a UUID.","example":16,"required":false,"schema":{"type":"integer","description":"[DEPRECATED] Use uploaded_by_uuid instead. The account the uploaded the file to filter by. Takes a UUID.","example":16}},{"in":"query","name":"filter[size]","description":"The size of the file to filter by. Can take two values to filter in a range or one value to get files lesser than or equal to value. Unit of file size is in kilobytes.","example":"0,25000","required":false,"schema":{"type":"string","description":"The size of the file to filter by. Can take two values to filter in a range or one value to get files lesser than or equal to value. Unit of file size is in kilobytes.","example":"0,25000"}},{"in":"query","name":"filter[last_modified_from]","description":"File last_modified date to filter to from a specific date, can be used with last_modified_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File last_modified date to filter to from a specific date, can be used with last_modified_to for a range.","example":"architecto"}},{"in":"query","name":"filter[last_modified_to]","description":"File last_modified date to filter to a specific date, can be used with last_modified_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File last_modified date to filter to a specific date, can be used with last_modified_from for a range.","example":"architecto"}},{"in":"query","name":"filter[original_created_from]","description":"File original_created_at date to filter from a specific date, can be used with original_created_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File original_created_at date to filter from a specific date, can be used with original_created_to for a range.","example":"architecto"}},{"in":"query","name":"filter[original_created_to]","description":"File original_created_at date to filter to a specific date, can be used with original_created_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"File original_created_at date to filter to a specific date, can be used with original_created_from for a range.","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [uploaded_at, created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [uploaded_at, created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FileResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"model","description":"","example":"architecto","required":true,"schema":{"type":"string"}},{"in":"path","name":"modelUuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/file/{file}/restore":{"put":{"summary":"Restore a file","operationId":"putApiV1FileFileRestore","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"file","description":"The file.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/file/{file_uuid}/copy":{"put":{"summary":"Copy a file","operationId":"putApiV1FileFile_uuidCopy","description":"Copy a file to the current directory or to the given folder.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FileResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Filesystem"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_File_CopyFileRequest"}}}}},"parameters":[{"in":"path","name":"file_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/file/{file_uuid}/download":{"get":{"summary":"Download a file.","operationId":"getApiV1FileFile_uuidDownload","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"file_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/file/{file_uuid}/download/temporary-url":{"get":{"summary":"Download a file via a temporary URL","operationId":"getApiV1FileFile_uuidDownloadTemporaryUrl","description":"Making a GET request to this endpoint will generate a temporary URL which will\nexpire five minutes from creation.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"file_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/file/{file}/forceDelete":{"delete":{"summary":"Force delete a file","operationId":"deleteApiV1FileFileForceDelete","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"file","description":"The file.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/documents":{"get":{"summary":"Get root folder for a plan","operationId":"getApiV1PlansPlan_uuidDocuments","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FolderResource"}}}}},"tags":["Filesystem"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/conversation-cover":{"get":{"summary":"Get the firm's default conversation cover","operationId":"getApiV1FirmFirm_uuidConversationCover","description":"Returns whether the feature is available to this firm and the currently\nnominated fallback cover (if any).","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Firm"]},"put":{"summary":"Set the firm's default conversation cover","operationId":"putApiV1FirmFirm_uuidConversationCover","description":"The fallback employee who is pulled into a conversation when an Out of Office\nemployee has nominated no personal cover.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FirmResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Firm"]},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/network-settings":{"get":{"summary":"Get the firm's network settings","operationId":"getApiV1FirmFirm_uuidNetworkSettings","description":"Resolves every network setting's effective value for the acting firm,\nand whether the firm can currently edit it.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_EffectiveNetworkSettingResource"}}}}}}}},"tags":["Firm Network Settings"]},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/network-settings/{key}":{"put":{"summary":"Set the firm's override","operationId":"putApiV1FirmFirm_uuidNetworkSettingsKey","description":"Sets the firm's own value for a network setting. Only available when\nthe setting is owned at Firm level, the firm is not a sub-firm, and the\nsetting is currently Overridable.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_EffectiveNetworkSettingResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Firm Network Settings"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_NetworkSettingOverride_UpdateNetworkSettingOverrideRequest"}}}}},"delete":{"summary":"Revert the firm's override","operationId":"deleteApiV1FirmFirm_uuidNetworkSettingsKey","description":"Removes the firm's own value for a network setting, if it has one, so\nit goes back to inheriting the value from above. A no-op when the firm\nhas no override.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_EffectiveNetworkSettingResource"}}}}},"tags":["Firm Network Settings"]},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"key","description":"","example":"mandatory_firm_two_factor","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/network-settings/governance":{"get":{"summary":"Get the firm's inherited governance rules","operationId":"getApiV1FirmFirm_uuidNetworkSettingsGovernance","description":"A firm admin's view of every network setting: its effective value,\nwhether it's Mandatory, Overridden at Firm, or simply Inherited, and -\nwhen overridden - the network value it replaces. Restricted to users\nholding the network-configuration-overrides:read permission (Owner and\nAdmin), unlike the broader firm.network-settings.index endpoint that\nany firm employee can view.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_NetworkSettingGovernanceResource"}}}}}}}},"tags":["Firm Network Settings"]},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/network-settings/configuration-controls":{"get":{"summary":"Get the firm's configuration controls","operationId":"getApiV1FirmFirm_uuidNetworkSettingsConfigurationControls","description":"Whether the firm currently allows its direct sub-firms and its advisers\nto hold their own value for each network-managed setting (ENT-265).\nRestricted to users holding the network-configuration-overrides:read\npermission (Owner and Admin).","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_NetworkSettingConfigurationControlResource"}}}}}}}},"tags":["Firm Network Settings"]},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/network-settings/{key}/configuration-controls":{"put":{"summary":"Set the firm's configuration controls","operationId":"putApiV1FirmFirm_uuidNetworkSettingsKeyConfigurationControls","description":"Enables or disables sub-firm and/or adviser configuration for a\nsetting. Disabling sub-firm configuration removes the value it allowed\nthe firms below it to hold, with an audit entry and an in-app notice to\neach affected firm's admins.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_NetworkSettingConfigurationControlResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Firm Network Settings"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_NetworkSettingConfigurationControl_UpdateNetworkSettingConfigurationControlRequest"}}}}},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"key","description":"","example":"mandatory_firm_two_factor","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/network-settings/advisers/{employee_uuid}":{"get":{"summary":"Get an adviser's network settings","operationId":"getApiV1FirmFirm_uuidNetworkSettingsAdvisersEmployee_uuid","description":"Resolves every network setting's effective value for one adviser,\nwalking their own value, then their firm's, then its ancestors', then\nthe network's, then the platform default - and whether it can\ncurrently be changed for them.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_EffectiveNetworkSettingResource"}}}}}}}},"tags":["Firm Network Settings"]},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"employee_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/network-settings/advisers/{employee_uuid}/{key}":{"put":{"summary":"Set an adviser's override","operationId":"putApiV1FirmFirm_uuidNetworkSettingsAdvisersEmployee_uuidKey","description":"Sets one adviser's own value for a network setting. Only available\nwhile the firm itself could set the setting and has enabled adviser\nconfiguration for it (ENT-265).","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_EffectiveNetworkSettingResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Firm Network Settings"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_NetworkSettingAdviserOverride_UpdateNetworkSettingAdviserOverrideRequest"}}}}},"delete":{"summary":"Revert an adviser's override","operationId":"deleteApiV1FirmFirm_uuidNetworkSettingsAdvisersEmployee_uuidKey","description":"Removes one adviser's own value for a network setting, if they have\none, so they go back to whatever their firm resolves to. A no-op when\nthe adviser has no value of their own.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_EffectiveNetworkSettingResource"}}}}},"tags":["Firm Network Settings"]},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"employee_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"key","description":"","example":"mandatory_firm_two_factor","required":true,"schema":{"type":"string"}}]},"/api/v1/firm":{"get":{"summary":"Get all firms","operationId":"getApiV1Firm","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Firms"]}},"/api/v1/firm/{uuid}":{"get":{"summary":"Get a firm","operationId":"getApiV1FirmUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FirmResource"}}}}},"tags":["Firms"]},"put":{"summary":"Update a firm","operationId":"putApiV1FirmUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FirmResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Firms"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Firm_UpdateFirmRequest"}}}}},"delete":{"summary":"Delete a firm","operationId":"deleteApiV1FirmUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Firms"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/branding":{"post":{"summary":"Update firm branding","operationId":"postApiV1FirmFirm_uuidBranding","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FirmResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Firms"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Firm_UpdateFirmBrandingRequest"}}}}},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/firm/{firm_uuid}/settings":{"post":{"summary":"Update firm settings","operationId":"postApiV1FirmFirm_uuidSettings","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FirmResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"tax-rate-out-of-range":{"summary":"Tax rate out of range","value":{"message":"The tax field must be between 0 and 100.","errors":{"tax":["The tax field must be between 0 and 100."]}}},"rmar-start-date-in-the-future":{"summary":"RMAR start date in the future","value":{"message":"The rmar start date field must be a date before or equal to today.","errors":{"rmar_start_date":["The rmar start date field must be a date before or equal to today."]}}},"month-end-out-of-range":{"summary":"Month end out of range","value":{"message":"The month end field must be between 1 and 31.","errors":{"month_end":["The month end field must be between 1 and 31."]}}},"unknown-adviser-split":{"summary":"Unknown adviser split","value":{"message":"The selected adviser split is invalid.","errors":{"adviser_split_uuid":["The selected adviser split is invalid."]}}},"non-boolean-flag":{"summary":"Non-boolean flag","value":{"message":"The enforce client two factor field must be true or false.","errors":{"enforce_client_two_factor":["The enforce client two factor field must be true or false."]}}}}}}}},"tags":["Firms"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Firm_UpdateFirmSettingsRequest"}}}}},"parameters":[{"in":"path","name":"firm_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form":{"get":{"summary":"Get all forms","operationId":"getApiV1Form","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[live]","description":"Get forms that have or have not been published.","example":true,"required":false,"schema":{"type":"boolean","description":"Get forms that have or have not been published.","example":true}},{"in":"query","name":"filter[visibility]","description":"Get forms of this visibility value, Available types are 'hidden', 'public', 'private', and 'internal'.","example":"'hidden'","required":false,"schema":{"type":"string","description":"Get forms of this visibility value, Available types are 'hidden', 'public', 'private', and 'internal'.","example":"'hidden'"}},{"in":"query","name":"filter[title]","description":"Get forms with a title that match this filter.","example":"'Annual review'","required":false,"schema":{"type":"string","description":"Get forms with a title that match this filter.","example":"'Annual review'"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the record was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the record was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the record was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the record was created before.","example":"2022-05-31"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, title]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, title]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormResource"}}}}}}}},"tags":["Form Builder"]},"post":{"summary":"Create a form","operationId":"postApiV1Form","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FormBuilder_StoreFormRequest"}}}}}},"/api/v1/form/{uuid}":{"get":{"summary":"Get a form","operationId":"getApiV1FormUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormResource"}}}}},"tags":["Form Builder"]},"put":{"summary":"Update a form","operationId":"putApiV1FormUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FormBuilder_UpdateFormRequest"}}}}},"delete":{"summary":"Delete a form","operationId":"deleteApiV1FormUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/linked-form-questions":{"get":{"summary":"Get all Linked Questions","operationId":"getApiV1LinkedFormQuestions","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Get all questions of this form question type","example":"architecto","required":false,"schema":{"type":"string","description":"Get all questions of this form question type","example":"architecto"}},{"in":"query","name":"filter[field]","description":"Get questions that match this field","example":"architecto","required":false,"schema":{"type":"string","description":"Get questions that match this field","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [type, field]. Negative sign to denote DESC.  Defaults to 'field'.","example":"-field","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [type, field]. Negative sign to denote DESC.  Defaults to 'field'.","example":"-field"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormBuilder_LinkedFormQuestionResource"}}}}}}}},"tags":["Form Builder"]}},"/api/v1/custom-linked-form-questions":{"get":{"summary":"Get all linked custom field questions","operationId":"getApiV1CustomLinkedFormQuestions","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormBuilder_LinkedFormQuestionResource"}}}}}}}},"tags":["Form Builder"]}},"/api/v1/submission-request/received/{account}":{"get":{"summary":"Get all received form submission requests","operationId":"getApiV1SubmissionRequestReceivedAccount","description":"Get all form submission requests that were received by the authenticated account, or by the account given in the URL.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the record was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the record was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the record was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the record was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[form.title]","description":"@deprecated Please use filter[form_title] instead.","example":"architecto","required":false,"schema":{"type":"string","description":"@deprecated Please use filter[form_title] instead.","example":"architecto"}},{"in":"query","name":"filter[form_title]","description":"Filter by partial form titles.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial form titles.","example":"architecto"}},{"in":"query","name":"filter[sender_uuids]","description":"Filter by a comma separated list of employee account UUIDs of who sent the form requests.","example":"989849a4-8c38-52b9-a8c0-362aad8865f6,b392ab07-0d68-52ec-8e30-6d1344f533cb","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of employee account UUIDs of who sent the form requests.","example":"989849a4-8c38-52b9-a8c0-362aad8865f6,b392ab07-0d68-52ec-8e30-6d1344f533cb"}},{"in":"query","name":"filter[receiver_uuids]","description":"Filter by a comma separated list of client account UUIDs of who received the form requests.","example":"c51db3ca-423c-5437-a6f9-63cbb3468a3c,3657a8c7-36df-5096-aee3-46d5c26978b0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of client account UUIDs of who received the form requests.","example":"c51db3ca-423c-5437-a6f9-63cbb3468a3c,3657a8c7-36df-5096-aee3-46d5c26978b0"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs belonging to client accounts of who received the form requests.","example":"62873e7b-1036-5690-bee8-d119753c1aac,fd32a1aa-6250-56d5-99f7-553f3d3f44c7","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs belonging to client accounts of who received the form requests.","example":"62873e7b-1036-5690-bee8-d119753c1aac,fd32a1aa-6250-56d5-99f7-553f3d3f44c7"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, description]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, description]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionRequestResource"}}}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"account","description":"Optional parameter.","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v1/submission-request/sent":{"get":{"summary":"Get all sent form submission requests","operationId":"getApiV1SubmissionRequestSent","description":"Get all form submission requests that were sent by the authenticated account.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the record was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the record was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the record was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the record was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[form.title]","description":"@deprecated Please use filter[form_title] instead.","example":"architecto","required":false,"schema":{"type":"string","description":"@deprecated Please use filter[form_title] instead.","example":"architecto"}},{"in":"query","name":"filter[form_title]","description":"Filter by partial form titles.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial form titles.","example":"architecto"}},{"in":"query","name":"filter[sender_uuids]","description":"Filter by a comma separated list of employee account UUIDs of who sent the form requests.","example":"989849a4-8c38-52b9-a8c0-362aad8865f6,b392ab07-0d68-52ec-8e30-6d1344f533cb","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of employee account UUIDs of who sent the form requests.","example":"989849a4-8c38-52b9-a8c0-362aad8865f6,b392ab07-0d68-52ec-8e30-6d1344f533cb"}},{"in":"query","name":"filter[receiver_uuids]","description":"Filter by a comma separated list of client account UUIDs of who received the form requests.","example":"c51db3ca-423c-5437-a6f9-63cbb3468a3c,3657a8c7-36df-5096-aee3-46d5c26978b0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of client account UUIDs of who received the form requests.","example":"c51db3ca-423c-5437-a6f9-63cbb3468a3c,3657a8c7-36df-5096-aee3-46d5c26978b0"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs belonging to client accounts of who received the form requests.","example":"62873e7b-1036-5690-bee8-d119753c1aac,fd32a1aa-6250-56d5-99f7-553f3d3f44c7","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs belonging to client accounts of who received the form requests.","example":"62873e7b-1036-5690-bee8-d119753c1aac,fd32a1aa-6250-56d5-99f7-553f3d3f44c7"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, description]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, description]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionRequestResource"}}}}}}}},"tags":["Form Builder"]}},"/api/v1/submission-request":{"get":{"summary":"Get all submission requests on a form","operationId":"getApiV1SubmissionRequest","description":"This endpoint can only be hit by senior employees\nIt will show every form submission request created for this form\nIncluding whom sent the request and the recipient","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the record was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the record was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the record was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the record was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[form.title]","description":"@deprecated Please use filter[form_title] instead.","example":"architecto","required":false,"schema":{"type":"string","description":"@deprecated Please use filter[form_title] instead.","example":"architecto"}},{"in":"query","name":"filter[form_title]","description":"Filter by partial form titles.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial form titles.","example":"architecto"}},{"in":"query","name":"filter[sender_uuids]","description":"Filter by a comma separated list of employee account UUIDs of who sent the form requests.","example":"989849a4-8c38-52b9-a8c0-362aad8865f6,b392ab07-0d68-52ec-8e30-6d1344f533cb","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of employee account UUIDs of who sent the form requests.","example":"989849a4-8c38-52b9-a8c0-362aad8865f6,b392ab07-0d68-52ec-8e30-6d1344f533cb"}},{"in":"query","name":"filter[receiver_uuids]","description":"Filter by a comma separated list of client account UUIDs of who received the form requests.","example":"c51db3ca-423c-5437-a6f9-63cbb3468a3c,3657a8c7-36df-5096-aee3-46d5c26978b0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of client account UUIDs of who received the form requests.","example":"c51db3ca-423c-5437-a6f9-63cbb3468a3c,3657a8c7-36df-5096-aee3-46d5c26978b0"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs belonging to client accounts of who received the form requests.","example":"62873e7b-1036-5690-bee8-d119753c1aac,fd32a1aa-6250-56d5-99f7-553f3d3f44c7","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs belonging to client accounts of who received the form requests.","example":"62873e7b-1036-5690-bee8-d119753c1aac,fd32a1aa-6250-56d5-99f7-553f3d3f44c7"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, description]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, description]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionRequestResource"}}}}}}}},"tags":["Form Builder"]}},"/api/v1/submission-request/{uuid}":{"get":{"summary":"Get a submission request","operationId":"getApiV1SubmissionRequestUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionRequestResource"}}}}},"tags":["Form Builder"]},"delete":{"summary":"Delete a submission request","operationId":"deleteApiV1SubmissionRequestUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/duplicate":{"post":{"summary":"Make a duplicate of an existing form","operationId":"postApiV1FormForm_uuidDuplicate","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormResource"}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/publish":{"post":{"summary":"Make a form live","operationId":"postApiV1FormForm_uuidPublish","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/unpublish":{"post":{"summary":"Make a live form no longer live (only works on forms with no submissions)","operationId":"postApiV1FormForm_uuidUnpublish","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/section":{"post":{"summary":"Create a section for a form","operationId":"postApiV1FormForm_uuidSection","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormSectionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FormBuilder_StoreFormSectionRequest"}}}}},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/section/{uuid}":{"get":{"summary":"Get a form's section","operationId":"getApiV1FormForm_uuidSectionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormSectionResource"}}}}},"tags":["Form Builder"]},"put":{"summary":"Update a form's section","operationId":"putApiV1FormForm_uuidSectionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormSectionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FormBuilder_UpdateFormSectionRequest"}}}}},"delete":{"summary":"Delete a form's section","operationId":"deleteApiV1FormForm_uuidSectionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/question":{"post":{"summary":"Create a question for a section","operationId":"postApiV1FormForm_uuidQuestion","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormQuestionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FormBuilder_StoreFormQuestionRequest"}}}}},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/question/{uuid}":{"get":{"summary":"Get a question","operationId":"getApiV1FormForm_uuidQuestionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormQuestionResource"}}}}},"tags":["Form Builder"]},"put":{"summary":"Update a section's question","operationId":"putApiV1FormForm_uuidQuestionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormQuestionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FormBuilder_UpdateFormQuestionRequest"}}}}},"delete":{"summary":"Delete a section's question","operationId":"deleteApiV1FormForm_uuidQuestionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/submission":{"get":{"summary":"Get all submissions for a form","operationId":"getApiV1FormForm_uuidSubmission","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [account]","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [account]","example":"architecto"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the record was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the record was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the record was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the record was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[stage]","description":"Filter submissions by their stage. Valid options are draft,submitted,approved,changes_requested.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter submissions by their stage. Valid options are draft,submitted,approved,changes_requested.","example":"architecto"}},{"in":"query","name":"filter[account]","description":"Name of the account of who the submission was against.","example":"architecto","required":false,"schema":{"type":"string","description":"Name of the account of who the submission was against.","example":"architecto"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of accounts UUIDs of who the form was submitted against.","example":"940f9fe8-14cf-5674-bfe0-0554c8fa94bf,6d762f53-bfe8-5f84-b8b3-90d7beb01afe","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of accounts UUIDs of who the form was submitted against.","example":"940f9fe8-14cf-5674-bfe0-0554c8fa94bf,6d762f53-bfe8-5f84-b8b3-90d7beb01afe"}},{"in":"query","name":"filter[submitted_by_uuid]","description":"Filter by a comma separated list of account UUIDs of who submitted the form.","example":"a815517f-103d-5e31-bd09-fca00ed1d191,89bee829-900a-50e5-adca-635677137933","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs of who submitted the form.","example":"a815517f-103d-5e31-bd09-fca00ed1d191,89bee829-900a-50e5-adca-635677137933"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs belonging to accounts of who the form was submitted against.","example":"6c7294bc-c782-553f-b661-cc2e1bc06a0c,6207bd5b-9053-5aaf-bfef-14dec5d5c017","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs belonging to accounts of who the form was submitted against.","example":"6c7294bc-c782-553f-b661-cc2e1bc06a0c,6207bd5b-9053-5aaf-bfef-14dec5d5c017"}},{"in":"query","name":"filter[hide_null_accounts]","description":"Hide form submissions  that are not linked to an account, this could be submissions on public forms.","example":false,"required":false,"schema":{"type":"boolean","description":"Hide form submissions  that are not linked to an account, this could be submissions on public forms.","example":false}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, stage]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, stage]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionResource"}}}}}}}},"tags":["Form Builder"]},"post":{"summary":"Create a submission to a form","operationId":"postApiV1FormForm_uuidSubmission","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FormBuilder_StoreFormSubmissionRequest"}}}}},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/submission/{uuid}":{"get":{"summary":"Get a submission","operationId":"getApiV1FormForm_uuidSubmissionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionResource"}}}}},"tags":["Form Builder"]},"delete":{"summary":"Delete a submission","operationId":"deleteApiV1FormForm_uuidSubmissionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/submission-authored-by/{author_uuid}":{"get":{"summary":"Get all submission for a form authored by a specific account","operationId":"getApiV1FormForm_uuidSubmissionAuthoredByAuthor_uuid","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [account]","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [account]","example":"architecto"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the record was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the record was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the record was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the record was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[stage]","description":"Flter submissions by their stage. Valid options are draft,submitted,approved,changes_requested.","example":"architecto","required":false,"schema":{"type":"string","description":"Flter submissions by their stage. Valid options are draft,submitted,approved,changes_requested.","example":"architecto"}},{"in":"query","name":"filter[account]","description":"Name of the account of who the submission was against.","example":"architecto","required":false,"schema":{"type":"string","description":"Name of the account of who the submission was against.","example":"architecto"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of accounts UUIDs of who the form was submitted against.","example":"940f9fe8-14cf-5674-bfe0-0554c8fa94bf,6d762f53-bfe8-5f84-b8b3-90d7beb01afe","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of accounts UUIDs of who the form was submitted against.","example":"940f9fe8-14cf-5674-bfe0-0554c8fa94bf,6d762f53-bfe8-5f84-b8b3-90d7beb01afe"}},{"in":"query","name":"filter[submitted_by_uuid]","description":"Filter by a comma separated list of account UUIDs of who submitted the form.","example":"a815517f-103d-5e31-bd09-fca00ed1d191,89bee829-900a-50e5-adca-635677137933","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs of who submitted the form.","example":"a815517f-103d-5e31-bd09-fca00ed1d191,89bee829-900a-50e5-adca-635677137933"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs belonging to accounts of who the form was submitted against.","example":"6c7294bc-c782-553f-b661-cc2e1bc06a0c,6207bd5b-9053-5aaf-bfef-14dec5d5c017","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs belonging to accounts of who the form was submitted against.","example":"6c7294bc-c782-553f-b661-cc2e1bc06a0c,6207bd5b-9053-5aaf-bfef-14dec5d5c017"}},{"in":"query","name":"filter[hide_null_accounts]","description":"Hide form submissions  that are not linked to an account, this could be submissions on public forms.","example":false,"required":false,"schema":{"type":"boolean","description":"Hide form submissions  that are not linked to an account, this could be submissions on public forms.","example":false}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, stage]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, stage]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionResource"}}}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"author_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/submission/{submission_uuid}/answer":{"get":{"summary":"Get all answers for a submission","operationId":"getApiV1FormForm_uuidSubmissionSubmission_uuidAnswer","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, value]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, value]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormAnswerResource"}}}}}}}},"tags":["Form Builder"]},"post":{"summary":"Submit answers to a submission","operationId":"postApiV1FormForm_uuidSubmissionSubmission_uuidAnswer","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FormBuilder_AnswerFormSubmissionRequest"}}}}},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"submission_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/submission/{submission_uuid}/submit":{"post":{"summary":"Change the form status to submitted","operationId":"postApiV1FormForm_uuidSubmissionSubmission_uuidSubmit","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"submission_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/submission-request":{"get":{"summary":"Get all submission requests on a form","operationId":"getApiV1FormForm_uuidSubmissionRequest","description":"This endpoint can only be hit by senior employees\nIt will show every form submission request created for this form\nIncluding whom sent the request and the recipient","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the record was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the record was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the record was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the record was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[form.title]","description":"@deprecated Please use filter[form_title] instead.","example":"architecto","required":false,"schema":{"type":"string","description":"@deprecated Please use filter[form_title] instead.","example":"architecto"}},{"in":"query","name":"filter[form_title]","description":"Filter by partial form titles.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial form titles.","example":"architecto"}},{"in":"query","name":"filter[sender_uuids]","description":"Filter by a comma separated list of employee account UUIDs of who sent the form requests.","example":"989849a4-8c38-52b9-a8c0-362aad8865f6,b392ab07-0d68-52ec-8e30-6d1344f533cb","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of employee account UUIDs of who sent the form requests.","example":"989849a4-8c38-52b9-a8c0-362aad8865f6,b392ab07-0d68-52ec-8e30-6d1344f533cb"}},{"in":"query","name":"filter[receiver_uuids]","description":"Filter by a comma separated list of client account UUIDs of who received the form requests.","example":"c51db3ca-423c-5437-a6f9-63cbb3468a3c,3657a8c7-36df-5096-aee3-46d5c26978b0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of client account UUIDs of who received the form requests.","example":"c51db3ca-423c-5437-a6f9-63cbb3468a3c,3657a8c7-36df-5096-aee3-46d5c26978b0"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs belonging to client accounts of who received the form requests.","example":"62873e7b-1036-5690-bee8-d119753c1aac,fd32a1aa-6250-56d5-99f7-553f3d3f44c7","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs belonging to client accounts of who received the form requests.","example":"62873e7b-1036-5690-bee8-d119753c1aac,fd32a1aa-6250-56d5-99f7-553f3d3f44c7"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, description]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, description]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionRequestResource"}}}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/submission-request/{submissionRequest_uuid}":{"put":{"summary":"Update a form submission request","operationId":"putApiV1FormForm_uuidSubmissionRequestSubmissionRequest_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionRequestResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FormBuilder_UpdateFormSubmissionRequestRequest"}}}}},"delete":{"summary":"Delete a submission request","operationId":"deleteApiV1FormForm_uuidSubmissionRequestSubmissionRequest_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Form Builder"]},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"submissionRequest_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/form/{form_uuid}/submission-request/{account_uuid}":{"post":{"summary":"Store a submission request","operationId":"postApiV1FormForm_uuidSubmissionRequestAccount_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FormSubmissionRequestResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Form Builder"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_FormBuilder_StoreFormSubmissionRequestRequest"}}}}},"parameters":[{"in":"path","name":"form_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/goal":{"get":{"summary":"Get all goals","operationId":"getApiV1ClientClient_uuidGoal","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [shared_owner].","example":"?include=shared_owner","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [shared_owner].","example":"?include=shared_owner"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, progress, complete_goal_by, priority]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-complete_goal_by","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, progress, complete_goal_by, priority]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-complete_goal_by"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_GoalResource"}}}}}}}},"tags":["Goals (v1)"]},"post":{"summary":"Create a goal","operationId":"postApiV1ClientClient_uuidGoal","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_GoalResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Goals (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_StoreGoalRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/goal/{uuid}":{"get":{"summary":"Show a goal","operationId":"getApiV1ClientClient_uuidGoalUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_GoalResource"}}}}},"tags":["Goals (v1)"]},"put":{"summary":"Update a goal","operationId":"putApiV1ClientClient_uuidGoalUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_GoalResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Goals (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_UpdateGoalRequest"}}}}},"delete":{"summary":"Destroy a goal","operationId":"deleteApiV1ClientClient_uuidGoalUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Goals (v1)"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/goals":{"get":{"summary":"Get all goals","operationId":"getApiV2Goals","description":"This endpoint will return all goals in the firm relevant to the user accessing them.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, visibleToCircles].","example":"?include=accounts,visibleToCircles","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, visibleToCircles].","example":"?include=accounts,visibleToCircles"}},{"in":"query","name":"include_circle_goals","description":"When authenticated as a client, you can opt to include other goals belonging to members of circles the authenticated client is a member of as long as they have the correct circle circle login access level to do so.","example":true,"required":false,"schema":{"type":"boolean","description":"When authenticated as a client, you can opt to include other goals belonging to members of circles the authenticated client is a member of as long as they have the correct circle circle login access level to do so.","example":true}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter by name.","example":"My Goal","required":false,"schema":{"type":"string","description":"Filter by name.","example":"My Goal"}},{"in":"query","name":"filter[description]","description":"Filter by description.","example":"My goal description","required":false,"schema":{"type":"string","description":"Filter by description.","example":"My goal description"}},{"in":"query","name":"filter[progress]","description":"Filter by progress. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[progress]=\u003e=20,\u003c=80","required":false,"schema":{"type":"string","description":"Filter by progress. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[progress]=\u003e=20,\u003c=80"}},{"in":"query","name":"filter[complete_goal_by]","description":"Filter by Complete Goal By. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[progress]=\u003e=2024-03-05,\u003c=2024-03-10","required":false,"schema":{"type":"string","description":"Filter by Complete Goal By. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[progress]=\u003e=2024-03-05,\u003c=2024-03-10"}},{"in":"query","name":"filter[priority]","description":"Filter by priority. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[priority]=\u003e=2,\u003c=5","required":false,"schema":{"type":"string","description":"Filter by priority. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[priority]=\u003e=2,\u003c=5"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, progress, complete_goal_by, priority]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-complete_goal_by","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, progress, complete_goal_by, priority]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-complete_goal_by"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_GoalResource"}}}}}}}},"tags":["Goals (v2)"]},"post":{"summary":"Create a goal","operationId":"postApiV2Goals","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_GoalResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Goals (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Goals_StoreGoalRequest"}}}}}},"/api/v2/goals/{uuid}":{"get":{"summary":"Show a goal","operationId":"getApiV2GoalsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_GoalResource"}}}}},"tags":["Goals (v2)"]},"put":{"summary":"Update a goal","operationId":"putApiV2GoalsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_GoalResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Goals (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Goals_UpdateGoalRequest"}}}}},"delete":{"summary":"Delete a goal","operationId":"deleteApiV2GoalsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Goals (v2)"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/groups":{"get":{"summary":"Get all account groups","operationId":"getApiV1AccountAccount_uuidGroups","description":"Get all the groups where the account is participating in.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count].","example":"participants,participants_count","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [participants, participants_count].","example":"participants,participants_count"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Name to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Name to filter by","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name, updated_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name, updated_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_GroupResource"}}}}}}}},"tags":["Groups"]},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/business-units/{business_unit_uuid}/groups":{"get":{"summary":"Get all business unit groups","operationId":"getApiV1BusinessUnitsBusiness_unit_uuidGroups","description":"Get all the groups where the account is participating in.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Name to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Name to filter by","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name, updated_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name, updated_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_GroupResource"}}}}}}}},"tags":["Groups"]},"parameters":[{"in":"path","name":"business_unit_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/group":{"get":{"summary":"Get all groups","operationId":"getApiV1Group","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Name to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Name to filter by","example":"architecto"}},{"in":"query","name":"filter[business_unit]","description":"Filter by a business unit UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a business unit UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include. Valid relationships are [business_unit, participants].","example":"business_unit,participants","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include. Valid relationships are [business_unit, participants].","example":"business_unit,participants"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name, updated_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name, updated_at]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_GroupResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Groups"]},"post":{"summary":"Create a group","operationId":"postApiV1Group","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_GroupResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Groups"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Group_StoreGroupRequest"}}}}}},"/api/v1/group/{uuid}":{"get":{"summary":"Get a group","operationId":"getApiV1GroupUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_GroupResource"}}}}},"tags":["Groups"]},"put":{"summary":"Update a group","operationId":"putApiV1GroupUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_GroupResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Groups"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Group_UpdateGroupRequest"}}}}},"delete":{"summary":"Delete a group","operationId":"deleteApiV1GroupUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Groups"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/group/{group_uuid}/participants":{"post":{"summary":"Add participants to a group","operationId":"postApiV1GroupGroup_uuidParticipants","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Groups"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Group_AddAccountsToGroupRequest"}}}}},"get":{"summary":"Get a group's participants","operationId":"getApiV1GroupGroup_uuidParticipants","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Name to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Name to filter by","example":"architecto"}},{"in":"query","name":"filter[type]","description":"Account type to filter by. Valid fields are [employee, client, external].","example":"architecto","required":false,"schema":{"type":"string","description":"Account type to filter by. Valid fields are [employee, client, external].","example":"architecto"}},{"in":"query","name":"filter[role]","description":"Account role to filter by. Valid fields are [owner, admin, member, individual, trust, business, joint, introducer].","example":"architecto","required":false,"schema":{"type":"string","description":"Account role to filter by. Valid fields are [owner, admin, member, individual, trust, business, joint, introducer].","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, first_name, last_name, updated_at, type]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, first_name, last_name, updated_at, type]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"the amount of addon subscriptions per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of addon subscriptions per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}}}}},"tags":["Groups"]},"delete":{"summary":"Remove participants from a group","operationId":"deleteApiV1GroupGroup_uuidParticipants","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Groups"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Group_RemoveAccountsFromGroupRequest"}}}}},"parameters":[{"in":"path","name":"group_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/holdings":{"post":{"summary":"Create a holding","operationId":"postApiV1PlansPlan_uuidSubAccountsSubAccount_uuidHoldings","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_HoldingResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Holdings"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StoreHoldingRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/holdings/{uuid}":{"get":{"summary":"Get a holding","operationId":"getApiV1PlansPlan_uuidSubAccountsSubAccount_uuidHoldingsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_HoldingResource"}}}}},"tags":["Holdings"]},"put":{"summary":"Update a holding","operationId":"putApiV1PlansPlan_uuidSubAccountsSubAccount_uuidHoldingsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_HoldingResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Holdings"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_UpdateHoldingRequest"}}}}},"delete":{"summary":"Delete a holding","operationId":"deleteApiV1PlansPlan_uuidSubAccountsSubAccount_uuidHoldingsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_HoldingResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Holdings"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/sync-holdings":{"post":{"summary":"Sync Holdings on a Sub Account","operationId":"postApiV1PlansPlan_uuidSubAccountsSubAccount_uuidSyncHoldings","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"202":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Holdings"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_SyncHoldingsRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/holdings/{subAccount}":{"get":{"summary":"Get all holdings","operationId":"getApiV1PlansPlan_uuidHoldingsSubAccount","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [sub_account, portfolio].","example":"?include=sub_account,portfolio","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [sub_account, portfolio].","example":"?include=sub_account,portfolio"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[is_active]","description":"Filter holdings to only active or only inactive holdings. Defaults to true.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter holdings to only active or only inactive holdings. Defaults to true.","example":false}},{"in":"query","name":"filter[portfolio_uuid]","description":"Filter holdings by a given portfolio_uuid. Defaults to showing holdings from the active portfolio or all holdings.","example":"51b6f3d0-2eaa-4947-904b-aa1bf72d0849","required":false,"schema":{"type":"string","description":"Filter holdings by a given portfolio_uuid. Defaults to showing holdings from the active portfolio or all holdings.","example":"51b6f3d0-2eaa-4947-904b-aa1bf72d0849"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, units, unit_price, is_active]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, units, unit_price, is_active]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_HoldingResource"}}}}}}}},"tags":["Holdings"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount","description":"Optional parameter. An optional sub-account to constrain the results by.","required":true,"schema":{"type":"integer"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":16}}}]},"/api/v2/holdings":{"get":{"summary":"Get all holdings","operationId":"getApiV2Holdings","description":"This endpoint returns every holding in the firm that the authenticated account is permitted to see.\nEmployees see holdings on the plans they can read (all plans with `plans:readAll`, otherwise the plans\nowned by clients in their groups). Clients see holdings on their own plans that are visible on the client portal.\n\n**Iterating the full dataset.** Holdings is the largest dataset in a firm and can run to millions of rows.\nWhen paging through the whole set you must use cursor pagination by sending the\n`X-PLANNR-CURSOR-PAGINATION: true` header. Each page then costs the same regardless of how deep you are,\nwhereas page based pagination gets slower the further you go. In cursor mode the response does not include\n`meta.total` or `meta.last_page`; follow `links.next` (or `meta.next_cursor`) until it is `null`.\nFor incremental syncs, use `filter[updated_at]` to fetch only holdings changed since your last run.\n\nHoldings in proposed portfolios are excluded. Only active holdings are returned unless `filter[is_active]` is set.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of holding UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of holding UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[plan_uuids]","description":"Filter by a comma separated list of plan UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of plan UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[sub_account_uuids]","description":"Filter by a comma separated list of sub account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of sub account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[plan_types]","description":"Comma separated list of plan types. Valid types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset].","example":"pension,investment","required":false,"schema":{"type":"string","description":"Comma separated list of plan types. Valid types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset].","example":"pension,investment"}},{"in":"query","name":"filter[plan_sub_types]","description":"Comma separated list of plan sub types.","example":"isa,sipp","required":false,"schema":{"type":"string","description":"Comma separated list of plan sub types.","example":"isa,sipp"}},{"in":"query","name":"filter[provider_uuids]","description":"Comma separated list of provider UUIDs. Returns holdings on plans whose provider is in the list. This is the plan's provider, not the free text `provider` field on the holding.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b,2a43f1dc-53af-5ba2-aee7-fdc6b65f86d2","required":false,"schema":{"type":"string","description":"Comma separated list of provider UUIDs. Returns holdings on plans whose provider is in the list. This is the plan's provider, not the free text `provider` field on the holding.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b,2a43f1dc-53af-5ba2-aee7-fdc6b65f86d2"}},{"in":"query","name":"filter[exclude_provider_uuids]","description":"Comma separated list of provider UUIDs to exclude. Returns holdings on plans whose provider is not in the list, including plans with no provider.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b","required":false,"schema":{"type":"string","description":"Comma separated list of provider UUIDs to exclude. Returns holdings on plans whose provider is not in the list, including plans with no provider.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b"}},{"in":"query","name":"filter[is_active]","description":"Filter by active state. Defaults to true.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter by active state. Defaults to true.","example":false}},{"in":"query","name":"filter[updated_at]","description":"Filter by updated at date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[updated_at]=\u003e=2026-01-01,\u003c=2026-02-01","required":false,"schema":{"type":"string","description":"Filter by updated at date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[updated_at]=\u003e=2026-01-01,\u003c=2026-02-01"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [plan, sub_account, portfolio, external_references].","example":"?include=plan,sub_account","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [plan, sub_account, portfolio, external_references].","example":"?include=plan,sub_account"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC. Defaults to 'created_at'. Use the default when iterating with cursor pagination.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC. Defaults to 'created_at'. Use the default when iterating with cursor pagination.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":500,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":500}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}},{"in":"header","name":"X-PLANNR-CURSOR-PAGINATION","description":"","example":"true","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_HoldingResource"}}}}}}}},"tags":["Holdings (v2)"]}},"/api/v1/illustration":{"post":{"summary":"Store an illustration","operationId":"postApiV1Illustration","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IllustrationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Illustrations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Illustration_StoreIllustrationRequest"}}}}}},"/api/v1/illustration/{uuid}":{"get":{"summary":"Show an illustration","operationId":"getApiV1IllustrationUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IllustrationResource"}}}}},"tags":["Illustrations"]},"put":{"summary":"Update an Illustration","operationId":"putApiV1IllustrationUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IllustrationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Illustrations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Illustration_UpdateIllustrationRequest"}}}}},"delete":{"summary":"Delete an illustration","operationId":"deleteApiV1IllustrationUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Illustrations"]},"parameters":[{"in":"path","name":"uuid","description":"The uuid of the illustration which to update.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/illustration/{illustration_uuid}/proceed":{"post":{"summary":"Proceed an illustration to account opening application","operationId":"postApiV1IllustrationIllustration_uuidProceed","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Illustrations"]},"parameters":[{"in":"path","name":"illustration_uuid","description":"The uuid of the illustration to proceed with","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/illustration/{illustration_uuid}/generate":{"post":{"summary":"Generate an Illustration","operationId":"postApiV1IllustrationIllustration_uuidGenerate","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IllustrationResource"}}}}},"tags":["Illustrations"]},"parameters":[{"in":"path","name":"illustration_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"The uuid of the illustration which to generate.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/import":{"get":{"summary":"Get all imports","operationId":"getApiV1Import","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [initiatedBy].","example":"?include=initiatedBy","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [initiatedBy].","example":"?include=initiatedBy"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[types]","description":"Filter by a comma separated list of import types.","example":"charges,clients","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of import types.","example":"charges,clients"}},{"in":"query","name":"filter[exclude_types]","description":"Exclude a comma separated list of import types.","example":"provider_statement","required":false,"schema":{"type":"string","description":"Exclude a comma separated list of import types.","example":"provider_statement"}},{"in":"query","name":"filter[modes]","description":"Filter by a comma separated list of import modes.","example":"store,update","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of import modes.","example":"store,update"}},{"in":"query","name":"filter[statuses]","description":"Filter by a comma separated list of import statuses.","example":"mapping,complete","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of import statuses.","example":"mapping,complete"}},{"in":"query","name":"filter[date_from]","description":"Filter imports created on or after this date (Y-m-d).","example":"2025-01-01","required":false,"schema":{"type":"string","description":"Filter imports created on or after this date (Y-m-d).","example":"2025-01-01"}},{"in":"query","name":"filter[date_to]","description":"Filter imports created on or before this date (Y-m-d).","example":"2025-12-31","required":false,"schema":{"type":"string","description":"Filter imports created on or before this date (Y-m-d).","example":"2025-12-31"}},{"in":"query","name":"filter[initiated_by]","description":"Filter by the UUID of the employee who ran the import.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by the UUID of the employee who ran the import.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ImportResource"}}}}}}}},"tags":["Imports"]},"post":{"summary":"Create the import","operationId":"postApiV1Import","description":"Fist step of the import process, must be mapped before it can be started\nMust be of Content-Type multipart/form-data","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ImportResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Imports"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Import_StoreImportRequest"}}}}}},"/api/v1/import/{uuid}":{"get":{"summary":"Get an import","operationId":"getApiV1ImportUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ImportResource"}}}}},"tags":["Imports"]},"delete":{"summary":"Delete an import","operationId":"deleteApiV1ImportUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Imports"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/import/keys/{importer}/{mode}":{"get":{"summary":"Get importer keys","operationId":"getApiV1ImportKeysImporterMode","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ImportKeysResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Imports"]},"parameters":[{"in":"path","name":"importer","description":"the importer type to get keys for, valid types are ['plans','client','valuations']","example":"plans","required":true,"schema":{"type":"string"}},{"in":"path","name":"mode","description":"Optional parameter.","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v1/import/modes/{importer}":{"get":{"summary":"Get available modes for import type","operationId":"getApiV1ImportModesImporter","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ImportModesResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Imports"]},"parameters":[{"in":"path","name":"importer","description":"the importer type to get modes for, valid types are ['plans','client','valuations']","example":"plans","required":true,"schema":{"type":"string"}}]},"/api/v1/import/map/{import_uuid}":{"post":{"summary":"Map headers on an import","operationId":"postApiV1ImportMapImport_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ImportResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Imports"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Import_MapImportRequest"}}}}},"parameters":[{"in":"path","name":"import_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/import/start/{import_uuid}":{"post":{"summary":"Start an import","operationId":"postApiV1ImportStartImport_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ImportResource"}}}}},"tags":["Imports"]},"parameters":[{"in":"path","name":"import_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/income":{"get":{"summary":"Get all incomes","operationId":"getApiV1ClientClient_uuidIncome","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [shared_owner, employment].","example":"?include=shared_owner,employment","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [shared_owner, employment].","example":"?include=shared_owner,employment"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, amount]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, amount]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_IncomeResource"}}}}}}}},"tags":["Income (v1)"]},"post":{"summary":"Create an income","operationId":"postApiV1ClientClient_uuidIncome","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IncomeResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_StoreIncomeRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/income/{uuid}":{"get":{"summary":"Get an income","operationId":"getApiV1ClientClient_uuidIncomeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IncomeResource"}}}}},"tags":["Income (v1)"]},"put":{"summary":"Update an income","operationId":"putApiV1ClientClient_uuidIncomeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IncomeResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_UpdateIncomeRequest"}}}}},"delete":{"summary":"Delete an income","operationId":"deleteApiV1ClientClient_uuidIncomeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Income (v1)"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/income":{"get":{"summary":"Get all incomes","operationId":"getApiV2Income","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"a6c7ef16-59bc-565e-8dc2-5bcd252efb99,9540661e-cabf-5d52-b4a4-76a3a0b592c1","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"a6c7ef16-59bc-565e-8dc2-5bcd252efb99,9540661e-cabf-5d52-b4a4-76a3a0b592c1"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"f7d32255-2db6-5112-987a-2b3e322c0a8e,d4d3b75d-88cd-5be9-852c-ddaceca98a86","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"f7d32255-2db6-5112-987a-2b3e322c0a8e,d4d3b75d-88cd-5be9-852c-ddaceca98a86"}},{"in":"query","name":"filter[employment_uuids]","description":"Filter by a comma separated list of employment UUIDs that are linked to incomes.","example":"e9e584dd-f525-59b0-94d1-abbef0cd0585,54a44630-b21d-5843-8e8b-bc1fb6c3ecbd","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of employment UUIDs that are linked to incomes.","example":"e9e584dd-f525-59b0-94d1-abbef0cd0585,54a44630-b21d-5843-8e8b-bc1fb6c3ecbd"}},{"in":"query","name":"filter[type]","description":"Filter by comma separate list of income types. Possible values are [salary, dividend, bonus, benefit, other, investment, rental, pension].","example":"?filter[type]=salary,investment","required":false,"schema":{"type":"string","description":"Filter by comma separate list of income types. Possible values are [salary, dividend, bonus, benefit, other, investment, rental, pension].","example":"?filter[type]=salary,investment"}},{"in":"query","name":"filter[frequency]","description":"Filter by comma separate list of frequencies.","example":"?filter[frequency]=weekly,monthly","required":false,"schema":{"type":"string","description":"Filter by comma separate list of frequencies.","example":"?filter[frequency]=weekly,monthly"}},{"in":"query","name":"filter[amount_type]","description":"Filter by comma separate list of amount types. Possible values are [net,gross].","example":"?filter[amount_type]=net,gross","required":false,"schema":{"type":"string","description":"Filter by comma separate list of amount types. Possible values are [net,gross].","example":"?filter[amount_type]=net,gross"}},{"in":"query","name":"filter[start_date]","description":"Filter income by start date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[start_date]=\u003e=2023-01-01,\u003c=2023-08-01","required":false,"schema":{"type":"string","description":"Filter income by start date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[start_date]=\u003e=2023-01-01,\u003c=2023-08-01"}},{"in":"query","name":"filter[end_date]","description":"Filter income by end date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[end_date]=\u003e=2023-01-01,\u003c=2023-08-01","required":false,"schema":{"type":"string","description":"Filter income by end date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[end_date]=\u003e=2023-01-01,\u003c=2023-08-01"}},{"in":"query","name":"filter[amount]","description":"Filter income by amount in pennies. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[amount]=\u003e=10000000,\u003c=15000000","required":false,"schema":{"type":"string","description":"Filter income by amount in pennies. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[amount]=\u003e=10000000,\u003c=15000000"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [account, employment].","example":"?include=account,employment","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [account, employment].","example":"?include=account,employment"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, amount, start_date, end_date]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, amount, start_date, end_date]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_IncomeResource"}}}}}}}},"tags":["Income (v2)"]},"post":{"summary":"Create an income","operationId":"postApiV2Income","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_IncomeResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Income_StoreIncomeRequest"}}}}}},"/api/v2/income/{uuid}":{"get":{"summary":"Get an income","operationId":"getApiV2IncomeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_IncomeResource"}}}}},"tags":["Income (v2)"]},"put":{"summary":"Update an income","operationId":"putApiV2IncomeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_IncomeResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Income_UpdateIncomeRequest"}}}}},"delete":{"summary":"Delete an income","operationId":"deleteApiV2IncomeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Income (v2)"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/charges":{"get":{"summary":"Get all charges for a circle","operationId":"getApiV1CirclesCircle_uuidCharges","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[client_uuids]","description":"Filter by a comma separated list of client UUIDs.","example":"3d7ef03d-d926-5dc5-b316-d7a0bd7538eb,55967af6-997c-5442-a20d-e78d89435ae0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of client UUIDs.","example":"3d7ef03d-d926-5dc5-b316-d7a0bd7538eb,55967af6-997c-5442-a20d-e78d89435ae0"}},{"in":"query","name":"filter[group_uuids]","description":"Filter by a comma separated list of group UUIDs.","example":"4f332e8a-a236-5cc1-bd7f-a2121759afdb,7504ab61-883d-5059-813d-5c60a8b31a8d","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of group UUIDs.","example":"4f332e8a-a236-5cc1-bd7f-a2121759afdb,7504ab61-883d-5059-813d-5c60a8b31a8d"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a"}},{"in":"query","name":"filter[plan_uuids]","description":"Filter by a comma separated list of plan UUIDs.","example":"71c44f85-cd7a-560c-b963-c64e7c09beb8,d3675ee5-dc03-54d6-bfef-441edd4b181c","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of plan UUIDs.","example":"71c44f85-cd7a-560c-b963-c64e7c09beb8,d3675ee5-dc03-54d6-bfef-441edd4b181c"}},{"in":"query","name":"filter[provider_uuids]","description":"Filter by a comma separated list of provider UUIDs.","example":"15735912-f8a6-5570-902c-e594bf3c445a,9f7d98d8-8ef2-58f7-98db-39b2ec9deea0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of provider UUIDs.","example":"15735912-f8a6-5570-902c-e594bf3c445a,9f7d98d8-8ef2-58f7-98db-39b2ec9deea0"}},{"in":"query","name":"filter[policy_number]","description":"Filter by policy numbers.","example":"AVIVA_0001,AVIVA_0002","required":false,"schema":{"type":"string","description":"Filter by policy numbers.","example":"AVIVA_0001,AVIVA_0002"}},{"in":"query","name":"filter[seller_uuids]","description":"Filter by a comma separated list of seller account UUIDs.","example":"829284bf-109d-5102-b6b0-36a7a1995e80,4932967b-8f8a-530e-b06a-349ee7de5bed","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of seller account UUIDs.","example":"829284bf-109d-5102-b6b0-36a7a1995e80,4932967b-8f8a-530e-b06a-349ee7de5bed"}},{"in":"query","name":"filter[payment_origin]","description":"Filter by comma separated list of payment origins.","example":"client,provider","required":false,"schema":{"type":"string","description":"Filter by comma separated list of payment origins.","example":"client,provider"}},{"in":"query","name":"filter[type]","description":"Filter by comma separated list of charge types.","example":"fee,commission","required":false,"schema":{"type":"string","description":"Filter by comma separated list of charge types.","example":"fee,commission"}},{"in":"query","name":"filter[category]","description":"Filter by comma separated list of charge categories.","example":"initial_fee,ongoing_fee","required":false,"schema":{"type":"string","description":"Filter by comma separated list of charge categories.","example":"initial_fee,ongoing_fee"}},{"in":"query","name":"filter[recurring]","description":"Filter by recurring charges or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by recurring charges or not.","example":true}},{"in":"query","name":"filter[frequency]","description":"Filter by comma separated list of frequencies.","example":"weekly,monthly","required":false,"schema":{"type":"string","description":"Filter by comma separated list of frequencies.","example":"weekly,monthly"}},{"in":"query","name":"filter[start_date_after]","description":"Filter by charge start dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge start dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[start_date_before]","description":"Filter by charge start dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge start dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[end_date_after]","description":"Filter by charge end dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge end dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[end_date_before]","description":"Filter by charge end dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge end dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[next_expectation_date_after]","description":"Filter by charge next expectation dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge next expectation dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[next_expectation_date_before]","description":"Filter by charge next expectation dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge next expectation dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[amount_from]","description":"Filter by charge fixed amounts from in pennies.","example":10000,"required":false,"schema":{"type":"integer","description":"Filter by charge fixed amounts from in pennies.","example":10000}},{"in":"query","name":"filter[amount_to]","description":"Filter by charge fixed amounts to  in pennies.","example":10000,"required":false,"schema":{"type":"integer","description":"Filter by charge fixed amounts to  in pennies.","example":10000}},{"in":"query","name":"filter[percentage_from]","description":"Filter by charge percentages from.","example":0.75,"required":false,"schema":{"type":"number","description":"Filter by charge percentages from.","example":0.75}},{"in":"query","name":"filter[percentage_to]","description":"Filter by charge percentages to.","example":0.75,"required":false,"schema":{"type":"number","description":"Filter by charge percentages to.","example":0.75}},{"in":"query","name":"filter[tax_exempt]","description":"Filter by tax exempt charges or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by tax exempt charges or not.","example":true}},{"in":"query","name":"filter[exclude_from_rmar]","description":"Filter by charges excluded from RMAR or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by charges excluded from RMAR or not.","example":true}},{"in":"query","name":"filter[rmar_type]","description":"Filter by comma separated list of RMAR types.","example":"adviser_type,clawback","required":false,"schema":{"type":"string","description":"Filter by comma separated list of RMAR types.","example":"adviser_type,clawback"}},{"in":"query","name":"filter[advice_type]","description":"Filter by comma separated list of advice types.","example":"independent,restricted","required":false,"schema":{"type":"string","description":"Filter by comma separated list of advice types.","example":"independent,restricted"}},{"in":"query","name":"filter[service_type]","description":"Filter by comma separated list of service types.","example":"initial,ongoing","required":false,"schema":{"type":"string","description":"Filter by comma separated list of service types.","example":"initial,ongoing"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, start_date, end_date, next_expectation_date, amount, percentage]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"-next_expectation_date","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, start_date, end_date, next_expectation_date, amount, percentage]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"-next_expectation_date"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/expectations":{"get":{"summary":"Get all expectations of circle","operationId":"getApiV1CirclesCircle_uuidExpectations","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[status]","description":"Filter expectations based on their status. Available options: expecting,ready_for_reconciliation","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations based on their status. Available options: expecting,ready_for_reconciliation","example":"architecto"}},{"in":"query","name":"filter[statement_uuids]","description":"Filter expectations by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Filter expectations by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[date_after]","description":"Get charges from an expectation date.","example":"2022-03-20","required":false,"schema":{"type":"string","description":"Get charges from an expectation date.","example":"2022-03-20"}},{"in":"query","name":"filter[date_before]","description":"Get charges to an expectation date.","example":"2022-03-27","required":false,"schema":{"type":"string","description":"Get charges to an expectation date.","example":"2022-03-27"}},{"in":"query","name":"filter[amount_from]","description":"Get charges greater than or equal to an expected amount in pennies.","example":"15000","required":false,"schema":{"type":"string","description":"Get charges greater than or equal to an expected amount in pennies.","example":"15000"}},{"in":"query","name":"filter[amount_to]","description":"Get charges less than or equal to an expected amount in pennies.","example":"20000","required":false,"schema":{"type":"string","description":"Get charges less than or equal to an expected amount in pennies.","example":"20000"}},{"in":"query","name":"filter[client_uuids]","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a"}},{"in":"query","name":"filter[group_uuids]","description":"Comma separated string group UUIDs to filter by.","example":"f402153f-e4ff-478f-9591-fa160ac955fd,3fcd0358-4bb8-4d51-abfb-70f0ba5a2086","required":false,"schema":{"type":"string","description":"Comma separated string group UUIDs to filter by.","example":"f402153f-e4ff-478f-9591-fa160ac955fd,3fcd0358-4bb8-4d51-abfb-70f0ba5a2086"}},{"in":"query","name":"filter[category]","description":"Comma separated string of categories to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of categories to filter by.","example":"architecto"}},{"in":"query","name":"filter[type]","description":"Comma separated string of categories to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of categories to filter by.","example":"architecto"}},{"in":"query","name":"filter[policy_number]","description":"Comma separated string of partial policy numbers to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial policy numbers to filter by.","example":"architecto"}},{"in":"query","name":"filter[provider_uuids]","description":"Comma separated string of partial provider names or exact provider UUIDs to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial provider names or exact provider UUIDs to filter by.","example":"architecto"}},{"in":"query","name":"filter[plan_uuids]","description":"Comma separated string of partial plan names or exact plan UUIDs to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial plan names or exact plan UUIDs to filter by.","example":"architecto"}},{"in":"query","name":"filter[payment_origin]","description":"Filter expectations to client or provider paid.  Valid options are [client, provider]","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations to client or provider paid.  Valid options are [client, provider]","example":"architecto"}},{"in":"query","name":"filter[seller_uuids]","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[reconciliation]","description":"Filter expectations based on their reconciliation amount. Available options: reconciled,unreconciled,partially_reconciled","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount. Available options: reconciled,unreconciled,partially_reconciled","example":"architecto"}},{"in":"query","name":"filter[reconciliation_percentage_between]","description":"Filter expectations based on their reconciliation amount between two values as a percentage.","example":"50,100","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount between two values as a percentage.","example":"50,100"}},{"in":"query","name":"filter[reconciliation_amount_between]","description":"Filter expectations based on their reconciliation amount between two values in pennies.","example":"5000,10000","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount between two values in pennies.","example":"5000,10000"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, expected_payment_date, expected_amount]. Negative sign to denote DESC.  Defaults to 'expected_payment_date'.","example":"amount","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, expected_payment_date, expected_amount]. Negative sign to denote DESC.  Defaults to 'expected_payment_date'.","example":"amount"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ExpectationWithReconciliationResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/charges":{"get":{"summary":"Get all charges for a client","operationId":"getApiV1ClientClient_uuidCharges","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[client_uuids]","description":"Filter by a comma separated list of client UUIDs.","example":"3d7ef03d-d926-5dc5-b316-d7a0bd7538eb,55967af6-997c-5442-a20d-e78d89435ae0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of client UUIDs.","example":"3d7ef03d-d926-5dc5-b316-d7a0bd7538eb,55967af6-997c-5442-a20d-e78d89435ae0"}},{"in":"query","name":"filter[group_uuids]","description":"Filter by a comma separated list of group UUIDs.","example":"4f332e8a-a236-5cc1-bd7f-a2121759afdb,7504ab61-883d-5059-813d-5c60a8b31a8d","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of group UUIDs.","example":"4f332e8a-a236-5cc1-bd7f-a2121759afdb,7504ab61-883d-5059-813d-5c60a8b31a8d"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a"}},{"in":"query","name":"filter[plan_uuids]","description":"Filter by a comma separated list of plan UUIDs.","example":"71c44f85-cd7a-560c-b963-c64e7c09beb8,d3675ee5-dc03-54d6-bfef-441edd4b181c","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of plan UUIDs.","example":"71c44f85-cd7a-560c-b963-c64e7c09beb8,d3675ee5-dc03-54d6-bfef-441edd4b181c"}},{"in":"query","name":"filter[provider_uuids]","description":"Filter by a comma separated list of provider UUIDs.","example":"15735912-f8a6-5570-902c-e594bf3c445a,9f7d98d8-8ef2-58f7-98db-39b2ec9deea0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of provider UUIDs.","example":"15735912-f8a6-5570-902c-e594bf3c445a,9f7d98d8-8ef2-58f7-98db-39b2ec9deea0"}},{"in":"query","name":"filter[policy_number]","description":"Filter by policy numbers.","example":"AVIVA_0001,AVIVA_0002","required":false,"schema":{"type":"string","description":"Filter by policy numbers.","example":"AVIVA_0001,AVIVA_0002"}},{"in":"query","name":"filter[seller_uuids]","description":"Filter by a comma separated list of seller account UUIDs.","example":"829284bf-109d-5102-b6b0-36a7a1995e80,4932967b-8f8a-530e-b06a-349ee7de5bed","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of seller account UUIDs.","example":"829284bf-109d-5102-b6b0-36a7a1995e80,4932967b-8f8a-530e-b06a-349ee7de5bed"}},{"in":"query","name":"filter[payment_origin]","description":"Filter by comma separated list of payment origins.","example":"client,provider","required":false,"schema":{"type":"string","description":"Filter by comma separated list of payment origins.","example":"client,provider"}},{"in":"query","name":"filter[type]","description":"Filter by comma separated list of charge types.","example":"fee,commission","required":false,"schema":{"type":"string","description":"Filter by comma separated list of charge types.","example":"fee,commission"}},{"in":"query","name":"filter[category]","description":"Filter by comma separated list of charge categories.","example":"initial_fee,ongoing_fee","required":false,"schema":{"type":"string","description":"Filter by comma separated list of charge categories.","example":"initial_fee,ongoing_fee"}},{"in":"query","name":"filter[recurring]","description":"Filter by recurring charges or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by recurring charges or not.","example":true}},{"in":"query","name":"filter[frequency]","description":"Filter by comma separated list of frequencies.","example":"weekly,monthly","required":false,"schema":{"type":"string","description":"Filter by comma separated list of frequencies.","example":"weekly,monthly"}},{"in":"query","name":"filter[start_date_after]","description":"Filter by charge start dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge start dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[start_date_before]","description":"Filter by charge start dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge start dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[end_date_after]","description":"Filter by charge end dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge end dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[end_date_before]","description":"Filter by charge end dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge end dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[next_expectation_date_after]","description":"Filter by charge next expectation dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge next expectation dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[next_expectation_date_before]","description":"Filter by charge next expectation dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge next expectation dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[amount_from]","description":"Filter by charge fixed amounts from in pennies.","example":10000,"required":false,"schema":{"type":"integer","description":"Filter by charge fixed amounts from in pennies.","example":10000}},{"in":"query","name":"filter[amount_to]","description":"Filter by charge fixed amounts to  in pennies.","example":10000,"required":false,"schema":{"type":"integer","description":"Filter by charge fixed amounts to  in pennies.","example":10000}},{"in":"query","name":"filter[percentage_from]","description":"Filter by charge percentages from.","example":0.75,"required":false,"schema":{"type":"number","description":"Filter by charge percentages from.","example":0.75}},{"in":"query","name":"filter[percentage_to]","description":"Filter by charge percentages to.","example":0.75,"required":false,"schema":{"type":"number","description":"Filter by charge percentages to.","example":0.75}},{"in":"query","name":"filter[tax_exempt]","description":"Filter by tax exempt charges or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by tax exempt charges or not.","example":true}},{"in":"query","name":"filter[exclude_from_rmar]","description":"Filter by charges excluded from RMAR or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by charges excluded from RMAR or not.","example":true}},{"in":"query","name":"filter[rmar_type]","description":"Filter by comma separated list of RMAR types.","example":"adviser_type,clawback","required":false,"schema":{"type":"string","description":"Filter by comma separated list of RMAR types.","example":"adviser_type,clawback"}},{"in":"query","name":"filter[advice_type]","description":"Filter by comma separated list of advice types.","example":"independent,restricted","required":false,"schema":{"type":"string","description":"Filter by comma separated list of advice types.","example":"independent,restricted"}},{"in":"query","name":"filter[service_type]","description":"Filter by comma separated list of service types.","example":"initial,ongoing","required":false,"schema":{"type":"string","description":"Filter by comma separated list of service types.","example":"initial,ongoing"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, start_date, end_date, next_expectation_date, amount, percentage]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"-next_expectation_date","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, start_date, end_date, next_expectation_date, amount, percentage]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"-next_expectation_date"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/expectations":{"get":{"summary":"Get all expectations of client","operationId":"getApiV1ClientClient_uuidExpectations","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[status]","description":"Filter expectations based on their status. Available options: expecting,ready_for_reconciliation","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations based on their status. Available options: expecting,ready_for_reconciliation","example":"architecto"}},{"in":"query","name":"filter[statement_uuids]","description":"Filter expectations by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Filter expectations by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[date_after]","description":"Get charges from an expectation date.","example":"2022-03-20","required":false,"schema":{"type":"string","description":"Get charges from an expectation date.","example":"2022-03-20"}},{"in":"query","name":"filter[date_before]","description":"Get charges to an expectation date.","example":"2022-03-27","required":false,"schema":{"type":"string","description":"Get charges to an expectation date.","example":"2022-03-27"}},{"in":"query","name":"filter[amount_from]","description":"Get charges greater than or equal to an expected amount in pennies.","example":"15000","required":false,"schema":{"type":"string","description":"Get charges greater than or equal to an expected amount in pennies.","example":"15000"}},{"in":"query","name":"filter[amount_to]","description":"Get charges less than or equal to an expected amount in pennies.","example":"20000","required":false,"schema":{"type":"string","description":"Get charges less than or equal to an expected amount in pennies.","example":"20000"}},{"in":"query","name":"filter[client_uuids]","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a"}},{"in":"query","name":"filter[group_uuids]","description":"Comma separated string group UUIDs to filter by.","example":"f402153f-e4ff-478f-9591-fa160ac955fd,3fcd0358-4bb8-4d51-abfb-70f0ba5a2086","required":false,"schema":{"type":"string","description":"Comma separated string group UUIDs to filter by.","example":"f402153f-e4ff-478f-9591-fa160ac955fd,3fcd0358-4bb8-4d51-abfb-70f0ba5a2086"}},{"in":"query","name":"filter[category]","description":"Comma separated string of categories to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of categories to filter by.","example":"architecto"}},{"in":"query","name":"filter[type]","description":"Comma separated string of categories to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of categories to filter by.","example":"architecto"}},{"in":"query","name":"filter[policy_number]","description":"Comma separated string of partial policy numbers to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial policy numbers to filter by.","example":"architecto"}},{"in":"query","name":"filter[provider_uuids]","description":"Comma separated string of partial provider names or exact provider UUIDs to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial provider names or exact provider UUIDs to filter by.","example":"architecto"}},{"in":"query","name":"filter[plan_uuids]","description":"Comma separated string of partial plan names or exact plan UUIDs to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial plan names or exact plan UUIDs to filter by.","example":"architecto"}},{"in":"query","name":"filter[payment_origin]","description":"Filter expectations to client or provider paid.  Valid options are [client, provider]","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations to client or provider paid.  Valid options are [client, provider]","example":"architecto"}},{"in":"query","name":"filter[seller_uuids]","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[reconciliation]","description":"Filter expectations based on their reconciliation amount. Available options: reconciled,unreconciled,partially_reconciled","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount. Available options: reconciled,unreconciled,partially_reconciled","example":"architecto"}},{"in":"query","name":"filter[reconciliation_percentage_between]","description":"Filter expectations based on their reconciliation amount between two values as a percentage.","example":"50,100","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount between two values as a percentage.","example":"50,100"}},{"in":"query","name":"filter[reconciliation_amount_between]","description":"Filter expectations based on their reconciliation amount between two values in pennies.","example":"5000,10000","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount between two values in pennies.","example":"5000,10000"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, expected_payment_date, expected_amount]. Negative sign to denote DESC.  Defaults to 'expected_payment_date'.","example":"amount","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, expected_payment_date, expected_amount]. Negative sign to denote DESC.  Defaults to 'expected_payment_date'.","example":"amount"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ExpectationWithReconciliationResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/charges":{"get":{"summary":"Get all charges for a plan","operationId":"getApiV1PlansPlan_uuidCharges","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[client_uuids]","description":"Filter by a comma separated list of client UUIDs.","example":"3d7ef03d-d926-5dc5-b316-d7a0bd7538eb,55967af6-997c-5442-a20d-e78d89435ae0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of client UUIDs.","example":"3d7ef03d-d926-5dc5-b316-d7a0bd7538eb,55967af6-997c-5442-a20d-e78d89435ae0"}},{"in":"query","name":"filter[group_uuids]","description":"Filter by a comma separated list of group UUIDs.","example":"4f332e8a-a236-5cc1-bd7f-a2121759afdb,7504ab61-883d-5059-813d-5c60a8b31a8d","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of group UUIDs.","example":"4f332e8a-a236-5cc1-bd7f-a2121759afdb,7504ab61-883d-5059-813d-5c60a8b31a8d"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a"}},{"in":"query","name":"filter[plan_uuids]","description":"Filter by a comma separated list of plan UUIDs.","example":"71c44f85-cd7a-560c-b963-c64e7c09beb8,d3675ee5-dc03-54d6-bfef-441edd4b181c","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of plan UUIDs.","example":"71c44f85-cd7a-560c-b963-c64e7c09beb8,d3675ee5-dc03-54d6-bfef-441edd4b181c"}},{"in":"query","name":"filter[provider_uuids]","description":"Filter by a comma separated list of provider UUIDs.","example":"15735912-f8a6-5570-902c-e594bf3c445a,9f7d98d8-8ef2-58f7-98db-39b2ec9deea0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of provider UUIDs.","example":"15735912-f8a6-5570-902c-e594bf3c445a,9f7d98d8-8ef2-58f7-98db-39b2ec9deea0"}},{"in":"query","name":"filter[policy_number]","description":"Filter by policy numbers.","example":"AVIVA_0001,AVIVA_0002","required":false,"schema":{"type":"string","description":"Filter by policy numbers.","example":"AVIVA_0001,AVIVA_0002"}},{"in":"query","name":"filter[seller_uuids]","description":"Filter by a comma separated list of seller account UUIDs.","example":"829284bf-109d-5102-b6b0-36a7a1995e80,4932967b-8f8a-530e-b06a-349ee7de5bed","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of seller account UUIDs.","example":"829284bf-109d-5102-b6b0-36a7a1995e80,4932967b-8f8a-530e-b06a-349ee7de5bed"}},{"in":"query","name":"filter[payment_origin]","description":"Filter by comma separated list of payment origins.","example":"client,provider","required":false,"schema":{"type":"string","description":"Filter by comma separated list of payment origins.","example":"client,provider"}},{"in":"query","name":"filter[type]","description":"Filter by comma separated list of charge types.","example":"fee,commission","required":false,"schema":{"type":"string","description":"Filter by comma separated list of charge types.","example":"fee,commission"}},{"in":"query","name":"filter[category]","description":"Filter by comma separated list of charge categories.","example":"initial_fee,ongoing_fee","required":false,"schema":{"type":"string","description":"Filter by comma separated list of charge categories.","example":"initial_fee,ongoing_fee"}},{"in":"query","name":"filter[recurring]","description":"Filter by recurring charges or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by recurring charges or not.","example":true}},{"in":"query","name":"filter[frequency]","description":"Filter by comma separated list of frequencies.","example":"weekly,monthly","required":false,"schema":{"type":"string","description":"Filter by comma separated list of frequencies.","example":"weekly,monthly"}},{"in":"query","name":"filter[start_date_after]","description":"Filter by charge start dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge start dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[start_date_before]","description":"Filter by charge start dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge start dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[end_date_after]","description":"Filter by charge end dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge end dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[end_date_before]","description":"Filter by charge end dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge end dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[next_expectation_date_after]","description":"Filter by charge next expectation dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge next expectation dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[next_expectation_date_before]","description":"Filter by charge next expectation dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge next expectation dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[amount_from]","description":"Filter by charge fixed amounts from in pennies.","example":10000,"required":false,"schema":{"type":"integer","description":"Filter by charge fixed amounts from in pennies.","example":10000}},{"in":"query","name":"filter[amount_to]","description":"Filter by charge fixed amounts to  in pennies.","example":10000,"required":false,"schema":{"type":"integer","description":"Filter by charge fixed amounts to  in pennies.","example":10000}},{"in":"query","name":"filter[percentage_from]","description":"Filter by charge percentages from.","example":0.75,"required":false,"schema":{"type":"number","description":"Filter by charge percentages from.","example":0.75}},{"in":"query","name":"filter[percentage_to]","description":"Filter by charge percentages to.","example":0.75,"required":false,"schema":{"type":"number","description":"Filter by charge percentages to.","example":0.75}},{"in":"query","name":"filter[tax_exempt]","description":"Filter by tax exempt charges or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by tax exempt charges or not.","example":true}},{"in":"query","name":"filter[exclude_from_rmar]","description":"Filter by charges excluded from RMAR or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by charges excluded from RMAR or not.","example":true}},{"in":"query","name":"filter[rmar_type]","description":"Filter by comma separated list of RMAR types.","example":"adviser_type,clawback","required":false,"schema":{"type":"string","description":"Filter by comma separated list of RMAR types.","example":"adviser_type,clawback"}},{"in":"query","name":"filter[advice_type]","description":"Filter by comma separated list of advice types.","example":"independent,restricted","required":false,"schema":{"type":"string","description":"Filter by comma separated list of advice types.","example":"independent,restricted"}},{"in":"query","name":"filter[service_type]","description":"Filter by comma separated list of service types.","example":"initial,ongoing","required":false,"schema":{"type":"string","description":"Filter by comma separated list of service types.","example":"initial,ongoing"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, start_date, end_date, next_expectation_date, amount, percentage]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"-next_expectation_date","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, start_date, end_date, next_expectation_date, amount, percentage]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"-next_expectation_date"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/expectations":{"get":{"summary":"Get all expectations of plan","operationId":"getApiV1PlansPlan_uuidExpectations","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[status]","description":"Filter expectations based on their status. Available options: expecting,ready_for_reconciliation","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations based on their status. Available options: expecting,ready_for_reconciliation","example":"architecto"}},{"in":"query","name":"filter[statement_uuids]","description":"Filter expectations by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Filter expectations by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[date_after]","description":"Get charges from an expectation date.","example":"2022-03-20","required":false,"schema":{"type":"string","description":"Get charges from an expectation date.","example":"2022-03-20"}},{"in":"query","name":"filter[date_before]","description":"Get charges to an expectation date.","example":"2022-03-27","required":false,"schema":{"type":"string","description":"Get charges to an expectation date.","example":"2022-03-27"}},{"in":"query","name":"filter[amount_from]","description":"Get charges greater than or equal to an expected amount in pennies.","example":"15000","required":false,"schema":{"type":"string","description":"Get charges greater than or equal to an expected amount in pennies.","example":"15000"}},{"in":"query","name":"filter[amount_to]","description":"Get charges less than or equal to an expected amount in pennies.","example":"20000","required":false,"schema":{"type":"string","description":"Get charges less than or equal to an expected amount in pennies.","example":"20000"}},{"in":"query","name":"filter[client_uuids]","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a"}},{"in":"query","name":"filter[group_uuids]","description":"Comma separated string group UUIDs to filter by.","example":"f402153f-e4ff-478f-9591-fa160ac955fd,3fcd0358-4bb8-4d51-abfb-70f0ba5a2086","required":false,"schema":{"type":"string","description":"Comma separated string group UUIDs to filter by.","example":"f402153f-e4ff-478f-9591-fa160ac955fd,3fcd0358-4bb8-4d51-abfb-70f0ba5a2086"}},{"in":"query","name":"filter[category]","description":"Comma separated string of categories to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of categories to filter by.","example":"architecto"}},{"in":"query","name":"filter[type]","description":"Comma separated string of categories to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of categories to filter by.","example":"architecto"}},{"in":"query","name":"filter[policy_number]","description":"Comma separated string of partial policy numbers to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial policy numbers to filter by.","example":"architecto"}},{"in":"query","name":"filter[provider_uuids]","description":"Comma separated string of partial provider names or exact provider UUIDs to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial provider names or exact provider UUIDs to filter by.","example":"architecto"}},{"in":"query","name":"filter[plan_uuids]","description":"Comma separated string of partial plan names or exact plan UUIDs to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial plan names or exact plan UUIDs to filter by.","example":"architecto"}},{"in":"query","name":"filter[payment_origin]","description":"Filter expectations to client or provider paid.  Valid options are [client, provider]","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations to client or provider paid.  Valid options are [client, provider]","example":"architecto"}},{"in":"query","name":"filter[seller_uuids]","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[reconciliation]","description":"Filter expectations based on their reconciliation amount. Available options: reconciled,unreconciled,partially_reconciled","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount. Available options: reconciled,unreconciled,partially_reconciled","example":"architecto"}},{"in":"query","name":"filter[reconciliation_percentage_between]","description":"Filter expectations based on their reconciliation amount between two values as a percentage.","example":"50,100","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount between two values as a percentage.","example":"50,100"}},{"in":"query","name":"filter[reconciliation_amount_between]","description":"Filter expectations based on their reconciliation amount between two values in pennies.","example":"5000,10000","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount between two values in pennies.","example":"5000,10000"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, expected_payment_date, expected_amount]. Negative sign to denote DESC.  Defaults to 'expected_payment_date'.","example":"amount","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, expected_payment_date, expected_amount]. Negative sign to denote DESC.  Defaults to 'expected_payment_date'.","example":"amount"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ExpectationWithReconciliationResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/provider-statement/upload":{"post":{"summary":"Upload a provider statement CSV.","operationId":"postApiV1ProviderStatementUpload","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UploadProviderStatementRequest"}}}}}},"/api/v1/provider-statement/import":{"post":{"summary":"Import a provider statement CSV.","operationId":"postApiV1ProviderStatementImport","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ImportResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_ImportProviderStatementRequest"}}}}}},"/api/v1/provider-statement":{"get":{"summary":"Get all provider statements","operationId":"getApiV1ProviderStatement","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[statement_uuids]","description":"Comma separated list of payment period statement UUIDs.  e.g. fb8ca37d-6c5b-4688-bb69-1aacfffb8bea","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of payment period statement UUIDs.  e.g. fb8ca37d-6c5b-4688-bb69-1aacfffb8bea","example":"architecto"}},{"in":"query","name":"filter[name]","description":"Comma separated list of partial provider statement names.  e.g. Scottish Widows","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of partial provider statement names.  e.g. Scottish Widows","example":"architecto"}},{"in":"query","name":"filter[reference]","description":"Comma separated list of partial provider statement references.  e.g. SW#324","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of partial provider statement references.  e.g. SW#324","example":"architecto"}},{"in":"query","name":"filter[provider_uuids]","description":"Comma separated list of exact provider UUIDs.  e.g. fb8ca37d-6c5b-4688-bb69-1aacfffb8bea","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of exact provider UUIDs.  e.g. fb8ca37d-6c5b-4688-bb69-1aacfffb8bea","example":"architecto"}},{"in":"query","name":"filter[date_from]","description":"Statement date from in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto","required":false,"schema":{"type":"string","description":"Statement date from in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto"}},{"in":"query","name":"filter[date_to]","description":"Statement date from in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto","required":false,"schema":{"type":"string","description":"Statement date from in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto"}},{"in":"query","name":"filter[amount_from]","description":"Total amount of transactions within provider statement to, in pennies e.g. 5000","example":16,"required":false,"schema":{"type":"integer","description":"Total amount of transactions within provider statement to, in pennies e.g. 5000","example":16}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, reference, date, total_amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, reference, date, total_amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"include","description":"Comma separated list of relationships to include. Valid values are [statement,transactions].","example":"statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include. Valid values are [statement,transactions].","example":"statement"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ProviderStatementResource"}}}}}}}},"tags":["Income Reconciliation"]},"post":{"summary":"Create a provider statement","operationId":"postApiV1ProviderStatement","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ProviderStatementResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_StoreProviderStatementRequest"}}}}}},"/api/v1/provider-statement/{providerStatement_uuid}":{"get":{"summary":"Get a provider statement","operationId":"getApiV1ProviderStatementProviderStatement_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ProviderStatementResource"}}}}},"tags":["Income Reconciliation"]},"put":{"summary":"Update a provider statement","operationId":"putApiV1ProviderStatementProviderStatement_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ProviderStatementResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UpdateProviderStatementRequest"}}}}},"delete":{"summary":"Delete a provider statement","operationId":"deleteApiV1ProviderStatementProviderStatement_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"providerStatement_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/bank-statement/upload":{"post":{"summary":"Upload a bank statement CSV.","operationId":"postApiV1BankStatementUpload","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UploadBankStatementRequest"}}}}}},"/api/v1/bank-statement":{"get":{"summary":"Get all bank statements","operationId":"getApiV1BankStatement","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[statement_uuids]","description":"Comma separated list of payment period statement UUIDs.  e.g. fb8ca37d-6c5b-4688-bb69-1aacfffb8bea","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of payment period statement UUIDs.  e.g. fb8ca37d-6c5b-4688-bb69-1aacfffb8bea","example":"architecto"}},{"in":"query","name":"filter[name]","description":"Comma separated list of partial bank statement names.  e.g. Natwest","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of partial bank statement names.  e.g. Natwest","example":"architecto"}},{"in":"query","name":"filter[reference]","description":"Comma separated list of partial bank statement references.  e.g. SW#324","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of partial bank statement references.  e.g. SW#324","example":"architecto"}},{"in":"query","name":"filter[date_from]","description":"Statement date from in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto","required":false,"schema":{"type":"string","description":"Statement date from in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto"}},{"in":"query","name":"filter[date_to]","description":"Statement date from in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto","required":false,"schema":{"type":"string","description":"Statement date from in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto"}},{"in":"query","name":"filter[amount_from]","description":"Total amount of transactions within bank statement to, in pennies e.g. 5000","example":16,"required":false,"schema":{"type":"integer","description":"Total amount of transactions within bank statement to, in pennies e.g. 5000","example":16}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, reference, date, total_amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, reference, date, total_amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"include","description":"Comma separated list of relationships to include. Valid values are [statement,transactions].","example":"statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include. Valid values are [statement,transactions].","example":"statement"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_BankStatementResource"}}}}}}}},"tags":["Income Reconciliation"]},"post":{"summary":"Create a bank statement","operationId":"postApiV1BankStatement","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_BankStatementResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_StoreBankStatementRequest"}}}}}},"/api/v1/bank-statement/{bankStatement_uuid}":{"get":{"summary":"Get a bank statement","operationId":"getApiV1BankStatementBankStatement_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_BankStatementResource"}}}}},"tags":["Income Reconciliation"]},"put":{"summary":"Update a bank statement","operationId":"putApiV1BankStatementBankStatement_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_BankStatementResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UpdateBankStatementRequest"}}}}},"delete":{"summary":"Delete a bank statement","operationId":"deleteApiV1BankStatementBankStatement_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"bankStatement_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/charge":{"get":{"summary":"Get all charges","operationId":"getApiV1Charge","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[client_uuids]","description":"Filter by a comma separated list of client UUIDs.","example":"3d7ef03d-d926-5dc5-b316-d7a0bd7538eb,55967af6-997c-5442-a20d-e78d89435ae0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of client UUIDs.","example":"3d7ef03d-d926-5dc5-b316-d7a0bd7538eb,55967af6-997c-5442-a20d-e78d89435ae0"}},{"in":"query","name":"filter[group_uuids]","description":"Filter by a comma separated list of group UUIDs.","example":"4f332e8a-a236-5cc1-bd7f-a2121759afdb,7504ab61-883d-5059-813d-5c60a8b31a8d","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of group UUIDs.","example":"4f332e8a-a236-5cc1-bd7f-a2121759afdb,7504ab61-883d-5059-813d-5c60a8b31a8d"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a"}},{"in":"query","name":"filter[plan_uuids]","description":"Filter by a comma separated list of plan UUIDs.","example":"71c44f85-cd7a-560c-b963-c64e7c09beb8,d3675ee5-dc03-54d6-bfef-441edd4b181c","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of plan UUIDs.","example":"71c44f85-cd7a-560c-b963-c64e7c09beb8,d3675ee5-dc03-54d6-bfef-441edd4b181c"}},{"in":"query","name":"filter[provider_uuids]","description":"Filter by a comma separated list of provider UUIDs.","example":"15735912-f8a6-5570-902c-e594bf3c445a,9f7d98d8-8ef2-58f7-98db-39b2ec9deea0","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of provider UUIDs.","example":"15735912-f8a6-5570-902c-e594bf3c445a,9f7d98d8-8ef2-58f7-98db-39b2ec9deea0"}},{"in":"query","name":"filter[policy_number]","description":"Filter by policy numbers.","example":"AVIVA_0001,AVIVA_0002","required":false,"schema":{"type":"string","description":"Filter by policy numbers.","example":"AVIVA_0001,AVIVA_0002"}},{"in":"query","name":"filter[seller_uuids]","description":"Filter by a comma separated list of seller account UUIDs.","example":"829284bf-109d-5102-b6b0-36a7a1995e80,4932967b-8f8a-530e-b06a-349ee7de5bed","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of seller account UUIDs.","example":"829284bf-109d-5102-b6b0-36a7a1995e80,4932967b-8f8a-530e-b06a-349ee7de5bed"}},{"in":"query","name":"filter[payment_origin]","description":"Filter by comma separated list of payment origins.","example":"client,provider","required":false,"schema":{"type":"string","description":"Filter by comma separated list of payment origins.","example":"client,provider"}},{"in":"query","name":"filter[type]","description":"Filter by comma separated list of charge types.","example":"fee,commission","required":false,"schema":{"type":"string","description":"Filter by comma separated list of charge types.","example":"fee,commission"}},{"in":"query","name":"filter[category]","description":"Filter by comma separated list of charge categories.","example":"initial_fee,ongoing_fee","required":false,"schema":{"type":"string","description":"Filter by comma separated list of charge categories.","example":"initial_fee,ongoing_fee"}},{"in":"query","name":"filter[recurring]","description":"Filter by recurring charges or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by recurring charges or not.","example":true}},{"in":"query","name":"filter[frequency]","description":"Filter by comma separated list of frequencies.","example":"weekly,monthly","required":false,"schema":{"type":"string","description":"Filter by comma separated list of frequencies.","example":"weekly,monthly"}},{"in":"query","name":"filter[start_date_after]","description":"Filter by charge start dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge start dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[start_date_before]","description":"Filter by charge start dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge start dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[end_date_after]","description":"Filter by charge end dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge end dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[end_date_before]","description":"Filter by charge end dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge end dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[next_expectation_date_after]","description":"Filter by charge next expectation dates after.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge next expectation dates after.","example":"2023-09-30"}},{"in":"query","name":"filter[next_expectation_date_before]","description":"Filter by charge next expectation dates before.","example":"2023-09-30","required":false,"schema":{"type":"string","description":"Filter by charge next expectation dates before.","example":"2023-09-30"}},{"in":"query","name":"filter[amount_from]","description":"Filter by charge fixed amounts from in pennies.","example":10000,"required":false,"schema":{"type":"integer","description":"Filter by charge fixed amounts from in pennies.","example":10000}},{"in":"query","name":"filter[amount_to]","description":"Filter by charge fixed amounts to  in pennies.","example":10000,"required":false,"schema":{"type":"integer","description":"Filter by charge fixed amounts to  in pennies.","example":10000}},{"in":"query","name":"filter[percentage_from]","description":"Filter by charge percentages from.","example":0.75,"required":false,"schema":{"type":"number","description":"Filter by charge percentages from.","example":0.75}},{"in":"query","name":"filter[percentage_to]","description":"Filter by charge percentages to.","example":0.75,"required":false,"schema":{"type":"number","description":"Filter by charge percentages to.","example":0.75}},{"in":"query","name":"filter[tax_exempt]","description":"Filter by tax exempt charges or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by tax exempt charges or not.","example":true}},{"in":"query","name":"filter[exclude_from_rmar]","description":"Filter by charges excluded from RMAR or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter by charges excluded from RMAR or not.","example":true}},{"in":"query","name":"filter[rmar_type]","description":"Filter by comma separated list of RMAR types.","example":"adviser_type,clawback","required":false,"schema":{"type":"string","description":"Filter by comma separated list of RMAR types.","example":"adviser_type,clawback"}},{"in":"query","name":"filter[advice_type]","description":"Filter by comma separated list of advice types.","example":"independent,restricted","required":false,"schema":{"type":"string","description":"Filter by comma separated list of advice types.","example":"independent,restricted"}},{"in":"query","name":"filter[service_type]","description":"Filter by comma separated list of service types.","example":"initial,ongoing","required":false,"schema":{"type":"string","description":"Filter by comma separated list of service types.","example":"initial,ongoing"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, start_date, end_date, next_expectation_date, amount, percentage]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"-next_expectation_date","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, start_date, end_date, next_expectation_date, amount, percentage]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"-next_expectation_date"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ChargeResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"]},"post":{"summary":"Create a charge","operationId":"postApiV1Charge","description":"Create recurring charge for a given plan or client.\nAmount can be a fixed amount or a percentage of a plans value.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_StoreChargeRequest"}}}}}},"/api/v1/charge/{uuid}":{"get":{"summary":"Get a charge","operationId":"getApiV1ChargeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Income Reconciliation"]},"put":{"summary":"Update a charge","operationId":"putApiV1ChargeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UpdateChargeRequest"}}}}},"delete":{"summary":"Delete a charge","operationId":"deleteApiV1ChargeUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/expectation/calculate":{"post":{"summary":"Calculate the income splits of an expectation","operationId":"postApiV1ExpectationCalculate","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_CalculateExpectationRequest"}}}}}},"/api/v1/expectation":{"get":{"summary":"Get all firm expectations","operationId":"getApiV1Expectation","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[status]","description":"Filter expectations based on their status. Available options: expecting,ready_for_reconciliation","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations based on their status. Available options: expecting,ready_for_reconciliation","example":"architecto"}},{"in":"query","name":"filter[statement_uuids]","description":"Filter expectations by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Filter expectations by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[date_after]","description":"Get charges from an expectation date.","example":"2022-03-20","required":false,"schema":{"type":"string","description":"Get charges from an expectation date.","example":"2022-03-20"}},{"in":"query","name":"filter[date_before]","description":"Get charges to an expectation date.","example":"2022-03-27","required":false,"schema":{"type":"string","description":"Get charges to an expectation date.","example":"2022-03-27"}},{"in":"query","name":"filter[amount_from]","description":"Get charges greater than or equal to an expected amount in pennies.","example":"15000","required":false,"schema":{"type":"string","description":"Get charges greater than or equal to an expected amount in pennies.","example":"15000"}},{"in":"query","name":"filter[amount_to]","description":"Get charges less than or equal to an expected amount in pennies.","example":"20000","required":false,"schema":{"type":"string","description":"Get charges less than or equal to an expected amount in pennies.","example":"20000"}},{"in":"query","name":"filter[client_uuids]","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"99e535dc-433e-5448-b828-f987f04698a4,8648d854-2c74-5945-81b6-e60ef385418a"}},{"in":"query","name":"filter[group_uuids]","description":"Comma separated string group UUIDs to filter by.","example":"f402153f-e4ff-478f-9591-fa160ac955fd,3fcd0358-4bb8-4d51-abfb-70f0ba5a2086","required":false,"schema":{"type":"string","description":"Comma separated string group UUIDs to filter by.","example":"f402153f-e4ff-478f-9591-fa160ac955fd,3fcd0358-4bb8-4d51-abfb-70f0ba5a2086"}},{"in":"query","name":"filter[category]","description":"Comma separated string of categories to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of categories to filter by.","example":"architecto"}},{"in":"query","name":"filter[type]","description":"Comma separated string of categories to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of categories to filter by.","example":"architecto"}},{"in":"query","name":"filter[policy_number]","description":"Comma separated string of partial policy numbers to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial policy numbers to filter by.","example":"architecto"}},{"in":"query","name":"filter[provider_uuids]","description":"Comma separated string of partial provider names or exact provider UUIDs to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial provider names or exact provider UUIDs to filter by.","example":"architecto"}},{"in":"query","name":"filter[plan_uuids]","description":"Comma separated string of partial plan names or exact plan UUIDs to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of partial plan names or exact plan UUIDs to filter by.","example":"architecto"}},{"in":"query","name":"filter[payment_origin]","description":"Filter expectations to client or provider paid.  Valid options are [client, provider]","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations to client or provider paid.  Valid options are [client, provider]","example":"architecto"}},{"in":"query","name":"filter[seller_uuids]","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Comma separated string of partial names or exact account UUIDs to filter by.","example":"Barry,7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[reconciliation]","description":"Filter expectations based on their reconciliation amount. Available options: reconciled,unreconciled,partially_reconciled","example":"architecto","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount. Available options: reconciled,unreconciled,partially_reconciled","example":"architecto"}},{"in":"query","name":"filter[reconciliation_percentage_between]","description":"Filter expectations based on their reconciliation amount between two values as a percentage.","example":"50,100","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount between two values as a percentage.","example":"50,100"}},{"in":"query","name":"filter[reconciliation_amount_between]","description":"Filter expectations based on their reconciliation amount between two values in pennies.","example":"5000,10000","required":false,"schema":{"type":"string","description":"Filter expectations based on their reconciliation amount between two values in pennies.","example":"5000,10000"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, expected_payment_date, expected_amount]. Negative sign to denote DESC.  Defaults to 'expected_payment_date'.","example":"amount","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, expected_payment_date, expected_amount]. Negative sign to denote DESC.  Defaults to 'expected_payment_date'.","example":"amount"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ExpectationWithReconciliationResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"]}},"/api/v1/expectation/{uuid}":{"get":{"summary":"Get an expectation","operationId":"getApiV1ExpectationUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ExpectationWithReconciliationResource"}}}}},"tags":["Income Reconciliation"]},"put":{"summary":"Update an expectation","operationId":"putApiV1ExpectationUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ExpectationWithReconciliationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UpdateExpectationRequest"}}}}},"delete":{"summary":"Delete an expectation","operationId":"deleteApiV1ExpectationUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/statement-transaction":{"get":{"summary":"Get all statement transactions","operationId":"getApiV1StatementTransaction","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement, providerStatement].","example":"?include=statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement, providerStatement].","example":"?include=statement"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[statement_uuids]","description":"Filter provider statement transactions by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Filter provider statement transactions by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[provider_statement_uuids]","description":"Filter provider statement transactions by an exact provider statement UUID.","example":"05dad2ed-2d20-4546-b0ff-5b806e24ae70","required":false,"schema":{"type":"string","description":"Filter provider statement transactions by an exact provider statement UUID.","example":"05dad2ed-2d20-4546-b0ff-5b806e24ae70"}},{"in":"query","name":"filter[date_from]","description":"Get provider statement transactions from a certain date.","example":"2022-03-20","required":false,"schema":{"type":"string","description":"Get provider statement transactions from a certain date.","example":"2022-03-20"}},{"in":"query","name":"filter[date_to]","description":"Get provider statement transactions to a certain date.","example":"2022-03-27","required":false,"schema":{"type":"string","description":"Get provider statement transactions to a certain date.","example":"2022-03-27"}},{"in":"query","name":"filter[amount_from]","description":"Get provider statement transactions greater than or equal to a certain amount in pennies.","example":"15000","required":false,"schema":{"type":"string","description":"Get provider statement transactions greater than or equal to a certain amount in pennies.","example":"15000"}},{"in":"query","name":"filter[amount_to]","description":"Get provider statement transactions less than or equal to a certain amount in pennies.","example":"20000","required":false,"schema":{"type":"string","description":"Get provider statement transactions less than or equal to a certain amount in pennies.","example":"20000"}},{"in":"query","name":"filter[client]","description":"Filter by partial client name given on provider statement.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial client name given on provider statement.","example":"architecto"}},{"in":"query","name":"filter[policy_number]","description":"Filter by partial policy number given on provider statement.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial policy number given on provider statement.","example":"architecto"}},{"in":"query","name":"filter[reference]","description":"Filter by partial transaction reference.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial transaction reference.","example":"architecto"}},{"in":"query","name":"filter[agency_number]","description":"Filter by partial agency number.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial agency number.","example":"architecto"}},{"in":"query","name":"filter[product_reference]","description":"Filter by partial product reference.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial product reference.","example":"architecto"}},{"in":"query","name":"filter[provider_uuids]","description":"Filter provider statement transactions by exact provider UUID.","example":"05dad2ed-2d20-4546-b0ff-5b806e24ae70","required":false,"schema":{"type":"string","description":"Filter provider statement transactions by exact provider UUID.","example":"05dad2ed-2d20-4546-b0ff-5b806e24ae70"}},{"in":"query","name":"filter[payment_origin]","description":"Filter provider statement transactions to client or provider paid.  Valid options are [client, provider]","example":"architecto","required":false,"schema":{"type":"string","description":"Filter provider statement transactions to client or provider paid.  Valid options are [client, provider]","example":"architecto"}},{"in":"query","name":"filter[category]","description":"Comma separated string of categories to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of categories to filter by.","example":"architecto"}},{"in":"query","name":"filter[adviser]","description":"Filter by partial adviser name given on provider statement.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial adviser name given on provider statement.","example":"architecto"}},{"in":"query","name":"filter[reconciliation]","description":"Filter provider statement transactions by their reconciliation status.  Valid statuses are reconciled,unreconciled,reconciled_with_expectations,reconciled_with_bank_transactions,unreconciled_with_expectations,unreconciled_with_bank_transactions,partially_reconciled_with_expectations,partially_reconciled_with_bank_transactions","example":"reconciled","required":false,"schema":{"type":"string","description":"Filter provider statement transactions by their reconciliation status.  Valid statuses are reconciled,unreconciled,reconciled_with_expectations,reconciled_with_bank_transactions,unreconciled_with_expectations,unreconciled_with_bank_transactions,partially_reconciled_with_expectations,partially_reconciled_with_bank_transactions","example":"reconciled"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, date, policy_number, client_name, gross_amount]. Negative sign to denote DESC.  Defaults to '-updated_at'.","example":"amount","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, date, policy_number, client_name, gross_amount]. Negative sign to denote DESC.  Defaults to '-updated_at'.","example":"amount"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionWithReconciliationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"]},"post":{"summary":"Create an statement transaction","operationId":"postApiV1StatementTransaction","description":"Add transactions to an already existing provider statement or add extra client paid\ntransactions to a payment period.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionWithReconciliationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_StoreStatementTransactionRequest"}}}}}},"/api/v1/statement-transaction/{statementTransaction_uuid}":{"get":{"summary":"Get an statement transaction","operationId":"getApiV1StatementTransactionStatementTransaction_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionWithReconciliationResource"}}}}},"tags":["Income Reconciliation"]},"put":{"summary":"Update an statement transaction","operationId":"putApiV1StatementTransactionStatementTransaction_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionWithReconciliationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UpdateStatementTransactionRequest"}}}}},"delete":{"summary":"Delete an statement transaction","operationId":"deleteApiV1StatementTransactionStatementTransaction_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"statementTransaction_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/statement-transaction/{statementTransaction_uuid}/unreconcile-expectation":{"post":{"summary":"Unreconcile the expectation","operationId":"postApiV1StatementTransactionStatementTransaction_uuidUnreconcileExpectation","description":"Will remove the expectation from the statement transaction.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StatementTransactionResource"}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"statementTransaction_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/bank-transaction":{"get":{"summary":"Get all bank transactions","operationId":"getApiV1BankTransaction","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [statement].","example":"?include=statement"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[statement_uuids]","description":"Filter bank transaction by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6","required":false,"schema":{"type":"string","description":"Filter bank transaction by a statement UUID.","example":"7967e2f8-bfeb-4eac-98fd-f2945c4f08a6"}},{"in":"query","name":"filter[bank_statement_uuids]","description":"Filter bank statement transactions by an exact bank statement UUID.","example":"05dad2ed-2d20-4546-b0ff-5b806e24ae70","required":false,"schema":{"type":"string","description":"Filter bank statement transactions by an exact bank statement UUID.","example":"05dad2ed-2d20-4546-b0ff-5b806e24ae70"}},{"in":"query","name":"filter[date_from]","description":"Get bank transactions from a certain date.","example":"2022-03-20","required":false,"schema":{"type":"string","description":"Get bank transactions from a certain date.","example":"2022-03-20"}},{"in":"query","name":"filter[date_to]","description":"Get bank transactions to a certain date.","example":"2022-03-27","required":false,"schema":{"type":"string","description":"Get bank transactions to a certain date.","example":"2022-03-27"}},{"in":"query","name":"filter[amount_from]","description":"Get bank transactions greater than or equal to a certain amount in pennies.","example":"15000","required":false,"schema":{"type":"string","description":"Get bank transactions greater than or equal to a certain amount in pennies.","example":"15000"}},{"in":"query","name":"filter[amount_to]","description":"Get bank transactions less than or equal to a certain amount in pennies.","example":"20000","required":false,"schema":{"type":"string","description":"Get bank transactions less than or equal to a certain amount in pennies.","example":"20000"}},{"in":"query","name":"filter[reference]","description":"Filter bank transactions by a partial transaction reference","example":"architecto","required":false,"schema":{"type":"string","description":"Filter bank transactions by a partial transaction reference","example":"architecto"}},{"in":"query","name":"filter[reconciliation]","description":"Filter bank transactions based on their reconciliation status. Available options: reconciled,unreconciled,partially_reconciled","example":"architecto","required":false,"schema":{"type":"string","description":"Filter bank transactions based on their reconciliation status. Available options: reconciled,unreconciled,partially_reconciled","example":"architecto"}},{"in":"query","name":"filter[reconciliation_percentage_between]","description":"Filter bank transactions based on their reconciliation amount between two values as a percentage.","example":"50,100","required":false,"schema":{"type":"string","description":"Filter bank transactions based on their reconciliation amount between two values as a percentage.","example":"50,100"}},{"in":"query","name":"filter[reconciliation_amount_between]","description":"Filter bank transactions based on their reconciliation amount between two values in pennies.","example":"5000,10000","required":false,"schema":{"type":"string","description":"Filter bank transactions based on their reconciliation amount between two values in pennies.","example":"5000,10000"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, payment_date, reference, amount]. Negative sign to denote DESC.  Defaults to 'date'.","example":"amount","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, payment_date, reference, amount]. Negative sign to denote DESC.  Defaults to 'date'.","example":"amount"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionWithReconciliationResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"]},"post":{"summary":"Create a bank transaction","operationId":"postApiV1BankTransaction","description":"Incoming transactions from a bank statement.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionWithReconciliationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_StoreBankTransactionRequest"}}}}}},"/api/v1/bank-transaction/{bankTransaction_uuid}":{"get":{"summary":"Get a bank transaction","operationId":"getApiV1BankTransactionBankTransaction_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionWithReconciliationResource"}}}}},"tags":["Income Reconciliation"]},"put":{"summary":"Update a bank transaction","operationId":"putApiV1BankTransactionBankTransaction_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_BankTransactionWithReconciliationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UpdateBankTransactionRequest"}}}}},"delete":{"summary":"Delete a bank transaction","operationId":"deleteApiV1BankTransactionBankTransaction_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"bankTransaction_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/expectation/reconcile":{"post":{"summary":"Reconcile an expectation to statement transactions","operationId":"postApiV1ExpectationReconcile","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ExpectationResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_ReconcileExpectationsRequest"}}}}}},"/api/v1/expectation/balance":{"post":{"summary":"Balance partially reconciled expectations","operationId":"postApiV1ExpectationBalance","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_BalanceExpectationsRequest"}}}}}},"/api/v1/expectation/unbalance":{"post":{"summary":"Unbalance the expectation","operationId":"postApiV1ExpectationUnbalance","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UnbalanceExpectationRequest"}}}}}},"/api/v1/bank-transaction/reconcile":{"post":{"summary":"Reconcile bank payments to statement transactions","operationId":"postApiV1BankTransactionReconcile","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_ReconcileBankTransactionsRequest"}}}}}},"/api/v1/reconciliation/{uuid}":{"delete":{"summary":"Delete a reconciliation","operationId":"deleteApiV1ReconciliationUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/statement-transaction/create-expectations":{"post":{"summary":"Create expectations","operationId":"postApiV1StatementTransactionCreateExpectations","description":"Bulk action create expectations for incoming statement transactions.\nUseful when a provider statement has historic transactions which Plannr has not generated the expectations for.\nThe client and policy for this transactions must exist within Plannr.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_BulkCreateExpectationsRequest"}}}}}},"/api/v1/statement-transaction/auto-reconcile":{"post":{"summary":"Auto reconcile statement transactions","operationId":"postApiV1StatementTransactionAutoReconcile","description":"Run statement transactions through the auto reconciliation to expectations action again.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_AutoReconcileStatementTransactionsRequest"}}}}}},"/api/v1/bank-transaction/{bankTransaction_uuid}/reconciliations":{"get":{"summary":"Get all reconciliations on a bank transaction","operationId":"getApiV1BankTransactionBankTransaction_uuidReconciliations","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type, amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"amount","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type, amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"amount"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IncomeReconciliation_ReconciliationResource"}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"bankTransaction_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/statement-transaction/{statementTransaction_uuid}/reconciliations":{"get":{"summary":"Get all reconciliations on an statement transaction","operationId":"getApiV1StatementTransactionStatementTransaction_uuidReconciliations","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type, amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"amount","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type, amount]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"amount"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IncomeReconciliation_ReconciliationResource"}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"statementTransaction_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/charge-split/{splitableType}/{splitableUuid}":{"get":{"summary":"Get all charge splits","operationId":"getApiV1ChargeSplitSplitableTypeSplitableUuid","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ChargeSplitResource"}}}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"splitableType","description":"","example":"architecto","required":true,"schema":{"type":"string"}},{"in":"path","name":"splitableUuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/charge-split":{"post":{"summary":"Create a charge split","operationId":"postApiV1ChargeSplit","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChargeSplitResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_StoreChargeSplitRequest"}}}}}},"/api/v1/charge-split/{chargeSplit_uuid}":{"get":{"summary":"Get a charge split","operationId":"getApiV1ChargeSplitChargeSplit_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChargeSplitResource"}}}}},"tags":["Income Reconciliation"]},"put":{"summary":"Update a charge split","operationId":"putApiV1ChargeSplitChargeSplit_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChargeSplitResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UpdateChargeSplitRequest"}}}}},"delete":{"summary":"Delete a charge split","operationId":"deleteApiV1ChargeSplitChargeSplit_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"chargeSplit_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/adviser-split":{"get":{"summary":"Get all adviser splits","operationId":"getApiV1AdviserSplit","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Name to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Name to filter by","example":"architecto"}},{"in":"query","name":"filter[type]","description":"Type to filter by. Valid options are adviser, plan","example":"architecto","required":false,"schema":{"type":"string","description":"Type to filter by. Valid options are adviser, plan","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AdviserSplitResource"}}}}}}}},"tags":["Income Reconciliation"]},"post":{"summary":"Create an adviser split","operationId":"postApiV1AdviserSplit","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AdviserSplitResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_StoreAdviserSplitRequest"}}}}}},"/api/v1/adviser-split/{adviserSplit_uuid}":{"get":{"summary":"Get an adviser split","operationId":"getApiV1AdviserSplitAdviserSplit_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AdviserSplitResource"}}}}},"tags":["Income Reconciliation"]},"put":{"summary":"Update an adviser split","operationId":"putApiV1AdviserSplitAdviserSplit_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AdviserSplitResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UpdateAdviserSplitRequest"}}}}},"delete":{"summary":"Delete an adviser split","operationId":"deleteApiV1AdviserSplitAdviserSplit_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"adviserSplit_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/charge-split-schema":{"get":{"summary":"Get all charge split schemas","operationId":"getApiV1ChargeSplitSchema","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Name to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Name to filter by","example":"architecto"}},{"in":"query","name":"filter[valid_for_advisers]","description":"Only include charge split schemas which are valid for advisers","example":false,"required":false,"schema":{"type":"boolean","description":"Only include charge split schemas which are valid for advisers","example":false}},{"in":"query","name":"filter[valid_for_clients]","description":"Only include charge split schemas which are valid for clients","example":false,"required":false,"schema":{"type":"boolean","description":"Only include charge split schemas which are valid for clients","example":false}},{"in":"query","name":"filter[valid_for_introducers]","description":"Only include charge split schemas which are valid for introducers","example":false,"required":false,"schema":{"type":"boolean","description":"Only include charge split schemas which are valid for introducers","example":false}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ChargeSplitSchemaResource"}}}}}}}},"tags":["Income Reconciliation"]},"post":{"summary":"Create a charge split schema","operationId":"postApiV1ChargeSplitSchema","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChargeSplitSchemaResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_StoreChargeSplitSchemaRequest"}}}}}},"/api/v1/charge-split-schema/{chargeSplitSchema_uuid}":{"get":{"summary":"Get a charge split schema","operationId":"getApiV1ChargeSplitSchemaChargeSplitSchema_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChargeSplitSchemaResource"}}}}},"tags":["Income Reconciliation"]},"put":{"summary":"Update a charge split schema","operationId":"putApiV1ChargeSplitSchemaChargeSplitSchema_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ChargeSplitSchemaResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Income Reconciliation"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_IncomeReconciliation_UpdateChargeSplitSchemaRequest"}}}}},"delete":{"summary":"Delete a charge split schema","operationId":"deleteApiV1ChargeSplitSchemaChargeSplitSchema_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Income Reconciliation"]},"parameters":[{"in":"path","name":"chargeSplitSchema_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/introducer":{"get":{"summary":"Get all introducers","operationId":"getApiV1Introducer","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number,primary_email, assigned_adviser, charge_split_schema, tags, groups, business_unit].","example":"?include=groups,tags","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number,primary_email, assigned_adviser, charge_split_schema, tags, groups, business_unit].","example":"?include=groups,tags"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter employees by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter employees by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto"}},{"in":"query","name":"filter[email]","description":"Filter employees that have an email with a partial match.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter employees that have an email with a partial match.","example":"architecto"}},{"in":"query","name":"filter[type]","description":"Comma separated string to filter by different employee types.  Valid types are [owner, admin, member].","example":"?filter[type]=member","required":false,"schema":{"type":"string","description":"Comma separated string to filter by different employee types.  Valid types are [owner, admin, member].","example":"?filter[type]=member"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the client was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the client was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the client was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the client was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[groups]","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[exclude_groups]","description":"Provide a group UUID (or multiple as a comma-separated string) to filter introducers within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Provide a group UUID (or multiple as a comma-separated string) to filter introducers within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[business_unit]","description":"Filter by a business unit UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a business unit UUID.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name, email]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, first_name, last_name, email]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}}}}},"tags":["Introducer"]},"post":{"summary":"Create an introducer [Deprecated: Use create an account route]","operationId":"postApiV1Introducer","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Introducer"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_External_StoreIntroducerRequest"}}}}}},"/api/v1/introducer/{uuid}":{"get":{"summary":"View an introducer [Deprecated: Use get an account route]","operationId":"getApiV1IntroducerUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}},"tags":["Introducer"]},"put":{"summary":"Update an introducer [Deprecated: Use update an account route]","operationId":"putApiV1IntroducerUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Introducer"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_UpdateIntroducerRequest"}}}}},"delete":{"summary":"Delete an introducer [Deprecated: use delete an account route]","operationId":"deleteApiV1IntroducerUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Introducer"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/lead-interests":{"get":{"summary":"Get all lead interests","operationId":"getApiV1LeadInterests","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[name]","description":"Filter by name.","example":"Wealth","required":false,"schema":{"type":"string","description":"Filter by name.","example":"Wealth"}},{"in":"query","name":"filter[archived]","description":"Whether to include archived lead interests. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include","required":false,"schema":{"type":"string","description":"Whether to include archived lead interests. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [position, name, created_at]. Negative sign to denote DESC. Defaults to 'position'.","example":"name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [position, name, created_at]. Negative sign to denote DESC. Defaults to 'position'.","example":"name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_LeadInterestResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Lead Interests"]},"post":{"summary":"Create a lead interest","operationId":"postApiV1LeadInterests","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LeadInterestResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"missing-fields":{"summary":"Missing fields","value":{"message":"The name field is required.","errors":{"name":["The name field is required."]}}},"name-already-in-use":{"summary":"Name already in use","value":{"message":"The name has already been taken.","errors":{"name":["The name has already been taken."]}}},"name-too-long":{"summary":"Name too long","value":{"message":"The name must not be greater than 255 characters.","errors":{"name":["The name must not be greater than 255 characters."]}}}}}}}},"tags":["Lead Interests"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LeadInterest_StoreLeadInterestRequest"}}}}}},"/api/v1/lead-interests/{uuid}":{"get":{"summary":"Get a lead interest","operationId":"getApiV1LeadInterestsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LeadInterestResource"}}}}},"tags":["Lead Interests"]},"put":{"summary":"Update a lead interest","operationId":"putApiV1LeadInterestsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LeadInterestResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"name-already-in-use":{"summary":"Name already in use","value":{"message":"The name has already been taken.","errors":{"name":["The name has already been taken."]}}},"name-too-long":{"summary":"Name too long","value":{"message":"The name must not be greater than 255 characters.","errors":{"name":["The name must not be greater than 255 characters."]}}},"position-below-one":{"summary":"Position below one","value":{"message":"The position must be at least 1.","errors":{"position":["The position must be at least 1."]}}},"archived-is-not-a-boolean":{"summary":"Archived is not a boolean","value":{"message":"The archived field must be true or false.","errors":{"archived":["The archived field must be true or false."]}}}}}}}},"tags":["Lead Interests"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_LeadInterest_UpdateLeadInterestRequest"}}}}},"delete":{"summary":"Delete a lead interest","operationId":"deleteApiV1LeadInterestsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Lead Interests"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/lead-sub-sources":{"get":{"summary":"Get all sub-sources in the firm","operationId":"getApiV1LeadSubSources","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[name]","description":"Filter by name.","example":"Google","required":false,"schema":{"type":"string","description":"Filter by name.","example":"Google"}},{"in":"query","name":"filter[archived]","description":"Whether to include archived sub-sources. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include","required":false,"schema":{"type":"string","description":"Whether to include archived sub-sources. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [position, name, created_at]. Negative sign to denote DESC. Defaults to 'position'.","example":"name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [position, name, created_at]. Negative sign to denote DESC. Defaults to 'position'.","example":"name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSubSourceResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Lead Sources"]}},"/api/v1/lead-sources":{"get":{"summary":"Get all lead sources","operationId":"getApiV1LeadSources","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [sub-sources].","example":"sub-sources","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [sub-sources].","example":"sub-sources"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[name]","description":"Filter by name.","example":"Website","required":false,"schema":{"type":"string","description":"Filter by name.","example":"Website"}},{"in":"query","name":"filter[archived]","description":"Whether to include archived lead sources. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include","required":false,"schema":{"type":"string","description":"Whether to include archived lead sources. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [position, name, created_at]. Negative sign to denote DESC. Defaults to 'position'.","example":"name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [position, name, created_at]. Negative sign to denote DESC. Defaults to 'position'.","example":"name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSourceResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Lead Sources"]},"post":{"summary":"Create a lead source","operationId":"postApiV1LeadSources","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSourceResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"missing-fields":{"summary":"Missing fields","value":{"message":"The name field is required.","errors":{"name":["The name field is required."]}}},"name-already-in-use":{"summary":"Name already in use","value":{"message":"The name has already been taken.","errors":{"name":["The name has already been taken."]}}},"name-too-long":{"summary":"Name too long","value":{"message":"The name must not be greater than 255 characters.","errors":{"name":["The name must not be greater than 255 characters."]}}}}}}}},"tags":["Lead Sources"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_Sources_StoreLeadSourceRequest"}}}}}},"/api/v1/lead-sources/{uuid}":{"get":{"summary":"Get a lead source","operationId":"getApiV1LeadSourcesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSourceResource"}}}}},"tags":["Lead Sources"]},"put":{"summary":"Update a lead source","operationId":"putApiV1LeadSourcesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSourceResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"blank-name":{"summary":"Blank name","value":{"message":"The name field is required.","errors":{"name":["The name field is required."]}}},"name-already-in-use":{"summary":"Name already in use","value":{"message":"The name has already been taken.","errors":{"name":["The name has already been taken."]}}},"name-too-long":{"summary":"Name too long","value":{"message":"The name must not be greater than 255 characters.","errors":{"name":["The name must not be greater than 255 characters."]}}},"position-below-one":{"summary":"Position below one","value":{"message":"The position must be at least 1.","errors":{"position":["The position must be at least 1."]}}},"archived-is-not-a-boolean":{"summary":"Archived is not a boolean","value":{"message":"The archived field must be true or false.","errors":{"archived":["The archived field must be true or false."]}}}}}}}},"tags":["Lead Sources"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_Sources_UpdateLeadSourceRequest"}}}}},"delete":{"summary":"Delete a lead source","operationId":"deleteApiV1LeadSourcesUuid","description":"Soft deletes the lead source and all of its sub-sources. A source referenced by any lead, directly or through one\nof its sub-sources, cannot be deleted and must be archived instead.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-source-in-use":{"summary":"Lead source in use","value":{"message":"This lead source is in use by one or more leads and must be archived instead."}},"sub-source-in-use":{"summary":"Sub-source in use","value":{"message":"A sub-source of this lead source is in use by one or more leads; archive the source instead."}}}}}}},"tags":["Lead Sources"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/lead-sources/{lead_source_uuid}/sub-sources":{"get":{"summary":"Get all sub-sources of a lead source","operationId":"getApiV1LeadSourcesLead_source_uuidSubSources","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[name]","description":"Filter by name.","example":"Google","required":false,"schema":{"type":"string","description":"Filter by name.","example":"Google"}},{"in":"query","name":"filter[archived]","description":"Whether to include archived sub-sources. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include","required":false,"schema":{"type":"string","description":"Whether to include archived sub-sources. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [position, name, created_at]. Negative sign to denote DESC. Defaults to 'position'.","example":"name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [position, name, created_at]. Negative sign to denote DESC. Defaults to 'position'.","example":"name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSubSourceResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Lead Sources"]},"post":{"summary":"Create a sub-source of a lead source","operationId":"postApiV1LeadSourcesLead_source_uuidSubSources","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSubSourceResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"missing-fields":{"summary":"Missing fields","value":{"message":"The name field is required.","errors":{"name":["The name field is required."]}}},"name-already-in-use":{"summary":"Name already in use","value":{"message":"The name has already been taken.","errors":{"name":["The name has already been taken."]}}},"name-too-long":{"summary":"Name too long","value":{"message":"The name must not be greater than 255 characters.","errors":{"name":["The name must not be greater than 255 characters."]}}}}}}}},"tags":["Lead Sources"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_SubSources_StoreLeadSubSourceRequest"}}}}},"parameters":[{"in":"path","name":"lead_source_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/lead-sources/{lead_source_uuid}/sub-sources/{uuid}":{"get":{"summary":"Get a sub-source of a lead source","operationId":"getApiV1LeadSourcesLead_source_uuidSubSourcesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSubSourceResource"}}}}},"tags":["Lead Sources"]},"put":{"summary":"Update a sub-source of a lead source","operationId":"putApiV1LeadSourcesLead_source_uuidSubSourcesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadSubSourceResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"blank-name":{"summary":"Blank name","value":{"message":"The name field is required.","errors":{"name":["The name field is required."]}}},"name-already-in-use":{"summary":"Name already in use","value":{"message":"The name has already been taken.","errors":{"name":["The name has already been taken."]}}},"name-too-long":{"summary":"Name too long","value":{"message":"The name must not be greater than 255 characters.","errors":{"name":["The name must not be greater than 255 characters."]}}},"position-below-one":{"summary":"Position below one","value":{"message":"The position must be at least 1.","errors":{"position":["The position must be at least 1."]}}},"archived-is-not-a-boolean":{"summary":"Archived is not a boolean","value":{"message":"The archived field must be true or false.","errors":{"archived":["The archived field must be true or false."]}}}}}}}},"tags":["Lead Sources"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_SubSources_UpdateLeadSubSourceRequest"}}}}},"delete":{"summary":"Delete a sub-source of a lead source","operationId":"deleteApiV1LeadSourcesLead_source_uuidSubSourcesUuid","description":"A sub-source referenced by any lead cannot be deleted and must be archived instead.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"409":{"description":"Sub-source in use","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"sub-source-in-use":{"summary":"Sub-source in use","value":{"message":"This sub-source is in use by one or more leads and must be archived instead."}}}}}}},"tags":["Lead Sources"]},"parameters":[{"in":"path","name":"lead_source_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/leads":{"get":{"summary":"Get all leads","operationId":"getApiV1Leads","description":"A caller with `leads:readAll` sees every lead in the firm; a caller with `leads:read` only sees leads assigned to them.\nAn introducer only sees the leads they introduced.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[status]","description":"Filter by a comma separated list of statuses. Valid options are [new, contacted, pending_call_back, awaiting_client_action, meeting_booked, uncontactable].","example":"new,contacted","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of statuses. Valid options are [new, contacted, pending_call_back, awaiting_client_action, meeting_booked, uncontactable].","example":"new,contacted"}},{"in":"query","name":"filter[assigned_account_uuid]","description":"Filter by a comma separated list of assigned employee UUIDs. The literal 'unassigned' selects leads with no assignee and may be combined with UUIDs.","example":"unassigned,53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of assigned employee UUIDs. The literal 'unassigned' selects leads with no assignee and may be combined with UUIDs.","example":"unassigned,53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[introducer_uuid]","description":"Filter by a comma separated list of introducer UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of introducer UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[source_uuid]","description":"Filter by a comma separated list of lead source UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of lead source UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[sub_source_uuid]","description":"Filter by a comma separated list of sub-source UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of sub-source UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[archived]","description":"DEPRECATED: archiving is superseded by disqualification and will be removed; use filter[disqualified]. Whether to include archived leads. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include","required":false,"schema":{"type":"string","description":"DEPRECATED: archiving is superseded by disqualification and will be removed; use filter[disqualified]. Whether to include archived leads. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include"}},{"in":"query","name":"filter[promoted]","description":"Whether to include leads promoted to clients. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include","required":false,"schema":{"type":"string","description":"Whether to include leads promoted to clients. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include"}},{"in":"query","name":"filter[disqualified]","description":"Whether to include disqualified leads. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include","required":false,"schema":{"type":"string","description":"Whether to include disqualified leads. Valid options are [exclude, include, only]. Defaults to 'exclude'.","example":"include"}},{"in":"query","name":"filter[pending_disqualified]","description":"Whether to include leads with a pending disqualification request. Valid options are [exclude, include, only]. Defaults to 'include'.","example":"only","required":false,"schema":{"type":"string","description":"Whether to include leads with a pending disqualification request. Valid options are [exclude, include, only]. Defaults to 'include'.","example":"only"}},{"in":"query","name":"filter[name]","description":"Partial, case-insensitive match on first name, last name, full name or entity name.","example":"Patel","required":false,"schema":{"type":"string","description":"Partial, case-insensitive match on first name, last name, full name or entity name.","example":"Patel"}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a lead custom field. Example filter[custom_field:enquiry_channel]='Phone'","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a lead custom field. Example filter[custom_field:enquiry_channel]='Phone'","example":"architecto"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [custom_fields].","example":"custom_fields","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [custom_fields].","example":"custom_fields"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, status_changed_at, last_name, status]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"last_name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, status_changed_at, last_name, status]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"last_name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Leads"]},"post":{"summary":"Create a lead","operationId":"postApiV1Leads","description":"The caller is recorded as the creator and is not assigned by default. An introducer is recorded as the lead's\nintroducer. The address becomes the lead's primary address. The first contact detail of each type becomes\nprimary unless one is flagged.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"missing-fields":{"summary":"Missing fields","value":{"message":"The first name field is required. (and 1 more error)","errors":{"first_name":["The first name field is required."],"last_name":["The last name field is required."]}}},"no-contact-detail":{"summary":"No contact detail","value":{"message":"At least one email address or phone number is required.","errors":{"contact_details":["At least one email address or phone number is required."]}}},"duplicate-contact-detail":{"summary":"Duplicate contact detail","value":{"message":"This lead already has this email address.","errors":{"contact_details.1.value":["This lead already has this email address."]}}},"lead-under-18":{"summary":"Lead under 18","value":{"message":"The lead must be at least 18 years old.","errors":{"date_of_birth":["The lead must be at least 18 years old."]}}},"sub-source-without-a-source":{"summary":"Sub-source without a source","value":{"message":"The lead source field is required when lead sub-source is present.","errors":{"source_uuid":["The lead source field is required when lead sub-source is present."]}}},"sub-source-of-another-source":{"summary":"Sub-source of another source","value":{"message":"The lead sub-source does not belong to the chosen lead source.","errors":{"sub_source_uuid":["The lead sub-source does not belong to the chosen lead source."]}}},"assigning-another-employee-without-permission":{"summary":"Assigning another employee without permission","value":{"message":"You do not have permission to assign leads to other employees.","errors":{"assigned_account_uuid":["You do not have permission to assign leads to other employees."]}}},"introducer-setting-the-introducer":{"summary":"Introducer setting the introducer","value":{"message":"An introducer cannot set the introducer of a lead.","errors":{"introduced_by_uuid":["An introducer cannot set the introducer of a lead."]}}}}}}}},"tags":["Leads"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_Leads_StoreLeadRequest"}}}}}},"/api/v1/leads/{uuid}":{"get":{"summary":"Get a lead","operationId":"getApiV1LeadsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}}},"tags":["Leads"]},"put":{"summary":"Update a lead","operationId":"putApiV1LeadsUuid","description":"A status change sets status_changed_at to now. Changing or removing the source without a sub-source clears the sub-source.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"blank-name":{"summary":"Blank name","value":{"message":"The first name field is required.","errors":{"first_name":["The first name field is required."]}}},"lead-under-18":{"summary":"Lead under 18","value":{"message":"The lead must be at least 18 years old.","errors":{"date_of_birth":["The lead must be at least 18 years old."]}}},"archived-source":{"summary":"Archived source","value":{"message":"The selected lead source is invalid.","errors":{"source_uuid":["The selected lead source is invalid."]}}},"sub-source-of-another-source":{"summary":"Sub-source of another source","value":{"message":"The lead sub-source does not belong to the chosen lead source.","errors":{"sub_source_uuid":["The lead sub-source does not belong to the chosen lead source."]}}}}}}}},"tags":["Leads"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_Leads_UpdateLeadRequest"}}}}},"delete":{"summary":"Delete a lead","operationId":"deleteApiV1LeadsUuid","description":"Only an archived lead can be deleted. Soft deletes the lead. Attached contact details and addresses are soft deleted only when nothing else links to them.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"active-lead":{"summary":"Active lead","value":{"message":"Archive the lead before deleting it."}}}}}}},"tags":["Leads"]},"parameters":[{"in":"path","name":"uuid","description":"The UUID of the lead.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/leads/{lead_uuid}/archive":{"post":{"summary":"Archive a lead [DEPRECATED: use the disqualify endpoints]","operationId":"postApiV1LeadsLead_uuidArchive","description":"Sets archived_at and archived_by. Requires `leads:delete` on an assigned lead or `leads:deleteAll`; an introducer can\narchive a lead they introduced. A no-op when the lead is already archived.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be archived."}}}}}}},"tags":["Leads"],"deprecated":true},"delete":{"summary":"Un-archive a lead [DEPRECATED: use the disqualify endpoints]","operationId":"deleteApiV1LeadsLead_uuidArchive","description":"Clears archived_at and archived_by. Requires `leads:delete` on an assigned lead or `leads:deleteAll`. A no-op when\nthe lead is not archived.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"Promoted lead","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}}}}}}},"tags":["Leads"],"deprecated":true},"parameters":[{"in":"path","name":"lead_uuid","description":"The UUID of the lead.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/leads/{lead_uuid}/disqualify":{"post":{"summary":"Disqualify a lead","operationId":"postApiV1LeadsLead_uuidDisqualify","description":"Marks the lead as dropped off, recording who, when and why. A caller with `leads:updateAll` disqualifies outright\nand may omit the reason. A caller with `leads:update` on an assigned lead must give a reason and only raises a\npending request: the reason and requester are stored and `disqualified_at` stays null until a `leads:updateAll`\nholder calls this endpoint again to confirm, which keeps the stored reason unless a new one is sent. A no-op when\nthe lead is already disqualified.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"Un-archive the lead before disqualifying it."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"missing-reason-without-leadsupdateall":{"summary":"Missing reason without leads:updateAll","value":{"message":"The reason field is required.","errors":{"reason":["The reason field is required."]}}}}}}}},"tags":["Leads"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_Leads_DisqualifyLeadRequest"}}}}},"delete":{"summary":"Un-disqualify a lead","operationId":"deleteApiV1LeadsLead_uuidDisqualify","description":"Clears disqualified_at, disqualified_by and the reason. Revoking a pending request needs `leads:update` on an\nassigned lead or `leads:updateAll`; un-disqualifying a disqualified lead needs `leads:updateAll`. A no-op when the\nlead is neither disqualified nor pending.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"Promoted lead","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}}}}}}},"tags":["Leads"]},"parameters":[{"in":"path","name":"lead_uuid","description":"The UUID of the lead.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/leads/{lead_uuid}/assign":{"post":{"summary":"Assign a lead","operationId":"postApiV1LeadsLead_uuidAssign","description":"Assigns the lead to an employee of the firm. Requires `leads:updateAll`. A no-op when the lead is already\nassigned to that employee.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"missing-fields":{"summary":"Missing fields","value":{"message":"The account uuid field is required.","errors":{"account_uuid":["The account uuid field is required."]}}},"not-an-employee-of-the-firm":{"summary":"Not an employee of the firm","value":{"message":"Only owner, and employee accounts from this firm are valid for this action.","errors":{"account_uuid":["Only owner, and employee accounts from this firm are valid for this action."]}}}}}}}},"tags":["Leads"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_Leads_AssignLeadRequest"}}}}},"delete":{"summary":"Unassign a lead","operationId":"deleteApiV1LeadsLead_uuidAssign","description":"Clears the assignee. Requires `leads:updateAll`. A no-op when the lead is unassigned.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}}},"tags":["Leads"]},"parameters":[{"in":"path","name":"lead_uuid","description":"The UUID of the lead.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/leads/{lead_uuid}/introducer":{"post":{"summary":"Set a lead's introducer","operationId":"postApiV1LeadsLead_uuidIntroducer","description":"Links the lead to an introducer of the firm. Requires `leads:updateAll`. A no-op when the lead already has that\nintroducer.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"missing-fields":{"summary":"Missing fields","value":{"message":"The account uuid field is required.","errors":{"account_uuid":["The account uuid field is required."]}}},"not-an-introducer-of-the-firm":{"summary":"Not an introducer of the firm","value":{"message":"Only introducer accounts from this firm are valid for this action.","errors":{"account_uuid":["Only introducer accounts from this firm are valid for this action."]}}}}}}}},"tags":["Leads"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_Leads_UpdateLeadIntroducerRequest"}}}}},"delete":{"summary":"Remove a lead's introducer","operationId":"deleteApiV1LeadsLead_uuidIntroducer","description":"Clears the introducer. Requires `leads:updateAll`. A no-op when the lead has no introducer.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Leads_LeadResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}}},"tags":["Leads"]},"parameters":[{"in":"path","name":"lead_uuid","description":"The UUID of the lead.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/leads/{lead_uuid}/contact-details":{"get":{"summary":"Get all contact details of a lead","operationId":"getApiV1LeadsLead_uuidContactDetails","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[type]","description":"Filter by a comma separated list of types. Valid options are [email, phone_number].","example":"email","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of types. Valid options are [email, phone_number].","example":"email"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type, name, value]. Negative sign to denote DESC. Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type, name, value]. Negative sign to denote DESC. Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Leads"]},"post":{"summary":"Add a contact detail to a lead","operationId":"postApiV1LeadsLead_uuidContactDetails","description":"The first contact detail of a type on a lead becomes its primary automatically. Phone numbers are stored in E.164 format.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"missing-fields":{"summary":"Missing fields","value":{"message":"The type field is required. (and 2 more errors)","errors":{"type":["The type field is required."],"name":["The name field is required."],"value":["The value field is required."]}}},"invalid-email":{"summary":"Invalid email","value":{"message":"The value must be a valid email address.","errors":{"value":["The value must be a valid email address."]}}},"invalid-phone-number":{"summary":"Invalid phone number","value":{"message":"The value field contains an invalid number. If there is no country specified, we will assume the phone number is a GB number.","errors":{"value":["The value field contains an invalid number. If there is no country specified, we will assume the phone number is a GB number."]}}},"duplicate-email":{"summary":"Duplicate email","value":{"message":"This lead already has this email address.","errors":{"value":["This lead already has this email address."]}}},"duplicate-phone-number":{"summary":"Duplicate phone number","value":{"message":"This lead already has this phone number.","errors":{"value":["This lead already has this phone number."]}}}}}}}},"tags":["Leads"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_ContactDetails_StoreLeadContactDetailRequest"}}}}},"parameters":[{"in":"path","name":"lead_uuid","description":"The UUID of the lead.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/leads/{lead_uuid}/contact-details/{uuid}":{"get":{"summary":"Get a contact detail of a lead","operationId":"getApiV1LeadsLead_uuidContactDetailsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm or the contact detail to another lead","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm-or-the-contact-detail-to-another-lead":{"summary":"Lead belongs to another firm or the contact detail to another lead","value":{"message":"Not Found"}}}}}}},"tags":["Leads"]},"put":{"summary":"Update a contact detail of a lead","operationId":"putApiV1LeadsLead_uuidContactDetailsUuid","description":"`primary: true` makes the contact detail the lead's primary of its type; `primary: false` clears it when it is the primary.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm or the contact detail to another lead","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm-or-the-contact-detail-to-another-lead":{"summary":"Lead belongs to another firm or the contact detail to another lead","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"blank-name":{"summary":"Blank name","value":{"message":"The name field is required.","errors":{"name":["The name field is required."]}}},"invalid-email":{"summary":"Invalid email","value":{"message":"The value must be a valid email address.","errors":{"value":["The value must be a valid email address."]}}},"duplicate-email":{"summary":"Duplicate email","value":{"message":"This lead already has this email address.","errors":{"value":["This lead already has this email address."]}}},"duplicate-phone-number":{"summary":"Duplicate phone number","value":{"message":"This lead already has this phone number.","errors":{"value":["This lead already has this phone number."]}}}}}}}},"tags":["Leads"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_ContactDetails_UpdateLeadContactDetailRequest"}}}}},"delete":{"summary":"Remove a contact detail from a lead","operationId":"deleteApiV1LeadsLead_uuidContactDetailsUuid","description":"Detaches the contact detail from the lead and soft deletes it only when no other lead or account is linked to it.\nRemoving the primary of a type promotes the oldest remaining contact detail of that type. A lead must keep at\nleast one email address or phone number.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm or the contact detail to another lead","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm-or-the-contact-detail-to-another-lead":{"summary":"Lead belongs to another firm or the contact detail to another lead","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"last-contact-detail":{"summary":"Last contact detail","value":{"message":"A lead must keep at least one email address or phone number.","errors":{"contact_detail":["A lead must keep at least one email address or phone number."]}}}}}}}},"tags":["Leads"]},"parameters":[{"in":"path","name":"lead_uuid","description":"The UUID of the lead.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"The UUID of the contact detail.","example":"6a6a176d-52bc-47f2-88c3-141d44059bcf","required":true,"schema":{"type":"string"}}]},"/api/v1/leads/{lead_uuid}/addresses":{"get":{"summary":"Get all addresses of a lead","operationId":"getApiV1LeadsLead_uuidAddresses","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, address_1, postcode]. Negative sign to denote DESC. Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, address_1, postcode]. Negative sign to denote DESC. Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AddressResource"}}}}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Leads"]},"post":{"summary":"Add an address to a lead","operationId":"postApiV1LeadsLead_uuidAddresses","description":"The first address on a lead becomes its primary automatically.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AddressResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm":{"summary":"Lead belongs to another firm","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"missing-fields":{"summary":"Missing fields","value":{"message":"The name field is required. (and 1 more error)","errors":{"name":["The name field is required."],"address_1":["The address 1 field is required."]}}}}}}}},"tags":["Leads"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_Addresses_StoreLeadAddressRequest"}}}}},"parameters":[{"in":"path","name":"lead_uuid","description":"The UUID of the lead.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/leads/{lead_uuid}/addresses/{uuid}":{"get":{"summary":"Get an address of a lead","operationId":"getApiV1LeadsLead_uuidAddressesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AddressResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm or the address to another lead","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm-or-the-address-to-another-lead":{"summary":"Lead belongs to another firm or the address to another lead","value":{"message":"Not Found"}}}}}}},"tags":["Leads"]},"put":{"summary":"Update an address of a lead","operationId":"putApiV1LeadsLead_uuidAddressesUuid","description":"`primary: true` makes the address the lead's primary; `primary: false` clears it when it is the primary.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_AddressResource"}}}},"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm or the address to another lead","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm-or-the-address-to-another-lead":{"summary":"Lead belongs to another firm or the address to another lead","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"blank-first-line":{"summary":"Blank first line","value":{"message":"The address 1 field is required.","errors":{"address_1":["The address 1 field is required."]}}}}}}}},"tags":["Leads"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Leads_Addresses_UpdateLeadAddressRequest"}}}}},"delete":{"summary":"Remove an address from a lead","operationId":"deleteApiV1LeadsLead_uuidAddressesUuid","description":"Detaches the address from the lead and soft deletes it only when no other lead or account is linked to it.\nRemoving the primary address promotes the oldest remaining address.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"403":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Lead belongs to another firm or the address to another lead","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"lead-belongs-to-another-firm-or-the-address-to-another-lead":{"summary":"Lead belongs to another firm or the address to another lead","value":{"message":"Not Found"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"promoted-lead":{"summary":"Promoted lead","value":{"message":"This lead has been promoted to a client and is locked."}},"archived-lead":{"summary":"Archived lead","value":{"message":"This lead is archived and cannot be changed."}},"disqualified-lead":{"summary":"Disqualified lead","value":{"message":"This lead is disqualified and cannot be changed."}}}}}}},"tags":["Leads"]},"parameters":[{"in":"path","name":"lead_uuid","description":"The UUID of the lead.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"The UUID of the address.","example":"6a6a176d-52bc-47f2-88c3-141d44059bcf","required":true,"schema":{"type":"string"}}]},"/api/v1/loa":{"post":{"summary":"Generate Letter of Authority","operationId":"postApiV1Loa","description":"Generates a Letter of Authority document for a client with the specified plans.\nGroups plans by provider and sends a separate LoA for each provider with only\nthat provider's policy numbers.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":{"transactions":[{"transaction_uuid":"abc123-def456-ghi789","provider":"Aviva","policy_numbers":"POL123, POL456"},{"transaction_uuid":"xyz789-abc123-def456","provider":"Legal \u0026 General","policy_numbers":"POL789"}]}},"properties":{"data":{"type":"object","properties":{"transactions":{"type":"array","example":[{"transaction_uuid":"abc123-def456-ghi789","provider":"Aviva","policy_numbers":"POL123, POL456"},{"transaction_uuid":"xyz789-abc123-def456","provider":"Legal \u0026 General","policy_numbers":"POL789"}],"items":{"type":"object","properties":{"transaction_uuid":{"type":"string","example":"abc123-def456-ghi789"},"provider":{"type":"string","example":"Aviva"},"policy_numbers":{"type":"string","example":"POL123, POL456"}}}}}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Letter of Authority"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"client_uuid":{"type":"string","description":"The UUID of the client.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"},"plan_uuids":{"type":"array","description":"Array of plan UUIDs to include in the LoA.","example":["6a6a176d-52bc-47f2-88c3-141d44059bcf"],"items":{"type":"string"}},"document_template_uuid":{"type":"string","description":"The UUID of the document template to use.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0"}},"required":["client_uuid","plan_uuids","document_template_uuid"]}}}}}},"/api/v1/account/{account_uuid}/login":{"get":{"summary":"Get all logins of an account.","operationId":"getApiV1AccountAccount_uuidLogin","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"created_at"}},{"in":"query","name":"per_page","description":"the amount of logs per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of logs per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_LoginResource"}}}}}}}},"tags":["Logins"]},"post":{"summary":"Create a login","operationId":"postApiV1AccountAccount_uuidLogin","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LoginResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Logins"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Login_StoreLoginRequest"}}}}},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"account","description":"The uuid of the account which the login belongs to.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/login/{uuid}":{"put":{"summary":"Update a login","operationId":"putApiV1AccountAccount_uuidLoginUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LoginResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Logins"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Login_UpdateLoginRequest"}}}}},"delete":{"summary":"Revoke a login","operationId":"deleteApiV1AccountAccount_uuidLoginUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Logins"]},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"account","description":"The uuid of the account which the login belongs to.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}},{"in":"path","name":"login","description":"The uuid of the login to display.","example":"72c44fe4-2323-49dc-ab10-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/login/{login_uuid}/expire":{"post":{"summary":"Expire a login","operationId":"postApiV1AccountAccount_uuidLoginLogin_uuidExpire","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LoginResource"}}}}},"tags":["Logins"]},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"login_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/account/{account_uuid}/login/{login_uuid}/make-primary":{"post":{"summary":"Make a login the primary for the account","operationId":"postApiV1AccountAccount_uuidLoginLogin_uuidMakePrimary","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_LoginResource"}}}}},"tags":["Logins"]},"parameters":[{"in":"path","name":"account_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"login_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"account","description":"The uuid of the account which the login belongs to.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}},{"in":"path","name":"login","description":"The uuid of the login to display.","example":"72c44fe4-2323-49dc-ab10-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/employee/{employee}/logs":{"get":{"summary":"Get logs authored by another account","operationId":"getApiV1EmployeeEmployeeLogs","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Filter log type.","example":"generic","required":false,"schema":{"type":"string","description":"Filter log type.","example":"generic"}},{"in":"query","name":"filter[level]","description":"Filter log level.","example":"info","required":false,"schema":{"type":"string","description":"Filter log level.","example":"info"}},{"in":"query","name":"filter[modelable_type]","description":"Filter logs by modelable type.","example":"client","required":false,"schema":{"type":"string","description":"Filter logs by modelable type.","example":"client"}},{"in":"query","name":"filter[modelable_uuid]","description":"Filter logs by the modelable's UUID (requires filter[modelable_type]).","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter logs by the modelable's UUID (requires filter[modelable_type]).","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"created_at"}},{"in":"query","name":"per_page","description":"the amount of logs per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of logs per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-CURSOR-PAGINATION","description":"","example":"true","schema":{"type":"string"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_LogResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Logs"]},"parameters":[{"in":"path","name":"employee","description":"The employee.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/logs/{modelType}/{modelUuid}":{"get":{"summary":"Get all logs for a model","operationId":"getApiV1LogsModelTypeModelUuid","description":"Supports cursor pagination: send the `X-PLANNR-CURSOR-PAGINATION: true` header when iterating a large log set.\nIn cursor mode `meta.total` and `meta.last_page` are not returned; follow `links.next` until it is `null`.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Filter log type.","example":"generic","required":false,"schema":{"type":"string","description":"Filter log type.","example":"generic"}},{"in":"query","name":"filter[level]","description":"Filter log level.","example":"info","required":false,"schema":{"type":"string","description":"Filter log level.","example":"info"}},{"in":"query","name":"filter[modelable_type]","description":"Filter logs by modelable type.","example":"client","required":false,"schema":{"type":"string","description":"Filter logs by modelable type.","example":"client"}},{"in":"query","name":"filter[modelable_uuid]","description":"Filter logs by the modelable's UUID (requires filter[modelable_type]).","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter logs by the modelable's UUID (requires filter[modelable_type]).","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"created_at"}},{"in":"query","name":"per_page","description":"the amount of logs per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of logs per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-CURSOR-PAGINATION","description":"","example":"true","schema":{"type":"string"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_LogResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Logs"]},"parameters":[{"in":"path","name":"modelType","description":"The type of model to get logs for","example":"architecto","required":true,"schema":{"type":"string"}},{"in":"path","name":"modelUuid","description":"UUID of the model to get logs for","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/me/logs":{"get":{"summary":"Get all logs created by Authenticated Account","operationId":"getApiV1MeLogs","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Filter log type.","example":"generic","required":false,"schema":{"type":"string","description":"Filter log type.","example":"generic"}},{"in":"query","name":"filter[level]","description":"Filter log level.","example":"info","required":false,"schema":{"type":"string","description":"Filter log level.","example":"info"}},{"in":"query","name":"filter[modelable_type]","description":"Filter logs by modelable type.","example":"client","required":false,"schema":{"type":"string","description":"Filter logs by modelable type.","example":"client"}},{"in":"query","name":"filter[modelable_uuid]","description":"Filter logs by the modelable's UUID (requires filter[modelable_type]).","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter logs by the modelable's UUID (requires filter[modelable_type]).","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"created_at"}},{"in":"query","name":"per_page","description":"the amount of logs per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"the amount of logs per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-CURSOR-PAGINATION","description":"","example":"true","schema":{"type":"string"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_LogResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Logs"]}},"/api/v1/lookups":{"get":{"summary":"Get all lookups","operationId":"getApiV1Lookups","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[types]","description":"Filter by a comma separated list of lookup types.","example":"provider_statement_mapping,statement_transaction_autoreconciling","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of lookup types.","example":"provider_statement_mapping,statement_transaction_autoreconciling"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_LookupResource"}}}}}}}},"tags":["Lookups"]}},"/api/v1/lookups/{uuid}":{"delete":{"summary":"Delete a lookup","operationId":"deleteApiV1LookupsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Lookups"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/lookups/{type}/{lookup}":{"get":{"summary":"Retrieve a lookup","operationId":"getApiV1LookupsTypeLookup","description":"Try to find a Lookup value for a specific type.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_LookupResource"}}}}}}}},"tags":["Lookups"]},"parameters":[{"in":"path","name":"type","description":"","example":"provider_statement_mapping","required":true,"schema":{"type":"string"}},{"in":"path","name":"lookup","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/mailboxes":{"get":{"summary":"Display a list of mailboxes for the current firm.","operationId":"getApiV1Mailboxes","description":"Normal employees can only see their own mailboxes.\nOwners and Senior Employees can see all mailboxes.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_MailboxResource"}}}}}}}},"tags":["Mailboxes"]},"post":{"summary":"Store a new mailbox for the current firm\nand return the form link to authenticate the mailbox.","operationId":"postApiV1Mailboxes","description":"","parameters":[{"in":"query","name":"type","description":"The type of mailbox to create. Possible values are: imap, gmail and outlook","example":"architecto","required":false,"schema":{"type":"string","description":"The type of mailbox to create. Possible values are: imap, gmail and outlook","example":"architecto"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Mailboxes"]}},"/api/v1/mailboxes/{uuid}":{"put":{"summary":"Update the specified mailbox.","operationId":"putApiV1MailboxesUuid","description":"If the mailbox is disabled, we will disable the IMAP connection,\nwhich will stop webhooks being received for new messages.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MailboxResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Mailboxes"]},"delete":{"summary":"Remove the specified mailbox.","operationId":"deleteApiV1MailboxesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Mailboxes"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/mailboxes/{mailbox_uuid}/folders":{"get":{"summary":"Display the mailbox folders.","operationId":"getApiV1MailboxesMailbox_uuidFolders","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Mailboxes"]},"parameters":[{"in":"path","name":"mailbox_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/mailboxes/{mailbox_uuid}/reauthenticate":{"get":{"summary":"Re-authenticate a mailbox.","operationId":"getApiV1MailboxesMailbox_uuidReauthenticate","description":"This will return the form link to authenticate the mailbox.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Mailboxes"]},"parameters":[{"in":"path","name":"mailbox_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/mailboxes/message/{uuid}":{"get":{"summary":"Display the specified email.","operationId":"getApiV1MailboxesMessageUuid","description":"","parameters":[{"in":"query","name":"per_page","description":"Number of ancestor/descendant messages to return per page (Default 25. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of ancestor/descendant messages to return per page (Default 25. Max 500).","example":50}},{"in":"query","name":"page[ancestors]","description":"Page number for ancestor messages.","example":2,"required":false,"schema":{"type":"integer","description":"Page number for ancestor messages.","example":2}},{"in":"query","name":"page[descendants]","description":"Page number for descendant messages.","example":3,"required":false,"schema":{"type":"integer","description":"Page number for descendant messages.","example":3}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MailboxMessageResource"}}}}},"tags":["Mailboxes"]},"delete":{"summary":"Delete the specified mailbox message.","operationId":"deleteApiV1MailboxesMessageUuid","description":"","parameters":[{"in":"query","name":"include_descendants","description":"If true, deletes descendant messages as well. Defaults to false.","example":false,"required":false,"schema":{"type":"boolean","description":"If true, deletes descendant messages as well. Defaults to false.","example":false}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Mailboxes"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/mailboxes/message/{message_uuid}/thread":{"delete":{"summary":"Delete the specified mailbox message thread.","operationId":"deleteApiV1MailboxesMessageMessage_uuidThread","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Mailboxes"]},"parameters":[{"in":"path","name":"message_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/direct-debit-mandates":{"get":{"summary":"Get all firm's direct debit mandates","operationId":"getApiV2DirectDebitMandates","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[created_date]","description":"Filter by created date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[created_date]=\u003e=2023-01-01,\u003c=2023-08-01","required":false,"schema":{"type":"string","description":"Filter by created date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[created_date]=\u003e=2023-01-01,\u003c=2023-08-01"}},{"in":"query","name":"filter[updated_date]","description":"Filter by last updated date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[updated_date]=\u003e=2023-01-01,\u003c=2023-08-01","required":false,"schema":{"type":"string","description":"Filter by last updated date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[updated_date]=\u003e=2023-01-01,\u003c=2023-08-01"}},{"in":"query","name":"filter[completed_date]","description":"Filter by completed date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[generated_date]=\u003e=2023-01-01,\u003c=2023-08-01","required":false,"schema":{"type":"string","description":"Filter by completed date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[generated_date]=\u003e=2023-01-01,\u003c=2023-08-01"}},{"in":"query","name":"filter[is_completed]","description":"affects whether to include direct debit mandates based on the completed state. Valid options are \"exclude\", \"include\", \"only\". (default: \"include\")","example":"architecto","required":false,"schema":{"type":"string","description":"affects whether to include direct debit mandates based on the completed state. Valid options are \"exclude\", \"include\", \"only\". (default: \"include\")","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, completed_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, completed_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_DirectDebitMandateResource"}}}}}}}},"tags":["Model"]}},"/api/v2/direct-debit-mandates/{uuid}":{"get":{"summary":"Get a single direct debit mandate","operationId":"getApiV2DirectDebitMandatesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_DirectDebitMandateResource"}}}}},"tags":["Model"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"direct_debit_mandate","description":"The uuid of the direct debit mandate to show.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v2/direct-debit-mandates/{direct_debit_mandate_uuid}/view":{"get":{"summary":"Get a single direct debit mandate view","operationId":"getApiV2DirectDebitMandatesDirect_debit_mandate_uuidView","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Model"]},"parameters":[{"in":"path","name":"direct_debit_mandate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"direct_debit_mandate","description":"The uuid of the direct debit mandate to show.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v2/direct-debit-mandates/{direct_debit_mandate_uuid}/complete":{"post":{"summary":"","operationId":"postApiV2DirectDebitMandatesDirect_debit_mandate_uuidComplete","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_DirectDebitMandateResource"}}}}},"tags":["Model"]},"parameters":[{"in":"path","name":"direct_debit_mandate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"direct_debit_mandate","description":"The uuid of the direct debit mandate to show.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v1/options/custom-fields":{"get":{"summary":"Custom field models","operationId":"getApiV1OptionsCustomFields","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"0":"client","2":"case","3":"lead","4":"plan","5":"task"},"properties":{"0":{"type":"string","example":"client"},"2":{"type":"string","example":"case"},"3":{"type":"string","example":"lead"},"4":{"type":"string","example":"plan"},"5":{"type":"string","example":"task"}}}}}}},"tags":["Model Types"]}},"/api/v1/options/time-trackable":{"get":{"summary":"Time trackable models","operationId":"getApiV1OptionsTimeTrackable","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"example":["client","board_task","case","circle","firm","task"]}}}}},"tags":["Model Types"]}},"/api/v2/mortgage-searches":{"get":{"summary":"Get all mortgage searches","operationId":"getApiV2MortgageSearches","description":"This endpoint will return all mortgage searches in the firm.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs (through applicants).","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs (through applicants).","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[case_uuids]","description":"Filter by a comma separated list of case UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of case UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[status]","description":"Filter by status.","example":"pending","required":false,"schema":{"type":"string","description":"Filter by status.","example":"pending"}},{"in":"query","name":"filter[provider]","description":"Filter by provider.","example":"mortgage_brain","required":false,"schema":{"type":"string","description":"Filter by provider.","example":"mortgage_brain"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [applicants, cases].","example":"?include=applicants","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [applicants, cases].","example":"?include=applicants"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, status, provider]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, status, provider]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchResource"}}}}}}}},"tags":["Mortgage Searches (v2)"]}},"/api/v2/mortgage-searches/{uuid}":{"get":{"summary":"Get a mortgage search","operationId":"getApiV2MortgageSearchesUuid","description":"This endpoint will return a single mortgage search with its relationships.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchResource"}}}}},"tags":["Mortgage Searches (v2)"]},"put":{"summary":"Update a mortgage search","operationId":"putApiV2MortgageSearchesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Mortgage Searches (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_MortgageSearches_UpdateMortgageSearch"}}}}},"delete":{"summary":"Delete a mortgage search","operationId":"deleteApiV2MortgageSearchesUuid","description":"This endpoint will delete a mortgage search.\nOnly employees can delete mortgage searches.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Mortgage Searches (v2)"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/addons/mortgagebrain/ready":{"get":{"summary":"Determine if the authenticated account can use the MortgageBrain addon for sourcing.","operationId":"getApiV1AddonsMortgagebrainReady","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Mortgage Sourcing"]}},"/api/v1/addons/mortgagebrain/mortgage-search":{"post":{"summary":"Create a mortgage search with the Mortgage Brain provider","operationId":"postApiV1AddonsMortgagebrainMortgageSearch","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_MortgageSearchResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Mortgage Sourcing"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_MortgageBrain_StoreMortgageSearchRequest"}}}}}},"/api/v2/networth":{"get":{"summary":"Get net worth","operationId":"getApiV2Networth","description":"Returns the total net worth of the plans that would be returned in the /v2/plans endpoint, broken down in to abstract types and types.","parameters":[{"in":"query","name":"date","description":"Date in format Y-m-d to get the net worth at the date. Defaults to current date if not provided.","example":"2025-07-11","required":false,"schema":{"type":"string","description":"Date in format Y-m-d to get the net worth at the date. Defaults to current date if not provided.","example":"2025-07-11"}},{"in":"query","name":"include_circle_plans","description":"When authenticated as a client, you can opt to include other plans belonging to members of circles the authenticated client is a member of as long as they have the correct circle circle login access level to do so.","example":true,"required":false,"schema":{"type":"boolean","description":"When authenticated as a client, you can opt to include other plans belonging to members of circles the authenticated client is a member of as long as they have the correct circle circle login access level to do so.","example":true}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, cases, tags, sub_accounts, wrap, wrap_children, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].","example":"?include=accounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts, cases, tags, sub_accounts, wrap, wrap_children, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].","example":"?include=accounts"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[abstract_type]","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection","required":false,"schema":{"type":"string","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection"}},{"in":"query","name":"filter[type]","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash","required":false,"schema":{"type":"string","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash"}},{"in":"query","name":"filter[sub_type]","description":"Comma separated list of sub types.","example":"national_savings,term_protection.","required":false,"schema":{"type":"string","description":"Comma separated list of sub types.","example":"national_savings,term_protection."}},{"in":"query","name":"filter[name]","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage","required":false,"schema":{"type":"string","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage"}},{"in":"query","name":"filter[account_uuids]","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[exact_account_uuids]","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636","required":false,"schema":{"type":"string","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[policy_number]","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834","required":false,"schema":{"type":"string","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834"}},{"in":"query","name":"filter[provider_uuids]","description":"Comma separated list of provider provider UUIDs to search against.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b,2a43f1dc-53af-5ba2-aee7-fdc6b65f86d2","required":false,"schema":{"type":"string","description":"Comma separated list of provider provider UUIDs to search against.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b,2a43f1dc-53af-5ba2-aee7-fdc6b65f86d2"}},{"in":"query","name":"filter[status]","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto"}},{"in":"query","name":"filter[seller_uuids]","description":"Comma separated list of adviser UUIDs of who sold the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5","required":false,"schema":{"type":"string","description":"Comma separated list of adviser UUIDs of who sold the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5"}},{"in":"query","name":"filter[active_adviser_uuids]","description":"Comma separated list of adviser UUIDs of who is actively managing the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5","required":false,"schema":{"type":"string","description":"Comma separated list of adviser UUIDs of who is actively managing the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5"}},{"in":"query","name":"filter[case_uuids]","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078","required":false,"schema":{"type":"string","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078"}},{"in":"query","name":"filter[valuation_from]","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000}},{"in":"query","name":"filter[valuation_to]","description":"Amount in pennies to filter where latest valuation is less than.","example":5000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is less than.","example":5000}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[is_wrap_product]","description":"filter the plans by if they are a wrap product","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they are a wrap product","example":true}},{"in":"query","name":"filter[hide_wrap_children]","description":"Used to hide the wrap children from the primary list of plans.","example":true,"required":false,"schema":{"type":"boolean","description":"Used to hide the wrap children from the primary list of plans.","example":true}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_NetworthResource"}}}}},"tags":["Networth"]}},"/api/v2/networth/line-graph":{"get":{"summary":"Get net worth line graph","operationId":"getApiV2NetworthLineGraph","description":"Returns the net worth as a line graph of the plans that would be returned in the /v2/plans endpoint.","parameters":[{"in":"query","name":"date_after","description":"Date in format Y-m-d to start the net worth line graph at the date.","example":"architecto","required":false,"schema":{"type":"string","description":"Date in format Y-m-d to start the net worth line graph at the date.","example":"architecto"}},{"in":"query","name":"date_before","description":"Date in format Y-m-d to end the the net worth at the date. Defaults to current date if not provided.","example":"2025-07-11","required":false,"schema":{"type":"string","description":"Date in format Y-m-d to end the the net worth at the date. Defaults to current date if not provided.","example":"2025-07-11"}},{"in":"query","name":"include_circle_plans","description":"When authenticated as a client, you can opt to include other plans belonging to members of circles the authenticated client is a member of as long as they have the correct circle circle login access level to do so.","example":true,"required":false,"schema":{"type":"boolean","description":"When authenticated as a client, you can opt to include other plans belonging to members of circles the authenticated client is a member of as long as they have the correct circle circle login access level to do so.","example":true}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[abstract_type]","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection","required":false,"schema":{"type":"string","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection"}},{"in":"query","name":"filter[type]","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash","required":false,"schema":{"type":"string","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash"}},{"in":"query","name":"filter[sub_type]","description":"Comma separated list of sub types.","example":"national_savings,term_protection.","required":false,"schema":{"type":"string","description":"Comma separated list of sub types.","example":"national_savings,term_protection."}},{"in":"query","name":"filter[name]","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage","required":false,"schema":{"type":"string","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage"}},{"in":"query","name":"filter[account_uuids]","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[exact_account_uuids]","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636","required":false,"schema":{"type":"string","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[policy_number]","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834","required":false,"schema":{"type":"string","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834"}},{"in":"query","name":"filter[provider_uuids]","description":"Comma separated list of provider provider UUIDs to search against.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b,2a43f1dc-53af-5ba2-aee7-fdc6b65f86d2","required":false,"schema":{"type":"string","description":"Comma separated list of provider provider UUIDs to search against.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b,2a43f1dc-53af-5ba2-aee7-fdc6b65f86d2"}},{"in":"query","name":"filter[status]","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto"}},{"in":"query","name":"filter[seller_uuids]","description":"Comma separated list of adviser UUIDs of who sold the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5","required":false,"schema":{"type":"string","description":"Comma separated list of adviser UUIDs of who sold the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5"}},{"in":"query","name":"filter[active_adviser_uuids]","description":"Comma separated list of adviser UUIDs of who is actively managing the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5","required":false,"schema":{"type":"string","description":"Comma separated list of adviser UUIDs of who is actively managing the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5"}},{"in":"query","name":"filter[case_uuids]","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078","required":false,"schema":{"type":"string","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078"}},{"in":"query","name":"filter[valuation_from]","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000}},{"in":"query","name":"filter[valuation_to]","description":"Amount in pennies to filter where latest valuation is less than.","example":5000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is less than.","example":5000}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[is_wrap_product]","description":"filter the plans by if they are a wrap product","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they are a wrap product","example":true}},{"in":"query","name":"filter[hide_wrap_children]","description":"Used to hide the wrap children from the primary list of plans.","example":true,"required":false,"schema":{"type":"boolean","description":"Used to hide the wrap children from the primary list of plans.","example":true}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_NetworthResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Networth"]}},"/api/v1/new-business-event":{"get":{"summary":"Get all new business events","operationId":"getApiV1NewBusinessEvent","description":"This endpoint will return all new business events in the firm relevant to the user accessing them.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[group_uuids]","description":"Filter by a comma separated list of group UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of group UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[plan_uuids]","description":"Filter by a comma separated list of plan UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of plan UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[case_uuids]","description":"Filter by a comma separated list of case UUIDs.","example":"3c96a26c-4ac3-4805-b1bb-cc08abd95469","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of case UUIDs.","example":"3c96a26c-4ac3-4805-b1bb-cc08abd95469"}},{"in":"query","name":"filter[adviser_uuids]","description":"Filter by a comma separated list of Adviser (account) UUIDs.","example":"3c96a26c-4ac3-4805-b1bb-cc08abd95469","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of Adviser (account) UUIDs.","example":"3c96a26c-4ac3-4805-b1bb-cc08abd95469"}},{"in":"query","name":"filter[existing_plan_uuids]","description":"Filter by a comma separated list of Existing Plan UUIDs.","example":"3c96a26c-4ac3-4805-b1bb-cc08abd95469","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of Existing Plan UUIDs.","example":"3c96a26c-4ac3-4805-b1bb-cc08abd95469"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"f7d32255-2db6-5112-987a-2b3e322c0a8e,d4d3b75d-88cd-5be9-852c-ddaceca98a86","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"f7d32255-2db6-5112-987a-2b3e322c0a8e,d4d3b75d-88cd-5be9-852c-ddaceca98a86"}},{"in":"query","name":"filter[type]","description":"Plan type to filter by.","example":"pension","required":false,"schema":{"type":"string","description":"Plan type to filter by.","example":"pension"}},{"in":"query","name":"filter[sub_type]","description":"Plan sub type to filter by.","example":"master_trust_pension","required":false,"schema":{"type":"string","description":"Plan sub type to filter by.","example":"master_trust_pension"}},{"in":"query","name":"filter[provider_uuid]","description":"Plan's provider UUID to filter by.","example":"c000d7ee-e4b5-4336-a8bd-991a1bf71b03","required":false,"schema":{"type":"string","description":"Plan's provider UUID to filter by.","example":"c000d7ee-e4b5-4336-a8bd-991a1bf71b03"}},{"in":"query","name":"filter[policy_number]","description":"Fuzzy search for plan policy number.","example":"123456","required":false,"schema":{"type":"string","description":"Fuzzy search for plan policy number.","example":"123456"}},{"in":"query","name":"filter[advice_type]","description":"Exact search for an advice type.","example":"direct_offer","required":false,"schema":{"type":"string","description":"Exact search for an advice type.","example":"direct_offer"}},{"in":"query","name":"filter[conducted_by]","description":"Exact search for how the advice was conducted.","example":"face_to_face","required":false,"schema":{"type":"string","description":"Exact search for how the advice was conducted.","example":"face_to_face"}},{"in":"query","name":"filter[status]","description":"Current status of the event.","example":"accepted","required":false,"schema":{"type":"string","description":"Current status of the event.","example":"accepted"}},{"in":"query","name":"filter[source_of_funds]","description":"Exact search for source of funds.","example":"savings","required":false,"schema":{"type":"string","description":"Exact search for source of funds.","example":"savings"}},{"in":"query","name":"filter[is_replacing_existing_plan]","description":"Whether the plan is replacing an existing plan.","example":true,"required":false,"schema":{"type":"boolean","description":"Whether the plan is replacing an existing plan.","example":true}},{"in":"query","name":"filter[opted_out_of_pension_scheme_for_plan]","description":"Whether the client opted out of pension scheme for the plan.","example":true,"required":false,"schema":{"type":"boolean","description":"Whether the client opted out of pension scheme for the plan.","example":true}},{"in":"query","name":"filter[date_from]","description":"Started after this date.","example":"2020-01-01","required":false,"schema":{"type":"string","description":"Started after this date.","example":"2020-01-01"}},{"in":"query","name":"filter[date_to]","description":"Started before this date.","example":"2020-12-31","required":false,"schema":{"type":"string","description":"Started before this date.","example":"2020-12-31"}},{"in":"query","name":"filter[proposed_date_from]","description":"Proposed after this date.","example":"2020-01-01","required":false,"schema":{"type":"string","description":"Proposed after this date.","example":"2020-01-01"}},{"in":"query","name":"filter[proposed_date_to]","description":"Proposed before this date.","example":"2020-12-31","required":false,"schema":{"type":"string","description":"Proposed before this date.","example":"2020-12-31"}},{"in":"query","name":"filter[created_from]","description":"Created after this date.","example":"2020-01-01","required":false,"schema":{"type":"string","description":"Created after this date.","example":"2020-01-01"}},{"in":"query","name":"filter[created_to]","description":"Created before this date.","example":"2020-12-31","required":false,"schema":{"type":"string","description":"Created before this date.","example":"2020-12-31"}},{"in":"query","name":"filter[updated_from]","description":"Updated after this date.","example":"2020-01-01","required":false,"schema":{"type":"string","description":"Updated after this date.","example":"2020-01-01"}},{"in":"query","name":"filter[updated_to]","description":"Updated before this date.","example":"2020-12-31","required":false,"schema":{"type":"string","description":"Updated before this date.","example":"2020-12-31"}},{"in":"query","name":"filter[contribution_type]","description":"Exact search for the contribution type.","example":"decrement","required":false,"schema":{"type":"string","description":"Exact search for the contribution type.","example":"decrement"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [existing_plan].","example":"?include=existing_plan","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [existing_plan].","example":"?include=existing_plan"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [start_date, proposal_date, created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [start_date, proposal_date, created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_NewBusinessEventResource"}}}}}}}},"tags":["New Business Events"]},"post":{"summary":"Create a new business event","operationId":"postApiV1NewBusinessEvent","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_newBusinessEventResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["New Business Events"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_StoreNewBusinessEventRequest"}}}}}},"/api/v1/new-business-event/{newBusinessEvent_uuid}":{"get":{"summary":"Get a new business event","operationId":"getApiV1NewBusinessEventNewBusinessEvent_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_NewBusinessEventResource"}}}}},"tags":["New Business Events"]},"put":{"summary":"Update a new business event","operationId":"putApiV1NewBusinessEventNewBusinessEvent_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_newBusinessEventResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["New Business Events"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_UpdateNewBusinessEventRequest"}}}}},"delete":{"summary":"Delete a new business event","operationId":"deleteApiV1NewBusinessEventNewBusinessEvent_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["New Business Events"]},"parameters":[{"in":"path","name":"newBusinessEvent_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/all-notes":{"get":{"summary":"Get all notes for a client","operationId":"getApiV1ClientClient_uuidAllNotes","description":"Includes notes within a client's plans, cases, tasks and risks.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [tags, mentionedAccounts].","example":"?include=mentionedAccounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [tags, mentionedAccounts].","example":"?include=mentionedAccounts"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Note type to filter by.  Valid types are [call, note, meeting, email]","example":"architecto","required":false,"schema":{"type":"string","description":"Note type to filter by.  Valid types are [call, note, meeting, email]","example":"architecto"}},{"in":"query","name":"filter[date_from]","description":"Note created_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"Note created_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto"}},{"in":"query","name":"filter[date_to]","description":"Note created_at date to filter to from a specific date, can be used with date_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"Note created_at date to filter to from a specific date, can be used with date_from for a range.","example":"architecto"}},{"in":"query","name":"filter[contents]","description":"Filter notes by a string to see if it's contents contains that string.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a string to see if it's contents contains that string.","example":"architecto"}},{"in":"query","name":"filter[path]","description":"Filter notes by a string to see if the path contains that string.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a string to see if the path contains that string.","example":"architecto"}},{"in":"query","name":"filter[path_exact]","description":"Filter notes by a string to see if the path is that string.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a string to see if the path is that string.","example":"architecto"}},{"in":"query","name":"filter[notable_type]","description":"Filter notes by a specific notable model. Valid types are: client, plan, case, task, risk.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a specific notable model. Valid types are: client, plan, case, task, risk.","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_NoteResource"}}}}}}}},"tags":["Notes"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/note":{"post":{"summary":"Create a note","operationId":"postApiV1Note","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Notes"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Note_StoreNoteRequest"}}}}}},"/api/v1/note/{uuid}":{"get":{"summary":"Get a note","operationId":"getApiV1NoteUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Notes"]},"put":{"summary":"Update a note","operationId":"putApiV1NoteUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Notes"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Note_UpdateNoteRequest"}}}}},"delete":{"summary":"Delete a note","operationId":"deleteApiV1NoteUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Notes"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/note/{notableType}/{notableUuid}":{"get":{"summary":"Get all notes","operationId":"getApiV1NoteNotableTypeNotableUuid","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [tags, mentionedAccounts,notable].","example":"?include=mentionedAccounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [tags, mentionedAccounts,notable].","example":"?include=mentionedAccounts"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Note type to filter by.  Valid types are [call, note, meeting, email]","example":"architecto","required":false,"schema":{"type":"string","description":"Note type to filter by.  Valid types are [call, note, meeting, email]","example":"architecto"}},{"in":"query","name":"filter[date_from]","description":"Note created_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"Note created_at date to filter from a specific date, can be used with date_to for a range.","example":"architecto"}},{"in":"query","name":"filter[date_to]","description":"Note created_at date to filter to from a specific date, can be used with date_from for a range.","example":"architecto","required":false,"schema":{"type":"string","description":"Note created_at date to filter to from a specific date, can be used with date_from for a range.","example":"architecto"}},{"in":"query","name":"filter[contents]","description":"Filter notes by a string to see if it's contents contains that string.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a string to see if it's contents contains that string.","example":"architecto"}},{"in":"query","name":"filter[path]","description":"Filter notes by a string to see if the path contains that string.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a string to see if the path contains that string.","example":"architecto"}},{"in":"query","name":"filter[path_exact]","description":"Filter notes by a string to see if the path is that string.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter notes by a string to see if the path is that string.","example":"architecto"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_NoteResource"}}}}}}}},"tags":["Notes"]},"parameters":[{"in":"path","name":"notableType","description":"","example":"architecto","required":true,"schema":{"type":"string"}},{"in":"path","name":"notableUuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"notable_type","description":"Optional parameter. The type of model to look for. Make sure it is a valid model type that can have notes. Valid types are: ['account', 'board_task', 'case', 'conversation', 'illustration', 'lead'] .","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"case"}}},{"in":"path","name":"notable_uuid","description":"Optional parameter. The UUID of the notable model.","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"6ff8f7f6-1eb3-3525-be4a-3932c805afed"}}}]},"/api/v1/notifications/subscribe/{subscribeableType}/{subscribeableUuid}":{"post":{"summary":"Subscribe to an item's notifications","operationId":"postApiV1NotificationsSubscribeSubscribeableTypeSubscribeableUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_SubscribeableResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Notifications"]},"parameters":[{"in":"path","name":"subscribeableType","description":"Optional parameter. the model type","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}},{"in":"path","name":"subscribeableUuid","description":"Optional parameter. the model uuid","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"6ff8f7f6-1eb3-3525-be4a-3932c805afed"}}}]},"/api/v1/notifications/unsubscribe/{subscribeableType}/{subscribeableUuid}":{"post":{"summary":"Unsubscribe from an item's notifications","operationId":"postApiV1NotificationsUnsubscribeSubscribeableTypeSubscribeableUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Notifications"]},"parameters":[{"in":"path","name":"subscribeableType","description":"Optional parameter. the model type","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}},{"in":"path","name":"subscribeableUuid","description":"Optional parameter. the model uuid","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"6ff8f7f6-1eb3-3525-be4a-3932c805afed"}}}]},"/api/v1/notifications/read-all":{"post":{"summary":"Mark all notification as read","operationId":"postApiV1NotificationsReadAll","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Notifications"]}},"/api/v1/notifications/read/{notification_id}":{"post":{"summary":"Mark a notification as read","operationId":"postApiV1NotificationsReadNotification_id","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Notifications"]},"parameters":[{"in":"path","name":"notification_id","description":"The ID of the notification.","example":"architecto","required":true,"schema":{"type":"string"}},{"in":"path","name":"notification","description":"Optional parameter. the id of the notification to mark as read","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v1/notifications/unread/{notification_id}":{"post":{"summary":"Mark a notification as unread","operationId":"postApiV1NotificationsUnreadNotification_id","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Notifications"]},"parameters":[{"in":"path","name":"notification_id","description":"The ID of the notification.","example":"architecto","required":true,"schema":{"type":"string"}},{"in":"path","name":"notification","description":"Optional parameter. the id of the notification to mark as unread","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v1/notifications":{"get":{"summary":"Get all notifications","operationId":"getApiV1Notifications","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[read]","description":"Filter notifications by if they have been marked as read or not. leave blank to get both read and unread notifications","example":false,"required":false,"schema":{"type":"boolean","description":"Filter notifications by if they have been marked as read or not. leave blank to get both read and unread notifications","example":false}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","example":"a8447377-81fb-421e-99be-2bd83c0d9e1e","description":"Notification UUID"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"Timestamp of when the notification was created"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"Timestamp of when the notification was updated"},"read_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"Timestamp of when the notification was read"},"data":{"description":"array of data that was sent on the notification","allOf":[{"$ref":"#/components/schemas/App_Http_Resources_NotificationResource"}]},"type":{"type":"string","example":"App/Notifications/AppNotification","description":"type of notification sent"},"notifiable":{"type":"object","properties":{"uuid":{"type":"string","example":"cb9a5718-ad9a-47b2-a7d1-04441ce1716a"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"the notifiable model to notification is attached to, in most cases an Account"},"triggered_by":{"type":"object","properties":{"uuid":{"type":"string","example":"f3569e46-32de-4ddc-8253-9af5f13ddac8"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"the account that triggered this notification"}}}}}}},"tags":["Notifications"]}},"/api/v1/notifications/{id}":{"get":{"summary":"Get a notification","operationId":"getApiV1NotificationsId","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"uuid":{"type":"string","example":"2e0d525f-4d01-478e-b3a4-11ee5b5ba2cb","description":"Notification UUID"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"Timestamp of when the notification was created"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"Timestamp of when the notification was updated"},"read_at":{"type":"string","example":"2026-11-18T20:11:42+00:00","description":"Timestamp of when the notification was read"},"data":{"description":"array of data that was sent on the notification","allOf":[{"$ref":"#/components/schemas/App_Http_Resources_NotificationResource"}]},"type":{"type":"string","example":"App/Notifications/AppNotification","description":"type of notification sent"},"notifiable":{"type":"object","properties":{"uuid":{"type":"string","example":"1a1cf6e8-66fa-44c3-95cf-e4375cc7eeba"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"the notifiable model to notification is attached to, in most cases an Account"},"triggered_by":{"type":"object","properties":{"uuid":{"type":"string","example":"38ba4e70-2881-4ff9-9241-be1fdd322a08"},"created_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"updated_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"type":{"type":"string","example":"client"},"role":{"type":"string","example":"client"},"first_name":{"type":"string","example":"Gareth"},"last_name":{"type":"string","example":"Thompson"},"name":{"type":"string","example":"Gareth Thompson"},"email":{"type":"string","example":"gareth@codepotato.co.uk"},"photo_url":{"type":"string","example":"https://eu.ui-avatars.com/api/?name=gareth+thompson"},"firm":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_FirmResource_Summary"}]},"primary_phone_number":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"primary_email":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ContactDetailResource_Summary"}]},"current_time_entry":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource_Summary"}]},"assigned_adviser":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_administrator":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"assigned_paraplanner":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"introduced_by":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"business_unit":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_BusinessUnitResource_Summary"}]},"groups":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_GroupResource_Summary"}]},"tags":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_TagResource_Summary"}]},"marketing_consent":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_MarketingConsentStatusesResource_Summary"}]},"owners":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_AccountResource_Summary"}]},"first_contact_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"next_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"previous_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"anniversary_review_date":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"terms_of_business_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"client_agreement_at":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"with_login":{"type":"boolean","example":true},"has_joint_account":{"type":"boolean","example":true},"can_be_deleted":{"type":"string","example":"false"},"joint_account_circle":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"circles":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CircleResource_Summary"}]},"ownership_percentage":{"type":"integer","example":100},"inactive_at":{"type":"string","example":"2026-11-18"},"last_interaction_at":{"type":"string","example":"2026-11-18 20:11:42"},"referral_code":{"type":"string","example":"ABC12345"},"is_out_of_office":{"type":"boolean","example":true},"out_of_office_from":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_until":{"type":"string","example":"2026-11-18T20:11:42+00:00"},"out_of_office_message":{"type":"string","example":"I am away this week. For urgent matters please contact the office."},"service_level":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource_Summary"}]},"is_pending_fact_find_account":{"type":"boolean","example":false},"permissions":{"type":"object","properties":{"firm:read":{"type":"array","example":["firm"],"items":{"type":"string"}},"network:read":{"type":"array","example":["network:uuid"],"items":{"type":"string"}}}},"managed_by_head_office":{"type":"boolean","example":false},"custom_fields":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_CustomFieldValueResource_Summary"}]},"external_references":{"allOf":[{"$ref":"#/components/schemas/App_Http_Resources_ExternalReferenceResource_Summary"}]}},"description":"the account that triggered this notification"}}}}}}},"tags":["Notifications"]},"delete":{"summary":"Permanently delete a notification","operationId":"deleteApiV1NotificationsId","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Notifications"]},"parameters":[{"in":"path","name":"id","description":"The ID of the notification.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/oauth/providers":{"get":{"summary":"List all the available OAuth2 providers","operationId":"getApiV1OauthProviders","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_OAuth_OAuthProviderResource"}}}}}}}},"tags":["OAuth2 Connections (External Only)"]}},"/api/v1/oauth/connections":{"get":{"summary":"List all OAuth2 connections","operationId":"getApiV1OauthConnections","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_OAuth_OAuthConnectionResource"}}}}}}}},"tags":["OAuth2 Connections (External Only)"]}},"/api/v1/oauth/connections/{oauthConnection_uuid}":{"put":{"summary":"Update an OAuth2 connection","operationId":"putApiV1OauthConnectionsOauthConnection_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_OAuth_OAuthConnectionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["OAuth2 Connections (External Only)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_OAuth2_UpdateOAuthConnectionRequest"}}}}},"delete":{"summary":"Delete an OAuth2 connection","operationId":"deleteApiV1OauthConnectionsOauthConnection_uuid","description":"This will remove the connection entirely between the account and the third party.\nPlease be cautious using this API endpoint as it can potentially damage the\nreliability of addons that depend on the connection.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["OAuth2 Connections (External Only)"]},"parameters":[{"in":"path","name":"oauthConnection_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/plans/{plan_uuid}/returns":{"get":{"summary":"Calculate returns for a plan within a date range","operationId":"getApiV2PlansPlan_uuidReturns","description":"\u003caside class=\"notice\"\u003e\n\u003cstrong\u003eFeature Required:\u003c/strong\u003e The Performance Reporting feature must be enabled for your firm to access this endpoint.\nContact support if you need this feature enabled.\n\u003c/aside\u003e","parameters":[{"in":"query","name":"filter[date_from]","description":"Date to filter the start of the calculations.","example":"2025-08-15","required":false,"schema":{"type":"string","description":"Date to filter the start of the calculations.","example":"2025-08-15"}},{"in":"query","name":"filter[date_to]","description":"Date to filter the start of the calculations.","example":"2025-08-30","required":false,"schema":{"type":"string","description":"Date to filter the start of the calculations.","example":"2025-08-30"}},{"in":"query","name":"includePlan","description":"Include plan data with valuations and transactions.","example":true,"required":false,"schema":{"type":"boolean","description":"Include plan data with valuations and transactions.","example":true}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_PlanReturnResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plan Returns"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans":{"get":{"summary":"Get all plans","operationId":"getApiV1Plans","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [fields, client, cases, tags, sub_accounts, latest_valuations, latest_valuations.sub_account, wrap, wrap_children, wrap_children.latest_valuations, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].","example":"?include=fields,latest_valuations","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [fields, client, cases, tags, sub_accounts, latest_valuations, latest_valuations.sub_account, wrap, wrap_children, wrap_children.latest_valuations, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].","example":"?include=fields,latest_valuations"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[abstract_type]","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection","required":false,"schema":{"type":"string","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection"}},{"in":"query","name":"filter[type]","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash","required":false,"schema":{"type":"string","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash"}},{"in":"query","name":"filter[name]","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage","required":false,"schema":{"type":"string","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage"}},{"in":"query","name":"filter[client]","description":"Comma separated list of client names to search against, can include partial matches.","example":"Thompson,Gar","required":false,"schema":{"type":"string","description":"Comma separated list of client names to search against, can include partial matches.","example":"Thompson,Gar"}},{"in":"query","name":"filter[account_uuids]","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[exact_account_uuids]","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636","required":false,"schema":{"type":"string","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[policy_number]","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834","required":false,"schema":{"type":"string","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834"}},{"in":"query","name":"filter[provider]","description":"Comma separated list of provider names or provider UUIDs to search against, can include partial matches.","example":"Nationwide","required":false,"schema":{"type":"string","description":"Comma separated list of provider names or provider UUIDs to search against, can include partial matches.","example":"Nationwide"}},{"in":"query","name":"filter[status]","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto"}},{"in":"query","name":"filter[seller]","description":"Comma separated list of adviser names or adviser UUIDs of who sold the plan to search against, can include partial matches.","example":"Thompson,Gar","required":false,"schema":{"type":"string","description":"Comma separated list of adviser names or adviser UUIDs of who sold the plan to search against, can include partial matches.","example":"Thompson,Gar"}},{"in":"query","name":"filter[active_adviser]","description":"Comma separated list of adviser names or adviser UUIDs of who is actively managing the plan to search against, can include partial matches.","example":"Thompson,Gar","required":false,"schema":{"type":"string","description":"Comma separated list of adviser names or adviser UUIDs of who is actively managing the plan to search against, can include partial matches.","example":"Thompson,Gar"}},{"in":"query","name":"filter[client_adviser_uuids]","description":"Comma separated list of adviser UUIDs. Returns plans where any owner has one of these as their assigned adviser.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Comma separated list of adviser UUIDs. Returns plans where any owner has one of these as their assigned adviser.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[has_active_adviser]","description":"Filter plans by whether they have a current (not deleted) active adviser.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter plans by whether they have a current (not deleted) active adviser.","example":false}},{"in":"query","name":"filter[case]","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078","required":false,"schema":{"type":"string","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078"}},{"in":"query","name":"filter[valuation_from]","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000}},{"in":"query","name":"filter[valuation_to]","description":"Amount in pennies to filter where latest valuation is less than.","example":5000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is less than.","example":5000}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[is_wrap_product]","description":"filter the plans by if they are a wrap product","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they are a wrap product","example":true}},{"in":"query","name":"filter[agency_in_your_name]","description":"filter the plans by if they have agency in your name","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they have agency in your name","example":true}},{"in":"query","name":"filter[under_advice]","description":"filter the plans by if they are under advice","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they are under advice","example":true}},{"in":"query","name":"filter[hide_wrap_children]","description":"Used to hide the wrap children from the primary list of plans.","example":true,"required":false,"schema":{"type":"boolean","description":"Used to hide the wrap children from the primary list of plans.","example":true}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, type, value]. Negative sign to denote DESC. Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, type, value]. Negative sign to denote DESC. Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource"}}}}}}}},"tags":["Plans"]},"post":{"summary":"Create a plan","operationId":"postApiV1Plans","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plans"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StorePlanRequest"}}}}}},"/api/v1/plans/{uuid}":{"get":{"summary":"Get a plan","operationId":"getApiV1PlansUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource"}}}}},"tags":["Plans"]},"delete":{"summary":"Delete a plan.","operationId":"deleteApiV1PlansUuid","description":"Marks the plan as `is_deleting` and dispatches `PerformPlanDeletion`;\nthe actual cascade runs out-of-band so the request does not time out\non plans with large sub-account / holding trees. The plan stays\nvisible (with `is_deleting: true` on subsequent reads) until the\nbackground job completes, then disappears via soft-delete.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Plans"]},"put":{"summary":"Update a plan","operationId":"putApiV1PlansUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plans"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_UpdatePlanRequest"}}}}},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"plan","description":"The UUID of the plan","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/ownership":{"put":{"summary":"Update a plan's ownership without updating the rest of the plan","operationId":"putApiV1PlansPlan_uuidOwnership","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plans"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_UpdatePlanOwnershipRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"plan","description":"The UUID of the plan","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/reporting/valuations/{subAccount}":{"get":{"summary":"Get the valuations formatted for a graph","operationId":"getApiV1PlansPlan_uuidReportingValuationsSubAccount","description":"","parameters":[{"in":"query","name":"start_date","description":"date Optional date to constrain only valuations from this date. For example: ?start_date=2022-06-12","example":"architecto","required":false,"schema":{"type":"string","description":"date Optional date to constrain only valuations from this date. For example: ?start_date=2022-06-12","example":"architecto"}},{"in":"query","name":"end_date","description":"date Optional date to constrain only valuations up until this date. For example: ?end_date=2022-06-18","example":"architecto","required":false,"schema":{"type":"string","description":"date Optional date to constrain only valuations up until this date. For example: ?end_date=2022-06-18","example":"architecto"}},{"in":"query","name":"limit","description":"Optional limit to constrain the number of unique days returned","example":16,"required":false,"schema":{"type":"integer","description":"Optional limit to constrain the number of unique days returned","example":16}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationGraphResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plans"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_ShowValuationsGraphRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount","description":"Optional parameter.","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v1/plans/{plan_uuid}/new-business-events":{"get":{"summary":"Get all plan's new business events","operationId":"getApiV1PlansPlan_uuidNewBusinessEvents","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [fields, client, cases, tags, sub_accounts, latest_valuations, latest_valuations.sub_account, wrap, wrap_children, wrap_children.latest_valuations, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].","example":"?include=fields,latest_valuations","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [fields, client, cases, tags, sub_accounts, latest_valuations, latest_valuations.sub_account, wrap, wrap_children, wrap_children.latest_valuations, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].","example":"?include=fields,latest_valuations"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[type]","description":"Plan type to filter by.","example":"pension","required":false,"schema":{"type":"string","description":"Plan type to filter by.","example":"pension"}},{"in":"query","name":"filter[sub_type]","description":"Plan sub type to filter by.","example":"master_trust_pension","required":false,"schema":{"type":"string","description":"Plan sub type to filter by.","example":"master_trust_pension"}},{"in":"query","name":"filter[provider_uuid]","description":"Plan's provider UUID to filter by.","example":"c000d7ee-e4b5-4336-a8bd-991a1bf71b03","required":false,"schema":{"type":"string","description":"Plan's provider UUID to filter by.","example":"c000d7ee-e4b5-4336-a8bd-991a1bf71b03"}},{"in":"query","name":"filter[policy_number]","description":"Fuzzy search for plan policy number.","example":"123456","required":false,"schema":{"type":"string","description":"Fuzzy search for plan policy number.","example":"123456"}},{"in":"query","name":"filter[adviser_uuid]","description":"Adviser's UUID to filter by.","example":"3c96a26c-4ac3-4805-b1bb-cc08abd95469","required":false,"schema":{"type":"string","description":"Adviser's UUID to filter by.","example":"3c96a26c-4ac3-4805-b1bb-cc08abd95469"}},{"in":"query","name":"filter[advice_type]","description":"Exact search for an advice type.","example":"direct_offer","required":false,"schema":{"type":"string","description":"Exact search for an advice type.","example":"direct_offer"}},{"in":"query","name":"filter[conducted_by]","description":"Exact search for how the advice was conducted.","example":"face_to_face","required":false,"schema":{"type":"string","description":"Exact search for how the advice was conducted.","example":"face_to_face"}},{"in":"query","name":"filter[status]","description":"Current status of the event.","example":"accepted","required":false,"schema":{"type":"string","description":"Current status of the event.","example":"accepted"}},{"in":"query","name":"filter[source_of_funds]","description":"Exact search for source of funds.","example":"savings","required":false,"schema":{"type":"string","description":"Exact search for source of funds.","example":"savings"}},{"in":"query","name":"filter[is_replacing_existing_plan]","description":"Whether the plan is replacing an existing plan.","example":true,"required":false,"schema":{"type":"boolean","description":"Whether the plan is replacing an existing plan.","example":true}},{"in":"query","name":"filter[opted_out_of_pension_scheme_for_plan]","description":"Whether the client opted out of pension scheme for the plan.","example":true,"required":false,"schema":{"type":"boolean","description":"Whether the client opted out of pension scheme for the plan.","example":true}},{"in":"query","name":"filter[date_from]","description":"Started after this date.","example":"2020-01-01","required":false,"schema":{"type":"string","description":"Started after this date.","example":"2020-01-01"}},{"in":"query","name":"filter[date_to]","description":"Started before this date.","example":"2020-12-31","required":false,"schema":{"type":"string","description":"Started before this date.","example":"2020-12-31"}},{"in":"query","name":"filter[proposed_date_from]","description":"Proposed after this date.","example":"2020-01-01","required":false,"schema":{"type":"string","description":"Proposed after this date.","example":"2020-01-01"}},{"in":"query","name":"filter[proposed_date_to]","description":"Proposed before this date.","example":"2020-12-31","required":false,"schema":{"type":"string","description":"Proposed before this date.","example":"2020-12-31"}},{"in":"query","name":"filter[contribution_type]","description":"Exact search for the contribution type.","example":"decrement","required":false,"schema":{"type":"string","description":"Exact search for the contribution type.","example":"decrement"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [start_date,created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [start_date,created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_NewBusinessEventResource"}}}}}}}},"tags":["Plans"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/group-scheme-members":{"get":{"summary":"Get all group scheme members","operationId":"getApiV1PlansPlan_uuidGroupSchemeMembers","description":"Retrieve the group scheme members for a plan","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[client_name]","description":"Filter members by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter members by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto"}},{"in":"query","name":"filter[status]","description":"Filter members by their status. Options: active, inactive, proposed","example":"architecto","required":false,"schema":{"type":"string","description":"Filter members by their status. Options: active, inactive, proposed","example":"architecto"}},{"in":"query","name":"filter[on_risk_at]","description":"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","example":"architecto","required":false,"schema":{"type":"string","description":"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","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, premium, status]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, premium, status]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_GroupSchemeMemberResource"}}}}}}}},"tags":["Plans"]},"post":{"summary":"Create a group scheme member","operationId":"postApiV1PlansPlan_uuidGroupSchemeMembers","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_GroupSchemeMemberResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plans"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StoreGroupSchemeMemberRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"uuid The UUID of the group scheme plan.","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-group-schemes":{"get":{"summary":"Get all sub schemes for a group scheme","operationId":"getApiV1PlansPlan_uuidSubGroupSchemes","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[client_name]","description":"Filter members by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter members by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto"}},{"in":"query","name":"filter[status]","description":"Filter members by their status. Options: active, inactive, proposed","example":"architecto","required":false,"schema":{"type":"string","description":"Filter members by their status. Options: active, inactive, proposed","example":"architecto"}},{"in":"query","name":"filter[on_risk_at]","description":"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","example":"architecto","required":false,"schema":{"type":"string","description":"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","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, premium, status]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, premium, status]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_GroupSchemeMemberResource"}}}}}}}},"tags":["Plans"]},"post":{"summary":"Create a sub-scheme for a group scheme plan","operationId":"postApiV1PlansPlan_uuidSubGroupSchemes","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubGroupSchemeResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plans"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StoreSubGroupSchemeRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"uuid The UUID of the group scheme plan.","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/provider-feed-sync":{"post":{"summary":"Request Plan Data From Provider (Beta)","operationId":"postApiV1PlansPlan_uuidProviderFeedSync","description":"Only works if the corresponding addon has been enabled in Plannr. The process is queued.\nOnly works with specific providers.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"202":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Plans"]},"parameters":[{"in":"path","name":"plan_uuid","description":"uuid The UUID of the group scheme plan.","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/provider-feed-logs":{"get":{"summary":"Get all the provider feed logs for a given plan","operationId":"getApiV1PlansPlan_uuidProviderFeedLogs","description":"","parameters":[{"in":"query","name":"filter[sub_account_uuids]","description":"Filter by a comma separated list of sub account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of sub account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, level]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, level]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderFeedLogResource"}}}}},"tags":["Plans"]},"parameters":[{"in":"path","name":"plan_uuid","description":"uuid The UUID of the group scheme plan.","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/illustrations":{"get":{"summary":"Get all the illustrations for a plan","operationId":"getApiV1PlansPlan_uuidIllustrations","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [firm, client, plan, requestedBy].","example":"?include=firm","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [firm, client, plan, requestedBy].","example":"?include=firm"}},{"in":"query","name":"filter[created_after]","description":"Illustration created after in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto","required":false,"schema":{"type":"string","description":"Illustration created after in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto"}},{"in":"query","name":"filter[created_before]","description":"Illustration created before in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto","required":false,"schema":{"type":"string","description":"Illustration created before in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto"}},{"in":"query","name":"filter[generated_after]","description":"Illustration generated after in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto","required":false,"schema":{"type":"string","description":"Illustration generated after in format YYYY-MM-DD e.g. 2022-10-15","example":"architecto"}},{"in":"query","name":"filter[generated_before]","description":"Illustration generated before in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto","required":false,"schema":{"type":"string","description":"Illustration generated before in format YYYY-MM-DD e.g. 2022-12-30","example":"architecto"}},{"in":"query","name":"filter[platform]","description":"Illustration platform.","example":"'seccl'","required":false,"schema":{"type":"string","description":"Illustration platform.","example":"'seccl'"}},{"in":"query","name":"filter[requested_by_uuid]","description":"Illustration requested by account uuid.","example":"'123e4567-e89b-12d3-a456-426614174000'","required":false,"schema":{"type":"string","description":"Illustration requested by account uuid.","example":"'123e4567-e89b-12d3-a456-426614174000'"}},{"in":"query","name":"filter[name]","description":"Fuzzy search for Illustration name.","example":"'My Illustration'","required":false,"schema":{"type":"string","description":"Fuzzy search for Illustration name.","example":"'My Illustration'"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, generated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-generated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, generated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-generated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_IllustrationResource"}}}}},"tags":["Plans"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/plans/linked-policy-numbers":{"get":{"summary":"Get all linked policy numbers","operationId":"getApiV2PlansLinkedPolicyNumbers","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[linked_policy_number]","description":"Filter by a comma separated list of partial linked policy numbers of the linked policy numbers.","example":"ABC123-X","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of partial linked policy numbers of the linked policy numbers.","example":"ABC123-X"}},{"in":"query","name":"filter[policy_number]","description":"Filter by a comma separated list of partial policy numbers of the plans the linked policy numbers belong to.","example":"ABC123-X","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of partial policy numbers of the plans the linked policy numbers belong to.","example":"ABC123-X"}},{"in":"query","name":"filter[plan_uuid]","description":"Filter by a comma separated list of plan UUIDs the linked policy numbers belong to.","example":"d8d33353-54bb-58ca-afc7-4b346e89bfa8,2765c3d5-529e-5537-98cb-bf920ad77481","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of plan UUIDs the linked policy numbers belong to.","example":"d8d33353-54bb-58ca-afc7-4b346e89bfa8,2765c3d5-529e-5537-98cb-bf920ad77481"}},{"in":"query","name":"filter[provider_uuids]","description":"Filter by a comma separated list provider UUIDS.","example":"576ef4cf-cfad-5739-b34a-86184fae65a2,dc10e613-0e3b-5d38-8701-5f7bd5114945","required":false,"schema":{"type":"string","description":"Filter by a comma separated list provider UUIDS.","example":"576ef4cf-cfad-5739-b34a-86184fae65a2,dc10e613-0e3b-5d38-8701-5f7bd5114945"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list account UUIDS.","example":"53e578f7-af24-5f39-a960-1a069aba7252,38ac923c-6ade-525c-ba20-6f148f10c5c7","required":false,"schema":{"type":"string","description":"Filter by a comma separated list account UUIDS.","example":"53e578f7-af24-5f39-a960-1a069aba7252,38ac923c-6ade-525c-ba20-6f148f10c5c7"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, linked_policy_number, policy_number, provider]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"policy_number","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, linked_policy_number, policy_number, provider]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"policy_number"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource"}}}}}}}},"tags":["Plans"]}},"/api/v2/plans/{plan_uuid}/linked-policy-numbers":{"post":{"summary":"Create an linked policy number","operationId":"postApiV2PlansPlan_uuidLinkedPolicyNumbers","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plans"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StoreLinkedPolicyNumberRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/plans/{plan_uuid}/linked-policy-numbers/{uuid}":{"put":{"summary":"Update an linked policy number","operationId":"putApiV2PlansPlan_uuidLinkedPolicyNumbersUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_LinkedPolicyNumberResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plans"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_UpdateLinkedPolicyNumberRequest"}}}}},"delete":{"summary":"Delete an linked policy number","operationId":"deleteApiV2PlansPlan_uuidLinkedPolicyNumbersUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Plans"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/plans":{"get":{"summary":"Get all plans","operationId":"getApiV2Plans","description":"This endpoint will return all plans in the firm relevant to the user accessing them.","parameters":[{"in":"query","name":"date","description":"Date in format Y-m-d to get the plan's value at the date. Defaults to current date if not provided.","example":"2025-07-11","required":false,"schema":{"type":"string","description":"Date in format Y-m-d to get the plan's value at the date. Defaults to current date if not provided.","example":"2025-07-11"}},{"in":"query","name":"include_circle_plans","description":"When authenticated as a client, you can opt to include other plans belonging to members of circles the authenticated client is a member of as long as they have the correct circle circle login access level to do so.","example":true,"required":false,"schema":{"type":"boolean","description":"When authenticated as a client, you can opt to include other plans belonging to members of circles the authenticated client is a member of as long as they have the correct circle circle login access level to do so.","example":true}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [cases, tags, sub_accounts, wrap, wrap_children, wrap_children.provider, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].","example":"?include=accounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [cases, tags, sub_accounts, wrap, wrap_children, wrap_children.provider, external_references, active_adviser, seller, linked_owners, group_scheme, sub_group_scheme, custom_fields].","example":"?include=accounts"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[abstract_type]","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection","required":false,"schema":{"type":"string","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection"}},{"in":"query","name":"filter[type]","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash","required":false,"schema":{"type":"string","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash"}},{"in":"query","name":"filter[sub_type]","description":"Comma separated list of sub types.","example":"national_savings,term_protection.","required":false,"schema":{"type":"string","description":"Comma separated list of sub types.","example":"national_savings,term_protection."}},{"in":"query","name":"filter[name]","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage","required":false,"schema":{"type":"string","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage"}},{"in":"query","name":"filter[account_uuids]","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[exact_account_uuids]","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636","required":false,"schema":{"type":"string","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[policy_number]","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834","required":false,"schema":{"type":"string","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834"}},{"in":"query","name":"filter[provider_uuids]","description":"Comma separated list of provider provider UUIDs to search against.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b,2a43f1dc-53af-5ba2-aee7-fdc6b65f86d2","required":false,"schema":{"type":"string","description":"Comma separated list of provider provider UUIDs to search against.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b,2a43f1dc-53af-5ba2-aee7-fdc6b65f86d2"}},{"in":"query","name":"filter[status]","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto"}},{"in":"query","name":"filter[seller_uuids]","description":"Comma separated list of adviser UUIDs of who sold the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5","required":false,"schema":{"type":"string","description":"Comma separated list of adviser UUIDs of who sold the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5"}},{"in":"query","name":"filter[active_adviser_uuids]","description":"Comma separated list of adviser UUIDs of who is actively managing the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5","required":false,"schema":{"type":"string","description":"Comma separated list of adviser UUIDs of who is actively managing the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5"}},{"in":"query","name":"filter[case_uuids]","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078","required":false,"schema":{"type":"string","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078"}},{"in":"query","name":"filter[valuation_from]","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000}},{"in":"query","name":"filter[valuation_to]","description":"Amount in pennies to filter where latest valuation is less than.","example":5000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is less than.","example":5000}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[is_wrap_product]","description":"filter the plans by if they are a wrap product","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they are a wrap product","example":true}},{"in":"query","name":"filter[hide_wrap_children]","description":"Used to hide the wrap children from the primary list of plans.","example":true,"required":false,"schema":{"type":"boolean","description":"Used to hide the wrap children from the primary list of plans.","example":true}},{"in":"query","name":"filter[agency_in_your_name]","description":"filter the plans by if they have agency in your name","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they have agency in your name","example":true}},{"in":"query","name":"filter[under_advice]","description":"filter the plans by if they are under advice","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they are under advice","example":true}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, type, value]. Negative sign to denote DESC. Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, type, value]. Negative sign to denote DESC. Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plans (v2)"]}},"/api/v2/plans/line-graph":{"get":{"summary":"Get line graph of plans valuations","operationId":"getApiV2PlansLineGraph","description":"This endpoint will return the plans in the firm relevant to the user accessing them with the plans values at the requested dates.","parameters":[{"in":"query","name":"date_after","description":"Date in Y-m-d format to request plan values starting from.","example":"architecto","required":false,"schema":{"type":"string","description":"Date in Y-m-d format to request plan values starting from.","example":"architecto"}},{"in":"query","name":"date_before","description":"string|null Date in Y-m-d format to request plan values up until. Will default to today if not provided.","example":"architecto","required":false,"schema":{"type":"string","description":"string|null Date in Y-m-d format to request plan values up until. Will default to today if not provided.","example":"architecto"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts].","example":"?include=accounts","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [accounts].","example":"?include=accounts"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[abstract_type]","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection","required":false,"schema":{"type":"string","description":"Comma separated list of abstract types.  Valid abstract types are [asset, liability, protection]","example":"protection"}},{"in":"query","name":"filter[type]","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash","required":false,"schema":{"type":"string","description":"Comma separated list of types.  Valid abstract types are [cash_account, investment, protection_policy, pension, annuity, general_insurance, group_protection, mortgage, loan_credit, fixed_asset]","example":"mortgage,cash"}},{"in":"query","name":"filter[sub_type]","description":"Comma separated list of sub types.","example":"national_savings,term_protection.","required":false,"schema":{"type":"string","description":"Comma separated list of sub types.","example":"national_savings,term_protection."}},{"in":"query","name":"filter[name]","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage","required":false,"schema":{"type":"string","description":"Comma separated list of plan names to search against, can include partial matches.","example":"Savings ISA,Jacks Mortgage"}},{"in":"query","name":"filter[account_uuids]","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of client UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[exact_account_uuids]","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636","required":false,"schema":{"type":"string","description":"Comma separated list of accounts UUIDs that are all the owners of a plan.","example":"0092d1d5-385e-5845-8a55-7734cb04247b,e5acf64b-2552-5f77-abfb-ee61edca7636"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of circle UUIDs to search against.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[policy_number]","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834","required":false,"schema":{"type":"string","description":"Comma separated list of policy numbers to search against, can include partial matches.","example":"AV7834"}},{"in":"query","name":"filter[provider_uuids]","description":"Comma separated list of provider provider UUIDs to search against.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b,2a43f1dc-53af-5ba2-aee7-fdc6b65f86d2","required":false,"schema":{"type":"string","description":"Comma separated list of provider provider UUIDs to search against.","example":"78fed82a-4e82-5afe-a97f-d9ff97c11c4b,2a43f1dc-53af-5ba2-aee7-fdc6b65f86d2"}},{"in":"query","name":"filter[status]","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated string of statuses to filter by. Valid statuses are [active, proposed, inactive]","example":"architecto"}},{"in":"query","name":"filter[seller_uuids]","description":"Comma separated list of adviser UUIDs of who sold the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5","required":false,"schema":{"type":"string","description":"Comma separated list of adviser UUIDs of who sold the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5"}},{"in":"query","name":"filter[active_adviser_uuids]","description":"Comma separated list of adviser UUIDs of who is actively managing the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5","required":false,"schema":{"type":"string","description":"Comma separated list of adviser UUIDs of who is actively managing the plan to search against.","example":"0eeb565c-88c4-5cea-8cc4-d814a8e60216,fa12f333-6a19-5955-baa9-1389073934c5"}},{"in":"query","name":"filter[case_uuids]","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078","required":false,"schema":{"type":"string","description":"Comma separated list of case UUIDs","example":"9881c05b-eeb3-4520-9232-d6d33fe0ad6b,f9f0bd15-1af0-4113-9f3d-ebdeea6c2078"}},{"in":"query","name":"filter[valuation_from]","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is greater than.","example":1000}},{"in":"query","name":"filter[valuation_to]","description":"Amount in pennies to filter where latest valuation is less than.","example":5000,"required":false,"schema":{"type":"integer","description":"Amount in pennies to filter where latest valuation is less than.","example":5000}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[is_wrap_product]","description":"filter the plans by if they are a wrap product","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they are a wrap product","example":true}},{"in":"query","name":"filter[hide_wrap_children]","description":"Used to hide the wrap children from the primary list of plans.","example":true,"required":false,"schema":{"type":"boolean","description":"Used to hide the wrap children from the primary list of plans.","example":true}},{"in":"query","name":"filter[agency_in_your_name]","description":"filter the plans by if they have agency in your name","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they have agency in your name","example":true}},{"in":"query","name":"filter[under_advice]","description":"filter the plans by if they are under advice","example":true,"required":false,"schema":{"type":"boolean","description":"filter the plans by if they are under advice","example":true}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a plan custom field. Example filter[custom_field:cryptocurrencies]=bitcoin","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, type, value]. Negative sign to denote DESC. Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, type, value]. Negative sign to denote DESC. Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PlanResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Plans (v2)"]}},"/api/v1/platform/{id}":{"get":{"summary":"Show Platform Detail","operationId":"getApiV1PlatformId","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_PlatformDetailResource"}}}}}}}},"tags":["Platform"]},"parameters":[{"in":"path","name":"id","description":"The ID of the platform.","example":"architecto","required":true,"schema":{"type":"string"}},{"in":"path","name":"platform","description":"Optional parameter.","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"octopus_money"}}}]},"/api/v1/platform/{platform}/models":{"get":{"summary":"Get all models for a supported platform.","operationId":"getApiV1PlatformPlatformModels","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Platform_PlatformModelResource"}}}}}}}},"tags":["Platform"]},"parameters":[{"in":"path","name":"platform","description":"The platform.","example":"octopus_money","required":true,"schema":{"type":"string"}}]},"/api/v1/portal-engagement/summary":{"get":{"summary":"Portal Engagement Summary","operationId":"getApiV1PortalEngagementSummary","description":"Get an aggregate summary of client portal engagement across the firm.\nIncludes total clients with/without portal access, login counts for\n30/90/365 day rolling windows, and never-logged-in counts.\n\nOptionally filterable by assigned adviser UUID.","parameters":[{"in":"query","name":"filter[assigned_adviser]","description":"UUID of an adviser to filter by.","example":"5e5e5e5e-5e5e-5e5e-5e5e-5e5e5e5e5e5e","required":false,"schema":{"type":"string","description":"UUID of an adviser to filter by.","example":"5e5e5e5e-5e5e-5e5e-5e5e-5e5e5e5e5e5e"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Portal Engagement"]}},"/api/v1/plans/{plan_uuid}/premiums":{"get":{"summary":"Get all premiums","operationId":"getApiV1PlansPlan_uuidPremiums","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [created_by,plan,transferred_from_plan]","example":"?include=created_by,plan,transferred_from_plan","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [created_by,plan,transferred_from_plan]","example":"?include=created_by,plan,transferred_from_plan"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[transfer_type]","description":"Filter by comma separated list of transfer type values.","example":"switch,transfer","required":false,"schema":{"type":"string","description":"Filter by comma separated list of transfer type values.","example":"switch,transfer"}},{"in":"query","name":"filter[date_advice_given_after]","description":"date Filter by date advice given after.","example":"2023-01-05","required":false,"schema":{"type":"string","description":"date Filter by date advice given after.","example":"2023-01-05"}},{"in":"query","name":"filter[date_advice_given_before]","description":"date Filter by date advice given before.","example":"2023-11-25","required":false,"schema":{"type":"string","description":"date Filter by date advice given before.","example":"2023-11-25"}},{"in":"query","name":"filter[amount_from]","description":"Filter by premium amount from in pennies.","example":"395525","required":false,"schema":{"type":"string","description":"Filter by premium amount from in pennies.","example":"395525"}},{"in":"query","name":"filter[amount_to]","description":"Filter by premium amount to in pennies.","example":"861436","required":false,"schema":{"type":"string","description":"Filter by premium amount to in pennies.","example":"861436"}},{"in":"query","name":"filter[frequency]","description":"Filter by comma separated list of frequency values.","example":"monthly,annually","required":false,"schema":{"type":"string","description":"Filter by comma separated list of frequency values.","example":"monthly,annually"}},{"in":"query","name":"filter[recurring]","description":"Filter by recurring premiums when true, or non recurring premiums when false.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter by recurring premiums when true, or non recurring premiums when false.","example":false}},{"in":"query","name":"filter[source]","description":"Filter by comma separated list of source of premium values.","example":"employee,employer","required":false,"schema":{"type":"string","description":"Filter by comma separated list of source of premium values.","example":"employee,employer"}},{"in":"query","name":"filter[payment_method]","description":"Filter by comma separated list of payment method values.","example":"salary_sacrifice,bank_transfer","required":false,"schema":{"type":"string","description":"Filter by comma separated list of payment method values.","example":"salary_sacrifice,bank_transfer"}},{"in":"query","name":"filter[start_date_after]","description":"date Filter by start date after.","example":"2023-02-13","required":false,"schema":{"type":"string","description":"date Filter by start date after.","example":"2023-02-13"}},{"in":"query","name":"filter[start_date_before]","description":"date Filter by start date before.","example":"2023-08-10","required":false,"schema":{"type":"string","description":"date Filter by start date before.","example":"2023-08-10"}},{"in":"query","name":"filter[end_date_after]","description":"date Filter by end date after.","example":"2023-04-27","required":false,"schema":{"type":"string","description":"date Filter by end date after.","example":"2023-04-27"}},{"in":"query","name":"filter[end_date_before]","description":"date Filter by end date before.","example":"2023-01-14","required":false,"schema":{"type":"string","description":"date Filter by end date before.","example":"2023-01-14"}},{"in":"query","name":"filter[start_date]","description":"date Filter by start date. This supports operators.","example":"\u003e=2023-01-14","required":false,"schema":{"type":"string","description":"date Filter by start date. This supports operators.","example":"\u003e=2023-01-14"}},{"in":"query","name":"filter[end_date]","description":"date Filter by end date. This supports operators.","example":"\u003c=2023-01-14","required":false,"schema":{"type":"string","description":"date Filter by end date. This supports operators.","example":"\u003c=2023-01-14"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, date_advice_given, premium, start_date, end_date]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, date_advice_given, premium, start_date, end_date]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PremiumResource"}}}}}}}},"tags":["Premiums"]},"post":{"summary":"Create a premium","operationId":"postApiV1PlansPlan_uuidPremiums","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PremiumResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Premiums"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StorePremiumRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/premiums/{uuid}":{"get":{"summary":"Get a premium","operationId":"getApiV1PlansPlan_uuidPremiumsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PremiumResource"}}}}},"tags":["Premiums"]},"put":{"summary":"Update a premium","operationId":"putApiV1PlansPlan_uuidPremiumsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PremiumResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Premiums"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_UpdatePremiumRequest"}}}}},"delete":{"summary":"Delete a premium","operationId":"deleteApiV1PlansPlan_uuidPremiumsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Premiums"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/providers":{"get":{"summary":"List all providers","operationId":"getApiV1Providers","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter by a comma separated list of partial provider names.","example":"Aviva,Standard Life","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of partial provider names.","example":"Aviva,Standard Life"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource"}}}}}}}},"tags":["Providers"]}},"/api/v1/providers/{uuid}":{"get":{"summary":"Get an individual provider","operationId":"getApiV1ProvidersUuid","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ProviderResource"}}}}},"tags":["Providers"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/report-template":{"get":{"summary":"Get all Report Templates","operationId":"getApiV1ReportTemplate","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[report_type_id]","description":"Exact filter for type of report to return","example":"architecto","required":false,"schema":{"type":"string","description":"Exact filter for type of report to return","example":"architecto"}},{"in":"query","name":"filter[created_by]","description":"Comma separated list of adviser uuids to filter reports created by these accounts","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of adviser uuids to filter reports created by these accounts","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [updated_at,created_at,name,report_type_id]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [updated_at,created_at,name,report_type_id]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ReportTemplateResource"}}}}}}}},"tags":["Report Templates"]},"post":{"summary":"Create a Report Template","operationId":"postApiV1ReportTemplate","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReportTemplateResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Report Templates"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_StoreReportTemplateRequest"}}}}}},"/api/v1/report-template/{reportTemplate_uuid}":{"get":{"summary":"Get a Report Template","operationId":"getApiV1ReportTemplateReportTemplate_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReportTemplateResource"}}}}},"tags":["Report Templates"]},"put":{"summary":"Update a Report Template","operationId":"putApiV1ReportTemplateReportTemplate_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReportTemplateResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Report Templates"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_UpdateReportTemplateRequest"}}}}},"delete":{"summary":"Delete a Report Template","operationId":"deleteApiV1ReportTemplateReportTemplate_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Report Templates"]},"parameters":[{"in":"path","name":"reportTemplate_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/report-type":{"get":{"summary":"Get all Report Types","operationId":"getApiV1ReportType","description":"","parameters":[{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ReportTypeResource"}}}}}}}},"tags":["Report Types"]}},"/api/v1/report":{"get":{"summary":"Get All Reports","operationId":"getApiV1Report","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[report_type_id]","description":"Exact filter for type of report to return","example":"architecto","required":false,"schema":{"type":"string","description":"Exact filter for type of report to return","example":"architecto"}},{"in":"query","name":"filter[created_by]","description":"list of adviser uuids to filter reports created by these accounts","example":"architecto","required":false,"schema":{"type":"string","description":"list of adviser uuids to filter reports created by these accounts","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [updated_at, created_at, name, report_type_id]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [updated_at, created_at, name, report_type_id]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ReportResource"}}}}}}}},"tags":["Reports"]},"post":{"summary":"Generate a new Report","operationId":"postApiV1Report","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReportResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Reports"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Reports_StoreReportRequest"}}}}}},"/api/v1/report/{uuid}":{"get":{"summary":"Get Report","operationId":"getApiV1ReportUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ReportResource"}}}}},"tags":["Reports"]},"delete":{"summary":"Delete a Report","operationId":"deleteApiV1ReportUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Reports"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/risk":{"get":{"summary":"Get all risks for Client","operationId":"getApiV1ClientClient_uuidRisk","description":"View all risks for a client","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [completed_by].","example":"?include=completed_by","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [completed_by].","example":"?include=completed_by"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, level, level_string, completed_at, risk_assessment_provider, time_horizon_set_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-completed_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, level, level_string, completed_at, risk_assessment_provider, time_horizon_set_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-completed_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_RiskResource"}}}}}}}},"tags":["Risks (v1)"]},"post":{"summary":"Create a risk assessment","operationId":"postApiV1ClientClient_uuidRisk","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_RiskResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Risks (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Risk_StoreRiskRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/risk/{uuid}":{"get":{"summary":"Show a risk assessment","operationId":"getApiV1ClientClient_uuidRiskUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_RiskResource"}}}}},"tags":["Risks (v1)"]},"put":{"summary":"Update a risk assessment","operationId":"putApiV1ClientClient_uuidRiskUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_RiskResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Risks (v1)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Risk_UpdateRiskRequest"}}}}},"delete":{"summary":"Delete a risk assessment","operationId":"deleteApiV1ClientClient_uuidRiskUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Risks (v1)"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/risks":{"get":{"summary":"Get all risks","operationId":"getApiV2Risks","description":"This endpoint will return all risks in the firm relevant to the user accessing them.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[level]","description":"Filter by the numeric level value. Whole number between 1 and 1,000.","example":612,"required":false,"schema":{"type":"integer","description":"Filter by the numeric level value. Whole number between 1 and 1,000.","example":612}},{"in":"query","name":"filter[level_string]","description":"Filter by the string/text version of risk level of the client.","example":"High Risk","required":false,"schema":{"type":"string","description":"Filter by the string/text version of risk level of the client.","example":"High Risk"}},{"in":"query","name":"filter[completed_after]","description":"Date (with optional time) to filter when the record was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date (with optional time) to filter when the record was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[completed_before]","description":"Date (with optional time) to filter when the record was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date (with optional time) to filter when the record was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[risk_assessment_provider]","description":"Filter by the name of provider for the risk assessment.","example":"Defaqto","required":false,"schema":{"type":"string","description":"Filter by the name of provider for the risk assessment.","example":"Defaqto"}},{"in":"query","name":"filter[time_horizon_set_after]","description":"Date (with optional time) to filter when the record was created after.","example":"2022-04-05 07:45","required":false,"schema":{"type":"string","description":"Date (with optional time) to filter when the record was created after.","example":"2022-04-05 07:45"}},{"in":"query","name":"filter[time_horizon_set_before]","description":"Date (with optional time) to filter when the record was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date (with optional time) to filter when the record was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of circle UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [account, completed_by].","example":"?include=account","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [account, completed_by].","example":"?include=account"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, level, level_string, completed_at, risk_assessment_provider, time_horizon_set_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-completed_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, level, level_string, completed_at, risk_assessment_provider, time_horizon_set_at]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"-completed_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_RiskResource"}}}}}}}},"tags":["Risks (v2)"]},"post":{"summary":"Create a risk","operationId":"postApiV2Risks","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_RiskResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Risks (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Risks_StoreRiskRequest"}}}}}},"/api/v2/risks/{uuid}":{"get":{"summary":"Get a risk","operationId":"getApiV2RisksUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_RiskResource"}}}}},"tags":["Risks (v2)"]},"put":{"summary":"Update a risk","operationId":"putApiV2RisksUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_V2_RiskResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Risks (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Risks_UpdateRiskRequest"}}}}},"delete":{"summary":"Delete a risk","operationId":"deleteApiV2RisksUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Risks (v2)"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/roles":{"get":{"summary":"Get all roles","operationId":"getApiV2Roles","description":"Returns all roles for the authenticated firm.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [assignees].","example":"?include=assignees","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [assignees].","example":"?include=assignees"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[name]","description":"Filter by name (partial match).","example":"Admin","required":false,"schema":{"type":"string","description":"Filter by name (partial match).","example":"Admin"}},{"in":"query","name":"filter[permission]","description":"Comma-separated list (or array) of permissions. Matches roles whose permissions contain any of the values.","example":"cases:read,networks:read","required":false,"schema":{"type":"string","description":"Comma-separated list (or array) of permissions. Matches roles whose permissions contain any of the values.","example":"cases:read,networks:read"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [name, created_at, updated_at]. Negative sign for DESC.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [name, created_at, updated_at]. Negative sign for DESC.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results per page (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results per page (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Rbac_RoleResource"}}}}}}},"403":{"description":"Missing roles read permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"missing-roles-read-permission":{"summary":"Missing roles read permission","value":{"message":"This action is unauthorized."}}}}}}},"tags":["Roles (v2)"]},"post":{"summary":"Create a role","operationId":"postApiV2Roles","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Rbac_RoleResource"}}}},"403":{"description":"Missing roles create permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"missing-roles-create-permission":{"summary":"Missing roles create permission","value":{"message":"This action is unauthorized."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"invalid-legacy-role-value":{"summary":"Invalid legacy role value","value":{"message":"The selected legacy role is invalid.","errors":{"legacy_role":["The selected legacy role is invalid."]}}},"legacy-roles-not-enabled-for-the-firm":{"summary":"Legacy roles not enabled for the firm","value":{"message":"The legacy role field must be missing.","errors":{"legacy_role":["The legacy role field must be missing."]}}}}}}}},"tags":["Roles (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Rbac_StoreRoleRequest"}}}}}},"/api/v2/roles/{uuid}":{"get":{"summary":"Get a role","operationId":"getApiV2RolesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Rbac_RoleResource"}}}},"403":{"description":"Missing roles read permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"missing-roles-read-permission":{"summary":"Missing roles read permission","value":{"message":"This action is unauthorized."}}}}}},"404":{"description":"Role not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"role-not-found":{"summary":"Role not found","value":{"message":"No query results for model [App\\Models\\Rbac\\Role] 53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}}}}}}},"tags":["Roles (v2)"]},"put":{"summary":"Update a role","operationId":"putApiV2RolesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Rbac_RoleResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"role-is-protected":{"summary":"Role is protected","value":{"message":"This role cannot be modified as it is protected - contact Plannr for more assistance.","errors":{"role":["This role cannot be modified as it is protected - contact Plannr for more assistance."]}}},"role-is-assigned-to-the-current-account":{"summary":"Role is assigned to the current account","value":{"message":"You cannot modify a role that you're currently assigned to.","errors":{"role":["You cannot modify a role that you're currently assigned to."]}}},"invalid-legacy-role-value":{"summary":"Invalid legacy role value","value":{"message":"The selected legacy role is invalid.","errors":{"legacy_role":["The selected legacy role is invalid."]}}},"legacy-roles-not-enabled-for-the-firm":{"summary":"Legacy roles not enabled for the firm","value":{"message":"The legacy role field must be missing.","errors":{"legacy_role":["The legacy role field must be missing."]}}}}}}}},"tags":["Roles (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Rbac_UpdateRoleRequest"}}}}},"delete":{"summary":"Delete a role","operationId":"deleteApiV2RolesUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"role-is-protected":{"summary":"Role is protected","value":{"message":"This role cannot be deleted as it is protected - contact Plannr for more assistance.","errors":{"role":["This role cannot be deleted as it is protected - contact Plannr for more assistance."]}}},"role-is-assigned-to-the-current-account":{"summary":"Role is assigned to the current account","value":{"message":"You cannot delete a role that you're currently assigned to.","errors":{"role":["You cannot delete a role that you're currently assigned to."]}}},"role-holds-a-legacy-role":{"summary":"Role holds a legacy role","value":{"message":"You cannot delete a role that is linked as a legacy role.","errors":{"role":["You cannot delete a role that is linked as a legacy role."]}}}}}}}},"tags":["Roles (v2)"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/roles/{role_uuid}/{action}":{"post":{"summary":"Assign or revoke a role","operationId":"postApiV2RolesRole_uuidAction","description":"Assign or revoke a role for one or more accounts. The action is determined by the URL parameter.\nOptionally scope the assignment to a specific target resource (e.g. a network).\nProcessing is best-effort: each assignee is processed independently and the response\nreports which succeeded and which failed, both as lists of account UUIDs.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"successful":["uuid-1","uuid-2"],"failed":["uuid-3"]},"properties":{"successful":{"type":"array","example":["uuid-1","uuid-2"],"items":{"type":"string"}},"failed":{"type":"array","example":["uuid-3"],"items":{"type":"string"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Roles (v2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Rbac_ManageRoleAssignmentRequest"}}}}},"parameters":[{"in":"path","name":"role_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"action","description":"The action to perform.","example":"assign","required":true,"schema":{"type":"string"}},{"in":"path","name":"role","description":"The UUID of the role.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":true,"schema":{"type":"string"}}]},"/api/v2/roles/{role_uuid}/assignees":{"get":{"summary":"Get all role assignees","operationId":"getApiV2RolesRole_uuidAssignees","description":"","parameters":[{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, inactive_at, first_name, last_name, email, next_review_date, previous_review_date, anniversary_review_date, status_changed_at]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, inactive_at, first_name, last_name, email, next_review_date, previous_review_date, anniversary_review_date, status_changed_at]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"-updated_at"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number, primary_email, primary_address, assigned_adviser, assigned_administrator, assigned_paraplanner, groups, tags, owners, custom_fields, external_references, charge_split_schema, circles, seccl_lookup, soderberg_lookup, octopus_money_lookup, p1_lookup].","example":"?include=groups,tags","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [primary_phone_number, primary_email, primary_address, assigned_adviser, assigned_administrator, assigned_paraplanner, groups, tags, owners, custom_fields, external_references, charge_split_schema, circles, seccl_lookup, soderberg_lookup, octopus_money_lookup, p1_lookup].","example":"?include=groups,tags"}},{"in":"query","name":"filter[uuid]","description":"Filter accounts by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter accounts by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[exclude_uuid]","description":"Exclude accounts by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Exclude accounts by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter accounts by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter accounts by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto"}},{"in":"query","name":"filter[ni_number]","description":"Comma separated list of partial National Insurance Numbers to filter by.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of partial National Insurance Numbers to filter by.","example":"architecto"}},{"in":"query","name":"filter[date_of_birth]","description":"Filter by date of birth with an operator.","example":"?filter[date_of_birth]=\u003e=1987-09-20 or range ?filter[date_of_birth]=\u003e=1987-09-20,\u003c=2000-01-01 or exact ?filter[date_of_birth]=1987-09-20","required":false,"schema":{"type":"string","description":"Filter by date of birth with an operator.","example":"?filter[date_of_birth]=\u003e=1987-09-20 or range ?filter[date_of_birth]=\u003e=1987-09-20,\u003c=2000-01-01 or exact ?filter[date_of_birth]=1987-09-20"}},{"in":"query","name":"filter[email]","description":"Filter accounts that have an email with a partial match.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter accounts that have an email with a partial match.","example":"architecto"}},{"in":"query","name":"filter[primary_email]","description":"Filter accounts with a given primary email. Performs a partial match.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter accounts with a given primary email. Performs a partial match.","example":"architecto"}},{"in":"query","name":"filter[primary_phone_number]","description":"Filter accounts with a given primary phone number. Performs a partial match.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter accounts with a given primary phone number. Performs a partial match.","example":"architecto"}},{"in":"query","name":"filter[status]","description":"Filter client status by partial names or uuid's","example":"active,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Filter client status by partial names or uuid's","example":"active,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[status_changed_at_from]","description":"Date to filter accounts by when their status was changed from.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter accounts by when their status was changed from.","example":"2022-04-05"}},{"in":"query","name":"filter[status_changed_at_to]","description":"Date to filter accounts by when their status was changed fup until.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter accounts by when their status was changed fup until.","example":"2022-05-31"}},{"in":"query","name":"filter[is_prospect]","description":"Get accounts with this is_prospect value","example":false,"required":false,"schema":{"type":"boolean","description":"Get accounts with this is_prospect value","example":false}},{"in":"query","name":"filter[is_child]","description":"affects whether to include accounts based on the child account flag. Valid options are \"exclude\", \"include\", \"only\". (default: \"include\")","example":"architecto","required":false,"schema":{"type":"string","description":"affects whether to include accounts based on the child account flag. Valid options are \"exclude\", \"include\", \"only\". (default: \"include\")","example":"architecto"}},{"in":"query","name":"filter[inactive_after]","description":"Get accounts set to inactive after this date","example":"architecto","required":false,"schema":{"type":"string","description":"Get accounts set to inactive after this date","example":"architecto"}},{"in":"query","name":"filter[inactive_before]","description":"Get accounts set to inactive before this date","example":"architecto","required":false,"schema":{"type":"string","description":"Get accounts set to inactive before this date","example":"architecto"}},{"in":"query","name":"filter[role]","description":"Comma separated string to filter by different account roles.  Valid types are [individual, joint, trust, business,member,owner,admin,introducer].","example":"?filter[role]=individual,joint","required":false,"schema":{"type":"string","description":"Comma separated string to filter by different account roles.  Valid types are [individual, joint, trust, business,member,owner,admin,introducer].","example":"?filter[role]=individual,joint"}},{"in":"query","name":"filter[type]","description":"Comma separated string to filter by different account types.  Valid types are [client,employee,external].","example":"?filter[type]=client,employee","required":false,"schema":{"type":"string","description":"Comma separated string to filter by different account types.  Valid types are [client,employee,external].","example":"?filter[type]=client,employee"}},{"in":"query","name":"filter[created_after]","description":"Date to filter when the accounts was created after.","example":"2022-04-05","required":false,"schema":{"type":"string","description":"Date to filter when the accounts was created after.","example":"2022-04-05"}},{"in":"query","name":"filter[created_before]","description":"Date to filter when the accounts was created before.","example":"2022-05-31","required":false,"schema":{"type":"string","description":"Date to filter when the accounts was created before.","example":"2022-05-31"}},{"in":"query","name":"filter[tags]","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of tag names or tag UUIDs.","example":"Review,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[groups]","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Comma separated list of partial groups names or group UUIDs.","example":"Prospects,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated list of circle UUIDs.","example":"e995263e-7477-4118-8860-de295bafbe0b,f123456e-7890-1234-5678-abcdef123456","required":false,"schema":{"type":"string","description":"Comma separated list of circle UUIDs.","example":"e995263e-7477-4118-8860-de295bafbe0b,f123456e-7890-1234-5678-abcdef123456"}},{"in":"query","name":"filter[departments]","description":"Comma separated list of departments the employee is in.","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of departments the employee is in.","example":"architecto"}},{"in":"query","name":"filter[exclude_groups]","description":"Provide a group UUID (or multiple as a comma-separated string) to filter accounts within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"Provide a group UUID (or multiple as a comma-separated string) to filter accounts within the provided groups out from the response.","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[introduced_by]","description":"filter clients that have been introduced by this introducer account, expects introducer account uuid, can accept multiple,","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b","required":false,"schema":{"type":"string","description":"filter clients that have been introduced by this introducer account, expects introducer account uuid, can accept multiple,","example":"e995263e-7477-4118-8860-de295bafbe0b,e995263e-7477-4118-8860-de295bafbe0b"}},{"in":"query","name":"filter[linked_to]","description":"Filter to clients that have been linked to the account given. This will also return the requested account.","example":"df240fd1-784d-47e8-8874-f779a35847ca","required":false,"schema":{"type":"string","description":"Filter to clients that have been linked to the account given. This will also return the requested account.","example":"df240fd1-784d-47e8-8874-f779a35847ca"}},{"in":"query","name":"filter[include]","description":"Comma separated list of employee account UUIDs that should always be returned no matter what other filters are applied.","example":"a1d8eb7b-bcef-4321-b245-f00efd823e6a","required":false,"schema":{"type":"string","description":"Comma separated list of employee account UUIDs that should always be returned no matter what other filters are applied.","example":"a1d8eb7b-bcef-4321-b245-f00efd823e6a"}},{"in":"query","name":"filter[has_login]","description":"Filter accounts that have an active login","example":false,"required":false,"schema":{"type":"boolean","description":"Filter accounts that have an active login","example":false}},{"in":"query","name":"filter[assigned_adviser_uuids]","description":"Comma separated list of UUIDS to filter accounts who have the provided adviser account UUIDs","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of UUIDS to filter accounts who have the provided adviser account UUIDs","example":"architecto"}},{"in":"query","name":"filter[assigned_administrator_uuids]","description":"Comma separated list of UUIDS to filter accounts who have the provided administrator account UUIDs","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of UUIDS to filter accounts who have the provided administrator account UUIDs","example":"architecto"}},{"in":"query","name":"filter[assigned_paraplanner_uuids]","description":"Comma separated list of UUIDS to filter accounts who have the provided paraplanner account UUIDs","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of UUIDS to filter accounts who have the provided paraplanner account UUIDs","example":"architecto"}},{"in":"query","name":"filter[role_uuids]","description":"Comma separated list of RBAC role UUIDs. Returns accounts that have a role assignment to any of the provided roles.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Comma separated list of RBAC role UUIDs. Returns accounts that have a role assignment to any of the provided roles.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[has_advisor]","description":"Filter accounts by whether they have an assigned adviser. true returns accounts with an adviser, false returns accounts without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter accounts by whether they have an assigned adviser. true returns accounts with an adviser, false returns accounts without.","example":false}},{"in":"query","name":"filter[has_administrator]","description":"Filter accounts by whether they have an assigned administrator. true returns accounts with an administrator, false returns accounts without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter accounts by whether they have an assigned administrator. true returns accounts with an administrator, false returns accounts without.","example":false}},{"in":"query","name":"filter[has_paraplanner]","description":"Filter accounts by whether they have an assigned paraplanner. true returns accounts with a paraplanner, false returns accounts without.","example":false,"required":false,"schema":{"type":"boolean","description":"Filter accounts by whether they have an assigned paraplanner. true returns accounts with a paraplanner, false returns accounts without.","example":false}},{"in":"query","name":"filter[next_review_date]","description":"Filter by next review date with an operator.","example":"?filter[next_review_date]=\u003e=2026-01-01 or range ?filter[next_review_date]=\u003e=2026-01-01,\u003c=2026-12-31","required":false,"schema":{"type":"string","description":"Filter by next review date with an operator.","example":"?filter[next_review_date]=\u003e=2026-01-01 or range ?filter[next_review_date]=\u003e=2026-01-01,\u003c=2026-12-31"}},{"in":"query","name":"filter[previous_review_date]","description":"Filter by previous review date with an operator.","example":"?filter[previous_review_date]=\u003e=2025-01-01","required":false,"schema":{"type":"string","description":"Filter by previous review date with an operator.","example":"?filter[previous_review_date]=\u003e=2025-01-01"}},{"in":"query","name":"filter[is_pending_fact_find_account]","description":"Filter accounts that are pending a fact find. Defaults to false. Valid values are [true, false, all]. Pass all to return both pending and non-pending accounts.","example":"all","required":false,"schema":{"type":"string","description":"Filter accounts that are pending a fact find. Defaults to false. Valid values are [true, false, all]. Pass all to return both pending and non-pending accounts.","example":"all"}},{"in":"query","name":"filter[has_third_party_reference]","description":"Filter accounts that have an external reference with the provided third party.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter accounts that have an external reference with the provided third party.","example":"architecto"}},{"in":"query","name":"filter[custom_field:REFERENCE]","description":"Filter by a accounts custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by a accounts custom field. Example filter[custom_field:pet_name]='Doug'","example":"architecto"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_AccountResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Roles (v2)"]},"parameters":[{"in":"path","name":"role_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/service-level":{"get":{"summary":"Get all service levels","operationId":"getApiV1ServiceLevel","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52"}},{"in":"query","name":"filter[name]","description":"Filter by name.","example":"Gold","required":false,"schema":{"type":"string","description":"Filter by name.","example":"Gold"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [name, created_at]. Negative sign to denote DESC. Defaults to 'name'.","example":"created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [name, created_at]. Negative sign to denote DESC. Defaults to 'name'.","example":"created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource"}}}}}}}},"tags":["Service Levels"]},"post":{"summary":"Create a service level","operationId":"postApiV1ServiceLevel","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Service Levels"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_ServiceLevel_StoreServiceLevelRequest"}}}}}},"/api/v1/service-level/{uuid}":{"get":{"summary":"Get a service level","operationId":"getApiV1ServiceLevelUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource"}}}}},"tags":["Service Levels"]},"put":{"summary":"Update a service level","operationId":"putApiV1ServiceLevelUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ServiceLevelResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Service Levels"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_ServiceLevel_UpdateServiceLevelRequest"}}}}},"delete":{"summary":"Delete a service level","operationId":"deleteApiV1ServiceLevelUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Service Levels"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/shareholder":{"get":{"summary":"Get all shareholders","operationId":"getApiV2Shareholder","description":"","parameters":[{"in":"query","name":"include","description":"Comma-separated list of relationships to include in the response. Valid relationships are [account].","example":"?include=account","required":false,"schema":{"type":"string","description":"Comma-separated list of relationships to include in the response. Valid relationships are [account].","example":"?include=account"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma-separated list of UUIDs.","example":"123e4567-e89b-12d3-a456-426614174000","required":false,"schema":{"type":"string","description":"Filter by a comma-separated list of UUIDs.","example":"123e4567-e89b-12d3-a456-426614174000"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, ownership_percentage]. Negative sign to denote DESC. Defaults to 'created_at'.","example":"-name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, ownership_percentage]. Negative sign to denote DESC. Defaults to 'created_at'.","example":"-name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_ShareholderResource"}}}}}}}},"tags":["Shareholders"]},"post":{"summary":"Create a shareholder","operationId":"postApiV2Shareholder","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ShareholderResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Shareholders"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_StoreShareholderRequest"}}}}}},"/api/v2/shareholder/{uuid}":{"get":{"summary":"Show a shareholder","operationId":"getApiV2ShareholderUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ShareholderResource"}}}}},"tags":["Shareholders"]},"put":{"summary":"Update a shareholder","operationId":"putApiV2ShareholderUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_ShareholderResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Shareholders"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_UpdateShareholderRequest"}}}}},"delete":{"summary":"Destroy a shareholder","operationId":"deleteApiV2ShareholderUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Shareholders"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/staff-members":{"get":{"summary":"Get all staff members","operationId":"getApiV1ClientClient_uuidStaffMembers","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter staff members by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter staff members by name. This is a partial match against first_name, last_name, and entity_name together.","example":"architecto"}},{"in":"query","name":"filter[active]","description":"Filter active staff members. Use \"true\" to only show active staff members and \"false\" to only show inactive staff members.","example":"architecto","required":false,"schema":{"type":"string","description":"Filter active staff members. Use \"true\" to only show active staff members and \"false\" to only show inactive staff members.","example":"architecto"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, hired_at, left_at, first_name, last_name]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, hired_at, left_at, first_name, last_name]. Negative sign to denote DESC.  Defaults to 'first_name'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_StaffMemberResource"}}}}}}}},"tags":["Staff Members"]},"post":{"summary":"Create a staff member","operationId":"postApiV1ClientClient_uuidStaffMembers","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Staff Members"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Client_StoreStaffMemberRequest"}}}}},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/client/{client_uuid}/staff-members/{uuid}":{"get":{"summary":"Get a staff member","operationId":"getApiV1ClientClient_uuidStaffMembersUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StaffMemberResource"}}}}},"tags":["Staff Members"]},"put":{"summary":"Update a staff member","operationId":"putApiV1ClientClient_uuidStaffMembersUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Staff Members"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Client_UpdateStaffMemberRequest"}}}}},"delete":{"summary":"Delete a staff member","operationId":"deleteApiV1ClientClient_uuidStaffMembersUuid","description":"This will not delete the client record, it will simply detach the staff member link.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Staff Members"]},"parameters":[{"in":"path","name":"client_uuid","description":"uuid The UUID of the business client.","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"integer"}},{"in":"path","name":"id","description":"uuid The UUID of the client that is a staff member.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/statement":{"get":{"summary":"Get all statements","operationId":"getApiV1Statement","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [start_date, end_date, created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-name","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [start_date, end_date, created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"-name"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_StatementResource"}}}}}}}},"tags":["Statements"]}},"/api/v1/statement/{uuid}":{"get":{"summary":"Get a statement","operationId":"getApiV1StatementUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StatementResource"}}}}},"tags":["Statements"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/statement/{statement_uuid}/lock":{"post":{"summary":"Lock a statement","operationId":"postApiV1StatementStatement_uuidLock","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StatementResource"}}}}},"tags":["Statements"]},"parameters":[{"in":"path","name":"statement_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/statement/{statement_uuid}/unlock":{"post":{"summary":"Unlock a statement","operationId":"postApiV1StatementStatement_uuidUnlock","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_StatementResource"}}}}},"tags":["Statements"]},"parameters":[{"in":"path","name":"statement_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/static/boolean-choices":{"get":{"summary":"Get a list of boolean choices","operationId":"getApiV1StaticBooleanChoices","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Yes","value":"yes"},{"name":"No","value":"no"},{"name":"Possibly","value":"possibly"},{"name":"Unknown","value":"unknown"}]},"properties":{"data":{"type":"array","example":[{"name":"Yes","value":"yes"},{"name":"No","value":"no"},{"name":"Possibly","value":"possibly"},{"name":"Unknown","value":"unknown"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Yes"},"value":{"type":"string","example":"yes"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/occupations":{"get":{"summary":"Get a list of occupations","operationId":"getApiV1StaticOccupations","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Static_StaticOccupationResource"}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/nationalities":{"get":{"summary":"Get a list of supported nationalities","operationId":"getApiV1StaticNationalities","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Static_StaticNationalityResource"}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/addon-categories":{"get":{"summary":"Get a list of addon categories","operationId":"getApiV1StaticAddonCategories","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Static_StaticAddonCategoryResource"}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/plan-types":{"get":{"summary":"Retrieve a list of all the plan type","operationId":"getApiV1StaticPlanTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Static_StaticPlanTypeResource"}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/plan-sub-types/{type}":{"get":{"summary":"Retrieve the plan sub-types for a given plan type","operationId":"getApiV1StaticPlanSubTypesType","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Static_StaticPlanSubTypeResource"}}}}}}}},"tags":["Static Data"]},"parameters":[{"in":"path","name":"type","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/static/plan-statuses":{"get":{"summary":"Plan statuses","operationId":"getApiV1StaticPlanStatuses","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Active","value":"active"},{"name":"Inactive","value":"inactive"},{"name":"Proposed","value":"proposed"}]},"properties":{"data":{"type":"array","example":[{"name":"Active","value":"active"},{"name":"Inactive","value":"inactive"},{"name":"Proposed","value":"proposed"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Active"},"value":{"type":"string","example":"active"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/plan-inactivity-reasons":{"get":{"summary":"Get a list of plan inactivity reasons","operationId":"getApiV1StaticPlanInactivityReasons","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Accepted","value":"accepted"},{"name":"Agency Transferred","value":"agency_transferred"},{"name":"Cancelled","value":"cancelled"},{"name":"Claimed","value":"claimed"},{"name":"Complete","value":"complete"},{"name":"Death Event","value":"death_event"},{"name":"Deferred","value":"deferred"},{"name":"Drawdown","value":"drawdown"},{"name":"Expired","value":"expired"},{"name":"Full Drawdown","value":"full_drawdown"},{"name":"Issued","value":"issued"},{"name":"Lapsed","value":"lapsed"},{"name":"Matured","value":"matured"},{"name":"Not Proceeded With","value":"not_proceeded_with"},{"name":"Not Taken Up","value":"not_taken_up"},{"name":"Offered","value":"offered"},{"name":"Paid Up","value":"paid_up"},{"name":"Partial Drawdown","value":"partial_drawdown"},{"name":"Partial Surrender","value":"partial_surrender"},{"name":"Proposed","value":"proposed"},{"name":"Prospect","value":"prospect"},{"name":"Refunded","value":"refunded"},{"name":"Refused","value":"refused"},{"name":"Surrendered","value":"surrendered"},{"name":"Transfer","value":"transfer"},{"name":"Transferred","value":"transferred"},{"name":"Underwriting","value":"underwriting"},{"name":"Vested","value":"vested"},{"name":"Declined","value":"declined"},{"name":"Encashment","value":"encashment"},{"name":"Left Service","value":"left_service"},{"name":"Premium Holiday","value":"premium_holiday"},{"name":"Other","value":"other"}]},"properties":{"data":{"type":"array","example":[{"name":"Accepted","value":"accepted"},{"name":"Agency Transferred","value":"agency_transferred"},{"name":"Cancelled","value":"cancelled"},{"name":"Claimed","value":"claimed"},{"name":"Complete","value":"complete"},{"name":"Death Event","value":"death_event"},{"name":"Deferred","value":"deferred"},{"name":"Drawdown","value":"drawdown"},{"name":"Expired","value":"expired"},{"name":"Full Drawdown","value":"full_drawdown"},{"name":"Issued","value":"issued"},{"name":"Lapsed","value":"lapsed"},{"name":"Matured","value":"matured"},{"name":"Not Proceeded With","value":"not_proceeded_with"},{"name":"Not Taken Up","value":"not_taken_up"},{"name":"Offered","value":"offered"},{"name":"Paid Up","value":"paid_up"},{"name":"Partial Drawdown","value":"partial_drawdown"},{"name":"Partial Surrender","value":"partial_surrender"},{"name":"Proposed","value":"proposed"},{"name":"Prospect","value":"prospect"},{"name":"Refunded","value":"refunded"},{"name":"Refused","value":"refused"},{"name":"Surrendered","value":"surrendered"},{"name":"Transfer","value":"transfer"},{"name":"Transferred","value":"transferred"},{"name":"Underwriting","value":"underwriting"},{"name":"Vested","value":"vested"},{"name":"Declined","value":"declined"},{"name":"Encashment","value":"encashment"},{"name":"Left Service","value":"left_service"},{"name":"Premium Holiday","value":"premium_holiday"},{"name":"Other","value":"other"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Accepted"},"value":{"type":"string","example":"accepted"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/transaction-types":{"get":{"summary":"Get a list of transaction types and sub-types","operationId":"getApiV1StaticTransactionTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Adjustment","value":"adjustment"},{"name":"Adviser Fee","value":"adviser_fee"},{"name":"Contribution","value":"contribution"},{"name":"Corporate Action","value":"corporate_action"},{"name":"Distribution","value":"distribution"},{"name":"Fee","value":"fee"},{"name":"Income","value":"income"},{"name":"Payment","value":"payment"},{"name":"Provider Fee","value":"provider_fee"},{"name":"Rebate","value":"rebate"},{"name":"Trade","value":"trade"},{"name":"Transfer","value":"transfer"},{"name":"Withdrawal","value":"withdrawal"},{"name":"Other","value":"other"}]},"properties":{"data":{"type":"array","example":[{"name":"Adjustment","value":"adjustment"},{"name":"Adviser Fee","value":"adviser_fee"},{"name":"Contribution","value":"contribution"},{"name":"Corporate Action","value":"corporate_action"},{"name":"Distribution","value":"distribution"},{"name":"Fee","value":"fee"},{"name":"Income","value":"income"},{"name":"Payment","value":"payment"},{"name":"Provider Fee","value":"provider_fee"},{"name":"Rebate","value":"rebate"},{"name":"Trade","value":"trade"},{"name":"Transfer","value":"transfer"},{"name":"Withdrawal","value":"withdrawal"},{"name":"Other","value":"other"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Adjustment"},"value":{"type":"string","example":"adjustment"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/transaction-sub-types/{transactionType}":{"get":{"summary":"Get the subtypes for a transaction type","operationId":"getApiV1StaticTransactionSubTypesTransactionType","description":"","parameters":[],"responses":{"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":""}}}}}}},"tags":["Static Data"]},"parameters":[{"in":"path","name":"transactionType","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/static/charge-categories":{"get":{"summary":"Get a list of charge categories","operationId":"getApiV1StaticChargeCategories","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Adhoc","value":"adhoc","fee":true,"commission":false,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Adviser Charge","value":"adviser_charge"},"can_change_rmar_type":false},{"name":"Administration","value":"administration","fee":true,"commission":false,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Other Fee","value":"other_fee"},"can_change_rmar_type":false},{"name":"Adjustment","value":"adjustment","fee":true,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Other Fee","value":"other_fee"},"can_change_rmar_type":true},{"name":"Bond Renewal","value":"bond_renewal","fee":false,"commission":true,"one_off":false,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Clawback","value":"clawback","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Clawback","value":"clawback"},"can_change_rmar_type":false},{"name":"Dss Rebate","value":"dss_rebate","fee":false,"commission":true,"one_off":false,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Fund","value":"fund","fee":false,"commission":true,"one_off":false,"recurring":true,"service_types":[{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Indemnity","value":"indemnity","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Initial Fee","value":"initial_fee","fee":true,"commission":false,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Adviser Charge","value":"adviser_charge"},"can_change_rmar_type":false},{"name":"Level","value":"level","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Non Indemnity","value":"non_indemnity","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"One Off","value":"one_off","fee":true,"commission":false,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Adviser Charge","value":"adviser_charge"},"can_change_rmar_type":false},{"name":"Ongoing Fee","value":"ongoing_fee","fee":true,"commission":false,"one_off":false,"recurring":true,"service_types":[{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Adviser Charge","value":"adviser_charge"},"can_change_rmar_type":false},{"name":"Other Fee","value":"other_fee","fee":true,"commission":false,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Other Fee","value":"other_fee"},"can_change_rmar_type":false},{"name":"Procuration Fee","value":"procuration_fee","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Protected Rights","value":"protected_rights","fee":false,"commission":true,"one_off":false,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Renewal","value":"renewal","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Switch","value":"switch","fee":false,"commission":true,"one_off":false,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Unknown","value":"unknown","fee":true,"commission":true,"one_off":false,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Other Fee","value":"other_fee"},"can_change_rmar_type":true}]},"properties":{"data":{"type":"array","example":[{"name":"Adhoc","value":"adhoc","fee":true,"commission":false,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Adviser Charge","value":"adviser_charge"},"can_change_rmar_type":false},{"name":"Administration","value":"administration","fee":true,"commission":false,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Other Fee","value":"other_fee"},"can_change_rmar_type":false},{"name":"Adjustment","value":"adjustment","fee":true,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Other Fee","value":"other_fee"},"can_change_rmar_type":true},{"name":"Bond Renewal","value":"bond_renewal","fee":false,"commission":true,"one_off":false,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Clawback","value":"clawback","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Clawback","value":"clawback"},"can_change_rmar_type":false},{"name":"Dss Rebate","value":"dss_rebate","fee":false,"commission":true,"one_off":false,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Fund","value":"fund","fee":false,"commission":true,"one_off":false,"recurring":true,"service_types":[{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Indemnity","value":"indemnity","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Initial Fee","value":"initial_fee","fee":true,"commission":false,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Adviser Charge","value":"adviser_charge"},"can_change_rmar_type":false},{"name":"Level","value":"level","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Non Indemnity","value":"non_indemnity","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"One Off","value":"one_off","fee":true,"commission":false,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Adviser Charge","value":"adviser_charge"},"can_change_rmar_type":false},{"name":"Ongoing Fee","value":"ongoing_fee","fee":true,"commission":false,"one_off":false,"recurring":true,"service_types":[{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Adviser Charge","value":"adviser_charge"},"can_change_rmar_type":false},{"name":"Other Fee","value":"other_fee","fee":true,"commission":false,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Other Fee","value":"other_fee"},"can_change_rmar_type":false},{"name":"Procuration Fee","value":"procuration_fee","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Protected Rights","value":"protected_rights","fee":false,"commission":true,"one_off":false,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Renewal","value":"renewal","fee":false,"commission":true,"one_off":true,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Switch","value":"switch","fee":false,"commission":true,"one_off":false,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Commission","value":"commission"},"can_change_rmar_type":false},{"name":"Unknown","value":"unknown","fee":true,"commission":true,"one_off":false,"recurring":false,"service_types":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"rmar_type":{"name":"Other Fee","value":"other_fee"},"can_change_rmar_type":true}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Adhoc"},"value":{"type":"string","example":"adhoc"},"fee":{"type":"boolean","example":true},"commission":{"type":"boolean","example":false},"one_off":{"type":"boolean","example":true},"recurring":{"type":"boolean","example":false},"service_types":{"type":"array","example":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Initial"},"value":{"type":"string","example":"initial"},"initial":{"type":"boolean","example":true},"ongoing":{"type":"boolean","example":false}}}},"rmar_type":{"type":"object","properties":{"name":{"type":"string","example":"Adviser Charge"},"value":{"type":"string","example":"adviser_charge"}}},"can_change_rmar_type":{"type":"boolean","example":false}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/rmar-types":{"get":{"summary":"Get a list of RMAR types","operationId":"getApiV1StaticRmarTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Adviser Charge","value":"adviser_charge"},{"name":"Clawback","value":"clawback"},{"name":"Commission","value":"commission"},{"name":"Other Fee","value":"other_fee"},{"name":"Unknown","value":"unknown"}]},"properties":{"data":{"type":"array","example":[{"name":"Adviser Charge","value":"adviser_charge"},{"name":"Clawback","value":"clawback"},{"name":"Commission","value":"commission"},{"name":"Other Fee","value":"other_fee"},{"name":"Unknown","value":"unknown"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Adviser Charge"},"value":{"type":"string","example":"adviser_charge"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/service-types":{"get":{"summary":"Get a list of service types","operationId":"getApiV1StaticServiceTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}]},"properties":{"data":{"type":"array","example":[{"name":"Initial","value":"initial","initial":true,"ongoing":false},{"name":"One Off","value":"one_off","initial":true,"ongoing":false},{"name":"Ongoing","value":"ongoing","initial":false,"ongoing":true}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Initial"},"value":{"type":"string","example":"initial"},"initial":{"type":"boolean","example":true},"ongoing":{"type":"boolean","example":false}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/logs-modelable-types":{"get":{"summary":"Get a list of modelable types for logs","operationId":"getApiV1StaticLogsModelableTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":["application","automation_blueprint","board","workflow","case","check","circle","conversation","document","document_template","document_pack","fact_find_schema","fact_find_section","fact_find_template","file","group","illustration","lead","new_business_event","contribution","holding","plan","sub_account","valuation","withdrawal","referral","referral_connection","task","employee","client"]},"properties":{"data":{"type":"array","example":["application","automation_blueprint","board","workflow","case","check","circle","conversation","document","document_template","document_pack","fact_find_schema","fact_find_section","fact_find_template","file","group","illustration","lead","new_business_event","contribution","holding","plan","sub_account","valuation","withdrawal","referral","referral_connection","task","employee","client"],"items":{"type":"string"}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/contribution-types/{type}":{"get":{"summary":"Get a list of contribution types","operationId":"getApiV1StaticContributionTypesType","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Initial","value":"initial"},{"name":"Increment","value":"increment"},{"name":"Decrement","value":"decrement"},{"name":"Advice Point","value":"advice_point"},{"name":"Pension Transfer","value":"pension_transfer"},{"name":"Switch","value":"switch"}]},"properties":{"data":{"type":"array","example":[{"name":"Initial","value":"initial"},{"name":"Increment","value":"increment"},{"name":"Decrement","value":"decrement"},{"name":"Advice Point","value":"advice_point"},{"name":"Pension Transfer","value":"pension_transfer"},{"name":"Switch","value":"switch"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Initial"},"value":{"type":"string","example":"initial"}}}}}}}}}},"tags":["Static Data"]},"parameters":[{"in":"path","name":"type","description":"Optional parameter. Type parameter is optional and defaults to 'plans' if not provided. Valid options are [plans, new-business-events]","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"new-business-events"}}}]},"/api/v1/static/advice-types/{type}":{"get":{"summary":"Get a list of advice types","operationId":"getApiV1StaticAdviceTypesType","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Advised","value":"advised"},{"name":"Execution Only","value":"execution_only"},{"name":"Insistent Investor","value":"insistent_investor"},{"name":"Existing Provision","value":"existing_provision"},{"name":"Direct Offer","value":"direct_offer"},{"name":"Client Instruction","value":"client_instruction"}]},"properties":{"data":{"type":"array","example":[{"name":"Advised","value":"advised"},{"name":"Execution Only","value":"execution_only"},{"name":"Insistent Investor","value":"insistent_investor"},{"name":"Existing Provision","value":"existing_provision"},{"name":"Direct Offer","value":"direct_offer"},{"name":"Client Instruction","value":"client_instruction"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Advised"},"value":{"type":"string","example":"advised"}}}}}}}}}},"tags":["Static Data"]},"parameters":[{"in":"path","name":"type","description":"Optional parameter. Type parameter is optional and defaults to income-reconciliation. Valid options are [income-reconciliation, new-business-events].","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"new-business-events"}}}]},"/api/v1/static/conducted-by":{"get":{"summary":"Get a list of options for new business event conducted by","operationId":"getApiV1StaticConductedBy","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Correspondence Only","value":"correspondence_only"},{"name":"Email","value":"email"},{"name":"Face To Face","value":"face_to_face"},{"name":"Internet","value":"internet"},{"name":"Other","value":"other"},{"name":"Printed Media Campaign","value":"printed_media_campaign"},{"name":"Unknown","value":"unknown"},{"name":"Telephone","value":"telephone"}]},"properties":{"data":{"type":"array","example":[{"name":"Correspondence Only","value":"correspondence_only"},{"name":"Email","value":"email"},{"name":"Face To Face","value":"face_to_face"},{"name":"Internet","value":"internet"},{"name":"Other","value":"other"},{"name":"Printed Media Campaign","value":"printed_media_campaign"},{"name":"Unknown","value":"unknown"},{"name":"Telephone","value":"telephone"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Correspondence Only"},"value":{"type":"string","example":"correspondence_only"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/new-business-events-statuses":{"get":{"summary":"Get a list of options for new business event status","operationId":"getApiV1StaticNewBusinessEventsStatuses","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Accepted","value":"accepted"},{"name":"Proposed","value":"proposed"},{"name":"Rejected","value":"rejected"},{"name":"Deferred","value":"deferred"},{"name":"NPW","value":"NPW"}]},"properties":{"data":{"type":"array","example":[{"name":"Accepted","value":"accepted"},{"name":"Proposed","value":"proposed"},{"name":"Rejected","value":"rejected"},{"name":"Deferred","value":"deferred"},{"name":"NPW","value":"NPW"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Accepted"},"value":{"type":"string","example":"accepted"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/source-of-funds":{"get":{"summary":"Get a list of options for new business event source of funds","operationId":"getApiV1StaticSourceOfFunds","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Gift","value":"gift"},{"name":"Inheritance","value":"inheritance"},{"name":"ISA Transfer","value":"isa_transfer"},{"name":"Pension Transfer","value":"pension_transfer"},{"name":"Salary","value":"salary"},{"name":"Savings","value":"savings"},{"name":"Other","value":"other"}]},"properties":{"data":{"type":"array","example":[{"name":"Gift","value":"gift"},{"name":"Inheritance","value":"inheritance"},{"name":"ISA Transfer","value":"isa_transfer"},{"name":"Pension Transfer","value":"pension_transfer"},{"name":"Salary","value":"salary"},{"name":"Savings","value":"savings"},{"name":"Other","value":"other"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Gift"},"value":{"type":"string","example":"gift"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/frequencies/{type}":{"get":{"summary":"Get a list of Frequency types","operationId":"getApiV1StaticFrequenciesType","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Daily","value":"daily","unitCount":1,"unit":"day","annualised_multiplier":365},{"name":"Weekly","value":"weekly","unitCount":1,"unit":"week","annualised_multiplier":52.143},{"name":"Fortnightly","value":"fortnightly","unitCount":2,"unit":"week","annualised_multiplier":26.0715},{"name":"Four Weekly","value":"four_weekly","unitCount":4,"unit":"week","annualised_multiplier":13.03575},{"name":"Monthly","value":"monthly","unitCount":1,"unit":"month","annualised_multiplier":12},{"name":"Bimonthly","value":"bimonthly","unitCount":2,"unit":"month","annualised_multiplier":6},{"name":"Quarterly","value":"quarterly","unitCount":3,"unit":"month","annualised_multiplier":4},{"name":"Biannually","value":"biannually","unitCount":6,"unit":"month","annualised_multiplier":2},{"name":"Annually","value":"annually","unitCount":1,"unit":"year","annualised_multiplier":1}]},"properties":{"data":{"type":"array","example":[{"name":"Daily","value":"daily","unitCount":1,"unit":"day","annualised_multiplier":365},{"name":"Weekly","value":"weekly","unitCount":1,"unit":"week","annualised_multiplier":52.143},{"name":"Fortnightly","value":"fortnightly","unitCount":2,"unit":"week","annualised_multiplier":26.0715},{"name":"Four Weekly","value":"four_weekly","unitCount":4,"unit":"week","annualised_multiplier":13.03575},{"name":"Monthly","value":"monthly","unitCount":1,"unit":"month","annualised_multiplier":12},{"name":"Bimonthly","value":"bimonthly","unitCount":2,"unit":"month","annualised_multiplier":6},{"name":"Quarterly","value":"quarterly","unitCount":3,"unit":"month","annualised_multiplier":4},{"name":"Biannually","value":"biannually","unitCount":6,"unit":"month","annualised_multiplier":2},{"name":"Annually","value":"annually","unitCount":1,"unit":"year","annualised_multiplier":1}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Daily"},"value":{"type":"string","example":"daily"},"unitCount":{"type":"integer","example":1},"unit":{"type":"string","example":"day"},"annualised_multiplier":{"type":"integer","example":365}}}}}}}}}},"tags":["Static Data"]},"parameters":[{"in":"path","name":"type","description":"Optional parameter. Type parameter is optional and defaults to all options. Valid optional options are [single, recurring].","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"recurring"}}}]},"/api/v1/static/departments":{"get":{"summary":"Get a list of employee departments","operationId":"getApiV1StaticDepartments","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Administrator","value":"administrator"},{"name":"Adviser","value":"adviser"},{"name":"Compliance","value":"compliance"},{"name":"Finance","value":"finance"},{"name":"IT","value":"it"},{"name":"Marketing","value":"marketing"},{"name":"Operations","value":"operations"},{"name":"Paraplanner","value":"paraplanner"}]},"properties":{"data":{"type":"array","example":[{"name":"Administrator","value":"administrator"},{"name":"Adviser","value":"adviser"},{"name":"Compliance","value":"compliance"},{"name":"Finance","value":"finance"},{"name":"IT","value":"it"},{"name":"Marketing","value":"marketing"},{"name":"Operations","value":"operations"},{"name":"Paraplanner","value":"paraplanner"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Administrator"},"value":{"type":"string","example":"administrator"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/crystallisation-reasons":{"get":{"summary":"Get a list of crystallisation reasons","operationId":"getApiV1StaticCrystallisationReasons","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Flex Access","value":"flex_access"},{"name":"Ufpls 100","value":"ufpls_100"}]},"properties":{"data":{"type":"array","example":[{"name":"Flex Access","value":"flex_access"},{"name":"Ufpls 100","value":"ufpls_100"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Flex Access"},"value":{"type":"string","example":"flex_access"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/interest-types":{"get":{"summary":"Get a list of interest types","operationId":"getApiV1StaticInterestTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Fixed","value":"fixed"},{"name":"Variable","value":"variable"},{"name":"Combined","value":"combined"},{"name":"Capped","value":"capped"},{"name":"Discounted","value":"discounted"},{"name":"Interest Only","value":"interest_only"},{"name":"Offset","value":"offset"},{"name":"Tracker","value":"tracker"}]},"properties":{"data":{"type":"array","example":[{"name":"Fixed","value":"fixed"},{"name":"Variable","value":"variable"},{"name":"Combined","value":"combined"},{"name":"Capped","value":"capped"},{"name":"Discounted","value":"discounted"},{"name":"Interest Only","value":"interest_only"},{"name":"Offset","value":"offset"},{"name":"Tracker","value":"tracker"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Fixed"},"value":{"type":"string","example":"fixed"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/property-types":{"get":{"summary":"Get a list of property types","operationId":"getApiV1StaticPropertyTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Agricultural Property","value":"agricultural_property"},{"name":"Buy To Let","value":"buy_to_let"},{"name":"Commercial Property","value":"commercial_property"},{"name":"Holiday Home","value":"holiday_home"},{"name":"Main Residence","value":"main_residence"},{"name":"Other Property","value":"other_property"},{"name":"Property General","value":"property_general"}]},"properties":{"data":{"type":"array","example":[{"name":"Agricultural Property","value":"agricultural_property"},{"name":"Buy To Let","value":"buy_to_let"},{"name":"Commercial Property","value":"commercial_property"},{"name":"Holiday Home","value":"holiday_home"},{"name":"Main Residence","value":"main_residence"},{"name":"Other Property","value":"other_property"},{"name":"Property General","value":"property_general"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Agricultural Property"},"value":{"type":"string","example":"agricultural_property"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/repayment-types":{"get":{"summary":"Get a list of repayment types","operationId":"getApiV1StaticRepaymentTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Deferred","value":"deferred"},{"name":"Interest Only","value":"interest_only"},{"name":"Offset","value":"offset"},{"name":"Repayment","value":"repayment"},{"name":"Other","value":"other"}]},"properties":{"data":{"type":"array","example":[{"name":"Deferred","value":"deferred"},{"name":"Interest Only","value":"interest_only"},{"name":"Offset","value":"offset"},{"name":"Repayment","value":"repayment"},{"name":"Other","value":"other"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Deferred"},"value":{"type":"string","example":"deferred"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/repayment-methods":{"get":{"summary":"Get a list of repayment methods","operationId":"getApiV1StaticRepaymentMethods","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Associated Policy","value":"associated_policy"},{"name":"New Mortgage","value":"new_mortgage"},{"name":"Property Sale","value":"property_sale"},{"name":"Other","value":"other"}]},"properties":{"data":{"type":"array","example":[{"name":"Associated Policy","value":"associated_policy"},{"name":"New Mortgage","value":"new_mortgage"},{"name":"Property Sale","value":"property_sale"},{"name":"Other","value":"other"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Associated Policy"},"value":{"type":"string","example":"associated_policy"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/term-types":{"get":{"summary":"Get a list of term types","operationId":"getApiV1StaticTermTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"To Age","value":"to_age"},{"name":"To Date","value":"to_date"},{"name":"To Death","value":"to_death"}]},"properties":{"data":{"type":"array","example":[{"name":"To Age","value":"to_age"},{"name":"To Date","value":"to_date"},{"name":"To Death","value":"to_death"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"To Age"},"value":{"type":"string","example":"to_age"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/transfer-types":{"get":{"summary":"Get a list of transfer types","operationId":"getApiV1StaticTransferTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Switch","value":"switch"},{"name":"Transfer","value":"transfer"}]},"properties":{"data":{"type":"array","example":[{"name":"Switch","value":"switch"},{"name":"Transfer","value":"transfer"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Switch"},"value":{"type":"string","example":"switch"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/source-of-premiums":{"get":{"summary":"Get a list of source of premiums","operationId":"getApiV1StaticSourceOfPremiums","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Employee","value":"employee"},{"name":"Employer","value":"employer"}]},"properties":{"data":{"type":"array","example":[{"name":"Employee","value":"employee"},{"name":"Employer","value":"employer"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Employee"},"value":{"type":"string","example":"employee"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/premium-payment-methods":{"get":{"summary":"Get a list of premium payment methods","operationId":"getApiV1StaticPremiumPaymentMethods","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Salary Sacrifice","value":"salary_sacrifice"},{"name":"Salary Deduction","value":"salary_deduction"},{"name":"Direct Debit","value":"direct_debit"},{"name":"Standing Order","value":"standing_order"},{"name":"Cheque","value":"cheque"},{"name":"Bank Transfer","value":"bank_transfer"}]},"properties":{"data":{"type":"array","example":[{"name":"Salary Sacrifice","value":"salary_sacrifice"},{"name":"Salary Deduction","value":"salary_deduction"},{"name":"Direct Debit","value":"direct_debit"},{"name":"Standing Order","value":"standing_order"},{"name":"Cheque","value":"cheque"},{"name":"Bank Transfer","value":"bank_transfer"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Salary Sacrifice"},"value":{"type":"string","example":"salary_sacrifice"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/cover-types/{type}":{"get":{"summary":"Get a list of cover types for the specific plan type.","operationId":"getApiV1StaticCoverTypesType","description":"","parameters":[],"responses":{"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":""}}}}}}},"tags":["Static Data"]},"parameters":[{"in":"path","name":"type","description":"","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/static/extensions":{"get":{"summary":"Get a list of file extensions","operationId":"getApiV1StaticExtensions","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":["123","3dml","3g2","3gp","7z","aab","aac","aam","aas","abw","ac","acc","ace","acu","acx","adp","aep","afp","ahead","ai","aif","aifc","aiff","air","ait","ami","apk","application","apr","arc","asf","aso","asr","asx","atc","atomcat","atomsvc","atx","au","avi","avif","aw","axs","azf","azs","azw","bas","bcpio","bdf","bdm","bed","bh2","bin","bmi","bmp","box","btif","bz","bz2","c","c11amc","c11amz","c4g","cab","car","cat","cda","cdbcmsg","cdf","cdkey","cdmia","cdmic","cdmid","cdmio","cdmiq","cdx","cdxml","cdy","cer","cgm","chat","chm","chrt","cif","cii","cil","cla","class","clkk","clkp","clkt","clkw","clkx","clp","cmc","cmdf","cml","cmp","cmx","cod","cpio","cpt","crd","crl","crt","cryptonote","csh","csml","csp","css","csv","cu","curl","cww","dae","daf","davmount","dcr","dcurl","dd2","ddd","deb","der","dfac","dir","dis","djvu","dll","dmg","dms","dna","doc","docm","docx","dot","dotm","dotx","dp","dpg","dra","dsc","dssc","dtb","dtd","dts","dtshd","dvi","dwf","dwg","dxf","dxp","dxr","ecelp4800","ecelp7470","ecelp9600","edm","edx","efif","ei6","eml","emma","eol","eot","eps","epub","es","es3","esf","etx","evy","exi","ext","ez2","ez3","f","f4v","fbs","fcs","fdf","fe_launch","fg5","fh","fif","fig","fli","flo","flv","flw","flx","fly","fm","fnc","fpx","fsc","fst","ftc","fti","fvt","fxp","fzs","g2w","g3","g3w","gac","gdl","geo","gex","ggb","ggt","ghf","gif","gim","gmx","gnumeric","gph","gpx","gqf","gram","grv","grxml","gsf","gtar","gtm","gtw","gv","gxt","gz","h","h261","h263","h264","hal","hbci","hdf","hlp","hpgl","hpid","hps","hqx","hta","htc","htke","htm","html","htt","hvd","hvp","hvs","i2g","icc","ice","ico","ics","ief","ifm","igl","igm","igs","igx","iif","iii","imp","ims","ins","ipfix","ipk","irm","irp","isp","itp","ivp","ivu","jad","jam","jar","java","jfif","jisp","jlt","jnlp","joda","jpe","jpeg","jpg","jpgv","jpm","js","json","jsonld","karbon","kfo","kia","kml","kmz","kne","kon","kpr","ksp","ktx","ktz","kwd","lasxml","latex","lbd","lbe","les","lha","link66","lrm","lsf","lsx","ltf","lvp","lwp","lzh","m13","m14","m21","m3u","m3u8","m4a","m4v","ma","mads","mag","man","mathml","mbk","mbox","mc1","mcd","mcurl","mdb","mdi","me","meta4","mets","mfm","mgp","mgz","mht","mhtml","mid","midi","mif","mj2","mjs","mlp","mmd","mmf","mmr","mny","mods","mov","movie","mp2","mp3","mp4","mp4a","mpa","mpc","mpe","mpeg","mpg","mpga","mpkg","mpm","mpn","mpp","mpv2","mpy","mqy","mrc","mrcx","ms","mscml","msf","msg","msh","msl","msty","mts","mus","musicxml","mvb","mwf","mxf","mxl","mxml","mxs","mxu","n-gage","n3","nbp","nc","ncx","ngdat","nlu","nml","nnd","nns","nnw","npx","nsf","nws","oa2","oa3","oas","obd","oda","odb","odc","odf","odft","odg","odi","odm","odp","ods","odt","oga","ogv","ogx","onetoc","opf","opus","org","osf","osfpvg","otc","otf","otg","oth","oti","otp","ots","ott","oxt","p","p10","p12","p7b","p7c","p7m","p7r","p7s","p8","par","paw","pbd","pbm","pcf","pcl","pclxl","pcurl","pcx","pdb","pdf","pfa","pfr","pfx","pgm","pgn","pgp","php","pic","pjpeg","pki","pkipath","pko","plc","plf","pls","pma","pmc","pml","pmr","pmw","png","pnm","portpkg","pot","potm","potx","ppam","ppd","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","prc","pre","prf","ps","psd","psf","pskcxml","ptid","pub","pya","pyv","qam","qbo","qfx","qps","qt","qxd","ra","ram","rar","ras","rcprofile","rdf","rdz","rep","res","rgb","rif","rip","rl","rlc","rld","rm","rmi","rmp","rms","rnc","roff","rp9","rpss","rpst","rq","rs","rsd","rtf","rtx","s","saf","sbml","sc","scd","scm","scq","scs","sct","scurl","sda","sdc","sdd","sdkm","sdp","sdw","see","seed","sema","semd","semf","ser","setpay","setreg","sfd-hdstx","sfs","sgl","sgml","sh","shar","shf","sis","sit","sitx","skp","sldm","sldx","slt","sm","smf","smi","snd","snf","spc","spf","spl","spot","spp","spq","src","sru","srx","sse","ssf","ssml","sst","st","stc","std","stf","sti","stk","stl","stm","str","stw","sub","sus","sv4cpio","sv4crc","svc","svd","svg","swf","swi","sxc","sxd","sxg","sxi","sxm","sxw","t","tao","tar","tcl","teacher","tei","tex","texi","texinfo","tfi","tfm","tgz","thmx","tif","tiff","tmo","torrent","tpl","tpt","tr","tra","trm","ts","tsd","tsv","ttf","ttl","twd","txd","txf","txt","ufd","uls","umj","unityweb","uoml","uri","ustar","utz","uu","uva","uvh","uvi","uvm","uvp","uvs","uvu","uvv","vcd","vcf","vcg","vcs","vcx","vis","viv","vsd","vsdx","vsf","vtu","vxml","wad","wav","wax","wbmp","wbs","wbxml","wcm","wdb","weba","webm","webp","wg","wgt","wks","wm","wma","wmd","wmf","wml","wmlc","wmls","wmlsc","wmv","wmx","wmz","woff","woff2","wpd","wpl","wps","wqd","wri","wrl","wsdl","wspolicy","wtb","wvx","xap","xar","xbap","xbd","xbm","xdf","xdm","xdp","xdssc","xdw","xenc","xer","xfdf","xfdl","xhtml","xif","xla","xlam","xlc","xlm","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xlw","xml","xo","xop","xpi","xpm","xpr","xps","xpw","xslt","xsm","xspf","xul","xwd","xyz","yaml","yang","yin","z","zaz","zip","zir","zmm"]},"properties":{"data":{"type":"array","example":["123","3dml","3g2","3gp","7z","aab","aac","aam","aas","abw","ac","acc","ace","acu","acx","adp","aep","afp","ahead","ai","aif","aifc","aiff","air","ait","ami","apk","application","apr","arc","asf","aso","asr","asx","atc","atomcat","atomsvc","atx","au","avi","avif","aw","axs","azf","azs","azw","bas","bcpio","bdf","bdm","bed","bh2","bin","bmi","bmp","box","btif","bz","bz2","c","c11amc","c11amz","c4g","cab","car","cat","cda","cdbcmsg","cdf","cdkey","cdmia","cdmic","cdmid","cdmio","cdmiq","cdx","cdxml","cdy","cer","cgm","chat","chm","chrt","cif","cii","cil","cla","class","clkk","clkp","clkt","clkw","clkx","clp","cmc","cmdf","cml","cmp","cmx","cod","cpio","cpt","crd","crl","crt","cryptonote","csh","csml","csp","css","csv","cu","curl","cww","dae","daf","davmount","dcr","dcurl","dd2","ddd","deb","der","dfac","dir","dis","djvu","dll","dmg","dms","dna","doc","docm","docx","dot","dotm","dotx","dp","dpg","dra","dsc","dssc","dtb","dtd","dts","dtshd","dvi","dwf","dwg","dxf","dxp","dxr","ecelp4800","ecelp7470","ecelp9600","edm","edx","efif","ei6","eml","emma","eol","eot","eps","epub","es","es3","esf","etx","evy","exi","ext","ez2","ez3","f","f4v","fbs","fcs","fdf","fe_launch","fg5","fh","fif","fig","fli","flo","flv","flw","flx","fly","fm","fnc","fpx","fsc","fst","ftc","fti","fvt","fxp","fzs","g2w","g3","g3w","gac","gdl","geo","gex","ggb","ggt","ghf","gif","gim","gmx","gnumeric","gph","gpx","gqf","gram","grv","grxml","gsf","gtar","gtm","gtw","gv","gxt","gz","h","h261","h263","h264","hal","hbci","hdf","hlp","hpgl","hpid","hps","hqx","hta","htc","htke","htm","html","htt","hvd","hvp","hvs","i2g","icc","ice","ico","ics","ief","ifm","igl","igm","igs","igx","iif","iii","imp","ims","ins","ipfix","ipk","irm","irp","isp","itp","ivp","ivu","jad","jam","jar","java","jfif","jisp","jlt","jnlp","joda","jpe","jpeg","jpg","jpgv","jpm","js","json","jsonld","karbon","kfo","kia","kml","kmz","kne","kon","kpr","ksp","ktx","ktz","kwd","lasxml","latex","lbd","lbe","les","lha","link66","lrm","lsf","lsx","ltf","lvp","lwp","lzh","m13","m14","m21","m3u","m3u8","m4a","m4v","ma","mads","mag","man","mathml","mbk","mbox","mc1","mcd","mcurl","mdb","mdi","me","meta4","mets","mfm","mgp","mgz","mht","mhtml","mid","midi","mif","mj2","mjs","mlp","mmd","mmf","mmr","mny","mods","mov","movie","mp2","mp3","mp4","mp4a","mpa","mpc","mpe","mpeg","mpg","mpga","mpkg","mpm","mpn","mpp","mpv2","mpy","mqy","mrc","mrcx","ms","mscml","msf","msg","msh","msl","msty","mts","mus","musicxml","mvb","mwf","mxf","mxl","mxml","mxs","mxu","n-gage","n3","nbp","nc","ncx","ngdat","nlu","nml","nnd","nns","nnw","npx","nsf","nws","oa2","oa3","oas","obd","oda","odb","odc","odf","odft","odg","odi","odm","odp","ods","odt","oga","ogv","ogx","onetoc","opf","opus","org","osf","osfpvg","otc","otf","otg","oth","oti","otp","ots","ott","oxt","p","p10","p12","p7b","p7c","p7m","p7r","p7s","p8","par","paw","pbd","pbm","pcf","pcl","pclxl","pcurl","pcx","pdb","pdf","pfa","pfr","pfx","pgm","pgn","pgp","php","pic","pjpeg","pki","pkipath","pko","plc","plf","pls","pma","pmc","pml","pmr","pmw","png","pnm","portpkg","pot","potm","potx","ppam","ppd","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","prc","pre","prf","ps","psd","psf","pskcxml","ptid","pub","pya","pyv","qam","qbo","qfx","qps","qt","qxd","ra","ram","rar","ras","rcprofile","rdf","rdz","rep","res","rgb","rif","rip","rl","rlc","rld","rm","rmi","rmp","rms","rnc","roff","rp9","rpss","rpst","rq","rs","rsd","rtf","rtx","s","saf","sbml","sc","scd","scm","scq","scs","sct","scurl","sda","sdc","sdd","sdkm","sdp","sdw","see","seed","sema","semd","semf","ser","setpay","setreg","sfd-hdstx","sfs","sgl","sgml","sh","shar","shf","sis","sit","sitx","skp","sldm","sldx","slt","sm","smf","smi","snd","snf","spc","spf","spl","spot","spp","spq","src","sru","srx","sse","ssf","ssml","sst","st","stc","std","stf","sti","stk","stl","stm","str","stw","sub","sus","sv4cpio","sv4crc","svc","svd","svg","swf","swi","sxc","sxd","sxg","sxi","sxm","sxw","t","tao","tar","tcl","teacher","tei","tex","texi","texinfo","tfi","tfm","tgz","thmx","tif","tiff","tmo","torrent","tpl","tpt","tr","tra","trm","ts","tsd","tsv","ttf","ttl","twd","txd","txf","txt","ufd","uls","umj","unityweb","uoml","uri","ustar","utz","uu","uva","uvh","uvi","uvm","uvp","uvs","uvu","uvv","vcd","vcf","vcg","vcs","vcx","vis","viv","vsd","vsdx","vsf","vtu","vxml","wad","wav","wax","wbmp","wbs","wbxml","wcm","wdb","weba","webm","webp","wg","wgt","wks","wm","wma","wmd","wmf","wml","wmlc","wmls","wmlsc","wmv","wmx","wmz","woff","woff2","wpd","wpl","wps","wqd","wri","wrl","wsdl","wspolicy","wtb","wvx","xap","xar","xbap","xbd","xbm","xdf","xdm","xdp","xdssc","xdw","xenc","xer","xfdf","xfdl","xhtml","xif","xla","xlam","xlc","xlm","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xlw","xml","xo","xop","xpi","xpm","xpr","xps","xpw","xslt","xsm","xspf","xul","xwd","xyz","yaml","yang","yin","z","zaz","zip","zir","zmm"],"items":{"type":"string"}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/reports":{"get":{"summary":"Get a list of all reports","operationId":"getApiV1StaticReports","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"id":"actual_vs_estimate_report","name":"Actual vs Estimate Report","description":"List all expectations with their original expected amount and the actual amount received."},{"id":"adviser_income_detailed","name":"Adviser Income Detailed","description":"List all detailed income within a date range."},{"id":"aged_debt_report","name":"Aged Debt Report","description":"List all expectations which still need reconciling to bank transactions."},{"id":"staff_member_export","name":"Business Staff Member Export","description":"Export all of the business clients with their staff members."},{"id":"cases_export","name":"Cases export","description":"Export all cases"},{"id":"charges_export","name":"Charges Export","description":"Export charges."},{"id":"circle_export","name":"Circle Export","description":"Export circles and their members, one row per circle member."},{"id":"client_expenditure_export","name":"Client Expenditure Export","description":"Export all of the Life Stage Expenditures for clients."},{"id":"client_export","name":"Client Export","description":"Export all clients."},{"id":"client_or_circle_expenditure_export","name":"Client or Circle Expenditure Export","description":"Export the Life Stage Expenditures for a single client or for a circle. Optionally include shared circle expenditures when targeting an individual client."},{"id":"conversion_pipeline","name":"Conversion Pipeline","description":"Shows the number of prospects that have converted to clients between two dates."},{"id":"employee_export","name":"Employee Export","description":"Export all employees."},{"id":"form_submission_export","name":"Form Submission Export","description":"Export all submissions for a form"},{"id":"group_scheme_members_export","name":"Group Scheme Members Export","description":"Provides a detailed export of the members on a given group scheme. Can be used with the group scheme member importer to bulk update members."},{"id":"holding_export","name":"Holding Export","description":"An export of a firms or clients holdings"},{"id":"income_reconciliation_export","name":"Income Reconciliation Export","description":"Export all income reconciliation data for a monthly statement or a given date range."},{"id":"income_and_employment_export","name":"Income and Employment Export","description":"Export all income and employment records."},{"id":"new_business_export","name":"New Business Export","description":"Data export of all New Business Events on a firm."},{"id":"new_business_summary_report","name":"New Business Summary Report","description":"Summary Report of New Business Events on a firm."},{"id":"note_export","name":"Notes Export","description":"Export all notes on your firm"},{"id":"plan_export","name":"Plan Export","description":"Data export of all plans on a firm."},{"id":"portal_engagement_export","name":"Portal Engagement Export","description":"Export client portal login and engagement statistics."},{"id":"premium_export","name":"Premium Export","description":"Export premium for plans."},{"id":"rmar","name":"RMAR","description":"RMAR Report."},{"id":"revenue_analysis_based_on_receipts","name":"Revenue Analysis Based On Receipts","description":"Report detailing all revenue reconciled in a payment period or between dates based on bank receipts."},{"id":"task_export","name":"Task Export","description":"Export All Tasks"},{"id":"time_entries","name":"Time Entries Export","description":"Full company time report."},{"id":"valuation_report","name":"Valuation Report (Legacy)","description":"Valuation Report"}]},"properties":{"data":{"type":"array","example":[{"id":"actual_vs_estimate_report","name":"Actual vs Estimate Report","description":"List all expectations with their original expected amount and the actual amount received."},{"id":"adviser_income_detailed","name":"Adviser Income Detailed","description":"List all detailed income within a date range."},{"id":"aged_debt_report","name":"Aged Debt Report","description":"List all expectations which still need reconciling to bank transactions."},{"id":"staff_member_export","name":"Business Staff Member Export","description":"Export all of the business clients with their staff members."},{"id":"cases_export","name":"Cases export","description":"Export all cases"},{"id":"charges_export","name":"Charges Export","description":"Export charges."},{"id":"circle_export","name":"Circle Export","description":"Export circles and their members, one row per circle member."},{"id":"client_expenditure_export","name":"Client Expenditure Export","description":"Export all of the Life Stage Expenditures for clients."},{"id":"client_export","name":"Client Export","description":"Export all clients."},{"id":"client_or_circle_expenditure_export","name":"Client or Circle Expenditure Export","description":"Export the Life Stage Expenditures for a single client or for a circle. Optionally include shared circle expenditures when targeting an individual client."},{"id":"conversion_pipeline","name":"Conversion Pipeline","description":"Shows the number of prospects that have converted to clients between two dates."},{"id":"employee_export","name":"Employee Export","description":"Export all employees."},{"id":"form_submission_export","name":"Form Submission Export","description":"Export all submissions for a form"},{"id":"group_scheme_members_export","name":"Group Scheme Members Export","description":"Provides a detailed export of the members on a given group scheme. Can be used with the group scheme member importer to bulk update members."},{"id":"holding_export","name":"Holding Export","description":"An export of a firms or clients holdings"},{"id":"income_reconciliation_export","name":"Income Reconciliation Export","description":"Export all income reconciliation data for a monthly statement or a given date range."},{"id":"income_and_employment_export","name":"Income and Employment Export","description":"Export all income and employment records."},{"id":"new_business_export","name":"New Business Export","description":"Data export of all New Business Events on a firm."},{"id":"new_business_summary_report","name":"New Business Summary Report","description":"Summary Report of New Business Events on a firm."},{"id":"note_export","name":"Notes Export","description":"Export all notes on your firm"},{"id":"plan_export","name":"Plan Export","description":"Data export of all plans on a firm."},{"id":"portal_engagement_export","name":"Portal Engagement Export","description":"Export client portal login and engagement statistics."},{"id":"premium_export","name":"Premium Export","description":"Export premium for plans."},{"id":"rmar","name":"RMAR","description":"RMAR Report."},{"id":"revenue_analysis_based_on_receipts","name":"Revenue Analysis Based On Receipts","description":"Report detailing all revenue reconciled in a payment period or between dates based on bank receipts."},{"id":"task_export","name":"Task Export","description":"Export All Tasks"},{"id":"time_entries","name":"Time Entries Export","description":"Full company time report."},{"id":"valuation_report","name":"Valuation Report (Legacy)","description":"Valuation Report"}],"items":{"type":"object","properties":{"id":{"type":"string","example":"actual_vs_estimate_report"},"name":{"type":"string","example":"Actual vs Estimate Report"},"description":{"type":"string","example":"List all expectations with their original expected amount and the actual amount received."}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/client-regulatory-classifications":{"get":{"summary":"Get a list of options for client regulatory classifications","operationId":"getApiV1StaticClientRegulatoryClassifications","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Retail Client","value":"retail_client"},{"name":"Professional Client","value":"professional_client"},{"name":"Eligible Counterparty","value":"eligible_counterparty"},{"name":"Not Applicable","value":"not_applicable"},{"name":"Unknown","value":"unknown"}]},"properties":{"data":{"type":"array","example":[{"name":"Retail Client","value":"retail_client"},{"name":"Professional Client","value":"professional_client"},{"name":"Eligible Counterparty","value":"eligible_counterparty"},{"name":"Not Applicable","value":"not_applicable"},{"name":"Unknown","value":"unknown"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Retail Client"},"value":{"type":"string","example":"retail_client"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/lookup-types":{"get":{"summary":"Get a list of all LookupTypes","operationId":"getApiV1StaticLookupTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Provider Statement Mapping","value":"provider_statement_mapping"},{"name":"Bank Statement Mapping","value":"bank_statement_mapping"},{"name":"Octopus Money Node Mapping","value":"octopus_money_node_mapping"},{"name":"P1 Node Mapping","value":"p1_node_mapping"},{"name":"Statement Transaction Autoreconciling","value":"statement_transaction_autoreconciling"},{"name":"Seccl Node Mapping","value":"seccl_node_mapping"},{"name":"Soderberg Node Mapping","value":"soderberg_node_mapping"}]},"properties":{"data":{"type":"array","example":[{"name":"Provider Statement Mapping","value":"provider_statement_mapping"},{"name":"Bank Statement Mapping","value":"bank_statement_mapping"},{"name":"Octopus Money Node Mapping","value":"octopus_money_node_mapping"},{"name":"P1 Node Mapping","value":"p1_node_mapping"},{"name":"Statement Transaction Autoreconciling","value":"statement_transaction_autoreconciling"},{"name":"Seccl Node Mapping","value":"seccl_node_mapping"},{"name":"Soderberg Node Mapping","value":"soderberg_node_mapping"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Provider Statement Mapping"},"value":{"type":"string","example":"provider_statement_mapping"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/check-statuses":{"get":{"summary":"Get a list of all CheckStatuses","operationId":"getApiV1StaticCheckStatuses","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Abandoned","value":"abandoned"},{"name":"Active","value":"active"},{"name":"Archive","value":"archive"},{"name":"Complete","value":"complete"},{"name":"Expired","value":"expired"},{"name":"Failed","value":"failed"},{"name":"Lock","value":"lock"},{"name":"Pending","value":"pending"},{"name":"Processing","value":"processing"}]},"properties":{"data":{"type":"array","example":[{"name":"Abandoned","value":"abandoned"},{"name":"Active","value":"active"},{"name":"Archive","value":"archive"},{"name":"Complete","value":"complete"},{"name":"Expired","value":"expired"},{"name":"Failed","value":"failed"},{"name":"Lock","value":"lock"},{"name":"Pending","value":"pending"},{"name":"Processing","value":"processing"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Abandoned"},"value":{"type":"string","example":"abandoned"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/check-outcomes":{"get":{"summary":"Get a list of all CheckOutcomes","operationId":"getApiV1StaticCheckOutcomes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Pass","value":"pass"},{"name":"Refer","value":"refer"},{"name":"Fail","value":"fail"},{"name":"High Risk","value":"high_risk"},{"name":"Medium Risk","value":"medium_risk"},{"name":"Low Risk","value":"low_risk"}]},"properties":{"data":{"type":"array","example":[{"name":"Pass","value":"pass"},{"name":"Refer","value":"refer"},{"name":"Fail","value":"fail"},{"name":"High Risk","value":"high_risk"},{"name":"Medium Risk","value":"medium_risk"},{"name":"Low Risk","value":"low_risk"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Pass"},"value":{"type":"string","example":"pass"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/state-of-health":{"get":{"summary":"Get a list of all states of health","operationId":"getApiV1StaticStateOfHealth","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Excellent","value":"excellent"},{"name":"Good","value":"good"},{"name":"Fair","value":"fair"},{"name":"Poor","value":"poor"},{"name":"Unknown","value":"unknown"}]},"properties":{"data":{"type":"array","example":[{"name":"Excellent","value":"excellent"},{"name":"Good","value":"good"},{"name":"Fair","value":"fair"},{"name":"Poor","value":"poor"},{"name":"Unknown","value":"unknown"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Excellent"},"value":{"type":"string","example":"excellent"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/vulnerability-types":{"get":{"summary":"Get a list of all vulnerability types","operationId":"getApiV1StaticVulnerabilityTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Yes","value":"yes"},{"name":"No","value":"no"},{"name":"Possibly","value":"possibly"}]},"properties":{"data":{"type":"array","example":[{"name":"Yes","value":"yes"},{"name":"No","value":"no"},{"name":"Possibly","value":"possibly"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Yes"},"value":{"type":"string","example":"yes"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/vulnerability-sub-types":{"get":{"summary":"Get a list of all vulnerability sub-types","operationId":"getApiV1StaticVulnerabilitySubTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Health","value":"health"},{"name":"Life Events","value":"life_events"},{"name":"Resilience","value":"resilience"},{"name":"Capability","value":"capability"}]},"properties":{"data":{"type":"array","example":[{"name":"Health","value":"health"},{"name":"Life Events","value":"life_events"},{"name":"Resilience","value":"resilience"},{"name":"Capability","value":"capability"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Health"},"value":{"type":"string","example":"health"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/vulnerability-durations":{"get":{"summary":"Get a list of all vulnerability durations","operationId":"getApiV1StaticVulnerabilityDurations","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Temporary","value":"temporary"},{"name":"Permanent","value":"permanent"}]},"properties":{"data":{"type":"array","example":[{"name":"Temporary","value":"temporary"},{"name":"Permanent","value":"permanent"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Temporary"},"value":{"type":"string","example":"temporary"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/webhook-subscription-events":{"get":{"summary":"Get a list of all webhook subscription events.","operationId":"getApiV1StaticWebhookSubscriptionEvents","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"group":"Accounts (Clients, Employees, Introducers)","events":["account.created","account.updated","account.deleted","account.annual-review-date-occurred"]},{"group":"Cases","events":["case.created","case.updated","case.deleted"]},{"group":"Circles","events":["circle.created","circle.updated","circle.deleted"]},{"group":"Client Bank Accounts","events":["bank-account.created","bank-account.updated","bank-account.deleted"]},{"group":"Client Portal Documents","events":["client-portal-document.uploaded","client-portal-document.updated","client-portal-document.deleted"]},{"group":"Conversations","events":["conversation.message.created","conversation.message.updated","conversation.message.deleted"]},{"group":"Fact-Find","events":["fact-find.completed-v3"]},{"group":"Fact-Find (Legacy)","events":["fact-find.completed"]},{"group":"Forms","events":["form-submission.completed"]},{"group":"Income Reconciliation","events":["bank-statement.created","bank-statement.updated","bank-statement.deleted","bank-transaction.created","bank-transaction.updated","bank-transaction.deleted","provider-statement.created","provider-statement.updated","provider-statement.deleted","transaction.created","transaction.updated","transaction.deleted","transaction.reconciled","transaction.unreconciled","expectation.created","expectation.updated","expectation.deleted","statement.lock-status"]},{"group":"Letters of Authority","events":["letter-of-authority.created","letter-of-authority.updated"]},{"group":"Plans","events":["plan.created","plan.updated","plan.deleted"]},{"group":"Tasks","events":["task.created","task.updated","task.deleted","task.completed"]}]},"properties":{"data":{"type":"array","example":[{"group":"Accounts (Clients, Employees, Introducers)","events":["account.created","account.updated","account.deleted","account.annual-review-date-occurred"]},{"group":"Cases","events":["case.created","case.updated","case.deleted"]},{"group":"Circles","events":["circle.created","circle.updated","circle.deleted"]},{"group":"Client Bank Accounts","events":["bank-account.created","bank-account.updated","bank-account.deleted"]},{"group":"Client Portal Documents","events":["client-portal-document.uploaded","client-portal-document.updated","client-portal-document.deleted"]},{"group":"Conversations","events":["conversation.message.created","conversation.message.updated","conversation.message.deleted"]},{"group":"Fact-Find","events":["fact-find.completed-v3"]},{"group":"Fact-Find (Legacy)","events":["fact-find.completed"]},{"group":"Forms","events":["form-submission.completed"]},{"group":"Income Reconciliation","events":["bank-statement.created","bank-statement.updated","bank-statement.deleted","bank-transaction.created","bank-transaction.updated","bank-transaction.deleted","provider-statement.created","provider-statement.updated","provider-statement.deleted","transaction.created","transaction.updated","transaction.deleted","transaction.reconciled","transaction.unreconciled","expectation.created","expectation.updated","expectation.deleted","statement.lock-status"]},{"group":"Letters of Authority","events":["letter-of-authority.created","letter-of-authority.updated"]},{"group":"Plans","events":["plan.created","plan.updated","plan.deleted"]},{"group":"Tasks","events":["task.created","task.updated","task.deleted","task.completed"]}],"items":{"type":"object","properties":{"group":{"type":"string","example":"Accounts (Clients, Employees, Introducers)"},"events":{"type":"array","example":["account.created","account.updated","account.deleted","account.annual-review-date-occurred"],"items":{"type":"string"}}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/relationship-types":{"get":{"summary":"Get a list of relationship types with their inverse pairings","operationId":"getApiV1StaticRelationshipTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"value":"attorney","label":"Attorney","inverse_value":"client_of_attorney","inverse_label":"Client of Attorney"},{"value":"aunt_uncle","label":"Aunt / Uncle","inverse_value":"niece_nephew","inverse_label":"Niece / Nephew"},{"value":"beneficiary","label":"Beneficiary","inverse_value":"trust","inverse_label":"Trust"},{"value":"business_partner","label":"Business Partner","inverse_value":"business_partner","inverse_label":"Business Partner"},{"value":"child","label":"Child","inverse_value":"parent","inverse_label":"Parent"},{"value":"civil-partner","label":"Civil Partner","inverse_value":"civil-partner","inverse_label":"Civil Partner"},{"value":"client","label":"Client","inverse_value":"client","inverse_label":"Client"},{"value":"client_of_attorney","label":"Client of Attorney","inverse_value":"attorney","inverse_label":"Attorney"},{"value":"co-director","label":"Co-director","inverse_value":"co-director","inverse_label":"Co-director"},{"value":"co-habiting","label":"Co-habiting","inverse_value":"co-habiting","inverse_label":"Co-habiting"},{"value":"common-law","label":"Common Law","inverse_value":"common-law","inverse_label":"Common Law"},{"value":"cousin","label":"Cousin","inverse_value":"cousin","inverse_label":"Cousin"},{"value":"dependent","label":"Dependent","inverse_value":"guardian","inverse_label":"Guardian"},{"value":"director","label":"Director","inverse_value":"employee","inverse_label":"Employee"},{"value":"employee","label":"Employee","inverse_value":"employer","inverse_label":"Employer"},{"value":"engaged","label":"Engaged","inverse_value":"engaged","inverse_label":"Engaged"},{"value":"employer","label":"Employer","inverse_value":"employee","inverse_label":"Employee"},{"value":"ex-employer","label":"Ex Employer","inverse_value":"ex-employee","inverse_label":"Ex-employee"},{"value":"ex-partner","label":"Ex-Partner","inverse_value":"ex-partner","inverse_label":"Ex-Partner"},{"value":"ex-spouse","label":"Ex-Spouse","inverse_value":"ex-spouse","inverse_label":"Ex-Spouse"},{"value":"ex-employee","label":"Ex-employee","inverse_value":"ex-employer","inverse_label":"Ex Employer"},{"value":"friend","label":"Friend","inverse_value":"friend","inverse_label":"Friend"},{"value":"grandchild","label":"Grandchild","inverse_value":"grandparent","inverse_label":"Grandparent"},{"value":"grandparent","label":"Grandparent","inverse_value":"grandchild","inverse_label":"Grandchild"},{"value":"guardian","label":"Guardian","inverse_value":"dependent","inverse_label":"Dependent"},{"value":"in-law","label":"In Law","inverse_value":"in-law","inverse_label":"In Law"},{"value":"key-person","label":"Key Person","inverse_value":"key-person","inverse_label":"Key Person"},{"value":"niece_nephew","label":"Niece / Nephew","inverse_value":"aunt_uncle","inverse_label":"Aunt / Uncle"},{"value":"other","label":"Other","inverse_value":"other","inverse_label":"Other"},{"value":"parent","label":"Parent","inverse_value":"child","inverse_label":"Child"},{"value":"parent-company","label":"Parent Company","inverse_value":"parent-company","inverse_label":"Parent Company"},{"value":"partner","label":"Partner","inverse_value":"partner","inverse_label":"Partner"},{"value":"primary-contact","label":"Primary Contact","inverse_value":"primary-contact","inverse_label":"Primary Contact"},{"value":"relative","label":"Relative","inverse_value":"relative","inverse_label":"Relative"},{"value":"separated","label":"Separated","inverse_value":"separated","inverse_label":"Separated"},{"value":"settlor","label":"Settlor","inverse_value":"trust","inverse_label":"Trust"},{"value":"shareholder","label":"Shareholder","inverse_value":null,"inverse_label":null},{"value":"shareholder-director","label":"Shareholder Director","inverse_value":"shareholder","inverse_label":"Shareholder"},{"value":"shareholder-non-director","label":"Shareholder Non-Director","inverse_value":"shareholder","inverse_label":"Shareholder"},{"value":"sibling","label":"Sibling","inverse_value":"sibling","inverse_label":"Sibling"},{"value":"spouse","label":"Spouse","inverse_value":"spouse","inverse_label":"Spouse"},{"value":"step-child","label":"Step-Child","inverse_value":"step-parent","inverse_label":"Step-Parent"},{"value":"step-parent","label":"Step-Parent","inverse_value":"step-child","inverse_label":"Step-Child"},{"value":"trust","label":"Trust","inverse_value":null,"inverse_label":null},{"value":"trustee","label":"Trustee","inverse_value":"trust","inverse_label":"Trust"},{"value":"widow","label":"Widow","inverse_value":"widower","inverse_label":"Widower"},{"value":"widower","label":"Widower","inverse_value":"widow","inverse_label":"Widow"},{"value":"work-colleague","label":"Work Colleague","inverse_value":"work-colleague","inverse_label":"Work Colleague"}]},"properties":{"data":{"type":"array","example":[{"value":"attorney","label":"Attorney","inverse_value":"client_of_attorney","inverse_label":"Client of Attorney"},{"value":"aunt_uncle","label":"Aunt / Uncle","inverse_value":"niece_nephew","inverse_label":"Niece / Nephew"},{"value":"beneficiary","label":"Beneficiary","inverse_value":"trust","inverse_label":"Trust"},{"value":"business_partner","label":"Business Partner","inverse_value":"business_partner","inverse_label":"Business Partner"},{"value":"child","label":"Child","inverse_value":"parent","inverse_label":"Parent"},{"value":"civil-partner","label":"Civil Partner","inverse_value":"civil-partner","inverse_label":"Civil Partner"},{"value":"client","label":"Client","inverse_value":"client","inverse_label":"Client"},{"value":"client_of_attorney","label":"Client of Attorney","inverse_value":"attorney","inverse_label":"Attorney"},{"value":"co-director","label":"Co-director","inverse_value":"co-director","inverse_label":"Co-director"},{"value":"co-habiting","label":"Co-habiting","inverse_value":"co-habiting","inverse_label":"Co-habiting"},{"value":"common-law","label":"Common Law","inverse_value":"common-law","inverse_label":"Common Law"},{"value":"cousin","label":"Cousin","inverse_value":"cousin","inverse_label":"Cousin"},{"value":"dependent","label":"Dependent","inverse_value":"guardian","inverse_label":"Guardian"},{"value":"director","label":"Director","inverse_value":"employee","inverse_label":"Employee"},{"value":"employee","label":"Employee","inverse_value":"employer","inverse_label":"Employer"},{"value":"engaged","label":"Engaged","inverse_value":"engaged","inverse_label":"Engaged"},{"value":"employer","label":"Employer","inverse_value":"employee","inverse_label":"Employee"},{"value":"ex-employer","label":"Ex Employer","inverse_value":"ex-employee","inverse_label":"Ex-employee"},{"value":"ex-partner","label":"Ex-Partner","inverse_value":"ex-partner","inverse_label":"Ex-Partner"},{"value":"ex-spouse","label":"Ex-Spouse","inverse_value":"ex-spouse","inverse_label":"Ex-Spouse"},{"value":"ex-employee","label":"Ex-employee","inverse_value":"ex-employer","inverse_label":"Ex Employer"},{"value":"friend","label":"Friend","inverse_value":"friend","inverse_label":"Friend"},{"value":"grandchild","label":"Grandchild","inverse_value":"grandparent","inverse_label":"Grandparent"},{"value":"grandparent","label":"Grandparent","inverse_value":"grandchild","inverse_label":"Grandchild"},{"value":"guardian","label":"Guardian","inverse_value":"dependent","inverse_label":"Dependent"},{"value":"in-law","label":"In Law","inverse_value":"in-law","inverse_label":"In Law"},{"value":"key-person","label":"Key Person","inverse_value":"key-person","inverse_label":"Key Person"},{"value":"niece_nephew","label":"Niece / Nephew","inverse_value":"aunt_uncle","inverse_label":"Aunt / Uncle"},{"value":"other","label":"Other","inverse_value":"other","inverse_label":"Other"},{"value":"parent","label":"Parent","inverse_value":"child","inverse_label":"Child"},{"value":"parent-company","label":"Parent Company","inverse_value":"parent-company","inverse_label":"Parent Company"},{"value":"partner","label":"Partner","inverse_value":"partner","inverse_label":"Partner"},{"value":"primary-contact","label":"Primary Contact","inverse_value":"primary-contact","inverse_label":"Primary Contact"},{"value":"relative","label":"Relative","inverse_value":"relative","inverse_label":"Relative"},{"value":"separated","label":"Separated","inverse_value":"separated","inverse_label":"Separated"},{"value":"settlor","label":"Settlor","inverse_value":"trust","inverse_label":"Trust"},{"value":"shareholder","label":"Shareholder","inverse_value":null,"inverse_label":null},{"value":"shareholder-director","label":"Shareholder Director","inverse_value":"shareholder","inverse_label":"Shareholder"},{"value":"shareholder-non-director","label":"Shareholder Non-Director","inverse_value":"shareholder","inverse_label":"Shareholder"},{"value":"sibling","label":"Sibling","inverse_value":"sibling","inverse_label":"Sibling"},{"value":"spouse","label":"Spouse","inverse_value":"spouse","inverse_label":"Spouse"},{"value":"step-child","label":"Step-Child","inverse_value":"step-parent","inverse_label":"Step-Parent"},{"value":"step-parent","label":"Step-Parent","inverse_value":"step-child","inverse_label":"Step-Child"},{"value":"trust","label":"Trust","inverse_value":null,"inverse_label":null},{"value":"trustee","label":"Trustee","inverse_value":"trust","inverse_label":"Trust"},{"value":"widow","label":"Widow","inverse_value":"widower","inverse_label":"Widower"},{"value":"widower","label":"Widower","inverse_value":"widow","inverse_label":"Widow"},{"value":"work-colleague","label":"Work Colleague","inverse_value":"work-colleague","inverse_label":"Work Colleague"}],"items":{"type":"object","properties":{"value":{"type":"string","example":"attorney"},"label":{"type":"string","example":"Attorney"},"inverse_value":{"type":"string","example":"client_of_attorney"},"inverse_label":{"type":"string","example":"Client of Attorney"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/titles":{"get":{"summary":"Get a list of all titles","operationId":"getApiV1StaticTitles","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Mr","value":"mr"},{"name":"Mrs","value":"mrs"},{"name":"Ms","value":"ms"},{"name":"Miss","value":"miss"},{"name":"Admiral","value":"admiral"},{"name":"Air Commodore","value":"air_commodore"},{"name":"Air Vice Marshall","value":"air_vice_marshall"},{"name":"Archdeacon","value":"archdeacon"},{"name":"Baron","value":"baron"},{"name":"Baroness","value":"baroness"},{"name":"Bishop","value":"bishop"},{"name":"Brigadier","value":"brigadier"},{"name":"Canon","value":"canon"},{"name":"Captain","value":"captain"},{"name":"Colonel","value":"colonel"},{"name":"Commander","value":"commander"},{"name":"Commodore","value":"commodore"},{"name":"Corporal","value":"corporal"},{"name":"Count","value":"count"},{"name":"Countess","value":"countess"},{"name":"Dame","value":"dame"},{"name":"Deacon","value":"deacon"},{"name":"Deaconess","value":"deaconess"},{"name":"Dr","value":"dr"},{"name":"Duchess","value":"duchess"},{"name":"Father","value":"father"},{"name":"Flight Lieutenant","value":"flight_lieutenant"},{"name":"Group Captain","value":"group_captain"},{"name":"Judge","value":"judge"},{"name":"Lady","value":"lady"},{"name":"Lance Corporal","value":"lance_corporal"},{"name":"Lieutenant","value":"lieutenant"},{"name":"Lieutenant Colonel","value":"lieutenant_colonel"},{"name":"Lieutenant Commander","value":"lieutenant_commander"},{"name":"Lord","value":"lord"},{"name":"Madam","value":"madam"},{"name":"Major","value":"major"},{"name":"Major General","value":"major_general"},{"name":"Master","value":"master"},{"name":"Monsignor","value":"monsignor"},{"name":"Mx","value":"mx"},{"name":"Other","value":"other"},{"name":"Pastor","value":"pastor"},{"name":"Prince","value":"prince"},{"name":"Princess","value":"princess"},{"name":"Private","value":"private"},{"name":"Professor","value":"professor"},{"name":"Rabbi","value":"rabbi"},{"name":"Rear Admiral","value":"rear_admiral"},{"name":"Reverend","value":"reverend"},{"name":"Reverend Doctor","value":"reverend_doctor"},{"name":"Right Honourable","value":"right_honourable"},{"name":"Right Honourable Lord","value":"right_honourable_lord"},{"name":"Right Reverend","value":"right_reverend"},{"name":"Second Lieutenant","value":"second_lieutenant"},{"name":"Sergeant","value":"sergeant"},{"name":"Sheriff","value":"sheriff"},{"name":"Sir","value":"sir"},{"name":"Sister","value":"sister"},{"name":"Squadron Leader","value":"squadron_leader"},{"name":"Staff Sergeant","value":"staff_sergeant"},{"name":"Surgeon Captain","value":"surgeon_captain"},{"name":"The Earl of","value":"the_earl_of"},{"name":"The Honourable","value":"the_honourable"},{"name":"The Reverend Canon","value":"the_reverend_canon"},{"name":"Trooper","value":"trooper"},{"name":"Unspecified","value":"unspecified"},{"name":"Venerable","value":"venerable"},{"name":"Very Reverend","value":"very_reverend"},{"name":"Viscount","value":"viscount"},{"name":"Viscountess","value":"viscountess"},{"name":"Wing Commander","value":"wing_commander"}]},"properties":{"data":{"type":"array","example":[{"name":"Mr","value":"mr"},{"name":"Mrs","value":"mrs"},{"name":"Ms","value":"ms"},{"name":"Miss","value":"miss"},{"name":"Admiral","value":"admiral"},{"name":"Air Commodore","value":"air_commodore"},{"name":"Air Vice Marshall","value":"air_vice_marshall"},{"name":"Archdeacon","value":"archdeacon"},{"name":"Baron","value":"baron"},{"name":"Baroness","value":"baroness"},{"name":"Bishop","value":"bishop"},{"name":"Brigadier","value":"brigadier"},{"name":"Canon","value":"canon"},{"name":"Captain","value":"captain"},{"name":"Colonel","value":"colonel"},{"name":"Commander","value":"commander"},{"name":"Commodore","value":"commodore"},{"name":"Corporal","value":"corporal"},{"name":"Count","value":"count"},{"name":"Countess","value":"countess"},{"name":"Dame","value":"dame"},{"name":"Deacon","value":"deacon"},{"name":"Deaconess","value":"deaconess"},{"name":"Dr","value":"dr"},{"name":"Duchess","value":"duchess"},{"name":"Father","value":"father"},{"name":"Flight Lieutenant","value":"flight_lieutenant"},{"name":"Group Captain","value":"group_captain"},{"name":"Judge","value":"judge"},{"name":"Lady","value":"lady"},{"name":"Lance Corporal","value":"lance_corporal"},{"name":"Lieutenant","value":"lieutenant"},{"name":"Lieutenant Colonel","value":"lieutenant_colonel"},{"name":"Lieutenant Commander","value":"lieutenant_commander"},{"name":"Lord","value":"lord"},{"name":"Madam","value":"madam"},{"name":"Major","value":"major"},{"name":"Major General","value":"major_general"},{"name":"Master","value":"master"},{"name":"Monsignor","value":"monsignor"},{"name":"Mx","value":"mx"},{"name":"Other","value":"other"},{"name":"Pastor","value":"pastor"},{"name":"Prince","value":"prince"},{"name":"Princess","value":"princess"},{"name":"Private","value":"private"},{"name":"Professor","value":"professor"},{"name":"Rabbi","value":"rabbi"},{"name":"Rear Admiral","value":"rear_admiral"},{"name":"Reverend","value":"reverend"},{"name":"Reverend Doctor","value":"reverend_doctor"},{"name":"Right Honourable","value":"right_honourable"},{"name":"Right Honourable Lord","value":"right_honourable_lord"},{"name":"Right Reverend","value":"right_reverend"},{"name":"Second Lieutenant","value":"second_lieutenant"},{"name":"Sergeant","value":"sergeant"},{"name":"Sheriff","value":"sheriff"},{"name":"Sir","value":"sir"},{"name":"Sister","value":"sister"},{"name":"Squadron Leader","value":"squadron_leader"},{"name":"Staff Sergeant","value":"staff_sergeant"},{"name":"Surgeon Captain","value":"surgeon_captain"},{"name":"The Earl of","value":"the_earl_of"},{"name":"The Honourable","value":"the_honourable"},{"name":"The Reverend Canon","value":"the_reverend_canon"},{"name":"Trooper","value":"trooper"},{"name":"Unspecified","value":"unspecified"},{"name":"Venerable","value":"venerable"},{"name":"Very Reverend","value":"very_reverend"},{"name":"Viscount","value":"viscount"},{"name":"Viscountess","value":"viscountess"},{"name":"Wing Commander","value":"wing_commander"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Mr"},"value":{"type":"string","example":"mr"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/dependant-relationship-types":{"get":{"summary":"Get a list of dependant relationship types","operationId":"getApiV1StaticDependantRelationshipTypes","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"value":"child","label":"Child"},{"value":"step_child","label":"Step Child"},{"value":"civil_partner","label":"Civil Partner"},{"value":"son","label":"Son"},{"value":"daughter","label":"Daughter"},{"value":"grandchild","label":"Grandchild"},{"value":"grandparent","label":"Grandparent"},{"value":"parent","label":"Parent"},{"value":"partner","label":"Partner"},{"value":"spouse","label":"Spouse"},{"value":"step_parent","label":"Step Parent"},{"value":"other","label":"Other"}]},"properties":{"data":{"type":"array","example":[{"value":"child","label":"Child"},{"value":"step_child","label":"Step Child"},{"value":"civil_partner","label":"Civil Partner"},{"value":"son","label":"Son"},{"value":"daughter","label":"Daughter"},{"value":"grandchild","label":"Grandchild"},{"value":"grandparent","label":"Grandparent"},{"value":"parent","label":"Parent"},{"value":"partner","label":"Partner"},{"value":"spouse","label":"Spouse"},{"value":"step_parent","label":"Step Parent"},{"value":"other","label":"Other"}],"items":{"type":"object","properties":{"value":{"type":"string","example":"child"},"label":{"type":"string","example":"Child"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/portal-access-statuses":{"get":{"summary":"Get a list of portal access statuses","operationId":"getApiV1StaticPortalAccessStatuses","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":[{"name":"Active","value":"active"},{"name":"Has Portal Access","value":"has_portal_access"},{"name":"No Portal Access","value":"no_portal_access"},{"name":"Never Logged In","value":"never_logged_in"},{"name":"Logged In Recently","value":"logged_in_recently"}]},"properties":{"data":{"type":"array","example":[{"name":"Active","value":"active"},{"name":"Has Portal Access","value":"has_portal_access"},{"name":"No Portal Access","value":"no_portal_access"},{"name":"Never Logged In","value":"never_logged_in"},{"name":"Logged In Recently","value":"logged_in_recently"}],"items":{"type":"object","properties":{"name":{"type":"string","example":"Active"},"value":{"type":"string","example":"active"}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/static/rbac-permissions":{"get":{"summary":"Get a list of all RBAC permissions grouped by resource type","operationId":"getApiV1StaticRbacPermissions","description":"Returns the permission catalogue for the authenticated account's firm. `groups` maps each\ngroup slug to its display label, `resources` maps each resource type slug to its display\nlabel, and `permissions` lists the assignable permissions under each group. Permissions\nbelonging to features the firm does not have enabled are omitted.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{"data":{"groups":{"accounts":"Accounts","external":"External","plans":"Plans"},"resources":{"external":"Introducers","plans":"Plans","tasks":"Tasks"},"permissions":{"accounts":[{"label":"View Tasks","value":"tasks:read"},{"label":"Update Tasks","value":"tasks:update"}],"external":[{"label":"View Introducers","value":"external:read"}],"plans":[{"label":"View Plans","value":"plans:read"},{"label":"View All Plans","value":"plans:readAll"}]}}},"properties":{"data":{"type":"object","properties":{"groups":{"type":"object","properties":{"accounts":{"type":"string","example":"Accounts"},"external":{"type":"string","example":"External"},"plans":{"type":"string","example":"Plans"}}},"resources":{"type":"object","properties":{"external":{"type":"string","example":"Introducers"},"plans":{"type":"string","example":"Plans"},"tasks":{"type":"string","example":"Tasks"}}},"permissions":{"type":"object","properties":{"accounts":{"type":"array","example":[{"label":"View Tasks","value":"tasks:read"},{"label":"Update Tasks","value":"tasks:update"}],"items":{"type":"object","properties":{"label":{"type":"string","example":"View Tasks"},"value":{"type":"string","example":"tasks:read"}}}},"external":{"type":"array","example":[{"label":"View Introducers","value":"external:read"}],"items":{"type":"object","properties":{"label":{"type":"string","example":"View Introducers"},"value":{"type":"string","example":"external:read"}}}},"plans":{"type":"array","example":[{"label":"View Plans","value":"plans:read"},{"label":"View All Plans","value":"plans:readAll"}],"items":{"type":"object","properties":{"label":{"type":"string","example":"View Plans"},"value":{"type":"string","example":"plans:read"}}}}}}}}}}}}}},"tags":["Static Data"]}},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/portfolios":{"get":{"summary":"Get all portfolios","operationId":"getApiV1PlansPlan_uuidSubAccountsSubAccount_uuidPortfolios","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[created_at]","description":"Filter portfolios when they were created.","example":"?filter[created_at_after]=2023-09-25","required":false,"schema":{"type":"string","description":"Filter portfolios when they were created.","example":"?filter[created_at_after]=2023-09-25"}},{"in":"query","name":"filter[updated_at]","description":"Filter portfolios when they were updated.","example":"?filter[updated_at_after]=2023-09-25","required":false,"schema":{"type":"string","description":"Filter portfolios when they were updated.","example":"?filter[updated_at_after]=2023-09-25"}},{"in":"query","name":"filter[is_proposed]","description":"Filter portfolios that are proposed.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter portfolios that are proposed.","example":true}},{"in":"query","name":"filter[proposed_at]","description":"Filter portfolios when they were proposed.","example":"?filter[proposed_at_after]=2023-09-25","required":false,"schema":{"type":"string","description":"Filter portfolios when they were proposed.","example":"?filter[proposed_at_after]=2023-09-25"}},{"in":"query","name":"filter[name]","description":"Filter portfolios when they were created.","example":"?filter[created_at_after]=2023-09-25","required":false,"schema":{"type":"string","description":"Filter portfolios when they were created.","example":"?filter[created_at_after]=2023-09-25"}},{"in":"query","name":"filter[exclude_active_portfolio]","description":"Exclude the sub account's active portfolio.","example":true,"required":false,"schema":{"type":"boolean","description":"Exclude the sub account's active portfolio.","example":true}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource"}}}}}}}},"tags":["Sub Account Portfolios"]},"post":{"summary":"Create a portfolio","operationId":"postApiV1PlansPlan_uuidSubAccountsSubAccount_uuidPortfolios","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Sub Account Portfolios"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_StorePortfolioRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/portfolios/{uuid}":{"get":{"summary":"Get a portfolio","operationId":"getApiV1PlansPlan_uuidSubAccountsSubAccount_uuidPortfoliosUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource"}}}}},"tags":["Sub Account Portfolios"]},"put":{"summary":"Update a portfolio","operationId":"putApiV1PlansPlan_uuidSubAccountsSubAccount_uuidPortfoliosUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_PortfolioResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Sub Account Portfolios"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_UpdatePortfolioRequest"}}}}},"delete":{"summary":"Delete a portfolio","operationId":"deleteApiV1PlansPlan_uuidSubAccountsSubAccount_uuidPortfoliosUuid","description":"This will delete the holdings that the portfolio was associated with.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Sub Account Portfolios"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts":{"get":{"summary":"Get all sub accounts","operationId":"getApiV1PlansPlan_uuidSubAccounts","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [latest_valuation].","example":"latest_valuation","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [latest_valuation].","example":"latest_valuation"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource"}}}}}}}},"tags":["Sub Accounts"]},"post":{"summary":"Create a sub account","operationId":"postApiV1PlansPlan_uuidSubAccounts","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Sub Accounts"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StoreSubAccountRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{uuid}":{"get":{"summary":"Get a sub account","operationId":"getApiV1PlansPlan_uuidSubAccountsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource"}}}}},"tags":["Sub Accounts"]},"put":{"summary":"Update a sub account","operationId":"putApiV1PlansPlan_uuidSubAccountsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Sub Accounts"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_UpdateSubAccountRequest"}}}}},"delete":{"summary":"Delete a sub account","operationId":"deleteApiV1PlansPlan_uuidSubAccountsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_SubAccountResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Sub Accounts"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/tag":{"get":{"summary":"Get all tags","operationId":"getApiV1Tag","description":"","parameters":[{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, slug]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-slug","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, slug]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-slug"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[name]","description":"Filter by partial tag name","example":"architecto","required":false,"schema":{"type":"string","description":"Filter by partial tag name","example":"architecto"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_TagResource"}}}}}}}},"tags":["Tagging"]},"post":{"summary":"Add tags to company","operationId":"postApiV1Tag","description":"You can provide an array of tags in various formats.\nEach element in the array can be:\n- a string of the tag name (and it will find it if it exists for the firm)\n- a UUID of a tag that already exists\n- an array of a name value and a colour value.  e.g. ['name' =\u003e 'Urgent', 'colour' =\u003e '#FF0000']\n\nThere are four different modes for dealing with tags on a model.\n- create = Create the tags you provide with no model attached to them.\n- attach = Add the tags you provide to the model, keeping any tags already on the model.\n- sync = Only the tags you provide in the request should exist on the model, this will remove any that you have not provided.\n- detach = Remove the tags you provide from the model.","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_TagResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Tagging"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Tag_StoreTagRequest"}}}}}},"/api/v1/tag/{uuid}":{"put":{"summary":"Update a tag","operationId":"putApiV1TagUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TagResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Tagging"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Tag_UpdateTagRequest"}}}}},"delete":{"summary":"Delete a tag","operationId":"deleteApiV1TagUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Tagging"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/task-status":{"get":{"summary":"Get all task statuses in a firm","operationId":"getApiV1TaskStatus","description":"","parameters":[{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, position]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, position]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_TaskStatusResource"}}}}}}}},"tags":["Task Statuses"]},"post":{"summary":"Create a task status","operationId":"postApiV1TaskStatus","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TaskStatusResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Task Statuses"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Tasks_StoreTaskStatusRequest"}}}}}},"/api/v1/task-status/{taskStatus_uuid}":{"get":{"summary":"Get a task status","operationId":"getApiV1TaskStatusTaskStatus_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TaskStatusResource"}}}}},"tags":["Task Statuses"]},"put":{"summary":"Update a task status","operationId":"putApiV1TaskStatusTaskStatus_uuid","description":"You cannot update a completed statuses details except it's position","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TaskStatusResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Task Statuses"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Tasks_UpdateTaskStatusRequest"}}}}},"delete":{"summary":"Delete a task status","operationId":"deleteApiV1TaskStatusTaskStatus_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Task Statuses"]},"parameters":[{"in":"path","name":"taskStatus_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/task":{"get":{"summary":"Get all tasks on a firm.","operationId":"getApiV1Task","description":"Constrained by the user role. For example, owners and admins can see all tasks. Members can only see tasks within\ngroups they can access and clients can only see tasks they have access to.","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [author, completed_by, parent_task, related_tasks, custom_fields, workflow_task].","example":"?include=author,completed_by","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [author, completed_by, parent_task, related_tasks, custom_fields, workflow_task].","example":"?include=author,completed_by"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"query","name":"filter[name]","description":"Filter Task name.","example":"Task A","required":false,"schema":{"type":"string","description":"Filter Task name.","example":"Task A"}},{"in":"query","name":"filter[taskable_type]","description":"Taskable type. Can be 'plan' or 'case'.","example":"architecto","required":false,"schema":{"type":"string","description":"Taskable type. Can be 'plan' or 'case'.","example":"architecto"}},{"in":"query","name":"filter[taskable_uuid]","description":"Taskable uuid.","example":"123e4567-e89b-12d3-a456-426614174000","required":false,"schema":{"type":"string","description":"Taskable uuid.","example":"123e4567-e89b-12d3-a456-426614174000"}},{"in":"query","name":"filter[client_uuid]","description":"Client Taskable uuid.","example":"BABCB1F1-50E9-46A9-A5EE-50847EA65043","required":false,"schema":{"type":"string","description":"Client Taskable uuid.","example":"BABCB1F1-50E9-46A9-A5EE-50847EA65043"}},{"in":"query","name":"filter[priority]","description":"Priority. Available options are highest, high, medium, and low.","example":"highest,low","required":false,"schema":{"type":"string","description":"Priority. Available options are highest, high, medium, and low.","example":"highest,low"}},{"in":"query","name":"filter[assigned_to_uuids]","description":"Filter tasks that have been assigned to the account UUIDs.","example":"123e4567-e89b-12d3-a456-426614174000","required":false,"schema":{"type":"string","description":"Filter tasks that have been assigned to the account UUIDs.","example":"123e4567-e89b-12d3-a456-426614174000"}},{"in":"query","name":"filter[circle_uuids]","description":"Filter tasks that have been assigned to the account UUIDs within the specified circles.","example":"123e4567-e89b-12d3-a456-426614174000","required":false,"schema":{"type":"string","description":"Filter tasks that have been assigned to the account UUIDs within the specified circles.","example":"123e4567-e89b-12d3-a456-426614174000"}},{"in":"query","name":"filter[status_uuid]","description":"Status uuid. The task's status uuid.","example":"architecto","required":false,"schema":{"type":"string","description":"Status uuid. The task's status uuid.","example":"architecto"}},{"in":"query","name":"filter[due_before]","description":"date Filter tasks that have a due at date before.","example":"2021-01-04","required":false,"schema":{"type":"string","description":"date Filter tasks that have a due at date before.","example":"2021-01-04"}},{"in":"query","name":"filter[due_after]","description":"date Filter tasks that have a due at date after.","example":"2021-01-02","required":false,"schema":{"type":"string","description":"date Filter tasks that have a due at date after.","example":"2021-01-02"}},{"in":"query","name":"filter[has_due_date]","description":"Filter tasks that have a due at date or not.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter tasks that have a due at date or not.","example":true}},{"in":"query","name":"filter[open_tasks]","description":"Only show open tasks. When true, this will filter tasks in the \"Completed\" or \"Archived\" columns.","example":true,"required":false,"schema":{"type":"boolean","description":"Only show open tasks. When true, this will filter tasks in the \"Completed\" or \"Archived\" columns.","example":true}},{"in":"query","name":"filter[completed_status]","description":"Filter tasks which have a system status of type completed.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter tasks which have a system status of type completed.","example":true}},{"in":"query","name":"filter[archived_status]","description":"Filter tasks which have a system status of type archived.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter tasks which have a system status of type archived.","example":true}},{"in":"query","name":"filter[not_started_status]","description":"Filter tasks which have a system status of type not started.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter tasks which have a system status of type not started.","example":true}},{"in":"query","name":"filter[show_child_tasks]","description":"(deprecated, use subtask_visibility instead) Show child tasks in the top-level list. Defaults to false.","example":true,"required":false,"schema":{"type":"boolean","description":"(deprecated, use subtask_visibility instead) Show child tasks in the top-level list. Defaults to false.","example":true}},{"in":"query","name":"filter[subtask_visibility]","description":"Filter subtasks in the top-level list. options are: include, exclude or only.","example":"include","required":false,"schema":{"type":"string","description":"Filter subtasks in the top-level list. options are: include, exclude or only.","example":"include"}},{"in":"query","name":"filter[unassigned_task_visibility]","description":"Filter unassigned subtasks in the top-level list. options are: include, exclude or only.","example":"include","required":false,"schema":{"type":"string","description":"Filter unassigned subtasks in the top-level list. options are: include, exclude or only.","example":"include"}},{"in":"query","name":"filter[is_recurring]","description":"Filter recurring tasks.","example":true,"required":false,"schema":{"type":"boolean","description":"Filter recurring tasks.","example":true}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name, priority, due_at, completed_last]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name, priority, due_at, completed_last]. Negative sign to denote DESC.  Defaults to 'created_at'.","example":"updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_IndexTaskResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Tasks"]},"post":{"summary":"Create a task","operationId":"postApiV1Task","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TaskResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Tasks"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Tasks_StoreTaskRequest"}}}}}},"/api/v1/task/{uuid}":{"get":{"summary":"Get a task","operationId":"getApiV1TaskUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TaskResource"}}}}},"tags":["Tasks"]},"put":{"summary":"Update a task","operationId":"putApiV1TaskUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TaskResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Tasks"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Tasks_UpdateTaskRequest"}}}}},"delete":{"summary":"Delete a task","operationId":"deleteApiV1TaskUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Tasks"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/task/{task_uuid}/complete":{"patch":{"summary":"Complete a task","operationId":"patchApiV1TaskTask_uuidComplete","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TaskResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Tasks"]},"parameters":[{"in":"path","name":"task_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/task/{task_uuid}/archive":{"patch":{"summary":"Archive","operationId":"patchApiV1TaskTask_uuidArchive","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Tasks"]},"parameters":[{"in":"path","name":"task_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/task/{task_uuid}/uncomplete/{taskStatus}":{"patch":{"summary":"Uncomplete a task","operationId":"patchApiV1TaskTask_uuidUncompleteTaskStatus","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TaskResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Tasks"]},"parameters":[{"in":"path","name":"task_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"taskStatus","description":"Optional parameter.","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v1/task/{task_uuid}/unarchive/{taskStatus_uuid}":{"patch":{"summary":"Archive","operationId":"patchApiV1TaskTask_uuidUnarchiveTaskStatus_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Tasks"]},"parameters":[{"in":"path","name":"task_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"taskStatus_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/circles/{circle_uuid}/all-time-entries":{"get":{"summary":"Get all time entries for a circle","operationId":"getApiV1CirclesCircle_uuidAllTimeEntries","description":"Includes time entries within the circle's account's cases and tasks.","parameters":[{"in":"query","name":"filter[trackable_type]","description":"Filter by a comma separated list of trackable types.","example":"client,case,board_task","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of trackable types.","example":"client,case,board_task"}},{"in":"query","name":"filter[account_uuids]","description":"Time entries owned by account UUIDs, comma separated list.  Do not include if getting time entries for current user.","example":"architecto","required":false,"schema":{"type":"string","description":"Time entries owned by account UUIDs, comma separated list.  Do not include if getting time entries for current user.","example":"architecto"}},{"in":"query","name":"filter[start_date_after]","description":"Filter by time entries after a given start date.","example":"2022-08-10","required":false,"schema":{"type":"string","description":"Filter by time entries after a given start date.","example":"2022-08-10"}},{"in":"query","name":"filter[start_date_before]","description":"Filter by time entries before a given start date.","example":"2022-08-18","required":false,"schema":{"type":"string","description":"Filter by time entries before a given start date.","example":"2022-08-18"}},{"in":"query","name":"filter[end_date_after]","description":"Filter by time entries after a given end date.","example":"2022-08-10","required":false,"schema":{"type":"string","description":"Filter by time entries after a given end date.","example":"2022-08-10"}},{"in":"query","name":"filter[end_date_before]","description":"Filter by time entries before a given end date.","example":"2022-08-18","required":false,"schema":{"type":"string","description":"Filter by time entries before a given end date.","example":"2022-08-18"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, start_date, end_date]. Negative sign to denote DESC.  Defaults to '-end_date'.","example":"start_date","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, start_date, end_date]. Negative sign to denote DESC.  Defaults to '-end_date'.","example":"start_date"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource"}}}}}}}},"tags":["Time Entries"]},"parameters":[{"in":"path","name":"circle_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"string","description":"Optional parameter. $circle_uuid","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v1/client/{client_uuid}/all-time-entries":{"get":{"summary":"Get all time entries for a client","operationId":"getApiV1ClientClient_uuidAllTimeEntries","description":"Includes time entries within the client account cases, and tasks.","parameters":[{"in":"query","name":"filter[trackable_type]","description":"Filter by a comma separated list of trackable types.","example":"client,case,board_task","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of trackable types.","example":"client,case,board_task"}},{"in":"query","name":"filter[account_uuids]","description":"Time entries owned by account UUIDs, comma separated list.  Do not include if getting time entries for current user.","example":"architecto","required":false,"schema":{"type":"string","description":"Time entries owned by account UUIDs, comma separated list.  Do not include if getting time entries for current user.","example":"architecto"}},{"in":"query","name":"filter[start_date_after]","description":"Filter by time entries after a given start date.","example":"2022-08-10","required":false,"schema":{"type":"string","description":"Filter by time entries after a given start date.","example":"2022-08-10"}},{"in":"query","name":"filter[start_date_before]","description":"Filter by time entries before a given start date.","example":"2022-08-18","required":false,"schema":{"type":"string","description":"Filter by time entries before a given start date.","example":"2022-08-18"}},{"in":"query","name":"filter[end_date_after]","description":"Filter by time entries after a given end date.","example":"2022-08-10","required":false,"schema":{"type":"string","description":"Filter by time entries after a given end date.","example":"2022-08-10"}},{"in":"query","name":"filter[end_date_before]","description":"Filter by time entries before a given end date.","example":"2022-08-18","required":false,"schema":{"type":"string","description":"Filter by time entries before a given end date.","example":"2022-08-18"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, start_date, end_date]. Negative sign to denote DESC.  Defaults to '-end_date'.","example":"start_date","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, start_date, end_date]. Negative sign to denote DESC.  Defaults to '-end_date'.","example":"start_date"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource"}}}}}}}},"tags":["Time Entries"]},"parameters":[{"in":"path","name":"client_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"string","description":"Optional parameter. $client_uuid","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v1/time-entry":{"post":{"summary":"Create a time entry","operationId":"postApiV1TimeEntry","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Time Entries"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_TimeEntry_StoreTimeEntryRequest"}}}}}},"/api/v1/time-entry/{uuid}":{"get":{"summary":"Get a time entry","operationId":"getApiV1TimeEntryUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource"}}}}},"tags":["Time Entries"]},"put":{"summary":"Update a time entry","operationId":"putApiV1TimeEntryUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Time Entries"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_TimeEntry_UpdateTimeEntryRequest"}}}}},"delete":{"summary":"Delete a time entry","operationId":"deleteApiV1TimeEntryUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource"}}}}},"tags":["Time Entries"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/time-entry/{trackable_type}/{trackable_uuid}":{"get":{"summary":"Get time entries","operationId":"getApiV1TimeEntryTrackable_typeTrackable_uuid","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[accounts]","description":"Time entries owned by account UUIDs, comma separated list.  Do not include if getting time entries for current user.","example":"architecto","required":false,"schema":{"type":"string","description":"Time entries owned by account UUIDs, comma separated list.  Do not include if getting time entries for current user.","example":"architecto"}},{"in":"query","name":"filter[circle_uuids]","description":"Comma separated string of circle UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1","required":false,"schema":{"type":"string","description":"Comma separated string of circle UUIDs to filter by.","example":"043ec548-b3a7-5f2d-b4dd-3947c0d8eaa0,dfc9c7ba-029d-51c8-a754-e3bb26f9c4b1"}},{"in":"query","name":"filter[between]","description":"array Time entries started between the dates chosen, comma separated in format of Y-m-d.","example":"['2022-08-10', '2022-08-18']","required":false,"schema":{"type":"string","description":"array Time entries started between the dates chosen, comma separated in format of Y-m-d.","example":"['2022-08-10', '2022-08-18']"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, start_date, end_date]. Negative sign to denote DESC.  Defaults to '-end_date'.","example":"start_date","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, start_date, end_date]. Negative sign to denote DESC.  Defaults to '-end_date'.","example":"start_date"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource"}}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Time Entries"]},"parameters":[{"in":"path","name":"trackable_type","description":"Optional parameter.","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}},{"in":"path","name":"trackable_uuid","description":"Optional parameter.","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"6ff8f7f6-1eb3-3525-be4a-3932c805afed"}}},{"in":"path","name":"null","description":"Optional parameter. $trackable_uuid","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v1/time-entry/{timeEntry_uuid}/stop":{"post":{"summary":"Stop a time entry","operationId":"postApiV1TimeEntryTimeEntry_uuidStop","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TimeEntryResource"}}}}},"tags":["Time Entries"]},"parameters":[{"in":"path","name":"timeEntry_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/transaction":{"get":{"summary":"Get all transactions","operationId":"getApiV1PlansPlan_uuidTransaction","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[subaccount]","description":"Comma separated list of sub account UUIDs to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of sub account UUIDs to filter by","example":"architecto"}},{"in":"query","name":"filter[holding]","description":"Comma separated list of holding UUIDs to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of holding UUIDs to filter by","example":"architecto"}},{"in":"query","name":"filter[type]","description":"Comma separated list of types to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of types to filter by","example":"architecto"}},{"in":"query","name":"filter[sub_type]","description":"Comma separated list of sub-types to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of sub-types to filter by","example":"architecto"}},{"in":"query","name":"filter[date_from]","description":"Get transactions from a date.","example":"2022-03-20","required":false,"schema":{"type":"string","description":"Get transactions from a date.","example":"2022-03-20"}},{"in":"query","name":"filter[date_to]","description":"Get transactions to a date.","example":"2022-03-27","required":false,"schema":{"type":"string","description":"Get transactions to a date.","example":"2022-03-27"}},{"in":"query","name":"filter[amount_from]","description":"Get transactions greater than or equal to an amount in pennies.","example":"15000","required":false,"schema":{"type":"string","description":"Get transactions greater than or equal to an amount in pennies.","example":"15000"}},{"in":"query","name":"filter[amount_to]","description":"Get transactions less than or equal to an amount in pennies.","example":"20000","required":false,"schema":{"type":"string","description":"Get transactions less than or equal to an amount in pennies.","example":"20000"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type, amount, date]. Negative sign to denote DESC.  Defaults to '-date'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type, amount, date]. Negative sign to denote DESC.  Defaults to '-date'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_TransactionResource"}}}}}}}},"tags":["Transaction"]},"post":{"summary":"Create a transaction","operationId":"postApiV1PlansPlan_uuidTransaction","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TransactionResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Transaction"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Transaction_StoreTransactionRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"The uuid of a Plan.","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/transaction/{uuid}":{"get":{"summary":"Get a transaction","operationId":"getApiV1PlansPlan_uuidTransactionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TransactionResource"}}}}},"tags":["Transaction"]},"put":{"summary":"Update a transaction","operationId":"putApiV1PlansPlan_uuidTransactionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TransactionResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Transaction"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Transaction_UpdateTransactionRequest"}}}}},"delete":{"summary":"Delete a transaction","operationId":"deleteApiV1PlansPlan_uuidTransactionUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Transaction"]},"parameters":[{"in":"path","name":"plan_uuid","description":"The uuid of a Plan.","example":"dcf0-484e-a0c5-08590fe89a84-f6aa1670","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"The uuid of the transaction.","example":"dbf0-4b4e-a0c5-0b59bf8b84-f6aa1670","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/transaction-schedule/summary":{"get":{"summary":"Get a summary of the transaction schedules","operationId":"getApiV1PlansPlan_uuidTransactionScheduleSummary","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TransactionScheduleSummaryResource"}}}}},"tags":["Transaction"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/transaction-schedule":{"get":{"summary":"Get all transaction schedules","operationId":"getApiV1PlansPlan_uuidTransactionSchedule","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[subaccount]","description":"Comma separated list of sub account UUIDs to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of sub account UUIDs to filter by","example":"architecto"}},{"in":"query","name":"filter[holding]","description":"Comma separated list of holding UUIDs to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of holding UUIDs to filter by","example":"architecto"}},{"in":"query","name":"filter[type]","description":"Comma separated list of types to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of types to filter by","example":"architecto"}},{"in":"query","name":"filter[sub_type]","description":"Comma separated list of sub-types to filter by","example":"architecto","required":false,"schema":{"type":"string","description":"Comma separated list of sub-types to filter by","example":"architecto"}},{"in":"query","name":"filter[date_from]","description":"Get transactions from a date.","example":"2022-03-20","required":false,"schema":{"type":"string","description":"Get transactions from a date.","example":"2022-03-20"}},{"in":"query","name":"filter[date_to]","description":"Get transactions to a date.","example":"2022-03-27","required":false,"schema":{"type":"string","description":"Get transactions to a date.","example":"2022-03-27"}},{"in":"query","name":"filter[amount_from]","description":"Get transactions greater than or equal to an amount in pennies.","example":"15000","required":false,"schema":{"type":"string","description":"Get transactions greater than or equal to an amount in pennies.","example":"15000"}},{"in":"query","name":"filter[amount_to]","description":"Get transactions less than or equal to an amount in pennies.","example":"20000","required":false,"schema":{"type":"string","description":"Get transactions less than or equal to an amount in pennies.","example":"20000"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, type, amount, start_date, next_transaction_date]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, type, amount, start_date, next_transaction_date]. Negative sign to denote DESC.  Defaults to '-start_date'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_TransactionScheduleResource"}}}}}}}},"tags":["Transaction"]},"post":{"summary":"Create a transaction schedule","operationId":"postApiV1PlansPlan_uuidTransactionSchedule","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TransactionScheduleResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Transaction"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Transaction_StoreTransactionScheduleRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/transaction-schedule/{transactionSchedule_uuid}":{"get":{"summary":"Get a transaction schedule","operationId":"getApiV1PlansPlan_uuidTransactionScheduleTransactionSchedule_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TransactionScheduleResource"}}}}},"tags":["Transaction"]},"put":{"summary":"Update a transaction schedule","operationId":"putApiV1PlansPlan_uuidTransactionScheduleTransactionSchedule_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_TransactionScheduleResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Transaction"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Transaction_UpdateTransactionScheduleRequest"}}}}},"delete":{"summary":"Delete a transaction schedule","operationId":"deleteApiV1PlansPlan_uuidTransactionScheduleTransactionSchedule_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Transaction"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"transactionSchedule_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/transactions":{"get":{"summary":"Get all transactions","operationId":"getApiV2Transactions","description":"This endpoint will return all transactions in the firm relevant to the user accessing them.","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[account_uuids]","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of account UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[plan_uuids]","description":"Filter by a comma separated list of plan UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of plan UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[sub_account_uuids]","description":"Filter by a comma separated list of subaccount UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of subaccount UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[created_at]","description":"Filter by created at date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[created_at]=\u003e=2023-01-01,\u003c=2023-08-01","required":false,"schema":{"type":"string","description":"Filter by created at date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[created_at]=\u003e=2023-01-01,\u003c=2023-08-01"}},{"in":"query","name":"filter[updated_at]","description":"Filter by updated at date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[updated_at]=\u003e=2023-01-01,\u003c=2023-08-01","required":false,"schema":{"type":"string","description":"Filter by updated at date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[updated_at]=\u003e=2023-01-01,\u003c=2023-08-01"}},{"in":"query","name":"filter[type]","description":"Filter by type.","example":"deposit","required":false,"schema":{"type":"string","description":"Filter by type.","example":"deposit"}},{"in":"query","name":"filter[sub_type]","description":"Filter by subtype.","example":"regular","required":false,"schema":{"type":"string","description":"Filter by subtype.","example":"regular"}},{"in":"query","name":"filter[amount]","description":"Filter by amount. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[amount]=\u003e=1000,\u003c=5000","required":false,"schema":{"type":"string","description":"Filter by amount. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[amount]=\u003e=1000,\u003c=5000"}},{"in":"query","name":"filter[date]","description":"Filter by date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[date]=\u003e=2023-01-01,\u003c=2023-08-01","required":false,"schema":{"type":"string","description":"Filter by date. Can use operands such as \u003e=, \u003c\u003e, \u003e and combine as a range by providing two values separated by comma.","example":"?filter[date]=\u003e=2023-01-01,\u003c=2023-08-01"}},{"in":"query","name":"filter[status]","description":"Filter by status.","example":"completed","required":false,"schema":{"type":"string","description":"Filter by status.","example":"completed"}},{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [plan, subAccount, holding, transactionSchedule].","example":"?include=plan,subAccount","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [plan, subAccount, holding, transactionSchedule].","example":"?include=plan,subAccount"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, date]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, date]. Negative sign to denote DESC. Defaults to '-created_at'.","example":"updated_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_V2_TransactionResource"}}}}}}}},"tags":["Transactions (v2)"]}},"/api/v1/me":{"get":{"summary":"Get the authenticated user","operationId":"getApiV1Me","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_UserResource"}}}}},"tags":["User Management"]}},"/api/v1/logins":{"get":{"summary":"Get all logins for the authenticated user","operationId":"getApiV1Logins","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_LoginResource"}}}}}}}},"tags":["User Management"]}},"/api/v1/fact-find-passes/{factFindRequest_uuid}":{"get":{"summary":"List all fact-find passes for the user","operationId":"getApiV1FactFindPassesFactFindRequest_uuid","description":"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_FactFindPassResource"}}}}},"tags":["User Management"]},"parameters":[{"in":"path","name":"factFindRequest_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/integrations/{passportClient_id}/revoke":{"post":{"summary":"Remotely revoke an integration","operationId":"postApiV1IntegrationsPassportClient_idRevoke","description":"This route is purposely left undocumented as we don't currently have a UI\nfor the customer to revoke access to their Plannr account.","parameters":[],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["User Management"]},"parameters":[{"in":"path","name":"passportClient_id","description":"The ID of the passportClient.","example":"architecto","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/valuations":{"post":{"summary":"Create a valuation","operationId":"postApiV1PlansPlan_uuidSubAccountsSubAccount_uuidValuations","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Valuations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_StoreValuationRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/valuations/{uuid}":{"get":{"summary":"Get a valuation","operationId":"getApiV1PlansPlan_uuidSubAccountsSubAccount_uuidValuationsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Valuations"]},"put":{"summary":"Update a valuation","operationId":"putApiV1PlansPlan_uuidSubAccountsSubAccount_uuidValuationsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Valuations"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Plans_UpdateValuationRequest"}}}}},"delete":{"summary":"Delete a valuation","operationId":"deleteApiV1PlansPlan_uuidSubAccountsSubAccount_uuidValuationsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Valuations"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/valuations/{subAccount}":{"get":{"summary":"Get all valuations","operationId":"getApiV1PlansPlan_uuidValuationsSubAccount","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[valued_at_after]","description":"Filter by valuations valued after a date.","example":"2021-01-01","required":false,"schema":{"type":"string","description":"Filter by valuations valued after a date.","example":"2021-01-01"}},{"in":"query","name":"filter[valued_at_before]","description":"Filter by valuations valued before a date.","example":"2021-01-01","required":false,"schema":{"type":"string","description":"Filter by valuations valued before a date.","example":"2021-01-01"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [valued_at]. Negative sign to denote DESC.  Defaults to 'valued_at'.","example":"-valued_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [valued_at]. Negative sign to denote DESC.  Defaults to 'valued_at'.","example":"-valued_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_ValuationResource"}}}}}}}},"tags":["Valuations"]},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount","description":"Optional parameter. An optional sub-account to constrain the results by.","required":true,"schema":{"type":"integer"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":16}}}]},"/api/v2/valuations/bulk":{"post":{"summary":"Bulk insert valuations","operationId":"postApiV2ValuationsBulk","description":"Creates multiple valuations for a plan and sub-account","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Valuations (V2)"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_V2_Valuations_StoreBulkValuationsRequest"}}}}}},"/api/v2/webhook-subscriptions":{"get":{"summary":"Get all webhook subscriptions","operationId":"getApiV2WebhookSubscriptions","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[url]","description":"Filter by a comma separated list of URLs.","example":"https://api.example.com/webooks","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of URLs.","example":"https://api.example.com/webooks"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_WebhookSubscriptionResource"}}}}}}}},"tags":["Webhook Subscriptions"]},"post":{"summary":"Create a webhook subscription","operationId":"postApiV2WebhookSubscriptions","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_WebhookSubscriptionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Webhook Subscriptions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_StoreWebhookSubscriptionRequest"}}}}}},"/api/v2/webhook-subscriptions/{uuid}":{"get":{"summary":"Get a webhook subscription","operationId":"getApiV2WebhookSubscriptionsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_WebhookSubscriptionResource"}}}}},"tags":["Webhook Subscriptions"]},"put":{"summary":"Update a webhook subscription","operationId":"putApiV2WebhookSubscriptionsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_WebhookSubscriptionResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Webhook Subscriptions"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_UpdateWebhookSubscriptionRequest"}}}}},"delete":{"summary":"Delete a webhook subscription","operationId":"deleteApiV2WebhookSubscriptionsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"type":"object","example":{}}}}}},"tags":["Webhook Subscriptions"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"id","description":"Optional parameter. The UUID of the Webhook Subscription","required":true,"schema":{"type":"string"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":"architecto"}}}]},"/api/v2/webhook-subscriptions/{webhookSubscription_uuid}/calls":{"get":{"summary":"Get all calls made to a given webhook subscription","operationId":"getApiV2WebhookSubscriptionsWebhookSubscription_uuidCalls","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"filter[event]","description":"Filter by a comma separated list of events.","example":"account.created","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of events.","example":"account.created"}},{"in":"query","name":"filter[response_status]","description":"Filter by a comma separated list of response status codes.","example":"500,422","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of response status codes.","example":"500,422"}},{"in":"query","name":"filter[successful]","description":"Filter successful webhook calls.","example":"true","required":false,"schema":{"type":"string","description":"Filter successful webhook calls.","example":"true"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, response_status]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, response_status]. Negative sign to denote DESC.  Defaults to '-created_at'.","example":"updated_at"}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_OutgoingWebhookCallResource"}}}}}}}},"tags":["Webhook Subscriptions"]},"parameters":[{"in":"path","name":"webhookSubscription_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v2/webhook-subscriptions/calls/{outgoingWebhookCall_uuid}/retry":{"post":{"summary":"Retry the existing Webhook Call","operationId":"postApiV2WebhookSubscriptionsCallsOutgoingWebhookCall_uuidRetry","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Webhook Subscriptions"]},"parameters":[{"in":"path","name":"outgoingWebhookCall_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/withdrawals":{"post":{"summary":"Create a withdrawal [DEPRECATED: Use transaction routes]","operationId":"postApiV1PlansPlan_uuidSubAccountsSubAccount_uuidWithdrawals","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_WithdrawalResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Withdrawals"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Withdrawal_StoreWithdrawalRequest"}}}}},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/sub-accounts/{subAccount_uuid}/withdrawals/{uuid}":{"get":{"summary":"Get a withdrawal [DEPRECATED: Use transaction routes]","operationId":"getApiV1PlansPlan_uuidSubAccountsSubAccount_uuidWithdrawalsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_WithdrawalResource"}}}}},"tags":["Withdrawals"],"deprecated":true},"put":{"summary":"Update a withdrawal [DEPRECATED: Use transaction routes]","operationId":"putApiV1PlansPlan_uuidSubAccountsSubAccount_uuidWithdrawalsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_WithdrawalResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Withdrawals"],"deprecated":true,"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Withdrawal_UpdateWithdrawalRequest"}}}}},"delete":{"summary":"Delete a withdrawal [DEPRECATED: Use transaction routes]","operationId":"deleteApiV1PlansPlan_uuidSubAccountsSubAccount_uuidWithdrawalsUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"204":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Plans_WithdrawalResource"}}}},"409":{"description":"Plan is being deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"plan-is-being-deleted":{"summary":"Plan is being deleted","value":{"message":"Plan is being deleted."}}}}}}},"tags":["Withdrawals"],"deprecated":true},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/plans/{plan_uuid}/withdrawals/{subAccount}":{"get":{"summary":"Get all withdrawals [DEPRECATED: Use transaction routes]","operationId":"getApiV1PlansPlan_uuidWithdrawalsSubAccount","description":"","parameters":[{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, withdrawn_at]. Negative sign to denote DESC.  Defaults to '-withdrawn_at'.","example":"-withdrawn_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, withdrawn_at]. Negative sign to denote DESC.  Defaults to '-withdrawn_at'.","example":"-withdrawn_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/App_Http_Resources_Plans_WithdrawalResource"}}}}}}}},"tags":["Withdrawals"],"deprecated":true},"parameters":[{"in":"path","name":"plan_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"subAccount","description":"Optional parameter. An optional sub-account to constrain the results by.","required":true,"schema":{"type":"integer"},"examples":{"omitted":{"summary":"When the value is omitted","value":""},"present":{"summary":"When the value is present","value":16}}}]},"/api/v1/workflow":{"get":{"summary":"Get all workflows","operationId":"getApiV1Workflow","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [author, tasks_count].","example":"author,tasks_count","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [author, tasks_count].","example":"author,tasks_count"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowResource"}}}}},"tags":["Workflows"]},"post":{"summary":"Create a workflow","operationId":"postApiV1Workflow","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Workflows"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Board_StoreWorkflowRequest"}}}}}},"/api/v1/workflow/{uuid}":{"get":{"summary":"Get a workflow","operationId":"getApiV1WorkflowUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowResource"}}}}},"tags":["Workflows"]},"put":{"summary":"Update a workflow","operationId":"putApiV1WorkflowUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowResource"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Workflows"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Board_UpdateWorkflowRequest"}}}}},"delete":{"summary":"Delete a workflow","operationId":"deleteApiV1WorkflowUuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Workflows"]},"parameters":[{"in":"path","name":"uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/workflow/{workflow_uuid}/tree":{"get":{"summary":"Render a tree of the structure of the workflow.","operationId":"getApiV1WorkflowWorkflow_uuidTree","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowTreeResource"}}}}},"tags":["Workflows"]},"parameters":[{"in":"path","name":"workflow_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/workflow/{workflow_uuid}/breadcrumbs":{"get":{"summary":"Render breadcrumbs of the structure of the workflow.","operationId":"getApiV1WorkflowWorkflow_uuidBreadcrumbs","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Resources_Board_WorkflowBreadcrumbsResource"}}}}},"tags":["Workflows"]},"parameters":[{"in":"path","name":"workflow_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/workflow/{workflow_uuid}/task":{"get":{"summary":"Get all workflow tasks","operationId":"getApiV1WorkflowWorkflow_uuidTask","description":"","parameters":[{"in":"query","name":"include","description":"Comma separated list of relationships to include in the response. Valid relationships are [author, participants, tags, groups].","example":"author,tags","required":false,"schema":{"type":"string","description":"Comma separated list of relationships to include in the response. Valid relationships are [author, participants, tags, groups].","example":"author,tags"}},{"in":"query","name":"filter[uuid]","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf","required":false,"schema":{"type":"string","description":"Filter by a comma separated list of UUIDs.","example":"53f22fe4-3731-4cdc-aa12-e65bd0b15e52,6a6a176d-52bc-47f2-88c3-141d44059bcf"}},{"in":"query","name":"sort","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at","required":false,"schema":{"type":"string","description":"Field to sort by. Valid fields are [created_at, updated_at, name]. Negative sign to denote DESC.  Defaults to 'name'.","example":"-created_at"}},{"in":"query","name":"per_page","description":"Number of results to return with pagination (Default 15. Max 500).","example":50,"required":false,"schema":{"type":"integer","description":"Number of results to return with pagination (Default 15. Max 500).","example":50}},{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Workflows"]},"post":{"summary":"Create a workflow task","operationId":"postApiV1WorkflowWorkflow_uuidTask","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Workflows"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Board_StoreWorkflowTaskRequest"}}}}},"parameters":[{"in":"path","name":"workflow_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/workflow/{workflow_uuid}/task/{workflowTask_uuid}":{"get":{"summary":"Get a workflow task","operationId":"getApiV1WorkflowWorkflow_uuidTaskWorkflowTask_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}}},"tags":["Workflows"]},"put":{"summary":"Update a workflow task","operationId":"putApiV1WorkflowWorkflow_uuidTaskWorkflowTask_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Workflows"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Board_UpdateWorkflowTaskRequest"}}}}},"delete":{"summary":"Delete a workflow task","operationId":"deleteApiV1WorkflowWorkflow_uuidTaskWorkflowTask_uuid","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{},"tags":["Workflows"]},"parameters":[{"in":"path","name":"workflow_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"workflowTask_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/workflow/{workflow_uuid}/task/{workflowTask_uuid}/participants":{"post":{"summary":"Add a participant to the workflow task","operationId":"postApiV1WorkflowWorkflow_uuidTaskWorkflowTask_uuidParticipants","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Workflows"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Board_AddParticipantsToWorkflowTaskRequest"}}}}},"delete":{"summary":"Remove a participant from a workflow task","operationId":"deleteApiV1WorkflowWorkflow_uuidTaskWorkflowTask_uuidParticipants","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Workflows"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Board_RemoveParticipantsFromWorkflowTaskRequest"}}}}},"parameters":[{"in":"path","name":"workflow_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}},{"in":"path","name":"workflowTask_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]},"/api/v1/workflow/{workflow_uuid}/run":{"post":{"summary":"Run a workflow","operationId":"postApiV1WorkflowWorkflow_uuidRun","description":"","parameters":[{"in":"header","name":"X-PLANNR-ACCOUNT-UUID","description":"","example":"{YOUR_PLANNR_ACCOUNT_UUID}","schema":{"type":"string"}}],"responses":{"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_Error"},"examples":{"scenario-1":{"value":{"message":"Unauthenticated."}}}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plannr_ValidationError"},"examples":{"validation-failed":{"summary":"Validation failed","value":{"message":"The given data was invalid.","errors":{"field":["The field is invalid."]}}}}}}}},"tags":["Workflows"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/App_Http_Requests_Board_RunWorkflowRequest"}}}}},"parameters":[{"in":"path","name":"workflow_uuid","description":"","example":"6ff8f7f6-1eb3-3525-be4a-3932c805afed","required":true,"schema":{"type":"string"}}]}}}