This microservice helps to get employee status.
- http://localhost:8098/
- EUREKA SERVICE NAME: EMPSTATUS
- /empstatus/info
- /empstatus/all
- /empstatus/getstatus/{employeeId}
- /empstatus/updatestatus/{employeeId}/{newStatus}
- /empstatus/delete/{employeeId}
- /empstatus/add?employeeId={employeeId}&newStatus={newStatus}
This microservice uses JSON for all input and output messages. It uses GET/PUT/DELETE methods.
- /empstatus/getstatus/{employeeId}
Method: GET
{
"employeeId": "11111"
}
{
"employeeId": "11111"
"empStatus": "Active"
}
{
"employeeId": "11111"
"empStatus": "NOT_FOUND"
}
The following guides illustrates how to use certain features correctly: