stock-holdings / #141
- userId
-
Florencio Mohr @florencio_mohr
- stockId
- stocks/97
- quantity
- 466.468
- costBasis
- 2724.67
- purchasedAt
Component variants
Medium
#141
#141
Small
stock-holdings/141 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/141" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/141"
);
const stockHolding = await res.json();import type { StockHolding } from "https://example-data.com/types/stock-holdings.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/141"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/141"
)
stock_holding = res.json() {
"id": 141,
"userId": 71,
"stockId": 97,
"quantity": 466.468,
"costBasis": 2724.67,
"purchasedAt": "2026-04-19T08:27:28.759Z"
}