# AvailabilityEvents: Horeko Availability 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: Availability 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 `AvailabilityEvents` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `End` | `datetime` | End | ☐ | |
| `Id` | `int32` | ID | ☐ | |
| `IsRecurring` | `boolean` | Is Recurring | ☐ | |
| `IsWholeDay` | `boolean` | Is Full Day | ☐ | |
| `Start` | `datetime` | Start | ☐ | |