Bewerbungen
Business+Verwalten Sie Bewerbungen für Events.
Erforderliche Bereiche:
applications
Endpunkte
GET
/api/v1/applications
Alle Bewerbungen auflisten
GET
/api/v1/applications/{id}
Einzelne Bewerbung abrufen
PUT/PATCH
/api/v1/applications/{id}
Bewerbung aktualisieren
DELETE
/api/v1/applications/{id}
Bewerbung löschen
Abfrageparameter
| Parameter | Beschreibung |
|---|---|
search
|
Suchbegriff zum Filtern der Ergebnisse |
category_key
|
Nach Kategorie-Schlüssel filtern |
event_key
|
Nach Event-Schlüssel filtern |
sort
|
Sortierfeld (company_name, last_name, email, city, rating, created_at) |
order
|
Sortierrichtung (ASC oder DESC, Standard: DESC) |
include
|
Verknüpfte Daten einschließen (events, categories) |
Request-Schema
| Parameter | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
company_name
|
string | Nein | Firmenname |
first_name
|
string | Nein | Vorname |
last_name
|
string | Nein | Nachname |
email
|
string | Nein | E-Mail-Adresse |
phone
|
string | Nein | Telefonnummer |
address
|
string | Nein | Straße |
postal_code
|
string | Nein | Postleitzahl |
city
|
string | Nein | Stadt |
country
|
string | Nein | Ländercode |
website
|
string | Nein | Website-URL |
tax_id
|
string | Nein | Steuernummer |
rating
|
integer | Nein | Bewertung der Bewerbung (1-5) |
Response-Schema
| Feld | Typ |
|---|---|
id
|
integer |
company_name
|
string|null |
first_name
|
string|null |
last_name
|
string|null |
address
|
string|null |
postal_code
|
string|null |
city
|
string|null |
country
|
string|null |
state
|
string|null |
phone
|
string|null |
fax
|
string|null |
mobile
|
string|null |
email
|
string|null |
website
|
string|null |
notes
|
string|null |
tax_id
|
string|null |
rating
|
integer |
created_at
|
string |
updated_at
|
string |
Codebeispiele
curl -X GET "https://your-tenant.plandocket.com/api/v1/applications" \
-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/applications',
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/applications`, {
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/applications', headers=headers)
data = response.json()
print(data)
Beispiel-Antwort
200 OK
{
"data": {
"application_id": 1,
"created_at": 1704067200,
"updated_at": 1704067200
},
"meta": {
"request_id": "req_abc123"
}
}