example-data.com

bookings / #76

Sep
10
Wed

flight booking #76

1:31 AM – 1:31 AM

From USD8733.92

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/76"
)
booking = res.json()
{
  "id": 76,
  "userId": 72,
  "kind": "flight",
  "referenceId": 70,
  "checkInAt": "2025-09-10T01:31:53.656Z",
  "checkOutAt": "2025-09-10T01:31:53.656Z",
  "status": "completed",
  "totalAmount": 8733.92,
  "currency": "USD",
  "createdAt": "2025-07-15T01:31:53.656Z"
}
Draftbit