assets

Add Asset Transaction

post/api/assets/{asset_id}/transactions

Path parameters

asset_idstring uuid required

Headers

X-Workspace-Idstring nullable

Request body

kindstring required
datestring date required
notesstring nullable

Response

Successful Response

idstring uuid required
user_idstring uuid required
namestring required
typestring required
currencystring required
unitsnumber nullable
valuation_methodstring required
purchase_datestring date nullable
purchase_pricenumber nullable
sell_datestring date nullable
sell_pricenumber nullable
growth_typestring nullable
growth_ratenumber nullable
growth_frequencystring nullable
growth_start_datestring date nullable
is_archivedboolean required
positioninteger required
current_valuenumber nullable
current_value_primarynumber nullable
gain_lossnumber nullable
gain_loss_primarynumber nullable
value_countinteger
sourcestring
connection_idstring uuid nullable
isinstring nullable
maturity_datestring date nullable
group_idstring uuid nullable
tickerstring nullable
ticker_exchangestring nullable
last_pricenumber nullable
last_price_atstring date-time nullable
logo_urlstring nullable
average_pricenumber nullable
total_investednumber nullable
realized_gainnumber nullable
transaction_countinteger

Changes

No recorded changes to this endpoint across all 1 revision of this API.