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