example-data.com

bookings / #163

Dec
3
Wed

flight booking #163

4:33 AM – 4:33 AM

From CAD6309.87

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/163"
)
booking = res.json()
{
  "id": 163,
  "userId": 142,
  "kind": "flight",
  "referenceId": 16,
  "checkInAt": "2025-12-03T04:33:41.970Z",
  "checkOutAt": "2025-12-03T04:33:41.970Z",
  "status": "completed",
  "totalAmount": 6309.87,
  "currency": "CAD",
  "createdAt": "2025-11-19T04:33:41.970Z"
}
Draftbit