Sep
3
Wed
property booking #55
12:32 PM – 12:32 PM
From AED2133.29
bookings / #55
12:32 PM – 12:32 PM
From AED2133.29
curl -sS \
"https://example-data.com/api/v1/bookings/55" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/55"
);
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/55"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/55"
)
booking = res.json() {
"id": 55,
"userId": 93,
"kind": "property",
"referenceId": 44,
"checkInAt": "2025-09-03T12:32:25.868Z",
"checkOutAt": "2025-09-13T12:32:25.868Z",
"status": "completed",
"totalAmount": 2133.29,
"currency": "AED",
"createdAt": "2025-07-04T12:32:25.868Z"
}