example-data.com

bookings / #203

Oct
31
Sat

property booking #203

12:23 AM – 12:23 AM

From SGD2454.20

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/203"
)
booking = res.json()
{
  "id": 203,
  "userId": 99,
  "kind": "property",
  "referenceId": 14,
  "checkInAt": "2026-10-31T00:23:25.249Z",
  "checkOutAt": "2026-11-12T00:23:25.249Z",
  "status": "confirmed",
  "totalAmount": 2454.2,
  "currency": "SGD",
  "createdAt": "2026-09-08T00:23:25.249Z"
}
Draftbit