Event-Dienstleistungen
Business+Abrufen, welche Dienstleistungen ein Event anbietet, mit dem Preis, den ein Aussteller jetzt zahlt (effective_price: Frühbucherpreis bis zur Frist, sonst Eventpreis, sonst Grundpreis), Bestellfrist und Restbestand.
Nur Lesen
Dieser Endpunkt unterstützt nur GET-Anfragen.
Erforderliche Bereiche:
services
Feature-Flag:
services
Endpunkte
GET
/api/v1/event-services
Dienstleistungen eines Events auflisten (event_key oder event_id ist Pflicht)
GET
/api/v1/event-services/{id}
Einzelne Event-Dienstleistung mit Bestellstatistik abrufen
Abfrageparameter
| Parameter | Beschreibung |
|---|---|
event_key
|
Event-Schlüssel (event_key oder event_id ist Pflicht) |
event_id
|
Event-ID (Alternative zu event_key) |
booth_type_key
|
Nur Dienstleistungen, die für diesen Standtyp bestellbar sind |
is_active
|
Standard: eingeschaltete Angebote; all = auch ausgeschaltete |
page
|
Seitennummer (Standard: 1) |
per_page
|
Ergebnisse pro Seite (Standard: 25, max. 100) |
Response-Schema
| Feld | Typ |
|---|---|
id
|
integer |
event_id
|
integer |
service_id
|
integer |
service_key
|
string|null |
service_name
|
string|null |
category_key
|
string|null |
category_name
|
string|null |
unit
|
string|null |
base_price
|
float|null |
price_override
|
float|null |
early_bird_price
|
float|null |
early_bird_deadline
|
string|null |
early_bird_active
|
boolean |
effective_price
|
float |
tax_rate
|
float |
order_deadline
|
string|null |
max_quantity_per_participant
|
integer|null |
total_inventory
|
integer|null |
remaining_inventory
|
integer|null |
is_active
|
boolean |
created_at
|
string |
updated_at
|
string |
Codebeispiele
curl -X GET "https://ihr-mandant.plandocket.com/api/v1/event-services?event_key=YOUR_EVENT_KEY" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
<?php
$apiKey = 'YOUR_API_KEY';
$baseUrl = 'https://ihr-mandant.plandocket.com';
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => $baseUrl . '/api/v1/event-services?event_key=YOUR_EVENT_KEY',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
],
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
print_r($data);
const apiKey = 'YOUR_API_KEY';
const baseUrl = 'https://ihr-mandant.plandocket.com';
const response = await fetch(`${baseUrl}/api/v1/event-services?event_key=YOUR_EVENT_KEY`, {
method: 'GET',
headers: {
'Authorization': `Bearer ${apiKey}`,
},
});
const data = await response.json();
console.log(data);
import requests
api_key = 'YOUR_API_KEY'
base_url = 'https://ihr-mandant.plandocket.com'
headers = {
'Authorization': f'Bearer {api_key}',
}
response = requests.get(f'{base_url}/api/v1/event-services?event_key=YOUR_EVENT_KEY', headers=headers)
data = response.json()
print(data)
Beispiel-Antwort
200 OK
{
"data": [
{
"id": 1,
"event_id": 1,
"service_id": 1,
"service_key": "string",
"service_name": "string",
"category_key": "string",
"category_name": "string",
"unit": "string",
"base_price": 100,
"price_override": 100,
"early_bird_price": 100,
"early_bird_deadline": "2026-01-15T10:00:00+01:00",
"early_bird_active": true,
"effective_price": 100,
"tax_rate": 100,
"order_deadline": "2026-01-15T10:00:00+01:00",
"max_quantity_per_participant": 1,
"total_inventory": 1,
"remaining_inventory": 1,
"is_active": true,
"created_at": "2026-01-15T10:00:00+01:00",
"updated_at": "2026-01-15T10:00:00+01:00"
}
],
"meta": {
"current_page": 1,
"per_page": 25,
"total": 1,
"total_pages": 1
}
}