Jun
2
Tue
property booking #58
10:05 AM – 10:05 AM
From AED 9698.73
Overview
bookings / #58
10:05 AM – 10:05 AM
From AED 9698.73
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/58" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/58" ); 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/58"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/58"
)
booking = res.json() Response
{
"id": 58,
"userId": 135,
"kind": "property",
"referenceId": 59,
"checkInAt": "2026-06-02T10:05:31.108Z",
"checkOutAt": "2026-06-12T10:05:31.108Z",
"status": "completed",
"totalAmount": 9698.73,
"currency": "AED",
"createdAt": "2026-03-20T10:05:31.108Z"
}