-
mvn spring-boot:run
-
-
- URL:
- /employees/add
- Method:
POST
- Data Parameters:
name: [String]
birthday: [Date]
address: [String]
status: [Status]
statusID: [Integer]
description: [String]
position: [Position]
positionID: [Integer]
description: [String]
- Success Response:
- Code: 201 (Created)
- Content:
Employee Object
- Error Response:
- Code: 500 (Internal Server Error)
- URL:
-
- URL:
- /employees/edit/{id}
- Method:
PUT
- Data Parameters (All Optional):
name: [String]
birthday: [Date]
address: [String]
status: [Status]
statusID: [Integer]
description: [String]
position: [Position]
positionID: [Integer]
description: [String]
- Success Response:
- Code: 200 (OK)
- Content:
Employee Object
- Error Response:
- Code: 500 (Internal Server Error)
- Code: 404 (Not Found)
- URL:
-
- URL:
- /employees/delete/{id}
- Method:
DELETE
- Success Response:
- Code: 200 (OK)
- Content:
Employee Successfully Removed
- Error Response:
- Code: 500 (Internal Server Error)
- URL:
-
- URL:
- /employees/getall
- Method:
GET
- Success Response:
- Code: 200 (OK)
- Content:
List of Employee Objects
- Error Response:
- Code: 500 (Internal Server Error)
- URL:
-
- URL:
- /getemployee/{id}
- Method:
GET
- Success Response:
- Code: 200 (OK)
- Content:
Employee Object
- Error Response:
- Code: 500 (Internal Server Error)
- Code: 404 (Not Found)
- URL:
-
-
Notifications
You must be signed in to change notification settings - Fork 0
NunopRolo/employees
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published