Jul
30
Thu
property booking #165
3:31 AM – 3:31 AM
From AUD3031.18
bookings / #165
3:31 AM – 3:31 AM
From AUD3031.18
curl -sS \
"https://example-data.com/api/v1/bookings/165" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/165"
);
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/165"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/165"
)
booking = res.json() {
"id": 165,
"userId": 86,
"kind": "property",
"referenceId": 190,
"checkInAt": "2026-07-30T03:31:26.549Z",
"checkOutAt": "2026-08-04T03:31:26.549Z",
"status": "pending",
"totalAmount": 3031.18,
"currency": "AUD",
"createdAt": "2026-07-26T03:31:26.549Z"
}