anilhazar / hr-be-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get All Employees Endpoint

anilhazar opened this issue · comments

Get All Employees Endpoint

Service Description: This service lists details of all employees.

Endpoint:

HTTP Method: GET

Endpoint: /api/v1/employees

Response:

[
  {
    "id": "1",
    "name": "John",
    "surname": "Doe",
    "age": 30,
    "gender": "Male"
  },
  {
    "id": "2",
    "name": "Jane",
    "surname": "Smith",
    "age": 28,
    "gender": "Female"
  }
]