example-data.com

bookings / #186

Jul
10
Thu

hotel booking #186

9:49 AM – 9:49 AM

From AED8689.77

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/bookings/186" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/bookings/186"
);
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/186"
);
const booking = (await res.json()) as Booking;
import requests

res = requests.get(
    "https://example-data.com/api/v1/bookings/186"
)
booking = res.json()
{
  "id": 186,
  "userId": 98,
  "kind": "hotel",
  "referenceId": 77,
  "checkInAt": "2025-07-10T09:49:01.662Z",
  "checkOutAt": "2025-07-21T09:49:01.662Z",
  "status": "pending",
  "totalAmount": 8689.77,
  "currency": "AED",
  "createdAt": "2025-05-06T09:49:01.662Z"
}
Draftbit