---
title: "TeamCalendarByEmploymentId__embeddedDates (Loket.nl REST)"
description: "Team Calendar Dates by Employment ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Calendar.TeamCalendarByEmploymentId__embeddedDates
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Calendar.TeamCalendarByEmploymentId__embeddedDates
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# TeamCalendarByEmploymentId__embeddedDates: Loket.nl REST Team Calendar Dates by Employment ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `Calendar`
- Label: Team Calendar Dates by Employment ID

Get the calendar data of the department of the employment
__Activity name :__ GetTeamCalendarByEmploymentId

This endpoint returns, for all the employments for the department of the employment of the {employmentId} in the PATH, per day the availability. 

Note that, if no `workPattern` is known for an employment saturday and sunday counted as non-workdays


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/employees/employments/{employmentId}/teamCalendar`
- Operation: `get /providers/employers/employees/employments/{employmentId}/teamCalendar`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `employmentId` | `` | [x] |  | The unique identifier of the employment |
| `endDate` | `` | [x] |  | A valid date (yyyy-MM-dd). Last day of the timebox for which calendar data will be collected. |
| `startDate` | `` | [x] |  | A valid date (yyyy-MM-dd). First day of the timebox for which calendar data will be collected. |

## Table Columns

The columns of the table `TeamCalendarByEmploymentId__embeddedDates` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `date` | `datetime` | Date | [ ] |  | The date |
| `employeeName` | `varchar2` | itgen_loketnl_employeename | [ ] |  | name of the employee |
| `employmentId` | `guid` | Employment ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `leaveStatus` | `varchar2` | itgen_loketnl_leavestatus | [ ] |  |  |
| `noAccess` | `char` | itgen_loketnl_noaccess | [ ] |  | Indicates if the day is a workday for the employment |
| `nonWorkday` | `char` | itgen_loketnl_nonworkday | [ ] |  | Indicates if the day is a workday for the employment |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers/loket-nl-rest)

