{"info":{"_postman_id":"18b4f764-1822-42fb-bf02-f696fda87ac3","name":"parkinglot","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"1178609","collectionId":"18b4f764-1822-42fb-bf02-f696fda87ac3","publishedId":"Uyr5oK1W","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-17T09:34:47.000Z"},"item":[{"name":"car park","id":"c5775152-01f8-41b4-add1-b42d03de5dcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"plateNumber\": \"dsdf-221\",\r\n    \"carSize\": \"large\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/car/park","description":"<p>to park a car in a parking lot</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","car","park"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5775152-01f8-41b4-add1-b42d03de5dcb"},{"name":"car exit","id":"71fa9149-9e76-4122-9a37-d1a24bdbde18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ticketId\": \"625bde9eeffe0a5d10665f8c\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/car/exit","description":"<p>to leave the parking slot</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","car","exit"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"71fa9149-9e76-4122-9a37-d1a24bdbde18"},{"name":"parking lot create","id":"99a944db-4703-402b-9c48-d2eff5a6888f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"parkinglot_2\",\r\n    \"rank\": 2,\r\n    \"slots\": {\r\n        \"smalls\": 3,\r\n        \"mediums\": 4,\r\n        \"larges\": 2\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/parkinglot/create","description":"<p>to create a parking lot</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","parkinglot","create"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"99a944db-4703-402b-9c48-d2eff5a6888f"},{"name":"parkinglot status","id":"440a392e-ec3c-4d0b-b3e9-d8e327fa8559","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/parkinglot/status","description":"<p>to get available slots of all parking slots</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","parkinglot","status"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"440a392e-ec3c-4d0b-b3e9-d8e327fa8559"},{"name":"ticket","id":"d48430c5-df6f-4e53-bd66-3e410d2d6c78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/ticket?carSize=small","description":"<p>to get registration plate number</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","ticket"],"host":["localhost"],"query":[{"key":"carSize","value":"small"}],"variable":[]}},"response":[],"_postman_id":"d48430c5-df6f-4e53-bd66-3e410d2d6c78"}]}