Retrieve all
GET/scenarios/:scenarioId/assets/portfolio
Retrieve all Portfolios
Request
Path Parameters
scenarioId stringrequired
The scenario's id
Query Parameters
page integer
Zero-based page index (0..N)
size integer
Default value: 20
The size of the page to be returned
sort string[]
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 [
- ]
content object[]
currency stringrequired
The currency of the portfolio. Valid currency code ISO-4217 from the list of supported currencies.
description string
Description of the resource.
fees doublerequired
The annual fees.
id string
The id of the resource.
name string
The name of the resource.
profile string
The risk profile of the portfolio.
properties object
Properties of the resource.
property name* object
Properties of the resource.
value numberrequired
The value of the portfolio.
wrapper stringrequired
The tax wrapper of the portfolio.
empty boolean
first boolean
last boolean
number int32
numberOfElements int32
pageable object
offset int64
pageNumber int32
pageSize int32
paged boolean
sort object
empty boolean
sorted boolean
unsorted boolean
unpaged boolean
size int32
sort object
empty boolean
sorted boolean
unsorted boolean
totalElements int64
totalPages int32
{
"content": [
{
"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"
}
],
"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
Loading...