example-data.com

bookings / #135

Sep
20
Sat

hotel booking #135

11:44 AM – 11:44 AM

From EUR109.53

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/135"
)
booking = res.json()
{
  "id": 135,
  "userId": 52,
  "kind": "hotel",
  "referenceId": 22,
  "checkInAt": "2025-09-20T11:44:14.204Z",
  "checkOutAt": "2025-09-21T11:44:14.204Z",
  "status": "completed",
  "totalAmount": 109.53,
  "currency": "EUR",
  "createdAt": "2025-07-05T11:44:14.204Z"
}
Draftbit