Sep
3
Wed
property booking #55
12:32 PM – 12:32 PM
From AED 2133.29
Overview
bookings / #55
12:32 PM – 12:32 PM
From AED 2133.29
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/55" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/55" ); const booking = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/bookings.d.ts https://example-data.com/types/bookings.d.ts
import type { Booking } from "./types/bookings";
const res = await fetch(
"https://example-data.com/api/v1/bookings/55"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/55"
)
booking = res.json() Response
{
"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"
}