Get bookings zones for an event
curl --request GET \
--url https://channels-service-alpha.fourvenues.com/bookings/zones/ \
--header 'X-Api-Key: <api-key>'import requests
url = "https://channels-service-alpha.fourvenues.com/bookings/zones/"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://channels-service-alpha.fourvenues.com/bookings/zones/', 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://channels-service-alpha.fourvenues.com/bookings/zones/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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://channels-service-alpha.fourvenues.com/bookings/zones/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://channels-service-alpha.fourvenues.com/bookings/zones/")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://channels-service-alpha.fourvenues.com/bookings/zones/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "5f8e1b9b9d9e4b0017b3b3a0",
"available": true,
"slug": "1735561747338",
"name": "Superior VIP",
"normalized_zone_name": "superior-vip",
"can_select_client": true,
"is_full": false,
"spaces": [
{
"_id": "5f8e1b9b9d9e4b0017b3b3a0",
"name": "S-12",
"capacity": 10,
"normalized_name": "s-12",
"position": {
"x": 100,
"y": 50,
"scale": 2.1,
"rotation": 20,
"radius": 100
},
"rates": [
{
"_id": "5f8e1b9b9d9e4b0017b3b3a0",
"slug": "red-table",
"name": "Red Table",
"content": "1 bottle of champagne. VIP with couch",
"max_clients": 5,
"price": 250,
"included_persons": 5,
"supplement_persons": 1,
"supplement_price": 50,
"full_payment": false,
"deposit": {
"type": "fixed",
"amount": 20
}
}
],
"available": true
}
],
"rates": [
{
"_id": "5f8e1b9b9d9e4b0017b3b3a0",
"slug": "red-table",
"name": "Red Table",
"content": "1 bottle of champagne. VIP with couch",
"max_clients": 5,
"price": 250,
"included_persons": 5,
"supplement_persons": 1,
"supplement_price": 50,
"full_payment": false,
"deposit": {
"type": "fixed",
"amount": 20
}
}
]
}
],
"success": true
}Bookings
Get bookings zones for an event
Get bookings zones for an event
GET
/
bookings
/
zones
/
Get bookings zones for an event
curl --request GET \
--url https://channels-service-alpha.fourvenues.com/bookings/zones/ \
--header 'X-Api-Key: <api-key>'import requests
url = "https://channels-service-alpha.fourvenues.com/bookings/zones/"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://channels-service-alpha.fourvenues.com/bookings/zones/', 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://channels-service-alpha.fourvenues.com/bookings/zones/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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://channels-service-alpha.fourvenues.com/bookings/zones/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://channels-service-alpha.fourvenues.com/bookings/zones/")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://channels-service-alpha.fourvenues.com/bookings/zones/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "5f8e1b9b9d9e4b0017b3b3a0",
"available": true,
"slug": "1735561747338",
"name": "Superior VIP",
"normalized_zone_name": "superior-vip",
"can_select_client": true,
"is_full": false,
"spaces": [
{
"_id": "5f8e1b9b9d9e4b0017b3b3a0",
"name": "S-12",
"capacity": 10,
"normalized_name": "s-12",
"position": {
"x": 100,
"y": 50,
"scale": 2.1,
"rotation": 20,
"radius": 100
},
"rates": [
{
"_id": "5f8e1b9b9d9e4b0017b3b3a0",
"slug": "red-table",
"name": "Red Table",
"content": "1 bottle of champagne. VIP with couch",
"max_clients": 5,
"price": 250,
"included_persons": 5,
"supplement_persons": 1,
"supplement_price": 50,
"full_payment": false,
"deposit": {
"type": "fixed",
"amount": 20
}
}
],
"available": true
}
],
"rates": [
{
"_id": "5f8e1b9b9d9e4b0017b3b3a0",
"slug": "red-table",
"name": "Red Table",
"content": "1 bottle of champagne. VIP with couch",
"max_clients": 5,
"price": 250,
"included_persons": 5,
"supplement_persons": 1,
"supplement_price": 50,
"full_payment": false,
"deposit": {
"type": "fixed",
"amount": 20
}
}
]
}
],
"success": true
}⌘I