Jun
1
Mon
property booking #66
6:45 AM – 6:45 AM
From SGD 2908.50
Overview
bookings / #66
6:45 AM – 6:45 AM
From SGD 2908.50
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/66" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/66" ); 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/66"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/66"
)
booking = res.json() Response
{
"id": 66,
"userId": 59,
"kind": "property",
"referenceId": 76,
"checkInAt": "2026-06-01T06:45:29.889Z",
"checkOutAt": "2026-06-11T06:45:29.889Z",
"status": "completed",
"totalAmount": 2908.5,
"currency": "SGD",
"createdAt": "2026-04-30T06:45:29.889Z"
}