stock-holdings / #58
- userId
-
Koby Pouros @koby_pouros60
- stockId
- stocks/44
- quantity
- 785.962
- costBasis
- 3362.21
- purchasedAt
Component variants
Medium
#58
#58
Small
stock-holdings/58 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/58" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/58"
);
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/58"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/58"
)
stock_holding = res.json() {
"id": 58,
"userId": 34,
"stockId": 44,
"quantity": 785.962,
"costBasis": 3362.21,
"purchasedAt": "2024-07-29T00:21:41.833Z"
}