May
22
Fri
property booking #102
9:11 AM – 9:11 AM
From SGD5829.62
bookings / #102
9:11 AM – 9:11 AM
From SGD5829.62
curl -sS \
"https://example-data.com/api/v1/bookings/102" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/102"
);
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/102"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/102"
)
booking = res.json() {
"id": 102,
"userId": 173,
"kind": "property",
"referenceId": 10,
"checkInAt": "2026-05-22T09:11:20.439Z",
"checkOutAt": "2026-05-27T09:11:20.439Z",
"status": "cancelled",
"totalAmount": 5829.62,
"currency": "SGD",
"createdAt": "2026-05-06T09:11:20.439Z"
}