Create
POST/scenarios/:scenarioId/persons/:personId/assets/portfolio
To create a portfolio under a person, use the extended URI including the person after the household.
Request
Path Parameters
The scenario's id
The person's id
- application/json
Body
required
The currency of the portfolio. Valid currency code ISO-4217 from the list of supported currencies.
Description of the resource.
The annual fees.
The id of the resource.
The name of the resource.
The risk profile of the portfolio.
properties object
Properties of the resource.
Properties of the resource.
The value of the portfolio.
The tax wrapper of the portfolio.
Responses
- 201
- 404
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
The currency of the portfolio. Valid currency code ISO-4217 from the list of supported currencies.
Description of the resource.
The annual fees.
The id of the resource.
The name of the resource.
The risk profile of the portfolio.
properties object
Properties of the resource.
Properties of the resource.
The value of the portfolio.
The tax wrapper of the portfolio.
{
"currency": "GBP",
"description": "My resource's description",
"fees": 0.01,
"id": "1",
"name": "My resource",
"profile": "low",
"properties": {
"property_1": "Value of property 1",
"property_2": "Value of property 2"
},
"value": 70000,
"wrapper": "isa"
}
Not Found
Internal Server Error