Dec
22
Mon
property booking #80
8:30 AM – 8:30 AM
From JPY 6212.15
Overview
bookings / #80
8:30 AM – 8:30 AM
From JPY 6212.15
Request
curl example
curl -sS \ "https://example-data.com/api/v1/bookings/80" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/bookings/80" ); 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/80"
);
const booking = (await res.json()) as Booking; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/80"
)
booking = res.json() Response
{
"id": 80,
"userId": 135,
"kind": "property",
"referenceId": 71,
"checkInAt": "2025-12-22T08:30:31.614Z",
"checkOutAt": "2025-12-28T08:30:31.614Z",
"status": "confirmed",
"totalAmount": 6212.15,
"currency": "JPY",
"createdAt": "2025-09-26T08:30:31.614Z"
}