example-data.com

bookings / #168

Nov
23
Sun

flight booking #168

4:47 AM – 4:47 AM

From AED7264.24

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/168"
)
booking = res.json()
{
  "id": 168,
  "userId": 161,
  "kind": "flight",
  "referenceId": 305,
  "checkInAt": "2025-11-23T04:47:31.618Z",
  "checkOutAt": "2025-11-23T04:47:31.618Z",
  "status": "pending",
  "totalAmount": 7264.24,
  "currency": "AED",
  "createdAt": "2025-09-16T04:47:31.618Z"
}
Draftbit