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 

1{
2  "financialGoalFields": [
3    "Name",
4    "Description",
5    "ActualAmount",
6    "CompletionDate"
7  ],
8  "financialGoalPartyFields": [
9    "AccountId",
10    "Account.Name"
11  ],
12  "filterCriteria": [
13    {
14      "fieldName": "FinancialGoal.Type",
15      "operator": "equals",
16      "value": "Retirement"
17    }
18  ],
19  "offset": 1,
20  "limit": 10,
21  "sortBy": "DESC",
22  "orderBy": "FinancialGoal.Name"
23}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
filterCriteriaFilter Criteria[]Filter criteria for the results.Optional59.0
financial​GoalFieldsString[]List of developer names of the fields from the FinancialGoal object to be retrieved.Required for 59.0, Optional for 60.059.0
financialGoal​FundingFieldsString[]List of field developer names from the FinancialAccount object to be retrieved.Optional60.0
financialGoal​PartyFieldsString[]List of field developer names from the FinancialGoalParty object to be retrieved.Optional59.0
limitIntegerMaximum number of financial goals returned in each response.Optional59.0
offsetIntegerOffset for paging through returned financial goals.Optional59.0
orderByStringFully qualified developer name of the field used to sort the results.Optional59.0
sortByStringSort the results by Asc or Desc order.Optional59.0