📡 API Reference

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

UnitDescription
Minute(s)Minutes
Hour(s)Hours
Day(s)Days

Edit this page

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey