API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

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.

Queryparameters

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

Voorbeeld

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();

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken