Feb
6
Sat
property booking #175
9:30 AM – 9:30 AM
From EUR6489.37
bookings / #175
9:30 AM – 9:30 AM
From EUR6489.37
curl -sS \
"https://example-data.com/api/v1/bookings/175" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/bookings/175"
);
const booking = await res.json();import type { Booking } from "https://example-data.com/types/bookings.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/bookings/175"
);
const booking = (await res.json()) as Booking;import requests
res = requests.get(
"https://example-data.com/api/v1/bookings/175"
)
booking = res.json() {
"id": 175,
"userId": 110,
"kind": "property",
"referenceId": 9,
"checkInAt": "2027-02-06T09:30:02.161Z",
"checkOutAt": "2027-02-13T09:30:02.161Z",
"status": "confirmed",
"totalAmount": 6489.37,
"currency": "EUR",
"createdAt": "2027-01-08T09:30:02.161Z"
}