Oct
13
Tue
property booking #46
4:14 AM – 4:14 AM
From AUD7942.66
bookings / #46
4:14 AM – 4:14 AM
From AUD7942.66
curl -sS \
"https://example-data.com/api/v1/bookings/46" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/46"
);
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/46"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/46"
)
booking = res.json() {
"id": 46,
"userId": 6,
"kind": "property",
"referenceId": 29,
"checkInAt": "2026-10-13T04:14:14.710Z",
"checkOutAt": "2026-10-24T04:14:14.710Z",
"status": "confirmed",
"totalAmount": 7942.66,
"currency": "AUD",
"createdAt": "2026-10-09T04:14:14.710Z"
}