Ga naar hoofdinhoud

Events & Productions

In Peppered terminology:

  • Production = a "show" (main event in VoordeMensen) — e.g. "Hamlet" running for a season.
  • Event = a specific performance (sub-event in VoordeMensen) — e.g. "Hamlet, 12 May 20:30".

Three endpoints:

MethodPathPurpose
GET/peppered/eventList all events (with optional date filter)
GET/peppered/event/{eventId}Get a specific event
GET/peppered/production/{productionId}Get a production and its events

List all events

GET /v1/:client_name/peppered/event

Query parameters

NameTypeDescription
startDatedate (YYYY-MM-DD)Optional — only return events on or after this date
endDatedate (YYYY-MM-DD)Optional — only return events on or before this date

Response

200 OK — array of EventResource.

[
{
"eventId": 95,
"productionId": 94,
"eventName": "VoordeMensen Demo Event",
"eventType": null,
"eventTags": null,
"start": "2026-04-01T20:30:00+02:00",
"end": "2026-04-01T22:30:00+02:00",
"hallId": 1,
"prices": [
{ "rankId": 42, "amount": 24.5 }
]
}
]

Get specific event

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

Returns a single event, including its availability data.

Response

200 OKEventResource with:

  • prices — full pricing breakdown (all available ticket types / ranks).
  • availability — seat-level availability per rank (if loaded).
  • blockAvailability — counts of blocked seats by category (capacity, press, technical, …).

blockAvailability types

When present, each item describes a seat-status count:

blockTypeblockName (Dutch)Meaning
blockCapaciteitGeneral capacity block
perfBespelerHeld for performer
extExterne verkoopSold externally
groupGenodigdenReserved for guests
pressPersPress seats
wheelRolstoelWheelchair-accessible
techTechniekTechnical (sound, camera)
theatTheaterTheatre hold
sightZichtlijnenObstructed view

Get production

GET /v1/:client_name/peppered/production/{productionId}

Returns a production (main event) with all its child events.

Response

200 OKProductionResource:

{
"productionId": 94,
"artist": null,
"title": "VoordeMensen Demo Event"
}

EventResource fields

FieldTypeDescription
eventIdintegerUnique event (sub-event) ID
productionIdintegerParent production (main event) ID
eventNamestringEvent name
eventTypestring | nullevent, passepartout, voucher, combi, horeca, product
eventTagsstring | nullComma-separated keywords
startISO 8601 datetimeEvent start (combines event_date + event_time)
endISO 8601 datetime | nullEvent end
hallIdintegerHall / location ID
pricesarrayPrice entries — { rankId, amount } or { priceId, priceName, rankName, amount }
availabilityarraySeat-level availability (only if relation is loaded)
blockAvailabilityarrayBlock-type counts (only if relation is loaded)

ProductionResource fields

FieldTypeDescription
productionIdintegerUnique production ID
titlestringProduction title
artiststring | nullArtist / company name

See also: Cart · Seating & Halls · Public events endpoint