Schichten & Bedarfe
Schicht erstellen
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Request-Body
application/json
TypeScript-Definitionen
TypeScript-Typ für request body.
Response-Body
application/json
application/json
application/json
curl -X POST "https://example.com/shifts" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "start_time": "string", "end_time": "string" }'{ "data": { "id": "string", "name": "string", "abbreviation": "string", "color": "string", "start_time": "string", "end_time": "string", "break_duration": "string", "is_overnight": "string", "schedule_model_id": "string", "work_area_id": "string", "tags": "string", "note": "string", "fairness_weight": 0, "net_duration_ms": 0 }}