Retrieve all
GET/scenarios/:scenarioId/goals/retirement
List all Retirement goals in a given household.
Request
Path Parameters
The scenario's id
Query Parameters
Zero-based page index (0..N)
Default value: 20
The size of the page to be returned
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
Responses
- 200
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- BankOfMumAndDadFundingSource
- FutureInvestmentPropertyAssetFundingSource
- FutureResidentialPropertyAssetFundingSource
- InvestmentPropertyFundingSource
- LiquidAssetsFundingSource
- LiquidAssetsNoIncomeFundingSource
- MortgageFundingSource
- OtherLoanFundingSource
- ResidentialPropertyFundingSource
- SaveFundingSource
- UKStudentLoanFundingSource
- ]
- ]
content object[]
The currency in which the goal's value is specified. Valid currency code ISO-4217 from the list of supported currencies.
Description of the resource.
The desired value of the goal.
Toggle inclusion of the goal in the simulation.
End date of the goal. Valid date string in simplified extended ISO-8601 format (YYYY-MM-DDTHH:mm:ss.sssZ). Will be respected only in conjuction with endsOn
equals to USER_DEFINED
.
Possible values: [USER_DEFINED
, ON_RETIREMENT
, ON_DEATH
]
Can be any of USER_DEFINED, ON_RETIREMENT, ON_DEATH.
Possible values: [UNSPECIFIED
, ONE_OFF
, DAILY
, WEEKLY
, MONTHLY
, QUARTERLY
, SEMI_ANNUALLY
, ANNUALLY
]
The frequency of the goal.
fundingSources object[]
A list of funding sources.
Possible values: [CALCULATED
, NONE
, CPI
, MEDIAN_WAGE_GROWTH
, PROPERTY_GROWTH
]
Possible values: <= 1
Possible values: <= 1
The goal id of the Buy to Let goal associated to the property that will be sold in order to fund the goal.
The goal id of the Buy a House goal associated to the property that will be sold in order to fund the goal.
The id of the investment property that will be sold in order to fund the goal.
The funding source amount.
Possible values: <= 1
The mortgage annual interest rate.
The funding source currency. Valid currency code ISO-4217 from the list of supported currencies.
Possible values: [CALCULATED
, NONE
, CPI
, MEDIAN_WAGE_GROWTH
, PROPERTY_GROWTH
]
Possible values: <= 1
Possible values: [FIXED_RATE
, ADJUSTABLE_RATE
]
The mortgage type. Can be any of (FIXED_RATE, ADJUSTABLE_RATE).
Possible values: [PRINCIPAL_AMORTIZATION
, INTEREST_ONLY_WITH_BALLOON_PAYMENT
]
The mortgage repayment type. Can be any of (PRINCIPAL_AMORTIZATION, INTEREST_ONLY_WITH_BALLOON_PAYMENT).
Possible values: <= 1
The mortgage term years.
The funding source amount.
Possible values: <= 1
The loan annual interest rate.
The funding source amount.
Possible values: [CALCULATED
, NONE
, CPI
, MEDIAN_WAGE_GROWTH
, PROPERTY_GROWTH
]
Possible values: <= 1
Possible values: [PRINCIPAL_AMORTIZATION
, INTEREST_ONLY_WITH_BALLOON_PAYMENT
]
The loan repayment type. Can be any of (PRINCIPAL_AMORTIZATION, INTEREST_ONLY_WITH_BALLOON_PAYMENT).
Possible values: <= 1
The loan term years.
The id of the residential property that will be sold in order to fund the goal.
The number of years for which you would like to save, in order to use the savings to fund the goal.
The funding source amount.
The funding source amount.
Possible values: [CALCULATED
, NONE
, CPI
, MEDIAN_WAGE_GROWTH
, PROPERTY_GROWTH
]
Possible values: <= 1
Possible values: <= 1
Possible values: [CALCULATED
, NONE
, CPI
, MEDIAN_WAGE_GROWTH
, PROPERTY_GROWTH
]
Can be either of CALCULATED, NONE, CPI, MEDIAN_WAGE_GROWTH, PROPERTY_GROWTH.
The id of the resource.
Possible values: <= 1
Maximum absolute spread added to growth rate allowed.
The minimum value of the goal.
The name of the resource.
The desired spend after 10 years of retirement expressed as a percentage of pre retirement spend.
The desired spend in the first 10 years after retirement expressed as a percentage of pre retirement spend.
Possible values: <= 1
The desired spend after retirement in the situation when the partner has died, expressed as a percentage of pre retirement spend.
The priority of the goal (1 = lowest, 10 = highest).
properties object
Properties of the resource.
Properties of the resource.
Possible values: <= 1
Define the additional spread over the defined growthRate.
Start date of the goal. Valid date string in simplified extended ISO-8601 format (YYYY-MM-DDTHH:mm:ss.sssZ). Will be respected only in conjuction with startsOn
equals to USER_DEFINED
.
Possible values: [USER_DEFINED
, ON_RETIREMENT
, ON_DEATH
]
Can be any of USER_DEFINED, ON_RETIREMENT, ON_DEATH.
Date in which the property should be traded down.
True if the the current house is to be traded for a cheaper one to fund retirement.
Possible values: <= 1
The value of the new house to be acquired after retirement, expressed as a percentage of the property the household members live in.
pageable object
sort object
sort object
{
"content": [
{
"currency": "GBP",
"description": "My resource's description",
"desiredAmount": 10000,
"enabled": true,
"endDate": "2026-01-01T00:00:00.000Z",
"endsOn": "USER_DEFINED",
"frequency": "ONE_OFF",
"fundingSources": [
{
"class": "LiquidAssetsFundingSource",
"description": "Liquid assets funding source",
"name": "Liquid assets",
"wrappers": [
"GENERAL_INVESTMENT_ACCOUNT",
"TAX_ADVANTAGED",
"PENSION"
]
}
],
"growthRate": "CALCULATED",
"id": "1",
"maximumAbsoluteSpreadAllowed": 0,
"minimumAmount": 10000,
"name": "My resource",
"percentageOfPreRetirementSpendAfterFirst10Years": 0.6,
"percentageOfPreRetirementSpendFirst10Years": 0.9,
"percentageOfSurvivorExpenditureSpend": 0.6,
"priority": 1,
"properties": {
"property_1": "Value of property 1",
"property_2": "Value of property 2"
},
"spreadOverGrowthRate": 0,
"startDate": "2025-01-01T00:00:00.000Z",
"startsOn": "USER_DEFINED",
"tradeDownDate": "2050-01-01T00:00:00.000Z",
"tradeDownHouse": true,
"tradeDownNewHousePercentage": 0.75
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}
Not Found
Internal Server Error