API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

GET /v1/work-planning/effective-schedule

GET/v1/work-planning/effective-schedule

Resolve the effective work schedule for a date or date range. Precedence: DAY override → active PERIOD weekly schedule → working_time_model default → OFF. Accepts userId (Self-Service/Legacy) ODER employeeId (kanonisch nach ADR 0123, funktioniert auch für Mitarbeitende ohne Login). Ohne beide wird der aktuelle User angenommen. Query eines Fremd-Subjekts erfordert work_schedule_view_team.

Paramètres de requête

NomTypeDescription
userIdstring
employeeIdstring
datestring<date>
fromstring<date>
tostring<date>

Exemple

curl -X GET https://api.codemeta-os.de/v1/work-planning/effective-schedule \
  -H "X-Tenant-Id: $TENANT" \
  -b cookies.txt
const result = await cm.work-planning.list();

Codes de réponse

HTTP Signification
200 Default Response

Recherche