holdings
Retrieves a single holding for an account with matched ISIN codes
Requires accounts:read scope.
get/accounts/{accountId}/holdings/{holdingId}
Request
- Base URLhttps://api.moneyhub.co.uk/v2.0
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring uuid required
The Account Id
holdingIdstring required
The Holding Id
Response
Successful Holding Response
Example response
{
"data": {
"id": "6a8b01768a50b095a8c0445c1b080900f1096fd0b6e40863c6b82d63607c3bbe",
"date": "2018-07-11",
"history": [
{
"total": {
"value": 123400,
"currency": "GBP"
},
"unitPrice": {
"value": 1234,
"currency": "GBP"
},
"costBasis": 120050,
"quantity": 100,
"date": "2018-07-11"
}
],
"matched": [
{
"isin": "GB00B39TQT96",
"name": "Dynamic Bond Fund Acc",
"score": 0.8,
"priceGBP": 12.34,
"price": {
"value": 1234,
"currency": "GBP"
},
"date": "2018-07-11"
}
],
"codes": [
{
"code": "GB00B39TQT96",
"type": "ISIN"
}
],
"name": "Dynamic Bond Fund",
"quantity": 100,
"total": {
"value": 123400,
"currency": "GBP"
},
"unitPrice": {
"value": 1234,
"currency": "GBP"
},
"costBasis": 120050,
"currency": "GBP"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.