Skip to content

inoah1/empBenefits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to EmployeeBenefits Service

Current version 1.0.0

Microservice purpose:

This microservice totals employee's weekly benefit witholdings.

ROUTES

Currently supported APIs:

  • /empBenefits/info
  • /empBenefits/getbenefits

Message formats and error handling

This microservice uses JSON for all input and output messages. It uses POST methods.

Sample input and output

  • /empBenefits/getbenefits

Method: POST

Input JSON:

{
    "employeeId": "11111"
}

Output JSON:

{
    "employeeId": 11111,
    "totalWitholdings":  125,
    "currency": "USD"
}

Error JSON:

{
    "employeeId": 11111
    "errorMsg": "NOT_FOUND"
}

Guides

The following guides illustrates how to use certain features correctly:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages