API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

GET /v1/vacation-preview

GET/v1/vacation-preview

Computes daysRequested + minutesRequested + perDay breakdown for a prospective vacation. Mirrors the backend approval-time logic so the frontend can display the authoritative value. No mutation.

Queryparameters

NaamTypeBeschrijving
userIdstring
startDatevereiststring
endDatevereiststring
halfDayStartstring
halfDayEndstring
leaveTypestring

Voorbeeld

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

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken