example-data.com

bookings / #204

Mar
20
Fri

property booking #204

1:59 AM – 1:59 AM

From SGD8779.81

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/204"
)
booking = res.json()
{
  "id": 204,
  "userId": 130,
  "kind": "property",
  "referenceId": 79,
  "checkInAt": "2026-03-20T01:59:58.972Z",
  "checkOutAt": "2026-03-30T01:59:58.972Z",
  "status": "cancelled",
  "totalAmount": 8779.81,
  "currency": "SGD",
  "createdAt": "2026-01-10T01:59:58.972Z"
}
Draftbit