stock-holdings / #140
- userId
-
Florencio Mohr @florencio_mohr
- stockId
- stocks/15
- quantity
- 776.744
- costBasis
- 2155.87
- purchasedAt
Component variants
Medium
#140
#140
Small
stock-holdings/140 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/140" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/140"
);
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/140"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/140"
)
stock_holding = res.json() {
"id": 140,
"userId": 71,
"stockId": 15,
"quantity": 776.744,
"costBasis": 2155.87,
"purchasedAt": "2025-11-05T10:25:42.960Z"
}