Event
Resource
Calendar
Module
Endpoints | URI | Access Control | Description |
---|---|---|---|
vacation-approval | POST /api/Event/vacation-approval |
Endpoint level permissions |
Used to trigger a vacation event as approved or rejected. Sends a notification to the user informing them of the status of their request. Sets Required parameters:
|
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 |
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 |
Setting | |
---|---|
Pagination Limit (when page parameter is set) |
None |
Default Sort Order |
start DESC |
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 |