stock-holdings / #136
- userId
-
Virginie O'Connell @virginie.oconnell55
- stockId
- stocks/29
- quantity
- 477.3391
- costBasis
- 2445.78
- purchasedAt
Component variants
Medium
#136
#136
Small
stock-holdings/136 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/136" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/136"
);
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/136"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/136"
)
stock_holding = res.json() {
"id": 136,
"userId": 70,
"stockId": 29,
"quantity": 477.3391,
"costBasis": 2445.78,
"purchasedAt": "2025-08-20T22:04:07.205Z"
}