stock-holdings / #109
- userId
-
Jarrell Flatley @jarrell_flatley39
- stockId
- stocks/8
- quantity
- 974.5151
- costBasis
- 1298.22
- purchasedAt
Component variants
Medium
#109
#109
Small
stock-holdings/109 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/109" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/109"
);
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/109"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/109"
)
stock_holding = res.json() {
"id": 109,
"userId": 61,
"stockId": 8,
"quantity": 974.5151,
"costBasis": 1298.22,
"purchasedAt": "2025-10-01T14:31:46.978Z"
}