example-data.com

budgets / #166

userId
Vincenza Zemlak-Collier @vincenza_zemlak-collier
name
Healthcare
categoryId
amount
2328.06
period
yearly
spent
431.81
currency
EUR
startsAt
2024-07-24
endsAt
2025-07-24
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/budgets/166"
)
budget = res.json()
{
  "id": 166,
  "userId": 168,
  "name": "Healthcare",
  "categoryId": null,
  "amount": 2328.06,
  "period": "yearly",
  "spent": 431.81,
  "currency": "EUR",
  "startsAt": "2024-07-24",
  "endsAt": "2025-07-24",
  "createdAt": "2026-01-08T02:19:57.531Z"
}
Draftbit