{"info":{"_postman_id":"0b850959-216f-4433-bd7b-855a3cd30b08","name":"hallbooking","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"26860208","collectionId":"0b850959-216f-4433-bd7b-855a3cd30b08","publishedId":"2s93Y2ThMG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-04-20T07:53:44.000Z"},"item":[{"name":"New Request","id":"c6079450-e92e-4dfc-b742-d6ae8f080c89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://day40-0vww.onrender.com","description":"<p>Hall Booking App</p>\n<p>Display the localhost examples</p>\n<p>1.ceateing Room link: <a href=\"http://localhost:9000/hall/create2.Booking\">http://localhost:9000/hall/create2.Booking</a> hall link : <a href=\"http://localhost:9000/hall/book3.list\">http://localhost:9000/hall/book3.list</a> all Rooms with booked data link: <a href=\"http://localhost:9000/hall/rooms4.list\">http://localhost:9000/hall/rooms4.list</a> all customers with booked data link :<a href=\"http://localhost:9000/hall/customer5.how\">http://localhost:9000/hall/customer5.how</a> many times a customer has booked link: <a href=\"http://localhost:9000/hall/customer/times?customername=Raguledit\">http://localhost:9000/hall/customer/times?customername=Raguledit</a> hall booking link: <a href=\"http://localhost:9000/hall/details/\">http://localhost:9000/hall/details/</a></p>\n","urlObject":{"protocol":"https","host":["day40-0vww","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6079450-e92e-4dfc-b742-d6ae8f080c89"},{"name":"create a room","id":"5a33179d-137a-498e-a388-e1cdc2874064","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n     \"numberOfSeats\": \"100\",\r\n        \"amenities\": [\"AC\", \"chairs\", \"discolights\"],\r\n        \"price\": 5200\r\n}","options":{"raw":{"language":"json"}}},"url":"https://day40-0vww.onrender.com/hall/create","description":"<p>Creating a Room with</p>\n<p>Number of Seats available</p>\n<p>link: <a href=\"https://day40-0vww.onrender.com/hall/create\">https://day40-0vww.onrender.com/hall/create</a></p>\n<p>Post methode</p>\n<p>example body json</p>\n<p>{ \"numberOfSeats\": \"100\", \"amenities\": [\"AC\", \"chairs\", \"discolights\"], \"price\": 5200}</p>\n","urlObject":{"protocol":"https","path":["hall","create"],"host":["day40-0vww","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a33179d-137a-498e-a388-e1cdc2874064"},{"name":"Booking a room","id":"dda9d841-1066-4c7e-8b5e-485e58571919","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"customerName\": \"gokul\",\r\n        \"date\": \"2023-07-10\",\r\n        \"startTime\": \"10-07-2023 at 12pm\",\r\n        \"endTime\": \"11-08-2023 at 12pm\",\r\n        \"RomeId\": 20252,\r\n        \"isBooked\": \"true\"\r\n       \r\n}","options":{"raw":{"language":"json"}}},"url":"https://day40-0vww.onrender.com/hall/book","description":"<p>Booking a Room With customar Name,Date,Start Time ,End Time,Room Id.</p>\n<p>Post Methode</p>\n<p>StartFragment</p>\n<p>link: <a href=\"https://day40-0vww.onrender.com/hall/bookexample\">https://day40-0vww.onrender.com/hall/book</a></p>\n<p><a href=\"https://day40-0vww.onrender.com/hall/bookexample\">example</a> body json</p>\n<p>StartFragment</p>\n<p>{        \"customerName\": \"gokul\",        \"date\": \"2023-07-10\",        \"startTime\": \"10-07-2023 at 12pm\",        \"endTime\": \"11-08-2023 at 12pm\",        \"RomeId\": 20252,        \"isBooked\": \"true\"       }</p>\n<p>EndFragment</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"https","path":["hall","book"],"host":["day40-0vww","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dda9d841-1066-4c7e-8b5e-485e58571919"},{"name":"List all Rooms With Booked Data","id":"910c26c3-21ef-46c2-9620-1bd6661cab8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://day40-0vww.onrender.com/hall/rooms","description":"<p>List all Rooms with Booked Data with Room Name,booked Status customer name,Date, start Time,End time</p>\n<p>get methode</p>\n","urlObject":{"protocol":"https","path":["hall","rooms"],"host":["day40-0vww","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"910c26c3-21ef-46c2-9620-1bd6661cab8e"},{"name":"List all customers with Booked Data","id":"4d2ddf7b-ee62-42fa-b1e4-28ebab507d6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://day40-0vww.onrender.com/hall/customer","description":"<p>List all customers with booked data with Customer name,room name,date,sart time,end time.</p>\n<p>get methode</p>\n","urlObject":{"protocol":"https","path":["hall","customer"],"host":["day40-0vww","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d2ddf7b-ee62-42fa-b1e4-28ebab507d6a"},{"name":"how many times a customer has booked","id":"4e592781-b1f5-4c20-99d7-3c8714102493","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://day40-0vww.onrender.com/hall/customer/times?customername=Ragul","description":"<p>List how many times a customer has booked the Room with below deatils</p>\n<p>link: <a href=\"https://day40-0vww.onrender.com/hall/customer/times?customername=Ragul\">https://day40-0vww.onrender.com/hall/customer/times?customername=Ragul</a></p>\n<p>link end add ?customername=Ragul</p>\n<p>Ragul is the name</p>\n<p>get methode</p>\n<p>example output:</p>\n<p>number of time booked: 2<br />[ { \"customerName\": \"Ragul\", \"RoomName\": \"Duplex\", \"date\": \"2023-04-10\", \"startTime\": \"10-04-2023 at 12pm\", \"endTime\": \"11-04-2023 at 12pm\", \"BookingId\": 66, \"BookingDate\": \"2023-04-09\", \"BookingStatus\": \"true\" }, { \"customerName\": \"Ragul\", \"RoomName\": \"normal\", \"date\": \"2023-04-18\", \"startTime\": \"18-04-2023 at 12pm\", \"endTime\": \"19-04-2023 at 12pm\", \"BookingId\": 99, \"BookingStatus\": \"true\" }]</p>\n","urlObject":{"protocol":"https","path":["hall","customer","times"],"host":["day40-0vww","onrender","com"],"query":[{"key":"customername","value":"Ragul"}],"variable":[]}},"response":[],"_postman_id":"4e592781-b1f5-4c20-99d7-3c8714102493"},{"name":"putmethod","id":"66135761-16c5-403d-af0b-829b7689a21f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n         \"customerName\": \"Ragul\",\r\n        \"date\": \"202335-04-07\",\r\n        \"startTime\": \"08-04-202335 at 12pm\",\r\n        \"endTime\": \"09-04-202335 at 12pm\",\r\n         \"isBooked\": \"true\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9000/hall/details/6","description":"<p>update: using put methode;</p>\n<p>link: <a href=\"https://day40-0vww.onrender.com/hall/details/3\">https://day40-0vww.onrender.com/hall/details/3</a></p>\n<p>3 is id in the data</p>\n","urlObject":{"protocol":"http","port":"9000","path":["hall","details","6"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"66135761-16c5-403d-af0b-829b7689a21f"},{"name":"Get data from Id","id":"a38c129c-3d24-4d94-bd6c-3e375c5f104b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://day40-0vww.onrender.com/hall/details/1","description":"<p>Get data form id</p>\n<p>link: <a href=\"https://day40-0vww.onrender.com/hall/details/1EndFragment1\">https://day40-0vww.onrender.com/hall/details/1</a></p>\n<p><a href=\"https://day40-0vww.onrender.com/hall/details/1EndFragment1\">1</a> is id of hall booking</p>\n<p>example output:</p>\n<p>{ \"id\": \"1\", \"numberOfSeats\": \"100\", \"amenities\": [ \"AC\", \"chairs\", \"discolights\" ], \"price\": 5200, \"isBooked\": \"true\", \"customerName\": \"Ragul\", \"BookingDate\": \"2023-04-09\", \"date\": \"2023-04-10\", \"startTime\": \"10-04-2023 at 12pm\", \"endTime\": \"11-04-2023 at 12pm\", \"RoomId\": 66, \"RoomName\": \"Duplex\"}</p>\n","urlObject":{"protocol":"https","path":["hall","details","1"],"host":["day40-0vww","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a38c129c-3d24-4d94-bd6c-3e375c5f104b"}]}