example-data.com

bookings / #200

Jul
16
Wed

hotel booking #200

9:23 AM – 9:23 AM

From EUR118.18

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/200"
)
booking = res.json()
{
  "id": 200,
  "userId": 103,
  "kind": "hotel",
  "referenceId": 14,
  "checkInAt": "2025-07-16T09:23:45.220Z",
  "checkOutAt": "2025-07-24T09:23:45.220Z",
  "status": "pending",
  "totalAmount": 118.18,
  "currency": "EUR",
  "createdAt": "2025-06-07T09:23:45.220Z"
}
Draftbit