example-data.com

bookings / #136

Jul
4
Sat

flight booking #136

8:33 PM – 8:33 PM

From CAD1426.34

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/136"
)
booking = res.json()
{
  "id": 136,
  "userId": 145,
  "kind": "flight",
  "referenceId": 49,
  "checkInAt": "2026-07-04T20:33:05.237Z",
  "checkOutAt": "2026-07-04T20:33:05.237Z",
  "status": "cancelled",
  "totalAmount": 1426.34,
  "currency": "CAD",
  "createdAt": "2026-04-09T20:33:05.237Z"
}
Draftbit