CodeExerciseSuraj

Postman Collection is also available

Swagger :

http://localhost:8080/v2/api-docs

API Enpoints


updateEmployee
PUT
Endpoint : /api/employee


fetchAllEmployees
GET
Endpoint : /api/employees/all


findByPlace
GET
Endpoint : /api/employees/by/place/{place}


fetchAllSupervisor
GET
Endpoint : /api/employees/by/supervisor/{id}


updateEmployeeSalary
PUT
Endpoint : /api/employees/place/{place}/salary/{percentage}


totalSalaryBySupervisor
GET
Endpoint : /api​/employees​/salary​/range​/by​/title​/{title}


totalSalaryByBusinessUnit
GET
Endpoint : /api​/employees​/salary​/total​/by​/bu​/{bu}


totalSalaryByPlace
GET
Endpoint : /api​/employees​/salary​/total​/by​/place​/{place}


totalSalaryBySupervisor
GET
Endpoint : /api​/employees​/salary​/total​/by​/supervisor​/{supervisor}