budgets / #44
- userId
-
Myrtie Daniel @myrtie_daniel33
- name
- Entertainment
- categoryId
- 31
- amount
- 4102.01
- period
- quarterly
- spent
- 2681.03
- currency
- AUD
- startsAt
- 2024-05-29
- endsAt
- 2024-08-27
- createdAt
Component variants
Medium
Entertainment
#44
Small
budgets/44 Related
References
curl -sS \
"https://example-data.com/api/v1/budgets/44" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/budgets/44"
);
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/44"
);
const budget = (await res.json()) as Budget;import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/44"
)
budget = res.json() {
"id": 44,
"userId": 45,
"name": "Entertainment",
"categoryId": 31,
"amount": 4102.01,
"period": "quarterly",
"spent": 2681.03,
"currency": "AUD",
"startsAt": "2024-05-29",
"endsAt": "2024-08-27",
"createdAt": "2024-09-05T14:50:41.915Z"
}