example-data.com

bookings / #183

Jan
17
Sun

property booking #183

12:52 PM – 12:52 PM

From EUR9435.62

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/183"
)
booking = res.json()
{
  "id": 183,
  "userId": 58,
  "kind": "property",
  "referenceId": 112,
  "checkInAt": "2027-01-17T12:52:31.678Z",
  "checkOutAt": "2027-01-26T12:52:31.678Z",
  "status": "confirmed",
  "totalAmount": 9435.62,
  "currency": "EUR",
  "createdAt": "2026-11-03T12:52:31.678Z"
}
Draftbit