Ga naar hoofdinhoud

Seating & Halls

Hall metadata and event-level seating plans — needed if you're building a custom seat-picker UI.

MethodPathPurpose
GET/peppered/hallList all halls
GET/peppered/hall/{hallId}Get a specific hall
GET/peppered/seating/{eventId}Get the seating plan for an event

List halls

GET /v1/:client_name/peppered/hall

Response

200 OK — array of HallResource:

[
{
"hallId": 1,
"hallName": "Bellevue Grote Zaal",
"hallAddress": "Leidsekade 90",
"hallZip": "1017 PN",
"hallCity": "Amsterdam",
"hallPhone": "020-5305301",
"hallUrl": "https://theaterbellevue.nl"
}
]

Get hall

GET /v1/:client_name/peppered/hall/{hallId}

Response

200 OK — a single HallResource.


Get seating plan for an event

GET /v1/:client_name/peppered/seating/{eventId}

Returns the full seating plan for a specific event: the hall layout, price levels (ranks), sections, and per-seat availability.

Response

200 OKSeatPlanResource:

{
"eventId": 95,
"hallId": 1,
"priceLevels": [
{ "priceId": "2ePdA8q3BN", "rankId": 42, "name": "Rang 1", "amount": 24.50 }
],
"sections": [
{
"sectionId": 5,
"sectionName": "Parket",
"rows": [
{
"rowNr": 1,
"seats": [
{ "seatId": "abc", "seatNr": 1, "rankId": 42, "available": true },
{ "seatId": "def", "seatNr": 2, "rankId": 42, "available": false }
]
}
]
}
],
"available": 120
}

HallResource fields

FieldTypeDescription
hallIdintegerUnique hall ID
hallNamestringHall name
hallAddressstringStreet + number
hallZipstringPostcode
hallCitystringCity
hallPhonestringContact phone
hallUrlstringHall website

SeatPlanResource fields

FieldTypeDescription
eventIdintegerEvent this plan belongs to
hallIdintegerHall ID
priceLevelsarrayAvailable price levels (ranks) with prices
sectionsarrayNested layout — sections → rows → seats
availableintegerTotal available seats

Seat fields

Each seat in a row includes:

FieldTypeDescription
seatIdstringUnique seat ID
seatNrintegerSeat number
rankIdintegerWhich price level
availablebooleanWhether this seat can currently be sold

For events in halls without specific seating (general admission), the response may have a single section with no explicit seat data but an available count.


See also: Events · Cart