Create Asset
POST /api/v1/assets
Add a new asset to the portfolio
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
Name of the asset
Example
Vanguard FTSE All-World UCITS ETFType of asset
Example
etfStock/ETF ticker symbol
Example
VWCE.DEInternational Securities Identification Number
Example
IE00BK5BQT80Number of units/shares held
Example
50Purchase price per unit
Example
110.5Date of purchase
Example
2024-01-15Currency of the asset
Example
EURAnnual expense ratio for ETFs/funds (%)
Example
0.22Geographic region of the asset
Example
GlobalIndustry sector
Example
TechnologyCategory ID for grouping assets
Example
550e8400-e29b-41d4-a716-446655440000Responses
Section titled “ Responses ”Asset created
object
object
Asset ID
Example
550e8400-e29b-41d4-a716-446655440000Owner user ID
Example
550e8400-e29b-41d4-a716-446655440000Type of financial asset
Example
etfUnique identifier (UUID v4)
Example
550e8400-e29b-41d4-a716-446655440000Timestamp in ISO 8601 format
Example
2024-01-15T10:30:00ZTimestamp in ISO 8601 format
Example
2024-01-15T10:30:00ZTimestamp in ISO 8601 format
Example
2024-01-15T10:30:00Zobject
Timestamp in ISO 8601 format
Example
2024-01-15T10:30:00ZValidation error
object
Always false for error responses
Error type
Example
Validation errorMachine-readable error code
Example
VALIDATION_ERRORDetailed validation errors
object
Path to the invalid field
Example
currentAgeError message
Example
Must be between 18 and 100Unauthorized
object
Always false for error responses
Error type
Example
Validation errorMachine-readable error code
Example
VALIDATION_ERRORDetailed validation errors
object
Path to the invalid field
Example
currentAgeError message
Example
Must be between 18 and 100