example-data.com

bookings / #209

Jul
20
Sun

flight booking #209

2:45 PM – 2:45 PM

From CAD7526.46

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/209"
)
booking = res.json()
{
  "id": 209,
  "userId": 41,
  "kind": "flight",
  "referenceId": 337,
  "checkInAt": "2025-07-20T14:45:43.150Z",
  "checkOutAt": "2025-07-20T14:45:43.150Z",
  "status": "confirmed",
  "totalAmount": 7526.46,
  "currency": "CAD",
  "createdAt": "2025-07-11T14:45:43.150Z"
}
Draftbit