Employee absence requests
A request by an employee to be absent from work during a given period.
- API name:
employeeabsencerequests - Domain: Employment
- Modules: Human resources, My workspace
Fields
The API name is what the API, MCP and the CLI use.
| Name | API name | Type | Required | Description |
|---|---|---|---|---|
| ID | id | Record ID | Yes | |
| Employee | employeeId | Reference | Yes | |
| Assigned approver | userIdPendingApprover | User | ||
| Days requested | quantity | Decimal | Yes | Days this request consumes from the allowance. |
| Absence type | employeeabsencetypeId | Reference | ||
| Period start | dateStart | Date | Yes | |
| Period end | dateEnd | Date | Yes | |
| Duration | portion | Constant | Yes | |
| Start time | timeStart | Time | ||
| End time | timeEnd | Time | ||
| Planned hours requested | quantityHours | Decimal | Yes | Numeric value stored with decimal precision. |
| Reason | reason | Text | ||
| Created by | createdBy | User | ||
| Created at | createdAt | Date and Time | Yes | |
| Updated by | updatedBy | User | ||
| Updated at | updatedAt | Date and Time | Yes | |
| Submitted by | submittedBy | User | ||
| Submitted at | submittedAt | Date and Time | ||
| Approved by | approvedBy | User | ||
| Approved at | approvedAt | Date and Time | ||
| Rejected by | rejectedBy | User | ||
| Rejected at | rejectedAt | Date and Time | ||
| Canceled by | canceledBy | User | ||
| Canceled at | canceledAt | 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 |
|---|---|---|
Employee employeeId | Employees | grouped by |
Absence type employeeabsencetypeId | Employee absence types | reference |
Actions
What you can do with a record. Every action also sends the webhook event employeeabsencerequests.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Create | create | Add an new absence request. | App · WebMCP · API · MCP · CLI |
| Edit | update | Save changes to this absence request. | App · WebMCP · API · MCP · CLI |
| Submit | submit | Submit this absence request for review or issuance. Locks commercial fields. | App · API · MCP · CLI |
| Withdraw request | unsubmit | Withdraw a submitted request that is not approved yet. | App · API · MCP · CLI |
| Approve | approve | Approve this absence request so the next step can run. | App · WebMCP · API · MCP · CLI |
| Reject | reject | Reject this absence request. | App · WebMCP · API · MCP · CLI |
| Cancel | cancel | Withdraw the approved request and cancel the linked absence. | App · WebMCP · API · MCP · CLI |
| Block | block | Stop edits and deletion of this absence request. It stays visible and can still appear on existing documents. Unblock to edit again. | App · WebMCP · API · MCP · CLI |
| Unblock | unblock | Allow edits and deletion of this absence request again. | App · WebMCP · API · MCP · CLI |
| Archive | archive | Retire this absence request from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it. | App · WebMCP · API · MCP · CLI |
| Restore | unarchive | Return this absence request to active lists and actions. | App · WebMCP · API · MCP · CLI |
| Delete | delete | Delete this absence request and the data that belongs with it. This cannot be undone. | App · WebMCP · API · MCP · CLI |
States
How a record moves from state to state. Archive and block can happen in any state.