Planned shift intervals
One planned working interval on one weekday of a company work schedule.
- API name:
employeeshiftintervals - Domain: Employment
- Modules: Human resources
Fields
The API name is what the API, MCP and the CLI use.
| Name | API name | Type | Required | Description |
|---|---|---|---|---|
| ID | id | Record ID | Yes | |
| Shift | employeeshiftId | Reference | Yes | |
| Sequence | sequence | Whole Number | Yes | |
| Weekday | weekday | Constant | Yes | |
| Start time | timeStart | Time | Yes | |
| End time | timeEnd | Time | Yes | |
| Ends next day | endsNextDay | Boolean | Yes | When enabled, the related rule or behavior applies to this record. |
| Unpaid break (minutes) | breakMinutes | Whole Number | Yes | |
| Created by | createdBy | User | ||
| Created at | createdAt | Date and Time | Yes | |
| Updated by | updatedBy | User | ||
| Updated at | updatedAt | Date and Time | Yes | |
| Published by | publishedBy | User | ||
| Published at | publishedAt | Date and Time | ||
| Blocked by | blockedBy | User | ||
| Blocked at | blockedAt | Date and Time | ||
| Archived by | archivedBy | User | ||
| Archived at | archivedAt | Date and Time |
Relations
Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.
| Field | Points to | Kind |
|---|---|---|
Shift employeeshiftId | Work shifts | owned by |
Actions
What you can do with a record. Every action also sends the webhook event employeeshiftintervals.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Create | create | Add a new shift interval. | App · WebMCP · API · MCP · CLI |
| Edit | update | Save changes to this shift interval. | App · API · MCP · CLI |
| Delete | delete | Delete this shift interval and the data that belongs with it. This cannot be undone. | App · WebMCP · API · MCP · CLI |