Kalender
Business+Kalender-Integration und iCal-Export.
Nur Lesen
Dieser Endpunkt unterstützt nur GET-Anfragen.
Erforderliche Bereiche:
calendar-feed
Endpunkte
GET
/api/v1/calendar-feed
iCal-Kalender-Feed abrufen
Abfrageparameter
| Parameter | Beschreibung |
|---|---|
from
|
Startdatum für Kalenderbereich (ISO 8601) |
to
|
Enddatum für Kalenderbereich (ISO 8601) |
visible
|
Nach Sichtbarkeit filtern (0 oder 1) |
Response-Schema
| Feld | Typ |
|---|---|
content_type
|
text/calendar |
format
|
iCalendar (RFC 5545) |
Codebeispiele
curl -X GET "https://ihr-mandant.plandocket.com/api/v1/calendar-feed?from=2026-01-01&to=2026-12-31" \
-H "Authorization: Bearer YOUR_API_KEY" \
-o calendar.ics
<?php
$apiKey = 'YOUR_API_KEY';
$baseUrl = 'https://ihr-mandant.plandocket.com';
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => $baseUrl . '/api/v1/calendar-feed?from=2026-01-01&to=2026-12-31',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $apiKey,
],
]);
$response = curl_exec($ch);
curl_close($ch);
// iCalendar (text/calendar), not JSON
echo $response;
const apiKey = 'YOUR_API_KEY';
const baseUrl = 'https://ihr-mandant.plandocket.com';
const response = await fetch(`${baseUrl}/api/v1/calendar-feed?from=2026-01-01&to=2026-12-31`, {
method: 'GET',
headers: {
'Authorization': `Bearer ${apiKey}`,
},
});
// iCalendar (text/calendar), not JSON
const ics = await response.text();
console.log(ics);
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/calendar-feed?from=2026-01-01&to=2026-12-31', headers=headers)
# iCalendar (text/calendar), not JSON
print(response.text)
Beispiel-Antwort
200 OK
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//PlanDocket//Calendar Feed//EN
BEGIN:VEVENT
UID:event-1@ihr-mandant.plandocket.com
DTSTART;VALUE=DATE:20260115
DTEND;VALUE=DATE:20260118
SUMMARY:Example Fair 2026
END:VEVENT
END:VCALENDAR