example-data.com

tickets / #190

Mar
18
Thu

National Hayes Gala

4:12 AM

West Cameron Auditorium

From GBP702.30

Component variants

curl -sS \
  "https://example-data.com/api/v1/tickets/190" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/tickets/190"
);
const ticket = await res.json();
import type { Ticket } from "https://example-data.com/types/tickets.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/tickets/190"
);
const ticket = (await res.json()) as Ticket;
import requests

res = requests.get(
    "https://example-data.com/api/v1/tickets/190"
)
ticket = res.json()
{
  "id": 190,
  "eventName": "National Hayes Gala",
  "venue": "West Cameron Auditorium",
  "eventAt": "2027-03-18T04:12:06.552Z",
  "type": "vip",
  "price": 702.3,
  "currency": "GBP",
  "sectionCode": "B1",
  "seatCode": "L40",
  "isSold": false,
  "createdAt": "2027-02-25T04:12:06.552Z"
}
Draftbit