---
title: "Get non-working days for all members (employees)"
method: POST
path: "/v1/public/events/non-working-days/get"
tags: ["Public", "Events"]
---

# Get non-working days for all members (employees)

`POST /v1/public/events/non-working-days/get`

## Request

- Base URL: `https://api.evolia.com`
- URL: `https://api.evolia.com/v1/public/events/non-working-days/get`
- Auth: HTTP basic

Returns one entry per non-working calendar day per member, for all active members in the group, over the given date range (fromDate and toDate are both inclusive). A day is considered non-working for a member when they have no assigned shift anchored to that day (per the group's ShiftOverTwoDaysOption setting) that was not marked absent.This endpoint uses POST to allow large values in its body parameters

## Request body

- GetPublicNonWorkingDaysRequest
  - `fromDate` string, required: a date in ISO-8601 format (2021-01-31T00:00:00.000-05:00). The calendar date (in the group timezone) of this date is the first day included in the result.
  - `toDate` string, required: a date in ISO-8601 format (2021-02-07T00:00:00.000-05:00). The calendar date (in the group timezone) of this date is the last day included in the result.
  - `excludeEmployeeCodes` string[]: if specified, members whose employee code is in this list are excluded from the result
  - `forTeamIds` string[]: if specified, use this array of team UIDs to only get non-working days for members linked to those teams
  - `forTeamCodes` string[]: if specified, use this array of team codes to only get non-working days for members linked to those teams. (forTeamIds will take precedence over forTeamCodes if set)
  - `forLocationIds` string[]: if specified, use this array of location UIDs to only get non-working days for members linked to those locations
  - `forLocationCodes` string[]: if specified, use this array of location codes to only get non-working days for members linked to those locations. (forLocationIds will take precedence over forLocationCodes if set)
  - `forSkillIds` string[]: if specified, use this array of skill UIDs to only get non-working days for members linked to those skills (positions)
  - `forSkillCodes` string[]: if specified, use this array of skill codes to only get non-working days for members linked to those skills (positions). (forSkillIds will take precedence over forSkillCodes if set)

## Response `200`

- PublicNonWorkingDay[]
  - `firstName` string, required: the member (employee) first name
  - `lastName` string, required: the member (employee) last name
  - `uid` string, required: unique member (employee) id
  - `code` object: the member (employee) code
  - `externalId` object, required: The member (employee) externalId. The externalId is often used as a mapping value between Evolia and an external system
  - `date` string, required: the non-working calendar date, in YYYY-MM-DD format

## Changes

- **2026-11-16** `227609ffbd4f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/evolia/apis/public-evolia/changes/v1/public/events/non-working-days/get/post.md)

---

[API](https://skmtc.dev/evolia/apis/public-evolia.md) - [All operations](https://skmtc.dev/evolia/apis/public-evolia/llms.txt) - [OpenAPI document](https://skmtc.dev/evolia/apis/public-evolia/revisions/227609ffbd4f?raw)
