Jul
30
Thu
property booking #165
3:31 AM – 3:31 AM
From AUD 3031.18
Overview
bookings / #165
3:31 AM – 3:31 AM
From AUD 3031.18
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/165" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/165" ); 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/165"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/165"
)
booking = res.json() Response
{
"id": 165,
"userId": 86,
"kind": "property",
"referenceId": 190,
"checkInAt": "2026-07-30T03:31:26.549Z",
"checkOutAt": "2026-08-04T03:31:26.549Z",
"status": "pending",
"totalAmount": 3031.18,
"currency": "AUD",
"createdAt": "2026-07-26T03:31:26.549Z"
}