All endpoints require a valid
Authorization: Bearer <token> header. See Authentication for details.List employees
Returns all employee records stored in the system.GET /api/personal
No request body.
Response — Personal[]
string
required
Unique identifier for the employee.
string
required
First name.
string
required
Last name.
string
required
Email address.
string
required
Job title or position.
string
required
Hire date as an ISO 8601 date string (e.g.
"2024-03-15"). The vacation period begins one year after this date.Create an employee
Creates a new employee record.POST /api/personal
string
required
Client-generated UUID for the employee.
string
required
First name.
string
required
Last name.
string
required
Email address.
string
required
Job title or position.
string
required
Hire date in ISO 8601 format (e.g.
"2024-03-15").Personal object.
Delete an employee
Deletes an employee by their ID.DELETE /api/personal/:id
string
required
The UUID of the employee to delete.
200 OK on success. The response body may be empty or contain a confirmation message.
