Aug
28
Fri
property booking #296
6:04 AM – 6:04 AM
From GBP 3252.74
Overview
bookings / #296
6:04 AM – 6:04 AM
From GBP 3252.74
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/296" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/296" ); 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/296"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/296"
)
booking = res.json() Response
{
"id": 296,
"userId": 76,
"kind": "property",
"referenceId": 47,
"checkInAt": "2026-08-28T06:04:24.869Z",
"checkOutAt": "2026-08-29T06:04:24.869Z",
"status": "completed",
"totalAmount": 3252.74,
"currency": "GBP",
"createdAt": "2026-07-10T06:04:24.869Z"
}