---
schema_version: "1"
id: 362609f64b10b3d6c94af1259720926e9b28b9563142233cd413106ca63600b8
title: Financial Goal Query Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/connect_requests_financial_goal_query_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_requests_financial_goal_query_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 79691605c4c5653b1ed2a9482e357da5380964a6da87d0f9919f4d4fe33d8c75
description: Query input for financial goals and goal members based on a parent record ID. The parent can be a Person Account or Household.
---
# Financial Goal Query Input

Query input for financial goals and goal members based on a parent record ID. The parent can be a Person Account or Household.

## JSON Example

{
  "financialGoalFields": \[
    "Name",
    "Description",
    "ActualAmount",
    "CompletionDate"
  \],
  "financialGoalPartyFields": \[
    "AccountId",
    "Account.Name"
  \],
  "filterCriteria": \[
    {
      "fieldName": "FinancialGoal.Type",
      "operator": "equals",
      "value": "Retirement"
    }
  \],
  "offset": 1,
  "limit": 10,
  "sortBy": "DESC",
  "orderBy": "FinancialGoal.Name"
}

## Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| filterCriteria | [Filter Criteria](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_requests_filter_criteria_input.htm "Filter criteria for queries of financial goals and households.")\[\] | Filter criteria for the results. | Optional | 59.0 |
| financial​GoalFields | String\[\] | List of developer names of the fields from the FinancialGoal object to be retrieved. | Required for 59.0, Optional for 60.0 | 59.0 |
| financialGoal​FundingFields | String\[\] | List of field developer names from the FinancialAccount object to be retrieved. | Optional | 60.0 |
| financialGoal​PartyFields | String\[\] | List of field developer names from the FinancialGoalParty object to be retrieved. | Optional | 59.0 |
| limit | Integer | Maximum number of financial goals returned in each response. | Optional | 59.0 |
| offset | Integer | Offset for paging through returned financial goals. | Optional | 59.0 |
| orderBy | String | Fully qualified developer name of the field used to sort the results. | Optional | 59.0 |
| sortBy | String | Sort the results by Asc or Desc order. | Optional | 59.0 |