example-data.com

bookings / #56

Nov
5
Thu

flight booking #56

11:44 AM – 11:44 AM

From SGD6225.71

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/56"
)
booking = res.json()
{
  "id": 56,
  "userId": 3,
  "kind": "flight",
  "referenceId": 167,
  "checkInAt": "2026-11-05T11:44:46.616Z",
  "checkOutAt": "2026-11-05T11:44:46.616Z",
  "status": "completed",
  "totalAmount": 6225.71,
  "currency": "SGD",
  "createdAt": "2026-08-20T11:44:46.616Z"
}
Draftbit