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