example-data.com

tickets / #212

Mar
2
Tue

The Wilkinson Show

11:51 AM

Toyborough Amphitheater

From CAD311.01

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/tickets/212"
)
ticket = res.json()
{
  "id": 212,
  "eventName": "The Wilkinson Show",
  "venue": "Toyborough Amphitheater",
  "eventAt": "2027-03-02T11:51:19.550Z",
  "type": "balcony",
  "price": 311.01,
  "currency": "CAD",
  "sectionCode": "FLOOR",
  "seatCode": "Z17",
  "isSold": true,
  "createdAt": "2027-01-20T11:51:19.550Z"
}
Draftbit