example-data.com

budgets / #199

userId
Ricky Langosh @ricky.langosh66
name
Office Supplies
categoryId
29
amount
2505
period
quarterly
spent
1620.95
currency
EUR
startsAt
2025-11-22
endsAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/budgets/199" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/budgets/199"
);
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/199"
);
const budget = (await res.json()) as Budget;
import requests

res = requests.get(
    "https://example-data.com/api/v1/budgets/199"
)
budget = res.json()
{
  "id": 199,
  "userId": 198,
  "name": "Office Supplies",
  "categoryId": 29,
  "amount": 2505,
  "period": "quarterly",
  "spent": 1620.95,
  "currency": "EUR",
  "startsAt": "2025-11-22",
  "endsAt": null,
  "createdAt": "2026-02-09T13:50:06.257Z"
}
Draftbit