Oct
1
Thu
property booking #219
4:13 AM – 4:13 AM
From CAD5139.83
bookings / #219
4:13 AM – 4:13 AM
From CAD5139.83
curl -sS \
"https://example-data.com/api/v1/bookings/219" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/219"
);
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/219"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/219"
)
booking = res.json() {
"id": 219,
"userId": 223,
"kind": "property",
"referenceId": 130,
"checkInAt": "2026-10-01T04:13:34.263Z",
"checkOutAt": "2026-10-03T04:13:34.263Z",
"status": "cancelled",
"totalAmount": 5139.83,
"currency": "CAD",
"createdAt": "2026-08-10T04:13:34.263Z"
}