Event Type Endpoints
Manage event types for employee appointment scheduling.
Base Pathβ
/api/event-type
Endpointsβ
List Event Typesβ
GET /api/event-type
Authorization: Bearer {token}
Response:
{
"items": [
{
"id": "uuid",
"title": "30-Minute Meeting",
"description": "Quick sync meeting",
"durationUnit": "Minute(s)",
"duration": 30,
"isActive": true,
"employeeId": "uuid"
}
],
"total": 5
}
Create Event Typeβ
POST /api/event-type
Authorization: Bearer {token}
{
"title": "1-Hour Consultation",
"description": "Detailed consultation session",
"durationUnit": "Minute(s)",
"duration": 60,
"isActive": true
}
Update Event Typeβ
PUT /api/event-type/:id
Authorization: Bearer {token}
Delete Event Typeβ
DELETE /api/event-type/:id
Authorization: Bearer {token}
Duration Unitsβ
| Unit | Description |
|---|---|
Minute(s) | Minutes |
Hour(s) | Hours |
Day(s) | Days |
Related Pagesβ
- Event Scheduling β scheduling feature
- Employee Availability β availability
- Google Calendar β calendar sync