Jul
10
Fri
property booking #424
3:38 PM – 3:38 PM
From EUR 5949.79
Overview
bookings / #424
3:38 PM – 3:38 PM
From EUR 5949.79
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/424" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/424" ); 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/424"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/424"
)
booking = res.json() Response
{
"id": 424,
"userId": 6,
"kind": "property",
"referenceId": 143,
"checkInAt": "2026-07-10T15:38:04.216Z",
"checkOutAt": "2026-07-14T15:38:04.216Z",
"status": "confirmed",
"totalAmount": 5949.79,
"currency": "EUR",
"createdAt": "2026-07-05T15:38:04.216Z"
}