stock-holdings / #139
- userId
-
Virginie O'Connell @virginie.oconnell55
- stockId
- stocks/87
- quantity
- 633.5579
- costBasis
- 1517.53
- purchasedAt
Component variants
Medium
#139
#139
Small
stock-holdings/139 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/139" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/139"
);
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/139"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/139"
)
stock_holding = res.json() {
"id": 139,
"userId": 70,
"stockId": 87,
"quantity": 633.5579,
"costBasis": 1517.53,
"purchasedAt": "2024-06-18T23:36:16.567Z"
}