Jul
12
Sun
property booking #427
8:26 PM – 8:26 PM
From AED 9968.67
Overview
bookings / #427
8:26 PM – 8:26 PM
From AED 9968.67
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/427" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/427" ); 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/427"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/427"
)
booking = res.json() Response
{
"id": 427,
"userId": 214,
"kind": "property",
"referenceId": 48,
"checkInAt": "2026-07-12T20:26:36.318Z",
"checkOutAt": "2026-07-26T20:26:36.318Z",
"status": "pending",
"totalAmount": 9968.67,
"currency": "AED",
"createdAt": "2026-05-19T20:26:36.318Z"
}