budgets / #25
- userId
-
Conrad Connelly @conrad.connelly22
- name
- Pet Expenses
- categoryId
- —
- amount
- 2515.17
- period
- yearly
- spent
- 579.19
- currency
- CAD
- startsAt
- 2025-07-11
- endsAt
- —
- createdAt
Component variants
Medium
Pet Expenses
#25
Small
budgets/25 Related
References
curl -sS \
"https://example-data.com/api/v1/budgets/25" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/budgets/25"
);
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/25"
);
const budget = (await res.json()) as Budget;import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/25"
)
budget = res.json() {
"id": 25,
"userId": 30,
"name": "Pet Expenses",
"categoryId": null,
"amount": 2515.17,
"period": "yearly",
"spent": 579.19,
"currency": "CAD",
"startsAt": "2025-07-11",
"endsAt": null,
"createdAt": "2025-09-11T20:08:11.711Z"
}