stock-holdings / #19
- userId
-
Judy Hackett @judy_hackett49
- stockId
- stocks/40
- quantity
- 472.3842
- costBasis
- 635.11
- purchasedAt
Component variants
Medium
#19
#19
Small
stock-holdings/19 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/19" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/19"
);
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/19"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/19"
)
stock_holding = res.json() {
"id": 19,
"userId": 13,
"stockId": 40,
"quantity": 472.3842,
"costBasis": 635.11,
"purchasedAt": "2024-12-02T12:42:21.412Z"
}