stock-holdings / #188
- userId
-
Filiberto Fay @filiberto.fay59
- stockId
- stocks/78
- quantity
- 615.2584
- costBasis
- 343.88
- purchasedAt
Component variants
Medium
#188
#188
Small
stock-holdings/188 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/188" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/188"
);
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/188"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/188"
)
stock_holding = res.json() {
"id": 188,
"userId": 92,
"stockId": 78,
"quantity": 615.2584,
"costBasis": 343.88,
"purchasedAt": "2024-08-01T21:29:59.328Z"
}