stock-holdings / #69
- userId
-
Lenny Howe @lenny.howe
- stockId
- stocks/85
- quantity
- 572.2568
- costBasis
- 692.8
- purchasedAt
Component variants
Medium
#69
#69
Small
stock-holdings/69 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/69" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/69"
);
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/69"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/69"
)
stock_holding = res.json() {
"id": 69,
"userId": 37,
"stockId": 85,
"quantity": 572.2568,
"costBasis": 692.8,
"purchasedAt": "2024-12-08T03:44:07.087Z"
}