# ShiftEvents: Horeko Shift Events
Returns roster events
Returns two lists of events: Shifts and Calendar events. For every shift and calendar the combination of "Id" and "StartDate" is unique.
This is a read-only table function. The Horeko API may not support modifying the data, or the Invantive UniversalSQL driver for Horeko does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Horeko API.
- Catalog: `Horeko`
- Schema: `Roster`
- Label: Shift Events
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `employeeId` | `int32` | ☐ | | id of the employee |
| `from` | `datetime` | ☑ | 01/01/2020 00:00:00 | start of the date time range filter |
| `to` | `datetime` | ☑ | 12/31/2999 00:00:00 | end of the date time range filter |
## Columns
The columns of the table `ShiftEvents` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `Break` | `int32` | Break | ☐ | |
| `DepartmentId` | `int32` | Department ID | ☐ | |
| `DepartmentIsFlexible` | `boolean` | Department Is Flexible | ☐ | |
| `DepartmentName` | `string` | Department Name | ☐ | |
| `Description` | `string` | Description | ☐ | |
| `EmployeeId` | `int32` | Employee ID | ☐ | |
| `EmployeeImage` | `string` | Employee Image | ☐ | |
| `EmployeeName` | `string` | Employee Name | ☐ | |
| `End` | `datetime` | End | ☐ | |
| `Id` | `int32` | ID | ☐ | |
| `IsInDepartmentWithDailyContract` | `boolean` | | ☐ | |
| `IsRecurrent` | `boolean` | Is Recurring | ☐ | |
| `IsStandBy` | `boolean` | Is Standby | ☐ | |
| `LocationId` | `int32` | Location ID | ☐ | |
| `LocationName` | `string` | Location Name | ☐ | |
| `Modified` | `datetime` | Modified | ☐ | |
| `Name` | `string` | Name | ☐ | |
| `Start` | `datetime` | Start | ☐ | |
| `TeamId` | `int32` | Team ID | ☐ | |
| `TeamName` | `string` | Team Name | ☐ | |
| `TeamOrder` | `int32` | | ☐ | |
| `Undetermined` | `boolean` | Undecided | ☐ | |