example-data.com

bookings / #174

Jul
31
Thu

flight booking #174

2:15 PM – 2:15 PM

From GBP4839.56

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/174"
)
booking = res.json()
{
  "id": 174,
  "userId": 88,
  "kind": "flight",
  "referenceId": 297,
  "checkInAt": "2025-07-31T14:15:58.452Z",
  "checkOutAt": "2025-07-31T14:15:58.452Z",
  "status": "confirmed",
  "totalAmount": 4839.56,
  "currency": "GBP",
  "createdAt": "2025-06-16T14:15:58.452Z"
}
Draftbit