budgets / #45
- userId
-
Della Labadie @della_labadie
- name
- Travel
- categoryId
- 17
- amount
- 1263.43
- period
- monthly
- spent
- 1135.67
- currency
- GBP
- startsAt
- 2024-08-03
- endsAt
- 2024-09-02
- createdAt
Component variants
Medium
Travel
#45
Small
budgets/45 Related
References
curl -sS \
"https://example-data.com/api/v1/budgets/45" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/budgets/45"
);
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/45"
);
const budget = (await res.json()) as Budget;import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/45"
)
budget = res.json() {
"id": 45,
"userId": 46,
"name": "Travel",
"categoryId": 17,
"amount": 1263.43,
"period": "monthly",
"spent": 1135.67,
"currency": "GBP",
"startsAt": "2024-08-03",
"endsAt": "2024-09-02",
"createdAt": "2024-12-30T13:51:05.722Z"
}