example-data.com

bookings / #206

Jun
11
Wed

flight booking #206

10:16 PM – 10:16 PM

From AUD2788.38

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/206"
)
booking = res.json()
{
  "id": 206,
  "userId": 236,
  "kind": "flight",
  "referenceId": 189,
  "checkInAt": "2025-06-11T22:16:09.341Z",
  "checkOutAt": "2025-06-11T22:16:09.341Z",
  "status": "cancelled",
  "totalAmount": 2788.38,
  "currency": "AUD",
  "createdAt": "2025-04-22T22:16:09.341Z"
}
Draftbit