Seating map and concurrent selection
GET /sessions/{sessionId}/seating shows the state of every seat of the session at the time of the request. Pass the orderId of your order to tell seats in this order apart from seats taken by others: ?orderId=1234.
Response format
Request: GET {{base_url}}/api/v1/private/agent/sessions/50/seating?orderId=1234
Response example:
{
"sessionId": 50,
"sessionVersionId": 501,
"configurationId": 12,
"tariffs": [
{ "tariffRowId": 3, "name": "VIP", "color": "#E53935", "price": 300000, "seatCount": 120,
"benefits": [ { "benefitId": 9, "name": "Seniors", "discountPercent": 30, "seatCount": 20 } ] }
],
"seats": [
{ "seatId": "seat-parter-3-10", "sectorKey": "1b4e28ba-2fa1-11d2-883f-0016d3cca427", "sector": "Stalls",
"row": "3", "seat": "10", "tariffRowId": 3, "benefitId": null, "price": 300000, "status": "FREE" }
],
"sectors": [
{ "sectorKey": "6fa459ea-ee8a-3ca4-894e-db77e160355e", "name": "Fan zone", "ga": true,
"tariffRowId": 7, "capacity": 500, "available": 312 }
]
}
| Block | What it contains |
|---|---|
tariffs | Legend: tariff, color on the map, price, number of seats and benefits on seats of this tariff |
seats | Each seat: seatId, sector (sectorKey, sector), row, number, tariff, benefit, price and status |
sectors | Hall sectors; standing ones (ga: true) have the capacity capacity and the remainder available |
The sessionVersionId and configurationId fields are internal: you do not need to pass them anywhere. One hall can have both numbered seats and standing sectors.
If the session has no seating map, the method returns 404. Check GET /sessions/{sessionId}: if it returns 200, sell by quantity via POST /orders/{orderId}/items with sessionId.
Seat statuses
| Status | Meaning | How to display |
|---|---|---|
FREE | Free | In the tariff color, selectable |
IN_ORDER | In the order passed in orderId | Selected by the buyer |
HELD | In any other unpaid order, including another order of your account | Taken, may be released |
SOLD | Sold | Taken |
UNAVAILABLE | Not for sale | Hide or show as unavailable |
How to show the hall to the buyer
The API returns seats as a list; it does not return an image of the hall map.
| Method | How it works |
|---|---|
| Seat list | "Sector → Row → Seat" selection with statuses from seats |
| Your own graphic map | Seats on your map are matched to ESBO seats by sectorKey + row + seat; the ESBO seatId is passed when reserving |
Rules:
- Highlight free seats with the tariff color from
tariffs[].colorbytariffRowId;HELDandSOLDwith a single "taken" color. price: nullon a seat means the tariff has visitor types with their own prices (adult, child). Prices are in the session's tariff tree; the selected type is passed asrowIdwhen reserving.benefitIdon a seat is a benefit that can be applied to this seat. The seat is added to the order at the tariff price; to sell it with the benefit, set the benefit viaPUT /orders/{orderId}/items/{itemId}/benefitswithquantity= 1.- Show a standing sector as a block with the remainder
availableand a quantity selector. - Request the map when it is opened, after a
409response and before payment.
Why one seat cannot be sold twice
- Only one hold applies to a seat in a session. If the seat is already held by another active order,
POST /orders/{orderId}/seatsgets409. With simultaneous requests, the seat goes to whoever's request arrived first. - In standing sectors a number of tickets is reserved; you cannot sell more than the capacity.
- All ESBO sales channels reserve seats in one system.
- After
confirmthe seat staysSOLD.
Example: two partners sell tickets to the same concert; seat 3-10 is row 3, seat 10.
| Time | Partner A | Partner B |
|---|---|---|
| 12:00 | GET /sessions/50/seating: 3-10 FREE | GET /sessions/50/seating: 3-10 FREE |
| 12:01 | POST /orders → order, expiresAt 12:16 | — |
| 12:01 | POST /orders/{orderId}/seats, seat 3-10 → 200 | — |
| 12:02 | — | POST /orders/{orderId}/seats, seat 3-10 → 409; re-reads the map: 3-10 HELD |
| 12:05 | confirm → PAID | 3-10 SOLD |
If partner A had not confirmed the order by 12:16, seat 3-10 would have become FREE again for everyone.
Re-read the map with ?orderId= of your order, show the buyer that the seat has been taken and offer another one. Do not retry holding the same seat in a loop: it will be released only if the other order is deleted or expires.