I am trying to create a new investment via the API, but did not find a way to do this.
Trying http://localhost:55667/api2/investment-starting-balance-form
with a payload like
{
“code”: “WOW.ASX”,
“name”: “Woolworths”,
“controlAccount”: “Investments”,
“qty”: 300.0,
“marketPrice”: 26,
“marketValue”: {
“value”: 7800.00,
“currency”: “AUD”
}
}
comes nicely back with a 201 response … but nothing gets created.
I could not find any information in the guides on this.
Any pointers?