Mar
24
Tue
property booking #106
4:54 PM – 4:54 PM
From USD 2828.53
Overview
bookings / #106
4:54 PM – 4:54 PM
From USD 2828.53
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/106" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/106" ); 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/106"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/106"
)
booking = res.json() Response
{
"id": 106,
"userId": 206,
"kind": "property",
"referenceId": 195,
"checkInAt": "2026-03-24T16:54:51.449Z",
"checkOutAt": "2026-04-01T16:54:51.449Z",
"status": "completed",
"totalAmount": 2828.53,
"currency": "USD",
"createdAt": "2026-01-10T16:54:51.449Z"
}