Skip to content

inoah1/empStatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to EmployeeStatus Service

Current version 1.0.0

Microservice purpose:

This microservice helps to get employee status.

ROUTES

Currently supported APIs:

  • /empstatus/info
  • /empstatus/all
  • /empstatus/getstatus/{employeeId}
  • /empstatus/updatestatus/{employeeId}/{newStatus}
  • /empstatus/delete/{employeeId}
  • /empstatus/add?employeeId={employeeId}&newStatus={newStatus}

Message formats and error handling

This microservice uses JSON for all input and output messages. It uses GET/PUT/DELETE methods.

Sample input and output

  • /empstatus/getstatus/{employeeId}

Method: GET

Input JSON:

{
    "employeeId": "11111"
}

Output JSON:

{
    "employeeId": "11111"
    "empStatus":  "Active"
}

Error JSON:

{
    "employeeId": "11111"
    "empStatus": "NOT_FOUND"
}

Guides

The following guides illustrates how to use certain features correctly:

About

Microservice for HR system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages