example-data.com

bookings / #38

Aug
23
Sat

hotel booking #38

3:03 PM – 3:03 PM

From AED1374.00

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/38"
)
booking = res.json()
{
  "id": 38,
  "userId": 117,
  "kind": "hotel",
  "referenceId": 16,
  "checkInAt": "2025-08-23T15:03:54.740Z",
  "checkOutAt": "2025-08-31T15:03:54.740Z",
  "status": "cancelled",
  "totalAmount": 1374,
  "currency": "AED",
  "createdAt": "2025-08-22T15:03:54.740Z"
}
Draftbit