Sep
28
Mon
property booking #84
5:01 AM – 5:01 AM
From AUD4868.90
bookings / #84
5:01 AM – 5:01 AM
From AUD4868.90
curl -sS \
"https://example-data.com/api/v1/bookings/84" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/84"
);
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/84"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/84"
)
booking = res.json() {
"id": 84,
"userId": 85,
"kind": "property",
"referenceId": 182,
"checkInAt": "2026-09-28T05:01:01.635Z",
"checkOutAt": "2026-10-03T05:01:01.635Z",
"status": "pending",
"totalAmount": 4868.9,
"currency": "AUD",
"createdAt": "2026-08-31T05:01:01.635Z"
}