Event Resource
In Calendar Module
Legacy calendar events table. Prefer ScheduleEvent for schedule, vacation, sick, and time-off. Do
not use Event for vacation balances or current scheduling.
Endpoints
| Endpoints |
URI |
Access Control |
Description |
| vacation-approval |
POST /api/Event/vacation-approval |
Endpoint level permissions |
Approve or reject a vacation request. The requesting user is notified of the outcome.
Required parameters:
approved: (boolean) true to approve, false to reject
id: (int) ID of the Event record
|
| get |
GET /api/Event/get |
Allowed with an active employment connection |
|
| find |
GET /api/Event/find |
Allowed with an active employment connection |
|
| delete |
POST /api/Event/delete |
Admin or Module WRITE |
|
| save |
POST /api/Event/save |
Allowed with an active employment connection |
|
Properties
| Property |
Type |
Description |
id |
number |
|
slug |
string |
|
user_id |
number |
|
start |
datetime |
|
end_time |
datetime |
|
duration_hrs |
number |
|
end |
date |
|
title |
string |
|
description |
string |
|
is_vacation |
boolean |
|
is_sickday |
boolean |
|
approved_by |
number |
|
rejected_by |
number |
|
created_at |
datetime |
|
updated_at |
datetime |
|
updated_by |
number |
|
Settings
| Setting |
|
Pagination Limit (when page parameter is set) |
None |
| Default Sort Order |
start DESC
|
Relationships
| Related Resource |
Key |
Relationship to Event |
Property |
| User |
user_id |
Belongs To |
User |
| User |
approved_by |
Belongs To |
ApprovedBy |
| User |
rejected_by |
Belongs To |
RejectedBy |