Feb
3
Tue
hotel booking #83
3:46 PM – 3:46 PM
From AED4143.21
bookings / #83
3:46 PM – 3:46 PM
From AED4143.21
curl -sS \
"https://example-data.com/api/v1/bookings/83" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/83"
);
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/83"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/83"
)
booking = res.json() {
"id": 83,
"userId": 70,
"kind": "hotel",
"referenceId": 25,
"checkInAt": "2026-02-03T15:46:10.224Z",
"checkOutAt": "2026-02-15T15:46:10.224Z",
"status": "pending",
"totalAmount": 4143.21,
"currency": "AED",
"createdAt": "2025-11-29T15:46:10.224Z"
}