Eine vollständige REST API für Zeiterfassung mit Timer-Steuerung, Projektmanagement und detaillierten Statistiken. Perfekt für Time-Tracking-Apps, Abrechnungssysteme und Produktivitätsanalysen.
https://creativeskyline.de/api/flowtime/timer
https://creativeskyline.de/api/flowtime/entries
https://creativeskyline.de/api/flowtime/projects
https://creativeskyline.de/api/flowtime/stats
https://creativeskyline.de/api/flowtime/working-hours
https://creativeskyline.de/api/flowtime/shifts
Bevor Sie die FlowTime API nutzen können, benötigen Sie Ihre persönlichen Zugangsdaten: Melden Sie sich an, navigieren Sie zu Profil → API-Zugang und kopieren Sie Ihren persönlichen API-Key (pk_...).
Alle API-Anfragen benötigen diesen HTTP-Header:
Authorization: Bearer pk_dein_api_key
Accept: application/json
https://creativeskyline.de/api/flowtime/timer
https://creativeskyline.de/api/flowtime/entries
https://creativeskyline.de/api/flowtime/projects
https://creativeskyline.de/api/flowtime/stats
https://creativeskyline.de/api/flowtime/working-hours
https://creativeskyline.de/api/flowtime/shifts
/api/flowtime/timer/status
Ruft den aktuellen Timer-Status ab. Zeigt an, ob ein Timer läuft und wie lange. Läuft kein Timer, ist "is_tracking" false und "timer" null.
/api/flowtime/timer/start
Startet einen neuen Timer. Läuft bereits ein Timer, wird dieser NICHT ersetzt: Die API antwortet mit HTTP 409 und liefert im Feld "data.active_timer_uuid" die UUID des bereits laufenden Timers zurück. Stoppen oder Abbrechen Sie den aktiven Timer zuerst, bevor Sie einen neuen starten. Breaking Change: Das frühere numerische Feld "project_id" wird nicht mehr akzeptiert (Validierungsfehler); das Projekt wird ausschließlich über "project_uuid" angegeben.
description
string
Beschreibung der Tätigkeit (max. 500 Zeichen)
project_uuid
string
UUID des zugehörigen Projekts (teamgebunden)
/api/flowtime/timer/stop
Stoppt den aktuell laufenden Timer und speichert den Zeiteintrag.
/api/flowtime/timer
Aktualisiert den aktuell laufenden Timer (Beschreibung oder Projekt ändern). Breaking Change: Das frühere numerische Feld "project_id" wird nicht mehr akzeptiert; das Projekt wird ausschließlich über "project_uuid" angegeben.
description
string
Neue Beschreibung
project_uuid
string
UUID des neuen Projekts (teamgebunden)
/api/flowtime/timer
Bricht den aktuell laufenden Timer ab, ohne die Zeit zu speichern.
https://creativeskyline.de/api/flowtime/timer
https://creativeskyline.de/api/flowtime/entries
https://creativeskyline.de/api/flowtime/projects
https://creativeskyline.de/api/flowtime/stats
https://creativeskyline.de/api/flowtime/working-hours
https://creativeskyline.de/api/flowtime/shifts
/api/flowtime/entries
Ruft alle Zeiteinträge mit optionalen Filtern ab.
start_date
string
Startdatum (YYYY-MM-DD)
end_date
string
Enddatum (YYYY-MM-DD)
project_uuid
string
Filter nach Projekt-UUID
user_uuid
string
Nur für Teaminhaber: Einträge eines bestimmten Nutzers (UUID) filtern. Mitglieder mit dem Sub-Recht "berichte" sehen team-weite Einträge, ohne dieses Recht nur die eigenen.
limit
integer
Maximale Anzahl der Einträge (1-500, Standard: 50)
offset
integer
Offset für Pagination
/api/flowtime/entries/{uuid}
Ruft einen einzelnen Zeiteintrag mit allen Details ab.
/api/flowtime/entries
Erstellt einen manuellen Zeiteintrag (ohne Timer). Start- und Endzeitpunkt sind Pflicht; die Dauer wird serverseitig aus der Differenz berechnet. Breaking Change: Das frühere numerische Feld "project_id" wird nicht mehr akzeptiert; das Projekt wird ausschließlich über "project_uuid" angegeben.
description
string
*
Beschreibung der Tätigkeit (max. 500 Zeichen)
project_uuid
string
*
Projekt-UUID (muss zum Team gehören)
starts_at
string
*
Startzeitpunkt (ISO 8601)
ends_at
string
*
Endzeitpunkt (ISO 8601), muss nach starts_at liegen
/api/flowtime/entries/{uuid}
Aktualisiert einen bestehenden Zeiteintrag. Breaking Change: Das frühere numerische Feld "project_id" wird nicht mehr akzeptiert; das Projekt wird ausschließlich über "project_uuid" angegeben.
description
string
Beschreibung
project_uuid
string
Projekt-UUID (teamgebunden)
starts_at
string
Startzeitpunkt (ISO 8601)
ends_at
string
Endzeitpunkt (ISO 8601)
/api/flowtime/entries/{uuid}
Löscht einen Zeiteintrag unwiderruflich.
https://creativeskyline.de/api/flowtime/timer
https://creativeskyline.de/api/flowtime/entries
https://creativeskyline.de/api/flowtime/projects
https://creativeskyline.de/api/flowtime/stats
https://creativeskyline.de/api/flowtime/working-hours
https://creativeskyline.de/api/flowtime/shifts
/api/flowtime/projects
Listet alle Projekte auf, zu denen der Benutzer Zugriff hat (inklusive Zeitstatistiken).
/api/flowtime/projects/{uuid}
Ruft Details eines einzelnen Projekts ab, inklusive Zeitstatistiken. Das Projekt wird über seine UUID adressiert; numerische IDs werden nicht mehr akzeptiert (HTTP 404).
/api/flowtime/projects
Erstellt ein neues Projekt (nur Teaminhaber). Breaking Change: Der Kunde wird über client_uuid übergeben; das frühere numerische Feld client_id wird nicht mehr akzeptiert (Validierungsfehler).
name
string
*
Projektname (max. 255 Zeichen)
client_uuid
string
*
UUID des CRM-Kunden, der zum Team gehören muss
description
string
Projektbeschreibung
color_code
string
Hex-Farbe (z.B. #10B981, Standard: #3B82F6)
is_public
boolean
Für alle Teammitglieder sichtbar (Standard: true)
is_billable
boolean
Projekt ist abrechenbar (Standard: false)
billable_rate
number
Stundensatz für die Abrechnung
currency
string
Währungscode nach ISO 4217 (3 Zeichen, Standard: Team-Währung)
/api/flowtime/projects/{uuid}
Aktualisiert ein bestehendes Projekt (nur Teaminhaber). Das Projekt wird über seine UUID adressiert; numerische IDs werden nicht mehr akzeptiert (HTTP 404).
name
string
Projektname (max. 255 Zeichen)
description
string
Projektbeschreibung
status
string
Projektstatus: active oder archived
color_code
string
Hex-Farbe (z.B. #10B981)
is_public
boolean
Für alle Teammitglieder sichtbar
is_hidden
boolean
Projekt in Listen ausblenden
is_billable
boolean
Projekt ist abrechenbar
billable_rate
number
Stundensatz für die Abrechnung
currency
string
Währungscode nach ISO 4217 (3 Zeichen)
/api/flowtime/projects/{uuid}/permissions
Legt fest, welche Teammitglieder Zugriff auf ein privates Projekt haben (nur Teaminhaber). Die übergebene Liste ersetzt die bestehenden Berechtigungen vollständig. Nur Nutzer, die zum Team gehören, werden übernommen.
user_uuids
array
*
Liste der Nutzer-UUIDs, die Zugriff erhalten sollen
user_uuids.*
string
*
Einzelne Nutzer-UUID (gültiges UUID-Format)
https://creativeskyline.de/api/flowtime/timer
https://creativeskyline.de/api/flowtime/entries
https://creativeskyline.de/api/flowtime/projects
https://creativeskyline.de/api/flowtime/stats
https://creativeskyline.de/api/flowtime/working-hours
https://creativeskyline.de/api/flowtime/shifts
Statistik-Endpoints liefern aggregierte Auswertungen der erfassten Zeiten. GET /api/flowtime/stats/today gibt die Tagesauswertung zurück, GET /api/flowtime/stats/week die Wochenauswertung mit täglicher Aufschlüsselung und Projekt-Anteilen.
Breaking Change: Die Projekt-Aufschlüsselung unter data.by_project weist das Projekt über project_uuid aus. Das frühere numerische project_id entfällt ersatzlos.
https://creativeskyline.de/api/flowtime/timer
https://creativeskyline.de/api/flowtime/entries
https://creativeskyline.de/api/flowtime/projects
https://creativeskyline.de/api/flowtime/stats
https://creativeskyline.de/api/flowtime/working-hours
https://creativeskyline.de/api/flowtime/shifts
/api/flowtime/working-hours/status
Ruft die aktuelle Arbeitszeit-Bilanz des angemeldeten Nutzers ab (Tages-, Wochen- und Monatsbilanz sowie Überstunden-Saldo). Sind keine Arbeitszeiten konfiguriert, ist "configured" false.
/api/flowtime/working-hours/settings
Ändert die Arbeitszeit-Einstellungen eines Teammitglieds (nur Teaminhaber). Das Zielmitglied wird über "user_uuid" identifiziert. Nur übergebene Felder werden aktualisiert.
user_uuid
string
*
UUID des Zielmitglieds
weekly_hours
number
Wochenstunden (0-168)
working_days
array
Arbeitstage als Zahlen 1-7 (Mo-So)
daily_hours
array
Sollstunden pro Tag (0-24)
track_overtime
boolean
Überstunden erfassen
work_time_model
string
Arbeitszeitmodell: standard, flexible oder shift
/api/flowtime/working-hours/overtime/adjust
Passt den Überstunden-Saldo eines Teammitglieds an (nur Teaminhaber). Mit "mode" wird der Wert entweder addiert (add, Standard) oder absolut gesetzt (set). Der resultierende Saldo wird serverseitig auf die zulässigen Grenzen begrenzt.
user_uuid
string
*
UUID des Zielmitglieds
minutes
integer
*
Anzahl Minuten (bei mode=add Delta, bei mode=set Zielwert)
mode
string
add (addieren, Standard) oder set (absolut setzen)
reason
string
Begründung für den Audit-Trail (max. 500 Zeichen)
/api/flowtime/working-hours/history
Ruft den tagesweisen Arbeitszeit-Verlauf ab. Standardmäßig die aktuelle Woche des angemeldeten Nutzers. Teaminhaber können über "user_uuid" den Verlauf eines anderen Mitglieds abrufen. Der Zeitraum ist auf maximal 31 Tage begrenzt.
start_date
string
Startdatum (YYYY-MM-DD, Standard: Wochenanfang)
end_date
string
Enddatum (YYYY-MM-DD, muss >= start_date sein)
user_uuid
string
Nur für Teaminhaber: Verlauf eines bestimmten Nutzers
https://creativeskyline.de/api/flowtime/timer
https://creativeskyline.de/api/flowtime/entries
https://creativeskyline.de/api/flowtime/projects
https://creativeskyline.de/api/flowtime/stats
https://creativeskyline.de/api/flowtime/working-hours
https://creativeskyline.de/api/flowtime/shifts
/api/flowtime/shifts/types
Listet alle Schichttypen des Teams auf.
/api/flowtime/shifts/types
Erstellt einen neuen Schichttyp (erfordert Sub-Recht "schichtplanung" oder Teaminhaber).
name
string
*
Name des Schichttyps (max. 255 Zeichen)
description
string
Beschreibung
color
string
Hex-Farbe (max. 7 Zeichen)
icon
string
Icon-Kennung (max. 50 Zeichen)
is_active
boolean
Schichttyp aktiv
/api/flowtime/shifts/types/{uuid}
Aktualisiert einen Schichttyp (erfordert Sub-Recht "schichtplanung" oder Teaminhaber). Adressierung ausschließlich per UUID.
name
string
Name des Schichttyps (max. 255 Zeichen)
description
string
Beschreibung
color
string
Hex-Farbe im Format #RRGGBB
icon
string
Icon-Kennung (max. 50 Zeichen)
is_active
boolean
Schichttyp aktiv
/api/flowtime/shifts/types/{uuid}
Löscht einen Schichttyp (erfordert Sub-Recht "schichtplanung" oder Teaminhaber). Adressierung ausschließlich per UUID.
/api/flowtime/shifts/templates
Listet alle Schichtvorlagen des Teams auf.
/api/flowtime/shifts/templates
Erstellt eine neue Schichtvorlage (erfordert Sub-Recht "schichtplanung" oder Teaminhaber). Breaking Change: Das frühere numerische Feld "shift_type_id" wird nicht mehr akzeptiert; der Schichttyp wird ausschließlich über "shift_type_uuid" angegeben.
name
string
*
Name der Schichtvorlage (max. 255 Zeichen)
shift_type_uuid
string
*
UUID des Schichttyps (teamgebunden)
start_time
string
*
Startzeit (HH:MM)
end_time
string
*
Endzeit (HH:MM)
min_staff
integer
Minimale Besetzung
max_staff
integer
Maximale Besetzung (>= min_staff)
default_days
array
Standard-Wochentage (1-7)
is_active
boolean
Schichtvorlage aktiv
/api/flowtime/shifts/templates/{uuid}
Aktualisiert eine Schichtvorlage (erfordert Sub-Recht "schichtplanung" oder Teaminhaber). Adressierung ausschließlich per UUID. Breaking Change: Das frühere numerische Feld "shift_type_id" wird nicht mehr akzeptiert; der Schichttyp wird ausschließlich über "shift_type_uuid" angegeben.
name
string
Name der Schichtvorlage (max. 255 Zeichen)
shift_type_uuid
string
UUID des Schichttyps (teamgebunden)
start_time
string
Startzeit (HH:MM)
end_time
string
Endzeit (HH:MM)
min_staff
integer
Minimale Besetzung
max_staff
integer
Maximale Besetzung (>= min_staff)
default_days
array
Standard-Wochentage (1-7)
is_active
boolean
Schichtvorlage aktiv
/api/flowtime/shifts/templates/{uuid}
Löscht eine Schichtvorlage (erfordert Sub-Recht "schichtplanung" oder Teaminhaber). Adressierung ausschließlich per UUID.
/api/flowtime/shifts/plans
Listet die Schichtpläne des Teams auf.
status
string
Filtert nach Status (draft, published oder archived)
start_date
string
Filtert Pläne ab diesem Datum
end_date
string
Filtert Pläne bis zu diesem Datum (muss >= start_date sein)
/api/flowtime/shifts/plans
Erstellt einen neuen Schichtplan für eine Woche (erfordert Sub-Recht "schichtplanung" oder Teaminhaber). Breaking Change: Das frühere numerische Feld "shift_type_ids" wird nicht mehr akzeptiert; die Schichttypen werden ausschließlich über "shift_type_uuids" angegeben.
week_start
string
*
Wochenanfang (Datum)
name
string
Name des Plans (max. 255 Zeichen)
create_from_templates
boolean
Plan aus Vorlagen erzeugen
shift_type_uuids
array
UUIDs der zu berücksichtigenden Schichttypen (teamgebunden)
shift_type_uuids.*
string
Einzelne Schichttyp-UUID
/api/flowtime/shifts/plans/{uuid}
Ruft einen einzelnen Schichtplan mit seinen Schichten ab. Adressierung ausschließlich per UUID.
/api/flowtime/shifts/plans/{uuid}/publish
Veröffentlicht einen Schichtplan (erfordert Sub-Recht "schichtplanung" oder Teaminhaber).
/api/flowtime/shifts/plans/{uuid}/archive
Archiviert einen Schichtplan (erfordert Sub-Recht "schichtplanung" oder Teaminhaber).
/api/flowtime/shifts/plans/{uuid}/copy
Kopiert einen Schichtplan in eine andere Woche (erfordert Sub-Recht "schichtplanung" oder Teaminhaber).
target_week_start
string
*
Ziel-Wochenstartdatum
/api/flowtime/shifts
Erstellt eine einzelne Schicht innerhalb eines Plans (erfordert Sub-Recht "schichtplanung" oder Teaminhaber). Breaking Change: Die früheren numerischen Felder "shift_plan_id" und "shift_type_id" werden nicht mehr akzeptiert; Plan und Typ werden ausschließlich über "shift_plan_uuid" und "shift_type_uuid" angegeben.
shift_plan_uuid
string
*
UUID des Schichtplans (teamgebunden)
shift_type_uuid
string
*
UUID des Schichttyps (teamgebunden)
date
string
*
Datum der Schicht
start_time
string
*
Startzeit (HH:MM)
end_time
string
*
Endzeit (HH:MM)
min_staff
integer
Minimale Besetzung
max_staff
integer
Maximale Besetzung (>= min_staff)
notes
string
Notizen zur Schicht
/api/flowtime/shifts/{uuid}
Löscht eine Schicht (erfordert Sub-Recht "schichtplanung" oder Teaminhaber). Adressierung ausschließlich per UUID.
/api/flowtime/shifts/{uuid}/assign
Weist einer Schicht einen Nutzer zu (erfordert Sub-Recht "schichtplanung" oder Teaminhaber).
user_uuid
string
*
UUID des zuzuweisenden Nutzers
check_conflicts
boolean
Zeitliche Konflikte prüfen
/api/flowtime/shifts/{uuid}/assign/{userUuid}
Entfernt die Zuweisung eines Nutzers von einer Schicht (erfordert Sub-Recht "schichtplanung" oder Teaminhaber).
/api/flowtime/shifts/{uuid}/available-users
Listet Nutzer, die für eine Schicht zugewiesen werden können (erfordert Sub-Recht "schichtplanung" oder Teaminhaber).
/api/flowtime/shifts/assignments/{uuid}/confirm
Bestätigt eine eigene Schicht-Zuweisung. Steht jedem Mitglied für die eigenen Zuweisungen offen.
/api/flowtime/shifts/assignments/{uuid}/decline
Lehnt eine eigene Schicht-Zuweisung ab. Steht jedem Mitglied für die eigenen Zuweisungen offen.
reason
string
Begründung für die Ablehnung
/api/flowtime/shifts/my-shifts
Ruft die eigenen Schichten des angemeldeten Nutzers ab.
start_date
string
Filtert Schichten ab diesem Datum
end_date
string
Filtert Schichten bis zu diesem Datum (muss >= start_date sein)
/api/flowtime/shifts/current
Ruft die aktuelle Schicht-Übersicht ab.
/api/flowtime/shifts/preferences
Ruft die eigenen Verfügbarkeits-Präferenzen des angemeldeten Nutzers ab.
/api/flowtime/shifts/preferences/{dayOfWeek}
Setzt die eigene Verfügbarkeits-Präferenz für einen Wochentag (1-7). Steht jedem Mitglied für die eigenen Präferenzen offen.
availability
string
*
Verfügbarkeit: available, preferred, unavailable oder if_needed
available_from
string
Verfügbar ab (HH:MM)
available_until
string
Verfügbar bis (HH:MM)
preferred_shift_types
array
Bevorzugte Schichttypen als UUIDs (teamgebunden)
notes
string
Notizen (max. 500 Zeichen)
/api/flowtime/timer/status
curl -X GET "https://creativeskyline.de/api/flowtime/timer/status" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/timer/status');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/timer/status', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/timer/status',
headers=headers,
)
data = response.json()
{
"success": true,
"data": {
"is_tracking": true,
"timer": {
"uuid": "6f1e2a3b-...",
"description": "Feature-Entwicklung",
"project": {
"uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
"name": "Website Redesign",
"client_name": "Musterfirma GmbH"
},
"starts_at": "2024-01-15T09:00:00+00:00",
"elapsed_seconds": 3600,
"elapsed_formatted": "01:00:00"
}
}
}
/api/flowtime/timer/start
curl -X POST "https://creativeskyline.de/api/flowtime/timer/start" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"description": "value", "project_uuid": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/timer/start', [
'description' => 'value',
'project_uuid' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/timer/start', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: 'value',
project_uuid: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'description': 'value',
'project_uuid': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/timer/start',
headers=headers,
json=payload,
)
data = response.json()
{
"success": false,
"error": "A timer is already running",
"data": {
"active_timer_uuid": "6f1e2a3b-..."
}
}
/api/flowtime/timer/stop
curl -X POST "https://creativeskyline.de/api/flowtime/timer/stop" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/timer/stop');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/timer/stop', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/timer/stop',
headers=headers,
)
data = response.json()
{
"success": true,
"message": "Timer stopped successfully",
"data": {
"uuid": "6f1e2a3b-...",
"description": "Bug-Fixing",
"project": {
"uuid": "9d2f4c1a-...",
"name": "Website Redesign",
"client_name": "Musterfirma GmbH"
},
"starts_at": "2024-01-15T09:00:00+00:00",
"ends_at": "2024-01-15T10:30:00+00:00",
"seconds": 5400,
"duration_formatted": "01:30:00"
}
}
/api/flowtime/timer
curl -X PUT "https://creativeskyline.de/api/flowtime/timer" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"description": "value", "project_uuid": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/timer', [
'description' => 'value',
'project_uuid' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/timer', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: 'value',
project_uuid: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'description': 'value',
'project_uuid': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/timer',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/timer
curl -X DELETE "https://creativeskyline.de/api/flowtime/timer" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/timer');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/timer', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/timer',
headers=headers,
)
data = response.json()
/api/flowtime/entries
curl -X GET "https://creativeskyline.de/api/flowtime/entries" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/entries');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/entries', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/entries',
headers=headers,
)
data = response.json()
/api/flowtime/entries/{uuid}
curl -X GET "https://creativeskyline.de/api/flowtime/entries/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/entries/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/entries/{uuid}', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/entries/{uuid}',
headers=headers,
)
data = response.json()
/api/flowtime/entries
curl -X POST "https://creativeskyline.de/api/flowtime/entries" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"description": "value", "project_uuid": "value", "starts_at": "value", "ends_at": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/entries', [
'description' => 'value',
'project_uuid' => 'value',
'starts_at' => 'value',
'ends_at' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/entries', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: 'value',
project_uuid: 'value',
starts_at: 'value',
ends_at: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'description': 'value',
'project_uuid': 'value',
'starts_at': 'value',
'ends_at': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/entries',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/entries/{uuid}
curl -X PUT "https://creativeskyline.de/api/flowtime/entries/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"description": "value", "project_uuid": "value", "starts_at": "value", "ends_at": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/entries/{uuid}', [
'description' => 'value',
'project_uuid' => 'value',
'starts_at' => 'value',
'ends_at' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/entries/{uuid}', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: 'value',
project_uuid: 'value',
starts_at: 'value',
ends_at: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'description': 'value',
'project_uuid': 'value',
'starts_at': 'value',
'ends_at': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/entries/{uuid}',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/entries/{uuid}
curl -X DELETE "https://creativeskyline.de/api/flowtime/entries/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/entries/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/entries/{uuid}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/entries/{uuid}',
headers=headers,
)
data = response.json()
/api/flowtime/projects
curl -X GET "https://creativeskyline.de/api/flowtime/projects" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/projects');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/projects', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/projects',
headers=headers,
)
data = response.json()
{
"success": true,
"data": [
{
"uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
"name": "Website Redesign",
"client_name": "Musterfirma GmbH",
"color_code": "#3B82F6",
"is_public": true,
"is_billable": false,
"billable_rate": null,
"currency": "EUR"
}
],
"count": 1
}
/api/flowtime/projects/{uuid}
curl -X GET "https://creativeskyline.de/api/flowtime/projects/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/projects/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/projects/{uuid}', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/projects/{uuid}',
headers=headers,
)
data = response.json()
/api/flowtime/projects
curl -X POST "https://creativeskyline.de/api/flowtime/projects" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "client_uuid": "value", "description": "value", "color_code": "value", "is_public": true, "is_billable": true, "billable_rate": 0, "currency": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/projects', [
'name' => 'value',
'client_uuid' => 'value',
'description' => 'value',
'color_code' => 'value',
'is_public' => true,
'is_billable' => true,
'billable_rate' => 0,
'currency' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/projects', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
client_uuid: 'value',
description: 'value',
color_code: 'value',
is_public: true,
is_billable: true,
billable_rate: 0,
currency: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'client_uuid': 'value',
'description': 'value',
'color_code': 'value',
'is_public': True,
'is_billable': True,
'billable_rate': 0,
'currency': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/projects',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/projects/{uuid}
curl -X PUT "https://creativeskyline.de/api/flowtime/projects/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "description": "value", "status": "value", "color_code": "value", "is_public": true, "is_hidden": true, "is_billable": true, "billable_rate": 0, "currency": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/projects/{uuid}', [
'name' => 'value',
'description' => 'value',
'status' => 'value',
'color_code' => 'value',
'is_public' => true,
'is_hidden' => true,
'is_billable' => true,
'billable_rate' => 0,
'currency' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/projects/{uuid}', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
description: 'value',
status: 'value',
color_code: 'value',
is_public: true,
is_hidden: true,
is_billable: true,
billable_rate: 0,
currency: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'description': 'value',
'status': 'value',
'color_code': 'value',
'is_public': True,
'is_hidden': True,
'is_billable': True,
'billable_rate': 0,
'currency': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/projects/{uuid}',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/projects/{uuid}/permissions
curl -X PUT "https://creativeskyline.de/api/flowtime/projects/{uuid}/permissions" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"user_uuids": [], "user_uuids.*": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/projects/{uuid}/permissions', [
'user_uuids' => [],
'user_uuids.*' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/projects/{uuid}/permissions', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
user_uuids: [],
user_uuids.*: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'user_uuids': [],
'user_uuids.*': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/projects/{uuid}/permissions',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/working-hours/status
curl -X GET "https://creativeskyline.de/api/flowtime/working-hours/status" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/working-hours/status');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/working-hours/status', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/working-hours/status',
headers=headers,
)
data = response.json()
{
"success": true,
"data": {
"configured": true,
"settings": {
"weekly_hours": 40,
"working_days": [
1,
2,
3,
4,
5
],
"daily_hours": 8,
"track_overtime": true,
"work_time_model": "standard"
},
"overtime_balance": {
"minutes": 120,
"hours": 2,
"formatted": "+02:00"
},
"today": [],
"this_week": [],
"this_month": []
}
}
/api/flowtime/working-hours/settings
curl -X PUT "https://creativeskyline.de/api/flowtime/working-hours/settings" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"user_uuid": "value", "weekly_hours": 0, "working_days": [], "daily_hours": [], "track_overtime": true, "work_time_model": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/working-hours/settings', [
'user_uuid' => 'value',
'weekly_hours' => 0,
'working_days' => [],
'daily_hours' => [],
'track_overtime' => true,
'work_time_model' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/working-hours/settings', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
user_uuid: 'value',
weekly_hours: 0,
working_days: [],
daily_hours: [],
track_overtime: true,
work_time_model: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'user_uuid': 'value',
'weekly_hours': 0,
'working_days': [],
'daily_hours': [],
'track_overtime': True,
'work_time_model': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/working-hours/settings',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/working-hours/overtime/adjust
curl -X POST "https://creativeskyline.de/api/flowtime/working-hours/overtime/adjust" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"user_uuid": "value", "minutes": 0, "mode": "value", "reason": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/working-hours/overtime/adjust', [
'user_uuid' => 'value',
'minutes' => 0,
'mode' => 'value',
'reason' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/working-hours/overtime/adjust', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
user_uuid: 'value',
minutes: 0,
mode: 'value',
reason: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'user_uuid': 'value',
'minutes': 0,
'mode': 'value',
'reason': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/working-hours/overtime/adjust',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/working-hours/history
curl -X GET "https://creativeskyline.de/api/flowtime/working-hours/history" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/working-hours/history');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/working-hours/history', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/working-hours/history',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/types
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/types" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/types');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/types', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/types',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/types
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/types" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "description": "value", "color": "value", "icon": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/types', [
'name' => 'value',
'description' => 'value',
'color' => 'value',
'icon' => 'value',
'is_active' => true,
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/types', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
description: 'value',
color: 'value',
icon: 'value',
is_active: true,
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'description': 'value',
'color': 'value',
'icon': 'value',
'is_active': True,
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/types',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/shifts/types/{uuid}
curl -X PUT "https://creativeskyline.de/api/flowtime/shifts/types/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "description": "value", "color": "value", "icon": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/shifts/types/{uuid}', [
'name' => 'value',
'description' => 'value',
'color' => 'value',
'icon' => 'value',
'is_active' => true,
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/types/{uuid}', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
description: 'value',
color: 'value',
icon: 'value',
is_active: true,
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'description': 'value',
'color': 'value',
'icon': 'value',
'is_active': True,
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/shifts/types/{uuid}',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/shifts/types/{uuid}
curl -X DELETE "https://creativeskyline.de/api/flowtime/shifts/types/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/shifts/types/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/types/{uuid}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/shifts/types/{uuid}',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/templates
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/templates" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/templates');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/templates', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/templates',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/templates
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/templates" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "shift_type_uuid": "value", "start_time": "value", "end_time": "value", "min_staff": 0, "max_staff": 0, "default_days": [], "is_active": true}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/templates', [
'name' => 'value',
'shift_type_uuid' => 'value',
'start_time' => 'value',
'end_time' => 'value',
'min_staff' => 0,
'max_staff' => 0,
'default_days' => [],
'is_active' => true,
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/templates', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
shift_type_uuid: 'value',
start_time: 'value',
end_time: 'value',
min_staff: 0,
max_staff: 0,
default_days: [],
is_active: true,
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'shift_type_uuid': 'value',
'start_time': 'value',
'end_time': 'value',
'min_staff': 0,
'max_staff': 0,
'default_days': [],
'is_active': True,
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/templates',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/shifts/templates/{uuid}
curl -X PUT "https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "shift_type_uuid": "value", "start_time": "value", "end_time": "value", "min_staff": 0, "max_staff": 0, "default_days": [], "is_active": true}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}', [
'name' => 'value',
'shift_type_uuid' => 'value',
'start_time' => 'value',
'end_time' => 'value',
'min_staff' => 0,
'max_staff' => 0,
'default_days' => [],
'is_active' => true,
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
shift_type_uuid: 'value',
start_time: 'value',
end_time: 'value',
min_staff: 0,
max_staff: 0,
default_days: [],
is_active: true,
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'shift_type_uuid': 'value',
'start_time': 'value',
'end_time': 'value',
'min_staff': 0,
'max_staff': 0,
'default_days': [],
'is_active': True,
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/shifts/templates/{uuid}
curl -X DELETE "https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/plans
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/plans" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/plans');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/plans',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/plans
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/plans" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"week_start": "value", "name": "value", "create_from_templates": true, "shift_type_uuids": [], "shift_type_uuids.*": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/plans', [
'week_start' => 'value',
'name' => 'value',
'create_from_templates' => true,
'shift_type_uuids' => [],
'shift_type_uuids.*' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
week_start: 'value',
name: 'value',
create_from_templates: true,
shift_type_uuids: [],
shift_type_uuids.*: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'week_start': 'value',
'name': 'value',
'create_from_templates': True,
'shift_type_uuids': [],
'shift_type_uuids.*': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/plans',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/shifts/plans/{uuid}
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/plans/{uuid}/publish
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/publish" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/publish');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/publish', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/publish',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/plans/{uuid}/archive
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/archive" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/archive');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/archive', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/archive',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/plans/{uuid}/copy
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/copy" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"target_week_start": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/copy', [
'target_week_start' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/copy', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
target_week_start: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'target_week_start': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/copy',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/shifts
curl -X POST "https://creativeskyline.de/api/flowtime/shifts" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"shift_plan_uuid": "value", "shift_type_uuid": "value", "date": "value", "start_time": "value", "end_time": "value", "min_staff": 0, "max_staff": 0, "notes": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts', [
'shift_plan_uuid' => 'value',
'shift_type_uuid' => 'value',
'date' => 'value',
'start_time' => 'value',
'end_time' => 'value',
'min_staff' => 0,
'max_staff' => 0,
'notes' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
shift_plan_uuid: 'value',
shift_type_uuid: 'value',
date: 'value',
start_time: 'value',
end_time: 'value',
min_staff: 0,
max_staff: 0,
notes: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'shift_plan_uuid': 'value',
'shift_type_uuid': 'value',
'date': 'value',
'start_time': 'value',
'end_time': 'value',
'min_staff': 0,
'max_staff': 0,
'notes': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/shifts/{uuid}
curl -X DELETE "https://creativeskyline.de/api/flowtime/shifts/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/shifts/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/{uuid}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/shifts/{uuid}',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/{uuid}/assign
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"user_uuid": "value", "check_conflicts": true}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign', [
'user_uuid' => 'value',
'check_conflicts' => true,
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
user_uuid: 'value',
check_conflicts: true,
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'user_uuid': 'value',
'check_conflicts': True,
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/shifts/{uuid}/assign/{userUuid}
curl -X DELETE "https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign/{userUuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign/{userUuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign/{userUuid}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign/{userUuid}',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/{uuid}/available-users
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/{uuid}/available-users" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/{uuid}/available-users');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/{uuid}/available-users', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/{uuid}/available-users',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/assignments/{uuid}/confirm
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/confirm" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/confirm');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/confirm', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/confirm',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/assignments/{uuid}/decline
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/decline" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"reason": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/decline', [
'reason' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/decline', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
reason: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'reason': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/decline',
headers=headers,
json=payload,
)
data = response.json()
/api/flowtime/shifts/my-shifts
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/my-shifts" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/my-shifts');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/my-shifts', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/my-shifts',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/current
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/current" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/current');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/current', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/current',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/preferences
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/preferences" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/preferences');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/preferences', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/preferences',
headers=headers,
)
data = response.json()
/api/flowtime/shifts/preferences/{dayOfWeek}
curl -X PUT "https://creativeskyline.de/api/flowtime/shifts/preferences/{dayOfWeek}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"availability": "value", "available_from": "value", "available_until": "value", "preferred_shift_types": [], "notes": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/shifts/preferences/{dayOfWeek}', [
'availability' => 'value',
'available_from' => 'value',
'available_until' => 'value',
'preferred_shift_types' => [],
'notes' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/preferences/{dayOfWeek}', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
availability: 'value',
available_from: 'value',
available_until: 'value',
preferred_shift_types: [],
notes: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'availability': 'value',
'available_from': 'value',
'available_until': 'value',
'preferred_shift_types': [],
'notes': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/shifts/preferences/{dayOfWeek}',
headers=headers,
json=payload,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/timer/status" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/timer/status');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/timer/status', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/timer/status',
headers=headers,
)
data = response.json()
{
"success": true,
"data": {
"is_tracking": true,
"timer": {
"uuid": "6f1e2a3b-...",
"description": "Feature-Entwicklung",
"project": {
"uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
"name": "Website Redesign",
"client_name": "Musterfirma GmbH"
},
"starts_at": "2024-01-15T09:00:00+00:00",
"elapsed_seconds": 3600,
"elapsed_formatted": "01:00:00"
}
}
}
curl -X POST "https://creativeskyline.de/api/flowtime/timer/start" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"description": "value", "project_uuid": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/timer/start', [
'description' => 'value',
'project_uuid' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/timer/start', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: 'value',
project_uuid: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'description': 'value',
'project_uuid': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/timer/start',
headers=headers,
json=payload,
)
data = response.json()
{
"success": false,
"error": "A timer is already running",
"data": {
"active_timer_uuid": "6f1e2a3b-..."
}
}
curl -X POST "https://creativeskyline.de/api/flowtime/timer/stop" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/timer/stop');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/timer/stop', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/timer/stop',
headers=headers,
)
data = response.json()
{
"success": true,
"message": "Timer stopped successfully",
"data": {
"uuid": "6f1e2a3b-...",
"description": "Bug-Fixing",
"project": {
"uuid": "9d2f4c1a-...",
"name": "Website Redesign",
"client_name": "Musterfirma GmbH"
},
"starts_at": "2024-01-15T09:00:00+00:00",
"ends_at": "2024-01-15T10:30:00+00:00",
"seconds": 5400,
"duration_formatted": "01:30:00"
}
}
curl -X PUT "https://creativeskyline.de/api/flowtime/timer" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"description": "value", "project_uuid": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/timer', [
'description' => 'value',
'project_uuid' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/timer', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: 'value',
project_uuid: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'description': 'value',
'project_uuid': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/timer',
headers=headers,
json=payload,
)
data = response.json()
curl -X DELETE "https://creativeskyline.de/api/flowtime/timer" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/timer');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/timer', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/timer',
headers=headers,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/entries" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/entries');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/entries', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/entries',
headers=headers,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/entries/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/entries/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/entries/{uuid}', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/entries/{uuid}',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/entries" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"description": "value", "project_uuid": "value", "starts_at": "value", "ends_at": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/entries', [
'description' => 'value',
'project_uuid' => 'value',
'starts_at' => 'value',
'ends_at' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/entries', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: 'value',
project_uuid: 'value',
starts_at: 'value',
ends_at: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'description': 'value',
'project_uuid': 'value',
'starts_at': 'value',
'ends_at': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/entries',
headers=headers,
json=payload,
)
data = response.json()
curl -X PUT "https://creativeskyline.de/api/flowtime/entries/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"description": "value", "project_uuid": "value", "starts_at": "value", "ends_at": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/entries/{uuid}', [
'description' => 'value',
'project_uuid' => 'value',
'starts_at' => 'value',
'ends_at' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/entries/{uuid}', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: 'value',
project_uuid: 'value',
starts_at: 'value',
ends_at: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'description': 'value',
'project_uuid': 'value',
'starts_at': 'value',
'ends_at': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/entries/{uuid}',
headers=headers,
json=payload,
)
data = response.json()
curl -X DELETE "https://creativeskyline.de/api/flowtime/entries/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/entries/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/entries/{uuid}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/entries/{uuid}',
headers=headers,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/projects" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/projects');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/projects', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/projects',
headers=headers,
)
data = response.json()
{
"success": true,
"data": [
{
"uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
"name": "Website Redesign",
"client_name": "Musterfirma GmbH",
"color_code": "#3B82F6",
"is_public": true,
"is_billable": false,
"billable_rate": null,
"currency": "EUR"
}
],
"count": 1
}
curl -X GET "https://creativeskyline.de/api/flowtime/projects/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/projects/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/projects/{uuid}', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/projects/{uuid}',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/projects" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "client_uuid": "value", "description": "value", "color_code": "value", "is_public": true, "is_billable": true, "billable_rate": 0, "currency": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/projects', [
'name' => 'value',
'client_uuid' => 'value',
'description' => 'value',
'color_code' => 'value',
'is_public' => true,
'is_billable' => true,
'billable_rate' => 0,
'currency' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/projects', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
client_uuid: 'value',
description: 'value',
color_code: 'value',
is_public: true,
is_billable: true,
billable_rate: 0,
currency: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'client_uuid': 'value',
'description': 'value',
'color_code': 'value',
'is_public': True,
'is_billable': True,
'billable_rate': 0,
'currency': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/projects',
headers=headers,
json=payload,
)
data = response.json()
curl -X PUT "https://creativeskyline.de/api/flowtime/projects/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "description": "value", "status": "value", "color_code": "value", "is_public": true, "is_hidden": true, "is_billable": true, "billable_rate": 0, "currency": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/projects/{uuid}', [
'name' => 'value',
'description' => 'value',
'status' => 'value',
'color_code' => 'value',
'is_public' => true,
'is_hidden' => true,
'is_billable' => true,
'billable_rate' => 0,
'currency' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/projects/{uuid}', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
description: 'value',
status: 'value',
color_code: 'value',
is_public: true,
is_hidden: true,
is_billable: true,
billable_rate: 0,
currency: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'description': 'value',
'status': 'value',
'color_code': 'value',
'is_public': True,
'is_hidden': True,
'is_billable': True,
'billable_rate': 0,
'currency': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/projects/{uuid}',
headers=headers,
json=payload,
)
data = response.json()
curl -X PUT "https://creativeskyline.de/api/flowtime/projects/{uuid}/permissions" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"user_uuids": [], "user_uuids.*": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/projects/{uuid}/permissions', [
'user_uuids' => [],
'user_uuids.*' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/projects/{uuid}/permissions', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
user_uuids: [],
user_uuids.*: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'user_uuids': [],
'user_uuids.*': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/projects/{uuid}/permissions',
headers=headers,
json=payload,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/working-hours/status" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/working-hours/status');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/working-hours/status', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/working-hours/status',
headers=headers,
)
data = response.json()
{
"success": true,
"data": {
"configured": true,
"settings": {
"weekly_hours": 40,
"working_days": [
1,
2,
3,
4,
5
],
"daily_hours": 8,
"track_overtime": true,
"work_time_model": "standard"
},
"overtime_balance": {
"minutes": 120,
"hours": 2,
"formatted": "+02:00"
},
"today": [],
"this_week": [],
"this_month": []
}
}
curl -X PUT "https://creativeskyline.de/api/flowtime/working-hours/settings" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"user_uuid": "value", "weekly_hours": 0, "working_days": [], "daily_hours": [], "track_overtime": true, "work_time_model": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/working-hours/settings', [
'user_uuid' => 'value',
'weekly_hours' => 0,
'working_days' => [],
'daily_hours' => [],
'track_overtime' => true,
'work_time_model' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/working-hours/settings', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
user_uuid: 'value',
weekly_hours: 0,
working_days: [],
daily_hours: [],
track_overtime: true,
work_time_model: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'user_uuid': 'value',
'weekly_hours': 0,
'working_days': [],
'daily_hours': [],
'track_overtime': True,
'work_time_model': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/working-hours/settings',
headers=headers,
json=payload,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/working-hours/overtime/adjust" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"user_uuid": "value", "minutes": 0, "mode": "value", "reason": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/working-hours/overtime/adjust', [
'user_uuid' => 'value',
'minutes' => 0,
'mode' => 'value',
'reason' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/working-hours/overtime/adjust', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
user_uuid: 'value',
minutes: 0,
mode: 'value',
reason: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'user_uuid': 'value',
'minutes': 0,
'mode': 'value',
'reason': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/working-hours/overtime/adjust',
headers=headers,
json=payload,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/working-hours/history" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/working-hours/history');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/working-hours/history', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/working-hours/history',
headers=headers,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/types" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/types');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/types', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/types',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/types" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "description": "value", "color": "value", "icon": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/types', [
'name' => 'value',
'description' => 'value',
'color' => 'value',
'icon' => 'value',
'is_active' => true,
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/types', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
description: 'value',
color: 'value',
icon: 'value',
is_active: true,
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'description': 'value',
'color': 'value',
'icon': 'value',
'is_active': True,
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/types',
headers=headers,
json=payload,
)
data = response.json()
curl -X PUT "https://creativeskyline.de/api/flowtime/shifts/types/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "description": "value", "color": "value", "icon": "value", "is_active": true}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/shifts/types/{uuid}', [
'name' => 'value',
'description' => 'value',
'color' => 'value',
'icon' => 'value',
'is_active' => true,
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/types/{uuid}', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
description: 'value',
color: 'value',
icon: 'value',
is_active: true,
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'description': 'value',
'color': 'value',
'icon': 'value',
'is_active': True,
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/shifts/types/{uuid}',
headers=headers,
json=payload,
)
data = response.json()
curl -X DELETE "https://creativeskyline.de/api/flowtime/shifts/types/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/shifts/types/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/types/{uuid}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/shifts/types/{uuid}',
headers=headers,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/templates" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/templates');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/templates', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/templates',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/templates" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "shift_type_uuid": "value", "start_time": "value", "end_time": "value", "min_staff": 0, "max_staff": 0, "default_days": [], "is_active": true}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/templates', [
'name' => 'value',
'shift_type_uuid' => 'value',
'start_time' => 'value',
'end_time' => 'value',
'min_staff' => 0,
'max_staff' => 0,
'default_days' => [],
'is_active' => true,
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/templates', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
shift_type_uuid: 'value',
start_time: 'value',
end_time: 'value',
min_staff: 0,
max_staff: 0,
default_days: [],
is_active: true,
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'shift_type_uuid': 'value',
'start_time': 'value',
'end_time': 'value',
'min_staff': 0,
'max_staff': 0,
'default_days': [],
'is_active': True,
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/templates',
headers=headers,
json=payload,
)
data = response.json()
curl -X PUT "https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "value", "shift_type_uuid": "value", "start_time": "value", "end_time": "value", "min_staff": 0, "max_staff": 0, "default_days": [], "is_active": true}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}', [
'name' => 'value',
'shift_type_uuid' => 'value',
'start_time' => 'value',
'end_time' => 'value',
'min_staff' => 0,
'max_staff' => 0,
'default_days' => [],
'is_active' => true,
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: 'value',
shift_type_uuid: 'value',
start_time: 'value',
end_time: 'value',
min_staff: 0,
max_staff: 0,
default_days: [],
is_active: true,
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'name': 'value',
'shift_type_uuid': 'value',
'start_time': 'value',
'end_time': 'value',
'min_staff': 0,
'max_staff': 0,
'default_days': [],
'is_active': True,
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}',
headers=headers,
json=payload,
)
data = response.json()
curl -X DELETE "https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/shifts/templates/{uuid}',
headers=headers,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/plans" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/plans');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/plans',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/plans" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"week_start": "value", "name": "value", "create_from_templates": true, "shift_type_uuids": [], "shift_type_uuids.*": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/plans', [
'week_start' => 'value',
'name' => 'value',
'create_from_templates' => true,
'shift_type_uuids' => [],
'shift_type_uuids.*' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
week_start: 'value',
name: 'value',
create_from_templates: true,
shift_type_uuids: [],
shift_type_uuids.*: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'week_start': 'value',
'name': 'value',
'create_from_templates': True,
'shift_type_uuids': [],
'shift_type_uuids.*': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/plans',
headers=headers,
json=payload,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/publish" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/publish');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/publish', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/publish',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/archive" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/archive');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/archive', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/archive',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/copy" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"target_week_start": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/copy', [
'target_week_start' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/copy', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
target_week_start: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'target_week_start': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/plans/{uuid}/copy',
headers=headers,
json=payload,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/shifts" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"shift_plan_uuid": "value", "shift_type_uuid": "value", "date": "value", "start_time": "value", "end_time": "value", "min_staff": 0, "max_staff": 0, "notes": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts', [
'shift_plan_uuid' => 'value',
'shift_type_uuid' => 'value',
'date' => 'value',
'start_time' => 'value',
'end_time' => 'value',
'min_staff' => 0,
'max_staff' => 0,
'notes' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
shift_plan_uuid: 'value',
shift_type_uuid: 'value',
date: 'value',
start_time: 'value',
end_time: 'value',
min_staff: 0,
max_staff: 0,
notes: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'shift_plan_uuid': 'value',
'shift_type_uuid': 'value',
'date': 'value',
'start_time': 'value',
'end_time': 'value',
'min_staff': 0,
'max_staff': 0,
'notes': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts',
headers=headers,
json=payload,
)
data = response.json()
curl -X DELETE "https://creativeskyline.de/api/flowtime/shifts/{uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/shifts/{uuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/{uuid}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/shifts/{uuid}',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"user_uuid": "value", "check_conflicts": true}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign', [
'user_uuid' => 'value',
'check_conflicts' => true,
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
user_uuid: 'value',
check_conflicts: true,
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'user_uuid': 'value',
'check_conflicts': True,
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign',
headers=headers,
json=payload,
)
data = response.json()
curl -X DELETE "https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign/{userUuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->delete('https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign/{userUuid}');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign/{userUuid}', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.delete(
'https://creativeskyline.de/api/flowtime/shifts/{uuid}/assign/{userUuid}',
headers=headers,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/{uuid}/available-users" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/{uuid}/available-users');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/{uuid}/available-users', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/{uuid}/available-users',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/confirm" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/confirm');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/confirm', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/confirm',
headers=headers,
)
data = response.json()
curl -X POST "https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/decline" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"reason": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->post('https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/decline', [
'reason' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/decline', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
reason: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'reason': 'value',
}
response = requests.post(
'https://creativeskyline.de/api/flowtime/shifts/assignments/{uuid}/decline',
headers=headers,
json=payload,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/my-shifts" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/my-shifts');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/my-shifts', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/my-shifts',
headers=headers,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/current" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/current');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/current', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/current',
headers=headers,
)
data = response.json()
curl -X GET "https://creativeskyline.de/api/flowtime/shifts/preferences" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://creativeskyline.de/api/flowtime/shifts/preferences');
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/preferences', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://creativeskyline.de/api/flowtime/shifts/preferences',
headers=headers,
)
data = response.json()
curl -X PUT "https://creativeskyline.de/api/flowtime/shifts/preferences/{dayOfWeek}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"availability": "value", "available_from": "value", "available_until": "value", "preferred_shift_types": [], "notes": "value"}'
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->put('https://creativeskyline.de/api/flowtime/shifts/preferences/{dayOfWeek}', [
'availability' => 'value',
'available_from' => 'value',
'available_until' => 'value',
'preferred_shift_types' => [],
'notes' => 'value',
]);
$data = $response->json();
const response = await fetch('https://creativeskyline.de/api/flowtime/shifts/preferences/{dayOfWeek}', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
availability: 'value',
available_from: 'value',
available_until: 'value',
preferred_shift_types: [],
notes: 'value',
}),
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
payload = {
'availability': 'value',
'available_from': 'value',
'available_until': 'value',
'preferred_shift_types': [],
'notes': 'value',
}
response = requests.put(
'https://creativeskyline.de/api/flowtime/shifts/preferences/{dayOfWeek}',
headers=headers,
json=payload,
)
data = response.json()