budgets / #240
- userId
-
Cruz Okuneva @cruz.okuneva
- name
- Travel
- categoryId
- —
- amount
- 318.86
- period
- monthly
- spent
- 350.15
- currency
- AUD
- startsAt
- 2024-09-01
- endsAt
- —
- createdAt
Component variants
Medium
Travel
#240
Small
budgets/240 Related
References
curl -sS \
"https://example-data.com/api/v1/budgets/240" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/budgets/240"
);
const budget = await res.json();import type { Budget } from "https://example-data.com/types/budgets.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/budgets/240"
);
const budget = (await res.json()) as Budget;import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/240"
)
budget = res.json() {
"id": 240,
"userId": 239,
"name": "Travel",
"categoryId": null,
"amount": 318.86,
"period": "monthly",
"spent": 350.15,
"currency": "AUD",
"startsAt": "2024-09-01",
"endsAt": null,
"createdAt": "2025-07-11T06:52:40.345Z"
}