example-data.com

bookings / #26

Nov
3
Tue

flight booking #26

4:26 PM – 4:26 PM

From EUR7832.58

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/bookings/26" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/bookings/26"
);
const booking = await res.json();
import type { Booking } from "https://example-data.com/types/bookings.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/bookings/26"
);
const booking = (await res.json()) as Booking;
import requests

res = requests.get(
    "https://example-data.com/api/v1/bookings/26"
)
booking = res.json()
{
  "id": 26,
  "userId": 82,
  "kind": "flight",
  "referenceId": 79,
  "checkInAt": "2026-11-03T16:26:31.897Z",
  "checkOutAt": "2026-11-03T16:26:31.897Z",
  "status": "completed",
  "totalAmount": 7832.58,
  "currency": "EUR",
  "createdAt": "2026-09-25T16:26:31.897Z"
}
Draftbit