stock-holdings / #93
- userId
-
Maymie Boehm @maymie.boehm90
- stockId
- stocks/60
- quantity
- 618.7558
- costBasis
- 1065.16
- purchasedAt
Component variants
Medium
#93
#93
Small
stock-holdings/93 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/93" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/93"
);
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/93"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/93"
)
stock_holding = res.json() {
"id": 93,
"userId": 48,
"stockId": 60,
"quantity": 618.7558,
"costBasis": 1065.16,
"purchasedAt": "2025-02-20T13:24:35.338Z"
}