Healthcare
- 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
Overview
budgets / #166
Healthcare
#166
Request
curl example
curl -sS \ "https://example-data.com/api/v1/budgets/166" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/budgets/166" ); const budget = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/budgets.d.ts https://example-data.com/types/budgets.d.ts
import type { Budget } from "./types/budgets";
const res = await fetch(
"https://example-data.com/api/v1/budgets/166"
);
const budget = (await res.json()) as Budget; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/budgets/166"
)
budget = res.json() Response
{
"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"
}