Seat map of a published event
curl --request GET \
--url https://api.underpass.com.co/api/events/public/{slug}/seatingimport requests
url = "https://api.underpass.com.co/api/events/public/{slug}/seating"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.underpass.com.co/api/events/public/{slug}/seating', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.underpass.com.co/api/events/public/{slug}/seating",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.underpass.com.co/api/events/public/{slug}/seating"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.underpass.com.co/api/events/public/{slug}/seating")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.underpass.com.co/api/events/public/{slug}/seating")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"chart": {
"id": "<string>",
"name": "<string>",
"venue_name": "<string>",
"width": 123,
"height": 123,
"zones": [
{
"id": "<string>",
"chart_id": "<string>",
"key": "<string>",
"name": "<string>",
"color": "<string>",
"ticket_type_id": "<string>"
}
],
"sections": [
{
"id": "<string>",
"chart_id": "<string>",
"name": "<string>",
"sort_order": 123,
"zone_key": "<string>",
"x": 123,
"y": 123,
"rotation": 123,
"curve": 123,
"elevation": 123,
"tilt": 123,
"rows_count": 123,
"seats_per_row": 123,
"row_labels": "alpha",
"seat_numbering": "sequential",
"seat_spacing": 123,
"row_spacing": 123
}
],
"seats": [
{
"id": "<string>",
"section_id": "<string>",
"row_label": "<string>",
"seat_label": "<string>",
"x": 123,
"y": 123,
"zone_key": "<string>",
"accessible": true,
"restricted_view": true,
"state": "AVAILABLE"
}
]
},
"performance_id": "<string>",
"taken": {},
"as_of": "2023-11-07T05:31:56Z"
}{
"statusCode": 123,
"code": "<string>",
"message": "<string>",
"detail": {},
"timestamp": "2023-11-07T05:31:56Z"
}Events
Seat map of a published event
The chart (zones with their ticket type, sections, seats with coordinates) plus the seats currently taken for the performance. 404 when the event has no numbered seating.
GET
/
api
/
events
/
public
/
{slug}
/
seating
Seat map of a published event
curl --request GET \
--url https://api.underpass.com.co/api/events/public/{slug}/seatingimport requests
url = "https://api.underpass.com.co/api/events/public/{slug}/seating"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.underpass.com.co/api/events/public/{slug}/seating', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.underpass.com.co/api/events/public/{slug}/seating",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.underpass.com.co/api/events/public/{slug}/seating"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.underpass.com.co/api/events/public/{slug}/seating")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.underpass.com.co/api/events/public/{slug}/seating")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"chart": {
"id": "<string>",
"name": "<string>",
"venue_name": "<string>",
"width": 123,
"height": 123,
"zones": [
{
"id": "<string>",
"chart_id": "<string>",
"key": "<string>",
"name": "<string>",
"color": "<string>",
"ticket_type_id": "<string>"
}
],
"sections": [
{
"id": "<string>",
"chart_id": "<string>",
"name": "<string>",
"sort_order": 123,
"zone_key": "<string>",
"x": 123,
"y": 123,
"rotation": 123,
"curve": 123,
"elevation": 123,
"tilt": 123,
"rows_count": 123,
"seats_per_row": 123,
"row_labels": "alpha",
"seat_numbering": "sequential",
"seat_spacing": 123,
"row_spacing": 123
}
],
"seats": [
{
"id": "<string>",
"section_id": "<string>",
"row_label": "<string>",
"seat_label": "<string>",
"x": 123,
"y": 123,
"zone_key": "<string>",
"accessible": true,
"restricted_view": true,
"state": "AVAILABLE"
}
]
},
"performance_id": "<string>",
"taken": {},
"as_of": "2023-11-07T05:31:56Z"
}{
"statusCode": 123,
"code": "<string>",
"message": "<string>",
"detail": {},
"timestamp": "2023-11-07T05:31:56Z"
}
