Create
POST/scenarios/:scenarioId/persons/:personId/goals/move-out
Creates a new Move Out goal in the given scenario and Person identified by {personId}
.
Request
Path Parameters
The scenario's id
The person's id
- application/json
Body
required
- Array [
- BankOfMumAndDadFundingSource
- FutureInvestmentPropertyAssetFundingSource
- FutureResidentialPropertyAssetFundingSource
- InvestmentPropertyFundingSource
- LiquidAssetsFundingSource
- LiquidAssetsNoIncomeFundingSource
- MortgageFundingSource
- OtherLoanFundingSource
- ResidentialPropertyFundingSource
- SaveFundingSource
- UKStudentLoanFundingSource
- ]
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 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.
Possible values: <= 1
Percentage of expenditure for the surviving partner.
Responses
- 201
- 404
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- BankOfMumAndDadFundingSource
- FutureInvestmentPropertyAssetFundingSource
- FutureResidentialPropertyAssetFundingSource
- InvestmentPropertyFundingSource
- LiquidAssetsFundingSource
- LiquidAssetsNoIncomeFundingSource
- MortgageFundingSource
- OtherLoanFundingSource
- ResidentialPropertyFundingSource
- SaveFundingSource
- UKStudentLoanFundingSource
- ]
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 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.
Possible values: <= 1
Percentage of expenditure for the surviving partner.
{
"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",
"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",
"survivorAdjustmentPercentage": 0.5
}
Not Found
Internal Server Error