example-data.com

bookings / #237

May
24
Sat

property booking #237

2:53 PM – 2:53 PM

From AED5062.40

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/237"
)
booking = res.json()
{
  "id": 237,
  "userId": 71,
  "kind": "property",
  "referenceId": 150,
  "checkInAt": "2025-05-24T14:53:20.629Z",
  "checkOutAt": "2025-06-06T14:53:20.629Z",
  "status": "cancelled",
  "totalAmount": 5062.4,
  "currency": "AED",
  "createdAt": "2025-04-10T14:53:20.629Z"
}
Draftbit