Dec
5
Sat
property booking #105
3:24 PM – 3:24 PM
From EUR 2096.12
Overview
bookings / #105
3:24 PM – 3:24 PM
From EUR 2096.12
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/105" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/105" ); 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/105"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/105"
)
booking = res.json() Response
{
"id": 105,
"userId": 244,
"kind": "property",
"referenceId": 74,
"checkInAt": "2026-12-05T15:24:00.446Z",
"checkOutAt": "2026-12-07T15:24:00.446Z",
"status": "confirmed",
"totalAmount": 2096.12,
"currency": "EUR",
"createdAt": "2026-09-21T15:24:00.446Z"
}