Stände
Business+Verwalten Sie Messestände.
Erforderliche Bereiche:
booths
Feature-Flag:
booths
Endpunkte
GET
/api/v1/booths
Alle Stände auflisten
GET
/api/v1/booths/{id}
Einzelnen Stand abrufen
POST
/api/v1/booths
Neuen Stand erstellen
PUT/PATCH
/api/v1/booths/{id}
Stand aktualisieren
DELETE
/api/v1/booths/{id}
Stand löschen
Abfrageparameter
| Parameter | Beschreibung |
|---|---|
event_key
|
Nach Event-Schlüssel filtern |
plan_id
|
Nach Lageplan-ID filtern |
status
|
Nach Standstatus filtern (available, reserved, sold, blocked) |
Request-Schema
| Parameter | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
plan_id
|
integer | Ja | Lageplan-ID (erforderlich) |
booth_type_id
|
integer | Nein | Standtyp-ID |
booth_number
|
string | Nein | Standnummer (wird automatisch generiert, wenn nicht angegeben) |
booth_name
|
string | Nein | Anzeigename des Stands |
description
|
string | Nein | Standbeschreibung |
width
|
float | Nein | Standbreite in Metern (Standard: 3,00) |
depth
|
float | Nein | Standtiefe in Metern (Standard: 3,00) |
pos_x
|
float | Nein | X-Position auf dem Lageplan (Standard: 0,00) |
pos_y
|
float | Nein | Y-Position auf dem Lageplan (Standard: 0,00) |
rotation
|
integer | Nein | Drehwinkel in Grad (Standard: 0) |
formula_id
|
integer | Nein | Preisformel-ID |
fixed_price
|
float | Nein | Festpreisüberschreibung |
tax_rate
|
float | Nein | Steuersatz in Prozent (Standard: Systemstandard) |
status
|
string | Nein | Standstatus (available, reserved, sold, blocked) |
blocked_reason
|
string | Nein | Grund für die Sperrung des Stands |
notes
|
string | Nein | Interne Notizen |
amenities
|
string | Nein | Beschreibung der Standausstattung |
Response-Schema
| Feld | Typ |
|---|---|
id
|
integer |
plan_id
|
integer |
plan_name
|
string|null |
event_id
|
integer|null |
event_title
|
string|null |
booth_type_id
|
integer|null |
booth_type_name
|
string|null |
booth_type_key
|
string|null |
booth_number
|
string|null |
booth_name
|
string|null |
description
|
string|null |
dimensions
|
object |
position
|
object |
formula_id
|
integer|null |
fixed_price
|
float|null |
tax_rate
|
float |
status
|
string |
blocked_reason
|
string|null |
color
|
string|null |
notes
|
string|null |
created_at
|
string |
updated_at
|
string |
Codebeispiele
curl -X GET "https://your-tenant.plandocket.com/api/v1/booths" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
<?php
$apiKey = 'YOUR_API_KEY';
$baseUrl = 'https://your-tenant.plandocket.com';
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => $baseUrl . '/api/v1/booths',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
'Content-Type: application/json',
],
]);
$response = curl_exec($ch);
$data = json_decode($response, true);
curl_close($ch);
print_r($data);
const apiKey = 'YOUR_API_KEY';
const baseUrl = 'https://your-tenant.plandocket.com';
const response = await fetch(`${baseUrl}/api/v1/booths`, {
method: 'GET',
headers: {
'Authorization': `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
import requests
api_key = 'YOUR_API_KEY'
base_url = 'https://your-tenant.plandocket.com'
headers = {
'Authorization': f'Bearer {api_key}',
'Content-Type': 'application/json',
}
response = requests.get(f'{base_url}/api/v1/booths', headers=headers)
data = response.json()
print(data)
Beispiel-Antwort
200 OK
{
"data": {
"booth_id": 1,
"created_at": 1704067200,
"updated_at": 1704067200
},
"meta": {
"request_id": "req_abc123"
}
}