Documentation Of Api project Test
- java 8
- IntelliJ IDea
- Maven
- Postman
Endpoints
-
To see documentation api with swagger
http://localhost:8080/swagger-ui.html
-
You can import the json file collections request made in postman
filesPostmantRequest/ApplaudoApi.postman_collection.json
-
Create an Item make a Post request
localhost:8080/app/api/v1/item { "itemName": "Frangel rodriguez", "itemBuyingPrice": 25, "itemSellingPrice": 30, "itemEnteredByUser":"User Root", "itemLastModifiedByUser":"admin" }
-
list all Items request
localhost:8080/app/api/v1/item
-
Load detail an Item by id request
localhost:8080/app/api/v1/item/1
-
Search Items by status and Name
Example: localhost:8080/app/api/v1/item/items?itemStatus=AVAILABLE&itemName=Frangel rodriguez