example-data.com

bookings / #61

Aug
10
Mon

flight booking #61

2:31 PM – 2:31 PM

From JPY7454.14

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/bookings/61"
)
booking = res.json()
{
  "id": 61,
  "userId": 174,
  "kind": "flight",
  "referenceId": 50,
  "checkInAt": "2026-08-10T14:31:15.780Z",
  "checkOutAt": "2026-08-10T14:31:15.780Z",
  "status": "completed",
  "totalAmount": 7454.14,
  "currency": "JPY",
  "createdAt": "2026-06-19T14:31:15.780Z"
}
Draftbit