# TeamCalendarByEmploymentId 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 This is a read-only table function. The Loket.nl REST API may not support changing the data, or the Invantive UniversalSQL driver for Loket.nl REST does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Loket.nl REST API. - Catalog: `LoketNlRest` - Schema: `Calendar` ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `employmentId` | `guid` | ☑ | | The unique identifier of the employment | | `endDate` | `datetime` | ☑ | | A valid date (yyyy-MM-dd). Last day of the timebox for which calendar data will be collected. | | `startDate` | `datetime` | ☑ | | A valid date (yyyy-MM-dd). First day of the timebox for which calendar data will be collected. | ## Columns The columns of the table `TeamCalendarByEmploymentId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `employeeName` | `string` | | ☐ | name of the employee | | `employmentId` | `guid` | Employment ID | ☐ | The unique identifier of an object (GUID/UUID) |