{"info":{"_postman_id":"8910cd04-dab0-b478-c175-d163bf417df9","name":"Leads Tracker","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"1566761","collectionId":"8910cd04-dab0-b478-c175-d163bf417df9","publishedId":"6fZw2jX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2017-07-13T10:17:37.000Z"},"item":[{"name":"GET Centres","id":"b185ba63-7a96-9ac5-9521-6804564f4fb1","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/centres","urlObject":{"port":"8000","path":["api","centres"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"26fa58b7-a128-2cf9-3cf3-62c384bbc64a","name":"Centres Does Not Exists","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/centres"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"74","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:22:11 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"4a-gWq6pYTq+113rRGXIeCmKVPjirM\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"49","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"There are no centres.\"}}"},{"id":"8410b558-b501-db55-e8d6-e746325ee778","name":"Centre Exists","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/centres"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"131","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:22:32 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"83-Cshm34uWHXbv2EKKjWcy06cvswQ\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"30","body":"{\"success\":true,\"data\":[{\"id\":2,\"name\":\"Pitampura\",\"createdAt\":\"2017-07-09T19:22:26.604Z\",\"updatedAt\":\"2017-07-09T19:22:26.604Z\"}]}"}],"_postman_id":"b185ba63-7a96-9ac5-9521-6804564f4fb1"},{"name":"Add Centre","id":"7da3ea7d-f488-07ac-ee20-3199fee64c06","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Pitampura","type":"text"}]},"url":"localhost:8000/api/centres/add","urlObject":{"port":"8000","path":["api","centres","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e833489e-b901-7a21-e84b-f51babfa9a9f","name":"Add Centre","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","name":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Pitampura","type":"text"}]},"url":"localhost:8000/api/centres/add"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"129","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:15:07 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"81-hHuAtA6j7ntsEikmbjI8N4KoMsw\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"61","body":"{\"success\":true,\"data\":{\"id\":1,\"name\":\"Pitampura\",\"updatedAt\":\"2017-07-09T19:15:07.198Z\",\"createdAt\":\"2017-07-09T19:15:07.198Z\"}}"}],"_postman_id":"7da3ea7d-f488-07ac-ee20-3199fee64c06"},{"name":"GET Centre from ID","id":"21f0fc04-0b4c-4701-a631-71ae98c9f54b","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/centres/1","urlObject":{"port":"8000","path":["api","centres","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"62a64b56-6a93-9a90-c246-0c34c9b47423","name":"Centre Does Not Exists","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/centres/10"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"83","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:18:39 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"53-QgRu+BpWhzFj0KECSVpqPequI+A\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"30","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"No Centre found for the id 10.\"}}"},{"id":"ca4a5beb-aa92-588c-2adf-81e528361599","name":"Centre Exist","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/centres/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"129","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:18:14 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"81-t4qUwzoxE+ctv3IM0A1Uu7TRKHs\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"29","body":"{\"success\":true,\"data\":{\"id\":1,\"name\":\"Pitampura\",\"createdAt\":\"2017-07-09T19:15:07.198Z\",\"updatedAt\":\"2017-07-09T19:15:07.198Z\"}}"}],"_postman_id":"21f0fc04-0b4c-4701-a631-71ae98c9f54b"},{"name":"DELETE Centre from ID","id":"c25cfd7a-5f61-d63a-b5a8-7c99d80002cc","request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/centres/1","urlObject":{"port":"8000","path":["api","centres","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5a530534-d376-b954-c188-5b7007714397","name":"Centre Exisits","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/centres/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"16","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:19:34 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"29","body":"{\"success\":true}"},{"id":"7787b1c9-50fa-970e-ca2b-91af51541f38","name":"Centre Does Not Exists","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/centres/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"110","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:20:03 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"6e-CM7iYUooIBCBM3t2LkVipoZfBHc\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"34","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"Could not delete the centre with id 1 (Centre not found).\"}}"}],"_postman_id":"c25cfd7a-5f61-d63a-b5a8-7c99d80002cc"},{"name":"GET Course","id":"b4ab6e8f-408f-1634-6b07-059bfeac0a13","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/courses","urlObject":{"port":"8000","path":["api","courses"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ba088dff-8fc5-7bc0-840a-b980d54de49a","name":"Courses Does Not Exists","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","warning":""}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/courses"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"74","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:22:55 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"4a-nC3xXK/yNVL1tX+bAyVQjVBfBOU\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"30","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"There are no courses.\"}}"}],"_postman_id":"b4ab6e8f-408f-1634-6b07-059bfeac0a13"},{"name":"Add Course","id":"fee621e8-e13e-8164-757d-5ab3169edeb4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Pitampura","type":"text"}]},"url":"localhost:8000/api/courses/add","urlObject":{"port":"8000","path":["api","courses","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4c7b62b9-69f0-dacd-4d61-630d084b6ba2","name":"Add Course","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Elixir","type":"text"}]},"url":"localhost:8000/api/courses/add"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"126","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:24:09 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"7e-k+tjaq0Cj0CnalobakovZ1V41CE\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"58","body":"{\"success\":true,\"data\":{\"id\":1,\"name\":\"Elixir\",\"updatedAt\":\"2017-07-09T19:24:09.791Z\",\"createdAt\":\"2017-07-09T19:24:09.791Z\"}}"}],"_postman_id":"fee621e8-e13e-8164-757d-5ab3169edeb4"},{"name":"GET Course from ID","id":"02ab5b45-1979-c827-4f54-6450f9b1c213","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/courses/1","urlObject":{"port":"8000","path":["api","courses","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"85cec0d5-01a0-b409-3d20-78541397845a","name":"Course Does Not Exists","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/courses/10"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"83","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:26:16 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"53-8Qv9hEHhe30C9gY+aTWZzcQ6yo4\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"52","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"No Course found for the id 10.\"}}"},{"id":"8957e76b-98e0-3b90-5804-2956fb0564ef","name":"Course Exists","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"hi","type":"text"}]},"url":"localhost:8000/api/courses/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"126","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:24:31 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"7e-37WzpYeiKLbiSg0srgXsIpNWP6o\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"51","body":"{\"success\":true,\"data\":{\"id\":1,\"name\":\"Elixir\",\"createdAt\":\"2017-07-09T19:24:09.791Z\",\"updatedAt\":\"2017-07-09T19:24:09.791Z\"}}"}],"_postman_id":"02ab5b45-1979-c827-4f54-6450f9b1c213"},{"name":"DELETE Course from ID","id":"3d744297-fd91-b1fe-7076-2c7b9f72b7cb","request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/courses/1","urlObject":{"port":"8000","path":["api","courses","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"00e459dd-c149-f491-693b-9e1c7566f5de","name":"Course Exists","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/courses/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"110","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:27:55 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"6e-QxtYqCTAHdirtVOHyZ6W3HtFZTw\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"35","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"Could not delete the course with id 1 (Course not found).\"}}"},{"id":"643634da-5d15-8d74-b216-01613e4e9df0","name":"Course Exists","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/courses/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"16","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Sun, 09 Jul 2017 19:27:30 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"41","body":"{\"success\":true}"}],"_postman_id":"3d744297-fd91-b1fe-7076-2c7b9f72b7cb"},{"name":"GET Users","id":"da93faf9-5e63-d08c-2b19-9bfa28dcc438","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/users","urlObject":{"port":"8000","path":["api","users"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"058523bc-d187-538f-1b0d-5eccaec2c5cf","name":"No Users","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/users"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"72","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:31:42 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"48-ibmJN7uEIFA9Kzt71VWvNTMM9sw\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"60","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"There are no Users.\"}}"},{"id":"0e9336eb-e4c1-089d-da7a-1fac4a949f1f","name":"Users Exist","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"238","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:37:03 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"ee-kLiDoaZCMBkPeRQgmpvI9gnFDVk\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"32","body":"{\"success\":true,\"data\":[{\"id\":1,\"name\":\"Arnav Bhaiya\",\"email\":\"arnav@codingblocks.com\",\"contact\":\"9643339706\",\"designation\":\"Instructor\",\"centre\":\"Pitampura\",\"createdAt\":\"2017-07-10T06:34:50.094Z\",\"updatedAt\":\"2017-07-10T06:34:50.094Z\"}]}"}],"_postman_id":"da93faf9-5e63-d08c-2b19-9bfa28dcc438"},{"name":"Add User","id":"1ef3a432-a8ce-00f8-c70a-0f4363afd005","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Arnav Gupta","type":"text"},{"key":"email","value":"arnav@codingblocks.com","type":"text"},{"key":"contact","value":"9643339706","type":"text"},{"key":"centre","value":"Pitampura","type":"text"},{"key":"designation","value":"Instructor","type":"text"}]},"url":"localhost:8000/api/users/add","urlObject":{"port":"8000","path":["api","users","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"58ecee61-96a1-55df-5a98-8882852a9e92","name":"Add user","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Arnav Bhaiya","type":"text"},{"key":"email","value":"arnav@codingblocks.com","type":"text"},{"key":"contact","value":"9643339706","type":"text"},{"key":"centre","value":"Pitampura","type":"text"},{"key":"designation","value":"Instructor","type":"text"}]},"url":"localhost:8000/api/users/add"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"236","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:34:50 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"ec-SLpMRJliaRrd2zIGuEtZUe4dUCM\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"58","body":"{\"success\":true,\"data\":{\"id\":1,\"name\":\"Arnav Bhaiya\",\"email\":\"arnav@codingblocks.com\",\"contact\":\"9643339706\",\"centre\":\"Pitampura\",\"designation\":\"Instructor\",\"updatedAt\":\"2017-07-10T06:34:50.094Z\",\"createdAt\":\"2017-07-10T06:34:50.094Z\"}}"}],"_postman_id":"1ef3a432-a8ce-00f8-c70a-0f4363afd005"},{"name":"GET User from ID","id":"11e9f6e4-eee2-b85c-e169-83e9bf9a566e","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/users/1","urlObject":{"port":"8000","path":["api","users","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2b370ac2-ba66-a8ff-bb79-970ded06e336","name":"User exists","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/users/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"236","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:35:56 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"ec-VUZ6mmO+7Tj+PxjOhgCM7QXF020\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"47","body":"{\"success\":true,\"data\":{\"id\":1,\"name\":\"Arnav Bhaiya\",\"email\":\"arnav@codingblocks.com\",\"contact\":\"9643339706\",\"designation\":\"Instructor\",\"centre\":\"Pitampura\",\"createdAt\":\"2017-07-10T06:34:50.094Z\",\"updatedAt\":\"2017-07-10T06:34:50.094Z\"}}"},{"id":"a2d8b430-25d3-23fb-b91b-1c14b986173f","name":"No User","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/users/11"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"81","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:36:20 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"51-1yZBlrNhTpzVnzvUPPrabfoLsoI\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"34","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"No User found for the id 11.\"}}"}],"_postman_id":"11e9f6e4-eee2-b85c-e169-83e9bf9a566e"},{"name":"Edit User","id":"a6607856-2cb0-2b49-4459-df4766c29f0f","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Arnav Gupta","type":"text"}]},"url":"localhost:8000/api/users/1","urlObject":{"port":"8000","path":["api","users","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"81881b08-d9ff-baf7-46a7-3bcb1b41f294","name":"User Exisits","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Arnav Gupta","type":"text"}]},"url":"localhost:8000/api/users/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"235","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:40:17 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"eb-RkTNGFQGr7hf6WMfHq5WCHvtRtk\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"41","body":"{\"success\":true,\"data\":{\"id\":1,\"name\":\"Arnav Gupta\",\"email\":\"arnav@codingblocks.com\",\"contact\":\"9643339706\",\"designation\":\"Instructor\",\"centre\":\"Pitampura\",\"createdAt\":\"2017-07-10T06:34:50.094Z\",\"updatedAt\":\"2017-07-10T06:40:17.101Z\"}}"},{"id":"c13a162a-1428-d1e8-92a6-816856a9b236","name":"No User","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Arnav Gupta","type":"text"}]},"url":"localhost:8000/api/users/2"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"106","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:38:32 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"6a-Cy4XX1kf9sAKS8yhGKd9i0V1w7E\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"38","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"Could not update the user with id 2 (User not found).\"}}"}],"_postman_id":"a6607856-2cb0-2b49-4459-df4766c29f0f"},{"name":"DELETE User from ID","id":"adf942bb-af13-8242-a963-cc90b0f6bbe2","request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/users/1","urlObject":{"port":"8000","path":["api","users","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5f4f9228-ec25-84e7-d26b-a890e2ffd341","name":"No User","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/users/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"106","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:45:31 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"6a-09GZ42GAh8iCcU8L8P7xYrTzwl0\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"35","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"Could not delete the user with id 1 (User not found).\"}}"},{"id":"c1b89d18-a0e1-b4f5-ecd2-2b14036b8223","name":"User Exisits","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/users/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"16","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:45:02 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"39","body":"{\"success\":true}"}],"_postman_id":"adf942bb-af13-8242-a963-cc90b0f6bbe2"},{"name":"GET Leads","id":"c59d45c3-450e-93e8-e94f-9c6fd43f8c13","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/leads","urlObject":{"port":"8000","path":["api","leads"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a7b7e39d-64e4-ebbf-ee11-cb4fc8c5a3a5","name":"No Leads","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/leads"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"72","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:49:04 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"48-CuTH/eu/QaRAQbqnUAYxd/56/Fc\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"38","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"There are no leads.\"}}"},{"id":"fd1784f2-d5bc-5c5e-dab9-8ed585077f18","name":"Leads Exist","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/leads"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"534","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:02:09 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"216-Tx6BhofEJFhq+PYrgFDzZ71yj0M\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"29","body":"{\"success\":true,\"data\":[{\"id\":1,\"name\":\"Bhavya Aggarwal\",\"email\":\"bhavya.spv@gmail.com\",\"contact\":\"9899175630\",\"dob\":null,\"gaurdianName\":null,\"gaurdianContact\":null,\"gaurdianEmail\":null,\"college\":null,\"branch\":null,\"university\":null,\"collegeBatch\":null,\"address\":null,\"city\":null,\"state\":null,\"pincode\":null,\"coursesOfInterest\":null,\"centresOfInterest\":null,\"referrer\":null,\"VMCRollNumber\":null,\"CBRollNumber\":null,\"cbStudentReferral\":null,\"status\":null,\"createdAt\":\"2017-07-10T07:00:29.669Z\",\"updatedAt\":\"2017-07-10T07:00:29.669Z\"}]}"}],"_postman_id":"c59d45c3-450e-93e8-e94f-9c6fd43f8c13"},{"name":"Add Lead","id":"88e6d7d1-c1c8-4433-e2fb-f85244354ed2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Bhavya Aggarwal","type":"text"},{"key":"email","value":"bhavya.spv@gmail.com","type":"text"},{"key":"contact","value":"9899175630","type":"text"}]},"url":"localhost:8000/api/leads/add","urlObject":{"port":"8000","path":["api","leads","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"54d6db36-e2c9-694c-2575-130ad24563e1","name":"Compulsory Details Provided","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Bhavya Aggarwal","type":"text"},{"key":"email","value":"bhavya.spv@gmail.com","type":"text"},{"key":"contact","value":"9899175630","type":"text"}]},"url":"localhost:8000/api/leads/add"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"532","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:00:29 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"214-9gBuPuvhPcJRxaA5C3UxaoiurcM\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"47","body":"{\"success\":true,\"data\":{\"id\":1,\"name\":\"Bhavya Aggarwal\",\"email\":\"bhavya.spv@gmail.com\",\"contact\":\"9899175630\",\"dob\":null,\"gaurdianName\":null,\"gaurdianContact\":null,\"gaurdianEmail\":null,\"college\":null,\"branch\":null,\"university\":null,\"collegeBatch\":null,\"address\":null,\"city\":null,\"state\":null,\"pincode\":null,\"coursesOfInterest\":null,\"centresOfInterest\":null,\"VMCRollNumber\":null,\"CBRollNumber\":null,\"cbStudentReferral\":null,\"status\":null,\"updatedAt\":\"2017-07-10T07:00:29.669Z\",\"createdAt\":\"2017-07-10T07:00:29.669Z\",\"referrer\":null}}"},{"id":"d9969e38-dfce-880d-2e0e-8533330d7ec5","name":"Incorrect Details(Name, email, contact compulsory)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Bhavya Aggarwal","type":"text"}]},"url":"localhost:8000/api/leads/add"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"95","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 06:59:45 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"5f-MVyC434k0lgWsDWyYbg+NMUdE14\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"30","body":"{\"success\":false,\"code\":\"400\",\"error\":{\"message\":\"Could not add the lead(Incorrect Details).\"}}"}],"_postman_id":"88e6d7d1-c1c8-4433-e2fb-f85244354ed2"},{"name":"GET Lead from ID","id":"aaf5122e-4f6c-fb7a-bbbd-54664b1e0511","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/leads/1","urlObject":{"port":"8000","path":["api","leads","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ec9329d8-4582-6804-9445-8f1d7005e69b","name":"Lead Does Not Exists","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/leads/11"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"81","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:03:15 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"51-PQ/JF16Tiks/nV54WPwmrG9TfTg\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"32","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"No lead found for the id 11.\"}}"}],"_postman_id":"aaf5122e-4f6c-fb7a-bbbd-54664b1e0511"},{"name":"Edit Lead","id":"9f6db1c2-9abc-70b6-47fd-fcd8dd0f92d3","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"dob","value":"12/09/1997","type":"text"}]},"url":"localhost:8000/api/leads/1","urlObject":{"port":"8000","path":["api","leads","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"07bb3422-a568-5460-a5ef-9dfb0ea88147","name":"Lead Exists","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"dob","value":"12/09/1997","type":"text"}]},"url":"localhost:8000/api/leads/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"540","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:10:51 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"21c-G/i68weucMYQ4PI/BmiJAPKVCms\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"62","body":"{\"success\":true,\"data\":{\"id\":1,\"name\":\"Bhavya Aggarwal\",\"email\":\"bhavya.spv@gmail.com\",\"contact\":\"9899175630\",\"dob\":\"12/09/1997\",\"gaurdianName\":null,\"gaurdianContact\":null,\"gaurdianEmail\":null,\"college\":null,\"branch\":null,\"university\":null,\"collegeBatch\":null,\"address\":null,\"city\":null,\"state\":null,\"pincode\":null,\"coursesOfInterest\":null,\"centresOfInterest\":null,\"referrer\":null,\"VMCRollNumber\":null,\"CBRollNumber\":null,\"cbStudentReferral\":null,\"status\":null,\"createdAt\":\"2017-07-10T07:00:29.669Z\",\"updatedAt\":\"2017-07-10T07:10:51.048Z\"}}"},{"id":"20dd7b87-903c-2aed-1c7f-1c72eade5970","name":"No Lead","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"dob","value":"12/09/1997","type":"text"}]},"url":"localhost:8000/api/leads/11"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"107","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:11:23 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"6b-FbEe3OKYzP0a4QAS8NkPFkT/Us8\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"37","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"Could not update the lead with id 11 (Lead not found).\"}}"}],"_postman_id":"9f6db1c2-9abc-70b6-47fd-fcd8dd0f92d3"},{"name":"DELETE Lead","id":"ccfbeb1b-de53-e6f3-e7ca-719b09e7c7e9","request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/leads/1","urlObject":{"port":"8000","path":["api","leads","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"08566271-b019-276d-4003-5b1c81e02169","name":"Lead Exists","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/leads/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"16","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:13:50 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"30","body":"{\"success\":true}"},{"id":"f7549c24-067e-2321-1079-5881a7896d8b","name":"No Lead","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/leads/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"106","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:12:36 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"6a-kL69fc0j7uXtogua7H2nkoZgWtQ\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"31","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"Could not delete the lead with id 1 (Lead not found).\"}}"}],"_postman_id":"ccfbeb1b-de53-e6f3-e7ca-719b09e7c7e9"},{"name":"Add Comment","id":"059d7d99-f90d-ef1c-889a-bc1e1dfd932a","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"userId","value":"1","type":"text"},{"key":"leadId","value":"3","type":"text"},{"key":"comment","value":"First Comment","type":"text"}]},"url":"localhost:8000/api/comments/add","urlObject":{"port":"8000","path":["api","comments","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"059d7d99-f90d-ef1c-889a-bc1e1dfd932a"},{"name":"GET Comments for a Lead","id":"e5ef4efb-32e0-d931-627d-a75d1e6cae61","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/comments/3","urlObject":{"port":"8000","path":["api","comments","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8b578756-2bb5-f7a4-1320-c86d1aa81a14","name":"Lead Exists","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/comments/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"895","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:18:29 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"37f-wTXHSotpQRzN/Gn/0AHurXsqS0s\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"42","body":"{\"success\":true,\"data\":[{\"id\":1,\"comment\":\"First Comment\",\"createdAt\":\"2017-07-10T07:17:43.684Z\",\"updatedAt\":\"2017-07-10T07:17:43.684Z\",\"leadId\":3,\"userId\":1,\"user\":{\"id\":1,\"name\":\"Arnav Gupta\",\"email\":\"arnav@codingblocks.com\",\"contact\":\"9643339706\",\"designation\":\"Instructor\",\"centre\":\"Pitampura\",\"createdAt\":\"2017-07-10T07:14:30.590Z\",\"updatedAt\":\"2017-07-10T07:14:30.590Z\"},\"lead\":{\"id\":3,\"name\":\"Bhavya Aggarwal\",\"email\":\"bhavya.spv@gmail.com\",\"contact\":\"9899175630\",\"dob\":null,\"gaurdianName\":null,\"gaurdianContact\":null,\"gaurdianEmail\":null,\"college\":null,\"branch\":null,\"university\":null,\"collegeBatch\":null,\"address\":null,\"city\":null,\"state\":null,\"pincode\":null,\"coursesOfInterest\":null,\"centresOfInterest\":null,\"referrer\":null,\"VMCRollNumber\":null,\"CBRollNumber\":null,\"cbStudentReferral\":null,\"status\":null,\"createdAt\":\"2017-07-10T07:14:36.951Z\",\"updatedAt\":\"2017-07-10T07:14:36.951Z\"}}]}"},{"id":"f4b3e8a8-b480-3036-e869-559a7af2a543","name":"No Lead","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/comments/3"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"98","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:19:30 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"62-WUN7MSglWwW6elg73HIjliFIFBY\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"55","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"There are no comments for the lead with id 3.\"}}"}],"_postman_id":"e5ef4efb-32e0-d931-627d-a75d1e6cae61"},{"name":"DELETE Comments for a lead from ID","id":"0fe2cd89-f5af-6b7e-7b51-87c99ace839c","request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/comments/3","urlObject":{"port":"8000","path":["api","comments","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"40140268-fea7-7233-869d-1667d7509a11","name":"No Lead","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/comments/31"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"128","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:20:45 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"80-Q79evUtAXpjPqqvjUZt+vQLtYIM\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"31","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"Could not delete the Comments for the lead with id 31 (Comments not found).\"}}"},{"id":"d65e07ec-af0d-ab85-218c-8135c10b010c","name":"No Comments For That Lead","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/comments/3"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"127","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:20:26 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"7f-bhtzAbLnX0P6semcw4hMlMeDhwI\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"32","body":"{\"success\":false,\"code\":\"404\",\"error\":{\"message\":\"Could not delete the Comments for the lead with id 3 (Comments not found).\"}}"},{"id":"ed538ce2-2c6b-88bc-d448-0727d44bb438","name":"Lead Exists","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"localhost:8000/api/comments/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"Connection","key":"Connection","value":"keep-alive","description":""},{"name":"Content-Length","key":"Content-Length","value":"16","description":""},{"name":"Content-Type","key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"name":"Date","key":"Date","value":"Mon, 10 Jul 2017 07:19:58 GMT","description":""},{"name":"ETag","key":"ETag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\"","description":""},{"name":"X-Powered-By","key":"X-Powered-By","value":"Express","description":""}],"cookie":[{"expires":"Sat Jun 19 2027 16:08:41 GMT+0000 (Coordinated Universal Time)","hostOnly":true,"httpOnly":true,"domain":"localhost","path":"/","secure":false,"session":false,"value":"01b6d546-4fcb-488d-a7b1-5ddc56df73b1","key":"Webstorm-3759dcd2"}],"responseTime":"35","body":"{\"success\":true}"}],"_postman_id":"0fe2cd89-f5af-6b7e-7b51-87c99ace839c"}]}