Mar
24
Tue
property booking #106
4:54 PM – 4:54 PM
From USD2828.53
bookings / #106
4:54 PM – 4:54 PM
From USD2828.53
curl -sS \
"https://example-data.com/api/v1/bookings/106" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/106"
);
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/106"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/106"
)
booking = res.json() {
"id": 106,
"userId": 206,
"kind": "property",
"referenceId": 195,
"checkInAt": "2026-03-24T16:54:51.449Z",
"checkOutAt": "2026-04-01T16:54:51.449Z",
"status": "completed",
"totalAmount": 2828.53,
"currency": "USD",
"createdAt": "2026-01-10T16:54:51.449Z"
}