example-data.com

bookings / #16

Mar
14
Sat

flight booking #16

10:34 PM – 10:34 PM

From AUD8903.01

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/16"
)
booking = res.json()
{
  "id": 16,
  "userId": 140,
  "kind": "flight",
  "referenceId": 12,
  "checkInAt": "2026-03-14T22:34:47.654Z",
  "checkOutAt": "2026-03-14T22:34:47.654Z",
  "status": "confirmed",
  "totalAmount": 8903.01,
  "currency": "AUD",
  "createdAt": "2026-01-07T22:34:47.654Z"
}
Draftbit