stock-holdings / #28
- userId
-
Kenya Abshire @kenya.abshire
- stockId
- stocks/69
- quantity
- 973.2144
- costBasis
- 4084.05
- purchasedAt
Component variants
Medium
#28
#28
Small
stock-holdings/28 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/28" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/28"
);
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/28"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/28"
)
stock_holding = res.json() {
"id": 28,
"userId": 18,
"stockId": 69,
"quantity": 973.2144,
"costBasis": 4084.05,
"purchasedAt": "2025-10-12T04:22:53.629Z"
}