{"info":{"_postman_id":"faaea139-482e-4e45-bc7b-961beae89bd2","name":"RestaurantController","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"18570764","collectionId":"faaea139-482e-4e45-bc7b-961beae89bd2","publishedId":"UzBvFNN2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-06-29T16:46:49.000Z"},"item":[{"name":"get a Restaurant","id":"c99e48c0-6e0a-421e-a789-5c7e50e88327","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{localUrl}}/api/v1/restaurants/<UUID>","description":"<p><strong>Action:</strong> Get a Restaurant Entity from the repository</p>\n<p><strong>Path required:</strong> UUID as String</p>\n<p><strong>Roles permitted:</strong> USER, ADMIN</p>\n","urlObject":{"path":["api","v1","restaurants","<UUID>"],"host":["{{localUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c99e48c0-6e0a-421e-a789-5c7e50e88327"},{"name":"get all Restaurants","id":"cc7ff3e9-468c-4382-9d86-bf5f7730a276","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{localUrl}}/api/v1/restaurants/?pageNo=0&pageSize=10&sortBy=name","description":"<p><strong>Action:</strong> Get a list of all Restaurant Entities from the repository</p>\n<p><strong>Path required:</strong> Optional parameters. Will use <em>default-values</em> (used as example here) if no param is used.</p>\n<p><strong>Roles permitted:</strong> USER, ADMIN</p>\n","urlObject":{"path":["api","v1","restaurants",""],"host":["{{localUrl}}"],"query":[{"key":"pageNo","value":"0"},{"key":"pageSize","value":"10"},{"key":"sortBy","value":"name"}],"variable":[]}},"response":[],"_postman_id":"cc7ff3e9-468c-4382-9d86-bf5f7730a276"},{"name":"add Restaurant","id":"15a5fe35-f357-40fc-b581-da0cd22ade2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"uuId\": 0,\r\n    \"name\": \"example\",\r\n    \"openingTime\": [8,0],\r\n    \"closingTime\": [20,0],\r\n    \"staffRestDay\": \"MONDAY\",\r\n    \"dishDTOS\": [],\r\n    \"maxNumberOfMealsPerDay\": 20\r\n}","options":{"raw":{"language":"json"}}},"url":"{{localUrl}}/api/v1/restaurants/","description":"<p><strong>Action:</strong> Create a new Restaurant Entity and store into repository</p>\n<p><strong>Path required:</strong> none</p>\n<p><strong>Roles permitted:</strong> USER, ADMIN</p>\n","urlObject":{"path":["api","v1","restaurants",""],"host":["{{localUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"15a5fe35-f357-40fc-b581-da0cd22ade2d"},{"name":"remove Restaurant","id":"df12f9b9-1390-4078-946c-fbc3ad2f445b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{localUrl}}/api/v1/restaurants/<UUID>","description":"<p><strong>Action:</strong> Remove an existing Restaurant Entity from repository</p>\n<p><strong>Path required:</strong> UUID as String</p>\n<p><strong>Roles permitted:</strong> USER, ADMIN</p>\n","urlObject":{"path":["api","v1","restaurants","<UUID>"],"host":["{{localUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"df12f9b9-1390-4078-946c-fbc3ad2f445b"},{"name":"update Restaurant","id":"c7fd8f21-9ea8-486b-b0ca-e434b156a9e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"example_UPDATE\",\r\n    \"openingTime\": [8,0],\r\n    \"closingTime\": [18,0],\r\n    \"staffRestDay\": \"MONDAY\",\r\n    \"dishDTOS\": [],\r\n    \"maxNumberOfMealsPerDay\": 20\r\n}","options":{"raw":{"language":"json"}}},"url":"{{localUrl}}/api/v1/restaurants/<UUID>","description":"<p><strong>Action:</strong> Update fields of an existing Retaurant Entity from repository</p>\n<p><strong>Path required:</strong> UUID as String</p>\n<p><strong>Roles permitted:</strong> USER, ADMIN</p>\n","urlObject":{"path":["api","v1","restaurants","<UUID>"],"host":["{{localUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c7fd8f21-9ea8-486b-b0ca-e434b156a9e6"}]}