{"info":{"_postman_id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","name":"GatePass.","description":"<html><head></head><body><p>This is the collection of documentation for the Gatepass App API</p>\n<p>User registration is the main entry point into the application as an authorization code is required to access other pages. </p>\n<p>When you login, an authorization code is generated for the user, you need your authorization code to test other pages. Put it in the header of your requests to proceed. </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6843654","collectionId":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","publishedId":"SVtSXAQP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-10-08T12:28:03.000Z"},"item":[{"name":"Auth","item":[{"name":"Not Needed (Archived)","item":[{"name":"Login (/api/v1/login)","id":"fa4375ec-660a-4347-8d45-6d0e35ab44ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"phone\": \"07060959269\",\n    \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\"\n}"},"url":"http://52.40.191.249/api/v1/login","description":"<p>The login api returns a unique jwt bearer token, this token is also emmited with expiration time in minutes, you are expected to use this time to calculate when next you are to hit the server for a refresh token (reference to refresh token api documentation)from the refresh api end point before it expires. The expiration has a life time of 20160 minutes or 14 days so do well to use this time to generate a new token </p>\n<h2 id=\"note\">Note</h2>\n<h4 id=\"the-device_id-is-needed-to-identify-if-the-devise-is-registered-with-app\">the device_id is needed to identify if the devise is registered with app</h4>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"2904215b-8932-474f-933d-5ff8b6956b6c","id":"2904215b-8932-474f-933d-5ff8b6956b6c","name":"Auth","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","login"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"8b39128a-7736-4cc5-a24f-5d8fdc3a9261","name":"Login (/api/v1/login)","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"phone\": \"07060959269\",\n\t\"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Tue, 15 Oct 2019 15:39:02 GMT"},{"key":"Date","value":"Tue, 15 Oct 2019 15:39:02 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Login Successful!\",\n    \"user\": {\n        \"id\": 4,\n        \"name\": \"Okechukwu\",\n        \"username\": null,\n        \"phone\": \"07060959269\",\n        \"email\": \"junipreach2017@gmail.com\",\n        \"image\": \"no_image.jpg\",\n        \"user_type\": \"resident\",\n        \"fcm_column\": null,\n        \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n        \"created_at\": \"2019-10-15 15:12:42\",\n        \"updated_at\": \"2019-10-15 15:13:55\"\n    },\n    \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n    \"image_small_view_format\": \"w_200,c_thumb,ar_4:4,g_face/\",\n    \"token\": \"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzExNTM5NDIsImV4cCI6MTU3MjM2MzU0MiwibmJmIjoxNTcxMTUzOTQyLCJqdGkiOiJwMzNxdHBoRWhaN1labWxaIiwic3ViIjo0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.QMOE8YiiU3ruPcOLzhYc6iSdQNLGyd2bn_Pbn6elhUs\",\n    \"token_type\": \"bearer\",\n    \"expires_in(minutes)\": 20160\n}"},{"id":"c4b89ec1-e911-488a-9996-7b49a2bcf9cb","name":"Login-resident (/api/v1/login)","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"phone\": \"07060959269\",\n    \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\"\n}"},"url":"https://gateappapi.herokuapp.com/api/v1/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 15 Oct 2019 19:41:34 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Login Successful!\",\n    \"user\": {\n        \"id\": 6,\n        \"name\": \"Okechukwu\",\n        \"username\": null,\n        \"phone\": \"07060959269\",\n        \"email\": \"junipreach2017@gmail.com\",\n        \"image\": \"no_image.jpg\",\n        \"user_type\": \"resident\",\n        \"fcm_column\": null,\n        \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n        \"created_at\": \"2019-10-15 19:08:42\",\n        \"updated_at\": \"2019-10-15 19:20:26\"\n    },\n    \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n    \"image_small_view_format\": \"w_200,c_thumb,ar_4:4,g_face/\",\n    \"token\": \"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMTY4NDk0LCJleHAiOjE1NzIzNzgwOTQsIm5iZiI6MTU3MTE2ODQ5NCwianRpIjoiUzdqVzJuZTFqTU5rMm5zViIsInN1YiI6NiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.VzTS9vgIJpbIpcSphUfbKh_Mk2X7sDZKauQPVMPF6mk\",\n    \"token_type\": \"bearer\",\n    \"expires_in(minutes)\": 20160\n}"}],"_postman_id":"fa4375ec-660a-4347-8d45-6d0e35ab44ad"}],"id":"4e8e2170-0f2e-4d2a-b014-6cbcf9c36eed","description":"<p>This route in this folder are not need at this time</p>\n","_postman_id":"4e8e2170-0f2e-4d2a-b014-6cbcf9c36eed","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"2904215b-8932-474f-933d-5ff8b6956b6c","id":"2904215b-8932-474f-933d-5ff8b6956b6c","name":"Auth","type":"folder"}}},{"name":"Register  Admin  (/api/v1/register/admin)","id":"45e8662d-dc2b-434e-9887-ce28f0be58ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Okechukwu Admin\",\n\t\"phone\": \"07077638378\",\n\t\"email\": \"junicodefire@gmail.com\",\n\t\"device_id\": \"4g4t55t4t56565y565655565t55t5555ft54f\"\n\n}"},"url":"http://52.40.191.249/api/v1/register/admin","description":"<p>please take not of this route the require info are name and phone from the client while the device_id from the developer</p>\n<h1 id=\"note\">Note</h1>\n<h3 id=\"the-email-is-not-important-here-but-we-going-to-use-it-to-do-what-the-phone-number-was-suspose-to-do-get-a-notification-token-and-verify-account\">the email is not important here but we going to use it to do what the phone number was suspose to do get a notification token and verify account</h3>\n<h3 id=\"when-the-sms-gateway-is-implemented-it-will-be-use-instead\">when the sms gateway is implemented it will be use instead</h3>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"2904215b-8932-474f-933d-5ff8b6956b6c","id":"2904215b-8932-474f-933d-5ff8b6956b6c","name":"Auth","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","register","admin"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"27b15d27-de4f-4950-a9e0-64c31832e212","name":"Register  Admin  (/api/v1/register/admin)","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Okechukwu Admin\",\n\t\"phone\": \"07077638378\",\n\t\"email\": \"junicodefire@gmail.com\",\n\t\"device_id\": \"4g4t55t4t56565y565655565t55t5555ft54f\"\n\n}","options":{"raw":{"language":"json"}}},"url":"https://gateappapi.herokuapp.com/api/v1/register/admin"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 18 Oct 2019 11:20:18 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"app-hint\": \"this is an existing user!\",\n    \"image_round_format\": \"w_200,c_fill,ar_1:1,g_auto,r_max/\",\n    \"image_square_format\": \"w_200,ar_1:1,c_fill,g_auto/\",\n    \"image_example_link\": \"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/noimage.jpg\",\n    \"message\": \"A verification code has been sent to your phone number or email, please use to veriify your account!\",\n    \"user\": {\n        \"id\": 89,\n        \"name\": \"Okechukwu Admin\",\n        \"username\": null,\n        \"phone\": \"07077638378\",\n        \"email\": \"junicodefire@gmail.com\",\n        \"image\": \"no_image.jpg\",\n        \"user_type\": \"admin\",\n        \"device_id\": \"4g4t55t4t56565y565655565t55t5555ft54f\",\n        \"created_at\": \"2019-10-18 10:55:41\",\n        \"updated_at\": \"2019-10-18 11:20:17\"\n    }\n}"},{"id":"2d82a4d1-303c-4a07-8001-0a1780cb44cf","name":"Register  Admin  (/api/v1/register/admin)","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Okechukwu Admin\",\n\t\"phone\": \"07077638378\",\n\t\"email\": \"junicodefire@gmail.com\",\n\t\"device_id\": \"4g4t55t4t56565y565655565t55t5555ft54f\"\n\n}","options":{"raw":{"language":"json"}}},"url":"http://52.40.191.249/api/v1/register/admin"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Tue, 15 Oct 2019 13:06:34 GMT"},{"key":"Date","value":"Tue, 15 Oct 2019 13:06:34 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"A verification code has been sent to your phone number or email, please use to veriify your account!\",\n    \"user\": {\n        \"name\": \"Okechukwu Admin\",\n        \"image\": \"no_image.jpg\",\n        \"phone\": \"07077638378\",\n        \"email\": \"junicodefire@gmail.com\",\n        \"user_type\": \"admin\",\n        \"updated_at\": \"2019-10-15 13:06:31\",\n        \"created_at\": \"2019-10-15 13:06:31\",\n        \"id\": 72\n    },\n    \"status\": 201\n}"}],"_postman_id":"45e8662d-dc2b-434e-9887-ce28f0be58ef"},{"name":"Register Gateman (/api/v1/register/gateman)","id":"b5eec934-17ed-4b03-9e00-98e6c9df43aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"A Gateman\",\n    \"phone\": \"080623344556\",\n    \"email\": \"testteman@mail.com\",\n    \"device_id\": \"43r34f4t34f54t4534666645t45f6r4\"\n}"},"url":"http://52.40.191.249/api/v1/register/gateman","description":"<p>please take not of this route the require info are name and phone from the client while the device_id from the developer</p>\n<h1 id=\"note\">Note</h1>\n<h3 id=\"the-email-is-not-important-here-but-we-going-to-use-it-to-do-what-the-phone-number-was-suspose-to-do-get-a-notification-token-and-verify-account\">the email is not important here but we going to use it to do what the phone number was suspose to do get a notification token and verify account</h3>\n<h3 id=\"when-the-sms-gateway-is-implemented-it-will-be-use-instead\">when the sms gateway is implemented it will be use instead</h3>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"2904215b-8932-474f-933d-5ff8b6956b6c","id":"2904215b-8932-474f-933d-5ff8b6956b6c","name":"Auth","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","register","gateman"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"2c874b6b-161a-48ef-840a-3fa190ca3e01","name":"Register Gateman (/api/v1/register/gateman)","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"A Gateman\",\n    \"phone\": \"080623344556\",\n    \"email\": \"testteman@mail.com\",\n    \"device_id\": \"43r34f4t34f54t4534666645t45f6r4\"\n}"},"url":"http://52.40.191.249/api/v1/register/gateman"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 24 Oct 2019 16:34:31 GMT"},{"key":"Date","value":"Thu, 24 Oct 2019 16:34:31 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"app-hint\": \"This is a new user!\",\n    \"message\": \"A verification code has been sent to your phone number or email, please use to veriify your account!\",\n    \"user\": {\n        \"name\": \"A Gateman\",\n        \"image\": \"noimage.jpg\",\n        \"phone\": \"080623344556\",\n        \"email\": \"testteman@mail.com\",\n        \"user_type\": \"gateman\",\n        \"duty_time\": \"0\",\n        \"device_id\": \"43r34f4t34f54t4534666645t45f6r4\",\n        \"updated_at\": \"2019-10-24 16:34:26\",\n        \"created_at\": \"2019-10-24 16:34:26\",\n        \"id\": 248\n    },\n    \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n    \"image_round_format\": \"w_200,c_fill,ar_1:1,g_auto,r_max/\",\n    \"image_square_format\": \"w_200,ar_1:1,c_fill,g_auto/\",\n    \"image_example_link\": \"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/noimage.jpg\"\n}"}],"_postman_id":"b5eec934-17ed-4b03-9e00-98e6c9df43aa"},{"name":"Register Resident (/api/v1/register/resident)","id":"64bbf514-6937-41d9-8fa5-0049fec6fe1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Okechukwu\",\n\t\"phone\": \"07060959269\",\n\t\"email\": \"junipreach2017@gmail.com\",\n\t\"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\"\n\n}"},"url":"http://52.40.191.249/api/v1/register/resident","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"2904215b-8932-474f-933d-5ff8b6956b6c","id":"2904215b-8932-474f-933d-5ff8b6956b6c","name":"Auth","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","register","resident"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"57bfa10a-4d77-4fd9-8f67-e68609c3bbf3","name":"Register Resident (/api/v1/register/resident)","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Okey\",\n\t\"phone\": \"07061959269\",\n\t\"email\": \"unipreach2017@gmail.com\",\n\t\"device_id\": \"867uei783e3jy8eie9e7m-38ie3ee\"\n\n}"},"url":"http://127.0.0.1:8000/api/v1/register/resident"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 24 Oct 2019 16:05:27 GMT"},{"key":"Date","value":"Thu, 24 Oct 2019 16:05:27 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"app-hint\": \"This is an existing user!\",\n    \"message\": \"A verification code has been sent to your phone number or email, please use to veriify your account!\",\n    \"user\": {\n        \"id\": 245,\n        \"name\": \"Okey\",\n        \"username\": null,\n        \"phone\": \"07061959269\",\n        \"email\": \"unipreach2017@gmail.com\",\n        \"image\": \"noimage.jpg\",\n        \"user_type\": \"resident\",\n        \"duty_time\": null,\n        \"device_id\": \"867uei783e3jy8eie9e7m-38ie3ee\",\n        \"created_at\": \"2019-10-24 15:57:34\",\n        \"updated_at\": \"2019-10-24 16:05:22\"\n    },\n    \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n    \"image_round_format\": \"w_200,c_fill,ar_1:1,g_auto,r_max/\",\n    \"image_square_format\": \"w_200,ar_1:1,c_fill,g_auto/\",\n    \"image_example_link\": \"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/noimage.jpg\"\n}"}],"_postman_id":"64bbf514-6937-41d9-8fa5-0049fec6fe1e"},{"name":"Verify Account (/api/v1/verify)","id":"2f723ae7-5d9b-418c-ab21-de656f1f62b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"verifycode\": \"yekrQL\",\n\t\t\"device_id\": \"233d43r34f4t34f54t4534666645t45f6r4\"\n}"},"url":"http://52.40.191.249/api/v1/verify","description":"<p>this api end routes verify a users account before he can login and access the app </p>\n<p>##Posible status code to expect </p>\n<p>i. 200 Ok successful when the verify code is correct\nii. 208 not Accepted mean the verify code has already been used iii. 401 Unauthourize mean the code is not valid or it is incorrect </p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"2904215b-8932-474f-933d-5ff8b6956b6c","id":"2904215b-8932-474f-933d-5ff8b6956b6c","name":"Auth","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","verify"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"61285370-42c5-4f37-a12c-28a100713d0e","name":"Verify Account (/api/v1/verify)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"verifycode\": \"tFuXgZ\",\n\t\"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\"\n}"},"url":"http://127.0.0.1:8000/api/v1/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Tue, 15 Oct 2019 15:13:56 GMT"},{"key":"Date","value":"Tue, 15 Oct 2019 15:13:56 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account is verified. You can now login.\",\n    \"verified\": \"True\",\n    \"user\": {\n        \"id\": 4,\n        \"name\": \"Okechukwu\",\n        \"username\": null,\n        \"phone\": \"07060959269\",\n        \"email\": \"junipreach2017@gmail.com\",\n        \"image\": \"no_image.jpg\",\n        \"user_type\": \"resident\",\n        \"fcm_column\": null,\n        \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n        \"created_at\": \"2019-10-15 15:12:42\",\n        \"updated_at\": \"2019-10-15 15:13:55\"\n    },\n    \"token\": \"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvdmVyaWZ5IiwiaWF0IjoxNTcxMTUyNDM1LCJleHAiOjE1NzIzNjIwMzUsIm5iZiI6MTU3MTE1MjQzNSwianRpIjoiZ09iZ0FaNlB3RDhYVkFCTyIsInN1YiI6NCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.RUdI7az8rpqx5Axt4-h9fzobmWCYsiIeA-pD3UACeaw\",\n    \"token_type\": \"bearer\",\n    \"expires_in(minutes)\": \"20160\",\n    \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n    \"image_format\": \"w_200,c_thumb,ar_4:4,g_face/\"\n}"},{"id":"9180f1b9-91da-471f-ba3c-0d8af25f0941","name":"Verify Account (/api/v1/verify)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"verifycode\": \"qEgz4e\",\n\t\t\"device_id\": \"234uei783e3jy8eie9e38ie3ee\"\n}"},"url":"https://gateappapi.herokuapp.com/api/v1/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 18 Oct 2019 14:24:04 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account is verified. You can now login.\",\n    \"verified\": \"True\",\n    \"user\": {\n        \"id\": 91,\n        \"name\": \"Mayowa\",\n        \"username\": null,\n        \"phone\": \"08012345678\",\n        \"email\": \"testresident@mail.com\",\n        \"image\": \"noimage.jpg\",\n        \"user_type\": \"resident\",\n        \"device_id\": \"234uei783e3jy8eie9e38ie3ee\",\n        \"created_at\": \"2019-10-18 14:22:45\",\n        \"updated_at\": \"2019-10-18 14:24:04\"\n    },\n    \"token\": \"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL3ZlcmlmeSIsImlhdCI6MTU3MTQwODY0NCwiZXhwIjoxNTcyNjE4MjQ0LCJuYmYiOjE1NzE0MDg2NDQsImp0aSI6IlMwcU9raGFMWGZZVERvWnciLCJzdWIiOjkxLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.q0WNHhyjuU4rGnboQh6h_yePYwG75UdEcR-gy17K4AA\",\n    \"token_type\": \"bearer\",\n    \"expires_in(minutes)\": 20160,\n    \"image_round_format\": \"w_200,c_fill,ar_1:1,g_auto,r_max/\",\n    \"image_square_format\": \"w_200,ar_1:1,c_fill,g_auto/\",\n    \"image_example_link\": \"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/noimage.jpg\"\n}"},{"id":"966f4aff-d2b6-4865-a496-ff9c46789c06","name":"Verify Account- Resident (/api/v1/verify)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"verifycode\": \"T9oK3Q\",\n\t\"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\"\n}"},"url":"https://gateappapi.herokuapp.com/api/v1/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 15 Oct 2019 19:20:27 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account is verified. You can now login.\",\n    \"verified\": \"True\",\n    \"user\": {\n        \"id\": 6,\n        \"name\": \"Okechukwu\",\n        \"username\": null,\n        \"phone\": \"07060959269\",\n        \"email\": \"junipreach2017@gmail.com\",\n        \"image\": \"no_image.jpg\",\n        \"user_type\": \"resident\",\n        \"fcm_column\": null,\n        \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n        \"created_at\": \"2019-10-15 19:08:42\",\n        \"updated_at\": \"2019-10-15 19:20:26\"\n    },\n    \"token\": \"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL3ZlcmlmeSIsImlhdCI6MTU3MTE2NzIyNiwiZXhwIjoxNTcyMzc2ODI2LCJuYmYiOjE1NzExNjcyMjYsImp0aSI6InV4M0FDRnViVFhzOEo0NWkiLCJzdWIiOjYsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.oGSwM2446nivrjlD5k6MjBC0ZlzbBMBbFNolMclP3kM\",\n    \"token_type\": \"bearer\",\n    \"expires_in(minutes)\": 20160,\n    \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n    \"image_format\": \"w_200,c_thumb,ar_4:4,g_face/\"\n}"}],"_postman_id":"2f723ae7-5d9b-418c-ab21-de656f1f62b7"},{"name":"Phone Recovery Token (/api/v1/password/verify)","id":"a6407ab6-ba80-4eb0-b0ba-a7f24469ec6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"old_phone\": \"07060959269\",\n    \"new_phone\": \"08111570173\",\n    \"new_device_id\": \"n6436y7w3376ujwhw63he3r373j3e3733uej3j3373je3\"\n}"},"url":"http://52.40.191.249/api/v1/phone/verify","description":"<p>This api send a verification token to the email of the user that needs to verify is account</p>\n<p>possible staus error \n#200 Ok successful\n#404 User not found\n#501 Not implemented and error has occured</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"2904215b-8932-474f-933d-5ff8b6956b6c","id":"2904215b-8932-474f-933d-5ff8b6956b6c","name":"Auth","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","phone","verify"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"57e2884b-83ed-4a4f-9d6e-b598553b1310","name":"Phone Recovery Token (/api/v1/password/verify)","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"old_phone\": \"07077638378\",\n    \"new_phone\": \"08111570173\",\n    \"new_device_id\": \"n6436y7w3376ujwhw63he3r373j3e3733uej3j3373je3\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/phone/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 17 Oct 2019 11:51:30 GMT"},{"key":"Date","value":"Thu, 17 Oct 2019 11:51:30 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"OTP token has been sent. Please check your phone to verify account!\"\n}"}],"_postman_id":"a6407ab6-ba80-4eb0-b0ba-a7f24469ec6d"},{"name":"Refresh Token (/api/v1/refresh)","id":"64e34c9f-1e05-429f-bd88-af35daada63b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEwOTExNjMsImV4cCI6MTU3MjMwMDc2MywibmJmIjoxNTcxMDkxMTYzLCJqdGkiOiJKTldxSURYZ1o5NkhsSG9GIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.XiPkmhhOc5-XVNhK6e3e6EA5DuYH6UGxm5uQcpgUWz4","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"http://52.40.191.249/api/v1/refresh","description":"<p>this api get a new refresh token from the server for the user to continue sealess proceess this token has an expiring time and that time should not expire before this api end point is hit </p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"2904215b-8932-474f-933d-5ff8b6956b6c","id":"2904215b-8932-474f-933d-5ff8b6956b6c","name":"Auth","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","refresh"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"09cb44f5-82b5-4e05-832e-db31ace49874","name":"Refresh Token (http://127.0.0.1:8000/api/v1/refresh)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEwOTExNjMsImV4cCI6MTU3MjMwMDc2MywibmJmIjoxNTcxMDkxMTYzLCJqdGkiOiJKTldxSURYZ1o5NkhsSG9GIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.XiPkmhhOc5-XVNhK6e3e6EA5DuYH6UGxm5uQcpgUWz4","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/refresh"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 14 Oct 2019 22:12:59 GMT"},{"key":"Date","value":"Mon, 14 Oct 2019 22:12:59 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvcmVmcmVzaCIsImlhdCI6MTU3MTA5MTE2MywiZXhwIjoxNTcyMzAwNzc5LCJuYmYiOjE1NzEwOTExNzksImp0aSI6IlJBWVJXZmxSZ2FMNUZhT2IiLCJzdWIiOjEwLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0._38FC_8VJ6Zf0Y9LsnQpZyr1Bhs0p2qO_K_ydqhiErw\",\n    \"token_type\": \"bearer\",\n    \"expires_in(minutes)\": \"20160\"\n}"}],"_postman_id":"64e34c9f-1e05-429f-bd88-af35daada63b"},{"name":"Resend OTP Token (api/v1/resend/token)","id":"7d3371e6-1217-4d63-b291-031f9f0453fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone\": \"07077638378\"\n}"},"url":"http://52.40.191.249/api/v1/resend/token","description":"<p>This api route resent otp token </p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"2904215b-8932-474f-933d-5ff8b6956b6c","id":"2904215b-8932-474f-933d-5ff8b6956b6c","name":"Auth","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","resend","token"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"cb75566b-d0db-4e59-a648-a057906133ed","name":"Resend OTP Token (http://127.0.0.1:8000/api/v1/resend/token)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"phone\": \"07077638378\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/resend/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 17 Oct 2019 11:50:14 GMT"},{"key":"Date","value":"Thu, 17 Oct 2019 11:50:14 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"OTP token has been sent. Please check your phone to verify account!\"\n}"}],"_postman_id":"7d3371e6-1217-4d63-b291-031f9f0453fe"}],"id":"2904215b-8932-474f-933d-5ff8b6956b6c","description":"<p>This folder contains all api endpoints as it relates to authentication of a user. There are three user groups on the app and they are:</p>\n<ol>\n<li>The Admin user also known as the super user </li>\n<li>The Resident who are able to interact with core app functionalities </li>\n<li>The Gateman with limited access to functionalities on the app</li>\n</ol>\n<h1 id=\"please-note\">Please Note</h1>\n<h4 id=\"please-you-are-advice-to-generate-a-unique-token-for-you-app-and-store-in-a-localstroage-scale-prefrence-indexdb-or-any-lasting-storage-of-your-chioce\">please you are advice to generate a unique token for you app and store in a localStroage, Scale Prefrence, index.db or any lasting storage of your chioce,</h4>\n<p> this unique token is needed is need in the estate selection and the user registration</p>\n<h4 id=\"please-you-should-note-this-for-developement-purposes-we-will-not-be-using-the-sms-otp-for-verification-so-you-are-free-to-use-any-fake-phone-number-for-registration-but-you-should-mark-that-number-becuase-it-will-be-use-to-login-if-when-needed\">please you should note this for developement purposes we will not be using the sms otp for verification so you are free to use any fake phone number for registration but you should mark that number becuase it will be use to login if when needed</h4>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"b2864227-6a7c-4c55-970b-0a63c29fb8ad","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1b4f88b7-8ac8-4c4b-8aca-6bb78fb09d05","type":"text/javascript","exec":[""]}}],"_postman_id":"2904215b-8932-474f-933d-5ff8b6956b6c"},{"name":"General Users","item":[{"name":"Image Upload Not Needed","item":[{"name":"Upload User Image /api/v1/user/upload","id":"ae488653-e1a7-4fd0-a2ac-e58f008566cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDU1MTQsImV4cCI6MTU3MDcwOTExNCwibmJmIjoxNTcwNzA1NTE0LCJqdGkiOiIxcWZXNXRrb084cW5QamJqIiwic3ViIjo5LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.ewb-18yau12zzyZKJh6yi_cge0zxqo_HvCDlwDHUl1M","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/HP/Downloads/junicodefire.png"}]},"url":"http://52.40.191.249/api/v1/user/image","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"4d575c40-d755-435a-8037-d4d0be7363b6","id":"4d575c40-d755-435a-8037-d4d0be7363b6","name":"General Users","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","image"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"7b3bce06-c6f4-4a88-b7b7-77bb3c551b1e","name":"Upload User Image /api/v1/user/upload","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDU1MTQsImV4cCI6MTU3MDcwOTExNCwibmJmIjoxNTcwNzA1NTE0LCJqdGkiOiIxcWZXNXRrb084cW5QamJqIiwic3ViIjo5LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.ewb-18yau12zzyZKJh6yi_cge0zxqo_HvCDlwDHUl1M","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/HP/Downloads/junicodefire.png"}]},"url":"http://127.0.0.1:8000/api/v1/user/image"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 18 Oct 2019 14:29:52 GMT"},{"key":"Date","value":"Fri, 18 Oct 2019 14:29:52 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Upload Successful!\",\n    \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n    \"image_round_format\": \"w_200,c_fill,ar_1:1,g_auto,r_max/\",\n    \"image_square_format\": \"w_200,ar_1:1,c_fill,g_auto/\",\n    \"image_example_link\": \"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/noimage.jpg\",\n    \"user_data\": {\n        \"id\": 7,\n        \"name\": \"Okechukwu Gateman\",\n        \"username\": \"junicodic\",\n        \"phone\": null,\n        \"email\": \"juniworld2017@gmail.com\",\n        \"image\": \"qpcw9kngsrtosptyho1o.png\",\n        \"user_type\": \"gateman\",\n        \"device_id\": \"535d43r34f4t34f54t4534666645t45f6r4\",\n        \"created_at\": \"2019-10-15 19:12:53\",\n        \"updated_at\": \"2019-10-18 14:29:50\"\n    },\n    \"image\": \"qpcw9kngsrtosptyho1o.png\",\n    \"status_code\": 200\n}"}],"_postman_id":"ae488653-e1a7-4fd0-a2ac-e58f008566cd"},{"name":"Image Look Full Look https://res.cloudinary.com/getfiledata/image/upload/yt8xnbrxhp0ssfaop9d8.png","id":"d373da69-3493-4197-b2a4-10c90abdca2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://res.cloudinary.com/getfiledata/image/upload/yt8xnbrxhp0ssfaop9d8.png","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"4d575c40-d755-435a-8037-d4d0be7363b6","id":"4d575c40-d755-435a-8037-d4d0be7363b6","name":"General Users","type":"folder"}},"urlObject":{"protocol":"https","path":["getfiledata","image","upload","yt8xnbrxhp0ssfaop9d8.png"],"host":["res","cloudinary","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d373da69-3493-4197-b2a4-10c90abdca2f"},{"name":"Image Look Round Format https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/qpcw9kngsrtosptyho1o.png","id":"a7e3991e-e6c9-475b-a1a2-42216f244ab8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/qpcw9kngsrtosptyho1o.png","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"4d575c40-d755-435a-8037-d4d0be7363b6","id":"4d575c40-d755-435a-8037-d4d0be7363b6","name":"General Users","type":"folder"}},"urlObject":{"protocol":"https","path":["getfiledata","image","upload","w_200,c_fill,ar_1:1,g_auto,r_max","qpcw9kngsrtosptyho1o.png"],"host":["res","cloudinary","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7e3991e-e6c9-475b-a1a2-42216f244ab8"},{"name":"Image Look Square Shape https://res.cloudinary.com/getfiledata/image/upload/w_200,ar_1:1,c_fill,g_auto/qpcw9kngsrtosptyho1o.png","id":"32606875-730e-4e0a-830d-9d7798ca37fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://res.cloudinary.com/getfiledata/image/upload/w_200,ar_1:1,c_fill,g_auto/qpcw9kngsrtosptyho1o.png","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"4d575c40-d755-435a-8037-d4d0be7363b6","id":"4d575c40-d755-435a-8037-d4d0be7363b6","name":"General Users","type":"folder"}},"urlObject":{"protocol":"https","path":["getfiledata","image","upload","w_200,ar_1:1,c_fill,g_auto","qpcw9kngsrtosptyho1o.png"],"host":["res","cloudinary","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"32606875-730e-4e0a-830d-9d7798ca37fc"}],"id":"45be2559-9db0-46fe-aa7e-03397a26fe4c","event":[{"listen":"prerequest","script":{"id":"a824e8d8-e495-45af-98ae-d7a9723da90f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"71a4eab3-e088-424a-8501-b9d4183a9941","type":"text/javascript","exec":[""]}}],"_postman_id":"45be2559-9db0-46fe-aa7e-03397a26fe4c","description":"","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"4d575c40-d755-435a-8037-d4d0be7363b6","id":"4d575c40-d755-435a-8037-d4d0be7363b6","name":"General Users","type":"folder"}}},{"name":"Current User (/api/v1/user)","id":"d6acb2e8-96d6-4ca0-9a21-c3f823bcdd99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDAxMzgsImV4cCI6MTU3MDcwMzczOCwibmJmIjoxNTcwNzAwMTM4LCJqdGkiOiJNSGxscDRqU0tTcjlYaTFJIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.KqjALNTRE2svoiYFAmNBGpn88H2yavrz45l2JlwjpeM","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://52.40.191.249/api/v1/user","description":"<p>This api get the current user, the authentication bearer token is pass to the header </p>\n","urlObject":{"protocol":"http","path":["api","v1","user"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"6c401c66-34e3-409d-abba-26cf15dd6486","name":"Current User (/api/v1/user)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvdmVyaWZ5IiwiaWF0IjoxNTcxNzUxNDQ1LCJleHAiOjE1NzkwMDkwNDUsIm5iZiI6MTU3MTc1MTQ0NSwianRpIjoiMEZpTnhJblRUaGp0QldZMiIsInN1YiI6MzMsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.C8eSMbZ-sXGT-GaslKlhPKXWlgRlEl7A-0I5ML60qNM","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 23 Oct 2019 17:40:30 GMT"},{"key":"Date","value":"Wed, 23 Oct 2019 17:40:30 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 33,\n    \"name\": \"Jerry chefling\",\n    \"username\": \"juncodefire\",\n    \"phone\": \"07060959269\",\n    \"email\": \"junipreach2017@gmail.com\",\n    \"image\": \"noimage.jpg\",\n    \"user_type\": \"resident\",\n    \"device_id\": \"61349ee41b26b591\",\n    \"created_at\": \"2019-10-16 10:00:27\",\n    \"updated_at\": \"2019-10-23 17:30:58\",\n    \"home\": {\n        \"id\": 7,\n        \"user_id\": 33,\n        \"estate_id\": 5,\n        \"house_block\": \"\",\n        \"created_at\": \"2019-10-22 10:59:42\",\n        \"updated_at\": \"2019-10-23 17:31:22\",\n        \"estate\": {\n            \"id\": 5,\n            \"estate_name\": \"Pinnacle\",\n            \"address\": \"Galadimawa Express way\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\",\n            \"created_at\": \"2019-10-22 11:48:51\",\n            \"updated_at\": \"2019-10-22 11:48:51\"\n        }\n    }\n}"}],"_postman_id":"d6acb2e8-96d6-4ca0-9a21-c3f823bcdd99"},{"name":"Delete User Account (/api/v1/user/delete)","id":"e854802f-d94e-4c82-86c5-1b109079a6a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDkzMjIsImV4cCI6MTU3MDcxMjkyMiwibmJmIjoxNTcwNzA5MzIyLCJqdGkiOiJFTG9rSGh4Rk13SUhqNUR1Iiwic3ViIjoxNCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.lEU6E_cr-_76KRSUjQxFp4ma0nOWhwfpwoOqcDkj7ZA","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://52.40.191.249/api/v1/user/delete","description":"<p>this api delete a user form the system </p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"4d575c40-d755-435a-8037-d4d0be7363b6","id":"4d575c40-d755-435a-8037-d4d0be7363b6","name":"General Users","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","delete"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"2b5cc23e-7320-4a6c-b37c-5cf7fe294702","name":"Delete User Account (/api/v1/user/delete)","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDkzMjIsImV4cCI6MTU3MDcxMjkyMiwibmJmIjoxNTcwNzA5MzIyLCJqdGkiOiJFTG9rSGh4Rk13SUhqNUR1Iiwic3ViIjoxNCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.lEU6E_cr-_76KRSUjQxFp4ma0nOWhwfpwoOqcDkj7ZA","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://52.200.161.52/api/v1/user/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 10 Oct 2019 12:10:21 GMT"},{"key":"Date","value":"Thu, 10 Oct 2019 12:10:21 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User deleted successfully\"\n}"}],"_postman_id":"e854802f-d94e-4c82-86c5-1b109079a6a5"},{"name":"Edit User Profile /api/v1/user/edit","id":"f7413c3a-5f98-491a-919c-664f6149503a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NTgyNTQsImV4cCI6MTU3Mjc2Nzg1NCwibmJmIjoxNTcxNTU4MjU0LCJqdGkiOiJVTHFDVXBvazRIcnl6dFZyIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.SfnU2G0I5_99KslEGwn5GiefbAuRt44xk_IDuWOHUf0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Ben Mike Tyson","type":"text"},{"key":"estate_id","value":"1","type":"text"},{"key":"category_id","type":"text","value":"3"},{"key":"phone","value":"084787838838","type":"text"},{"key":"description","value":"Medical Doctor","type":"text"},{"key":"image","type":"file","src":"/C:/Users/HP/Documents/junicodefireProjects/Web Dev/juniCodefire/assets/img/category_img_top1.jpg"}]},"url":"http://52.40.191.249/api/v1/service-provider/1","description":"<p>This api is post route that update the user deatails\nhere we use a formdata because of the image attched to it</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"4d575c40-d755-435a-8037-d4d0be7363b6","id":"4d575c40-d755-435a-8037-d4d0be7363b6","name":"General Users","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","service-provider","1"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"ef6590af-8974-41e0-b62b-6e3d341c77ac","name":"Edit User Profile /api/v1/user/edit","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE4NjkzMjMsImV4cCI6MTU3OTEyNjkyMywibmJmIjoxNTcxODY5MzIzLCJqdGkiOiJnWjNNRjBnSFo3VUw0S3ExIiwic3ViIjoyMDcsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.lFVipzfvhGPpRFVvwF8gB_UwaNNXxCYKS0acszCxgKg","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Ben Mike Tyson","type":"text"},{"key":"username","type":"text","value":"jboy"},{"key":"email","value":"junipreach2017@gmail.com","type":"text"},{"key":"image","type":"file","src":"/C:/Users/HP/Documents/junicodefireProjects/Web Dev/juniCodefire/assets/img/design_top1.jpg"},{"key":"phone","value":"07060959269","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/user/edit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 24 Oct 2019 12:50:45 GMT"},{"key":"Date","value":"Thu, 24 Oct 2019 12:50:45 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"user\": {\n        \"id\": 207,\n        \"name\": \"Ben Mike Tyson\",\n        \"username\": \"jboy\",\n        \"phone\": \"07060959269\",\n        \"email\": \"junipreach2017@gmail.com\",\n        \"image\": \"a4tiug72bfnqxatstduh.jpg\",\n        \"user_type\": \"resident\",\n        \"device_id\": \"a8d98cd7da28fb7e\",\n        \"created_at\": \"2019-10-23 20:20:21\",\n        \"updated_at\": \"2019-10-24 12:50:45\"\n    },\n    \"image_info\": {\n        \"message\": \"Upload Successful!\",\n        \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n        \"image_round_format\": \"w_200,c_fill,ar_1:1,g_auto,r_max/\",\n        \"image_square_format\": \"w_200,ar_1:1,c_fill,g_auto/\",\n        \"image_example_link\": \"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/a4tiug72bfnqxatstduh.jpg\",\n        \"image\": \"a4tiug72bfnqxatstduh.jpg\",\n        \"status_code\": 200\n    },\n    \"message\": \"Your Account Was Successfully Updated\"\n}"}],"_postman_id":"f7413c3a-5f98-491a-919c-664f6149503a"}],"id":"4d575c40-d755-435a-8037-d4d0be7363b6","description":"<p>this folder holds every users route generally in the system</p>\n<p>Update Token on the authorization tab, to update header tokens for all request in this folder </p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"04aa7a88-e106-4b1a-a452-455bc7096ea4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"48a24f91-f9d7-4aab-9ca1-90fb27b5e915","type":"text/javascript","exec":[""]}}],"_postman_id":"4d575c40-d755-435a-8037-d4d0be7363b6"},{"name":"Admin","item":[{"name":"All User (/api/v1/user/all)","id":"000a0576-f7a9-4684-b194-2479ffd18277","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDE1NzgsImV4cCI6MTU3MDcwNTE3OCwibmJmIjoxNTcwNzAxNTc4LCJqdGkiOiI4OXFiNWFuVHE3MVpGb0RkIiwic3ViIjo5LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.7RksTelB85zgVAE5sHxyCGiQsNU5NnLv26a9vyhWnWg","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"","value":"","type":"text"}],"url":"http://52.40.191.249/api/v1/user/all","description":"<p>this api filter the database and return all user base on thier roles in the system (admin, resident, gateman)</p>\n<p>#this api is for only admin user</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"c904c578-5345-4e71-b484-3543f9241c6d","id":"c904c578-5345-4e71-b484-3543f9241c6d","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","all"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"9ac1f459-cfc1-45d0-8ba4-2c665002f9e9","name":"All User (/api/v1/user/all)","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDE1NzgsImV4cCI6MTU3MDcwNTE3OCwibmJmIjoxNTcwNzAxNTc4LCJqdGkiOiI4OXFiNWFuVHE3MVpGb0RkIiwic3ViIjo5LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.7RksTelB85zgVAE5sHxyCGiQsNU5NnLv26a9vyhWnWg","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"","value":"","type":"text"}],"url":"http://52.200.161.52/api/v1/user/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 10 Oct 2019 10:23:50 GMT"},{"key":"Date","value":"Thu, 10 Oct 2019 10:23:50 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"admins\": [\n        {\n            \"id\": 9,\n            \"first_name\": \"junicodefire\",\n            \"last_name\": \"Admin\",\n            \"email\": \"juniworld2017@gmail.com\",\n            \"phone\": \"07060959269\",\n            \"image\": \"no_image.jpg\",\n            \"created_at\": \"2019-10-10 09:20:10\",\n            \"updated_at\": \"2019-10-10 09:20:10\"\n        }\n    ],\n    \"residents\": [\n        {\n            \"id\": 10,\n            \"first_name\": \"David\",\n            \"last_name\": \"Resident\",\n            \"email\": \"junipreach2017@gmail.com\",\n            \"phone\": \"07067589834\",\n            \"image\": \"no_image.jpg\",\n            \"created_at\": \"2019-10-10 09:22:06\",\n            \"updated_at\": \"2019-10-10 09:37:11\"\n        }\n    ],\n    \"gatemans\": [\n        {\n            \"id\": 11,\n            \"first_name\": \"junicodefire\",\n            \"last_name\": \"Gateman\",\n            \"email\": \"junicodefire@gmail.com\",\n            \"phone\": \"07060959269\",\n            \"image\": \"no_image.jpg\",\n            \"created_at\": \"2019-10-10 09:23:05\",\n            \"updated_at\": \"2019-10-10 09:23:05\"\n        }\n    ]\n}"}],"_postman_id":"000a0576-f7a9-4684-b194-2479ffd18277"},{"name":"User Base On Role (/api/v1/user/all/role_id)","id":"443d1e01-9564-47bd-bdcc-f2278a071057","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDE1NzgsImV4cCI6MTU3MDcwNTE3OCwibmJmIjoxNTcwNzAxNTc4LCJqdGkiOiI4OXFiNWFuVHE3MVpGb0RkIiwic3ViIjo5LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.7RksTelB85zgVAE5sHxyCGiQsNU5NnLv26a9vyhWnWg","type":"text"}],"url":"http://52.40.191.249/api/v1/user/all/1","description":"<p>the api route get all user form the system base on their role in the system\n#Note\nthe role_id are 0,1,2 to admin,resident,gateman respectively</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"c904c578-5345-4e71-b484-3543f9241c6d","id":"c904c578-5345-4e71-b484-3543f9241c6d","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","all","1"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"5fe79381-207a-4c19-b9a6-d7efa154502c","name":"User Base On Role (/api/v1/user/all/role_id)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDE1NzgsImV4cCI6MTU3MDcwNTE3OCwibmJmIjoxNTcwNzAxNTc4LCJqdGkiOiI4OXFiNWFuVHE3MVpGb0RkIiwic3ViIjo5LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.7RksTelB85zgVAE5sHxyCGiQsNU5NnLv26a9vyhWnWg","type":"text"}],"url":"http://52.200.161.52/api/v1/user/all/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 10 Oct 2019 10:32:30 GMT"},{"key":"Date","value":"Thu, 10 Oct 2019 10:32:30 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 10,\n        \"first_name\": \"David\",\n        \"last_name\": \"Resident\",\n        \"email\": \"junipreach2017@gmail.com\",\n        \"phone\": \"07067589834\",\n        \"image\": \"no_image.jpg\",\n        \"created_at\": \"2019-10-10 09:22:06\",\n        \"updated_at\": \"2019-10-10 09:37:11\"\n    }\n]"}],"_postman_id":"443d1e01-9564-47bd-bdcc-f2278a071057"},{"name":"Get One User (/api/v1/user/{user_id})","id":"bf088eba-a153-4c21-9683-afe2bb9eb86f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDE1NzgsImV4cCI6MTU3MDcwNTE3OCwibmJmIjoxNTcwNzAxNTc4LCJqdGkiOiI4OXFiNWFuVHE3MVpGb0RkIiwic3ViIjo5LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.7RksTelB85zgVAE5sHxyCGiQsNU5NnLv26a9vyhWnWg","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"http://52.40.191.249/api/v1/user/10","description":"<p>this api route help to find one resident user and gateman user for only but cannot find admin one user for admin</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"c904c578-5345-4e71-b484-3543f9241c6d","id":"c904c578-5345-4e71-b484-3543f9241c6d","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","user","10"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"548a72ba-a54f-4e15-a905-8ca6ed3364fd","name":"Find One User (/api/v1/user/{user_id})","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDE1NzgsImV4cCI6MTU3MDcwNTE3OCwibmJmIjoxNTcwNzAxNTc4LCJqdGkiOiI4OXFiNWFuVHE3MVpGb0RkIiwic3ViIjo5LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.7RksTelB85zgVAE5sHxyCGiQsNU5NnLv26a9vyhWnWg","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"http://52.200.161.52/api/v1/user/10"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 10 Oct 2019 10:46:58 GMT"},{"key":"Date","value":"Thu, 10 Oct 2019 10:46:58 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"User found\",\n    \"user\": {\n        \"id\": 10,\n        \"first_name\": \"David\",\n        \"last_name\": \"Resident\",\n        \"email\": \"junipreach2017@gmail.com\",\n        \"phone\": \"07067589834\",\n        \"image\": \"no_image.jpg\",\n        \"created_at\": \"2019-10-10 09:22:06\",\n        \"updated_at\": \"2019-10-10 09:37:11\"\n    }\n}"}],"_postman_id":"bf088eba-a153-4c21-9683-afe2bb9eb86f"},{"name":"Get One Admin (/api/v1/admin/{admin_id})","id":"5447c99d-7aca-469e-bc68-4f8e79476ec4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDE1NzgsImV4cCI6MTU3MDcwNTE3OCwibmJmIjoxNTcwNzAxNTc4LCJqdGkiOiI4OXFiNWFuVHE3MVpGb0RkIiwic3ViIjo5LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.7RksTelB85zgVAE5sHxyCGiQsNU5NnLv26a9vyhWnWg","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://52.40.191.249/api/v1/admin/36","description":"<p>this route emmits one single admin form the system\nthe the number on the route represent the admin id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"c904c578-5345-4e71-b484-3543f9241c6d","id":"c904c578-5345-4e71-b484-3543f9241c6d","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","admin","36"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"b9ef0e88-4b70-41dd-86b0-7a22d5be372d","name":"Get One Admin (http://52.200.161.52/api/v1/admin/{admin_id})","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDE1NzgsImV4cCI6MTU3MDcwNTE3OCwibmJmIjoxNTcwNzAxNTc4LCJqdGkiOiI4OXFiNWFuVHE3MVpGb0RkIiwic3ViIjo5LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.7RksTelB85zgVAE5sHxyCGiQsNU5NnLv26a9vyhWnWg","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://52.200.161.52/api/v1/admin/9"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 10 Oct 2019 10:59:17 GMT"},{"key":"Date","value":"Thu, 10 Oct 2019 10:59:17 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Admin found\",\n    \"admin\": {\n        \"id\": 9,\n        \"first_name\": \"junicodefire\",\n        \"last_name\": \"Admin\",\n        \"email\": \"juniworld2017@gmail.com\",\n        \"phone\": \"07060959269\",\n        \"image\": \"no_image.jpg\",\n        \"created_at\": \"2019-10-10 09:20:10\",\n        \"updated_at\": \"2019-10-10 09:20:10\"\n    }\n}"}],"_postman_id":"5447c99d-7aca-469e-bc68-4f8e79476ec4"}],"id":"c904c578-5345-4e71-b484-3543f9241c6d","description":"<p>this api route handles all admin route in this app/ \n#admin has a permission role of 0 in  the system while the user(resisdent) has 1 and the user(gateman) has 2</p>\n<p>Update Token on the authorization tab, to update header tokens for all request in this folder </p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"f6cd72f8-8c09-4fad-a527-f4a013f211aa","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cee9e840-e575-42f2-8da9-243a7b2b5702","type":"text/javascript","exec":[""]}}],"_postman_id":"c904c578-5345-4e71-b484-3543f9241c6d"},{"name":"Residents ","item":[{"name":"Resident Add \"Invite\" Gateman","id":"eef1aed4-5bd1-4a6b-8005-35e830005b1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA0NDUyLCJleHAiOjE1NzI1MTQwNTIsIm5iZiI6MTU3MTMwNDQ1MiwianRpIjoiQ2JlRG5mVng4STBodkRUUCIsInN1YiI6MzYsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.YjNwiNG0HHEosiBCdAjopEdtWlpZhA7ilYKSR2-1Y9g","type":"text"}],"url":"http://52.40.191.249/api/v1/resident/addGateman/43","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","name":"Residents ","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","resident","addGateman","43"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"dc882701-fe16-429b-a133-40c5901297ff","name":"Get estate by id","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEyMzE1MDUsImV4cCI6MTU3MjQ0MTEwNSwibmJmIjoxNTcxMjMxNTA1LCJqdGkiOiJLY0pBRDJDNnJrVTdkM2NYIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.zDmATlO_3PrAx2k7bTxiaCACtSKN_cvnPixX11y_KH8","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/resident/addgateman/53"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 16 Oct 2019 20:03:31 GMT"},{"key":"Date","value":"Wed, 16 Oct 2019 20:03:31 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Your Invite has been sent to Gateman\",\n    \"residentGateman\": {\n        \"user_id\": 36,\n        \"gateman_id\": \"53\",\n        \"updated_at\": \"2019-10-16 20:03:29\",\n        \"created_at\": \"2019-10-16 20:03:29\",\n        \"id\": 23\n    },\n    \"status\": 201\n}"}],"_postman_id":"eef1aed4-5bd1-4a6b-8005-35e830005b1c"},{"name":"Find Gateman by Phone number","id":"24e6b6f2-d82d-4ef2-9ad8-0d3db9771476","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL3ZlcmlmeSIsImlhdCI6MTU3MTQwODk4NCwiZXhwIjoxNTcyNjE4NTg0LCJuYmYiOjE1NzE0MDg5ODQsImp0aSI6ImdOdVVIZFNGa2ZIRG44SVIiLCJzdWIiOjkyLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.wnGOkSEJt-tCvyUnoEcECmr8lq5TAffT9N7utBPlUQY","type":"text"}],"url":"http://52.40.191.249/api/v1/search/gateman/phone/08033223489","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","name":"Residents ","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","search","gateman","phone","08033223489"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"20695065-c47f-4e11-a97a-c41b86418466","name":"Find Gateman by Phone number","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL3ZlcmlmeSIsImlhdCI6MTU3MTQwODk4NCwiZXhwIjoxNTcyNjE4NTg0LCJuYmYiOjE1NzE0MDg5ODQsImp0aSI6ImdOdVVIZFNGa2ZIRG44SVIiLCJzdWIiOjkyLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.wnGOkSEJt-tCvyUnoEcECmr8lq5TAffT9N7utBPlUQY","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\t\"phone\": \"09034343433\",\n\t\t\"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\"\n       \n}"},"url":"http://52.40.191.249/api/v1/search/gateman/phone/08038287791"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 19 Oct 2019 10:36:57 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"Error\": \"No Gateman found with this phone number\"\n}"},{"id":"604157ed-0656-4833-8070-a2017c5893fd","name":"Find Gateman by Phone number","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL3ZlcmlmeSIsImlhdCI6MTU3MTQwODk4NCwiZXhwIjoxNTcyNjE4NTg0LCJuYmYiOjE1NzE0MDg5ODQsImp0aSI6ImdOdVVIZFNGa2ZIRG44SVIiLCJzdWIiOjkyLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.wnGOkSEJt-tCvyUnoEcECmr8lq5TAffT9N7utBPlUQY","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\t\"phone\": \"09034343433\",\n\t\t\"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\"\n       \n}"},"url":"http://52.40.191.249/api/v1/search/gateman/phone/080223344556"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 19 Oct 2019 10:31:21 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 92,\n        \"name\": \"Mayowa Gateman\",\n        \"username\": null,\n        \"phone\": \"080223344556\",\n        \"email\": \"testgateman@mail.com\",\n        \"image\": \"noimage.jpg\",\n        \"user_type\": \"gateman\",\n        \"device_id\": \"233d43r34f4t34f54t4534666645t45f6r4\",\n        \"created_at\": \"2019-10-18 14:28:24\",\n        \"updated_at\": \"2019-10-18 15:48:10\"\n    }\n]"},{"id":"a20e9448-5ba8-4108-a0c0-27132ebf941d","name":"Find Gateman by Phone number","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL3ZlcmlmeSIsImlhdCI6MTU3MTQwODk4NCwiZXhwIjoxNTcyNjE4NTg0LCJuYmYiOjE1NzE0MDg5ODQsImp0aSI6ImdOdVVIZFNGa2ZIRG44SVIiLCJzdWIiOjkyLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.wnGOkSEJt-tCvyUnoEcECmr8lq5TAffT9N7utBPlUQY","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\t\"phone\": \"09034343433\",\n\t\t\"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\"\n       \n}"},"url":"http://52.40.191.249/api/v1/search/gateman/phone/080332"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 19 Oct 2019 10:35:58 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 7,\n        \"name\": \"Okechukwu Gateman\",\n        \"username\": \"junicodic\",\n        \"phone\": \"08033223489\",\n        \"email\": \"juniworld2017@gmail.com\",\n        \"image\": \"qpcw9kngsrtosptyho1o.png\",\n        \"user_type\": \"gateman\",\n        \"device_id\": \"535d43r34f4t34f54t4534666645t45f6r4\",\n        \"created_at\": \"2019-10-15 19:12:53\",\n        \"updated_at\": \"2019-10-18 14:29:50\"\n    },\n    {\n        \"id\": 53,\n        \"name\": \"test Gateman\",\n        \"username\": null,\n        \"phone\": \"08033227789\",\n        \"email\": \"help@yahoo.com\",\n        \"image\": \"noimage.jpg\",\n        \"user_type\": \"gateman\",\n        \"device_id\": \"4565d43r34f4t34f54t4534666645t45f6r4\",\n        \"created_at\": \"2019-10-16 20:00:16\",\n        \"updated_at\": \"2019-10-16 20:00:58\"\n    }\n]"}],"_postman_id":"24e6b6f2-d82d-4ef2-9ad8-0d3db9771476"},{"name":"Find Gateman by  Name /api/v1/resident/gateman/name/{name}","id":"a909b2b7-5ebd-4ddc-a82d-3ae7899ba737","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEyMzE1MDUsImV4cCI6MTU3MjQ0MTEwNSwibmJmIjoxNTcxMjMxNTA1LCJqdGkiOiJLY0pBRDJDNnJrVTdkM2NYIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.zDmATlO_3PrAx2k7bTxiaCACtSKN_cvnPixX11y_KH8","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://52.40.191.249/api/v1/search/gateman/name/Assam","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","name":"Residents ","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","search","gateman","name","Assam"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"846e9d62-bbbb-4541-9060-4e93a2704a44","name":"Find Gateman by  Name /api/v1/resident/gateman/name/{name}","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEyMzE1MDUsImV4cCI6MTU3MjQ0MTEwNSwibmJmIjoxNTcxMjMxNTA1LCJqdGkiOiJLY0pBRDJDNnJrVTdkM2NYIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.zDmATlO_3PrAx2k7bTxiaCACtSKN_cvnPixX11y_KH8","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"test\",\n\n}"},"url":"http://52.40.191.249/api/v1/search/gateman/name/Gate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 19 Oct 2019 10:35:50 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 7,\n        \"name\": \"Okechukwu Gateman\",\n        \"username\": \"junicodic\",\n        \"phone\": \"08033223489\",\n        \"email\": \"juniworld2017@gmail.com\",\n        \"image\": \"qpcw9kngsrtosptyho1o.png\",\n        \"user_type\": \"gateman\",\n        \"device_id\": \"535d43r34f4t34f54t4534666645t45f6r4\",\n        \"created_at\": \"2019-10-15 19:12:53\",\n        \"updated_at\": \"2019-10-18 14:29:50\"\n    },\n    {\n        \"id\": 53,\n        \"name\": \"test Gateman\",\n        \"username\": null,\n        \"phone\": \"08033227789\",\n        \"email\": \"help@yahoo.com\",\n        \"image\": \"noimage.jpg\",\n        \"user_type\": \"gateman\",\n        \"device_id\": \"4565d43r34f4t34f54t4534666645t45f6r4\",\n        \"created_at\": \"2019-10-16 20:00:16\",\n        \"updated_at\": \"2019-10-16 20:00:58\"\n    },\n    {\n        \"id\": 92,\n        \"name\": \"Mayowa Gateman\",\n        \"username\": null,\n        \"phone\": \"080223344556\",\n        \"email\": \"testgateman@mail.com\",\n        \"image\": \"noimage.jpg\",\n        \"user_type\": \"gateman\",\n        \"device_id\": \"233d43r34f4t34f54t4534666645t45f6r4\",\n        \"created_at\": \"2019-10-18 14:28:24\",\n        \"updated_at\": \"2019-10-18 15:48:10\"\n    }\n]"},{"id":"baea824c-230e-4132-9cd6-974044067c38","name":"Find Gateman by  Name /api/v1/resident/gateman/name/{name}","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEyMzE1MDUsImV4cCI6MTU3MjQ0MTEwNSwibmJmIjoxNTcxMjMxNTA1LCJqdGkiOiJLY0pBRDJDNnJrVTdkM2NYIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.zDmATlO_3PrAx2k7bTxiaCACtSKN_cvnPixX11y_KH8","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"test\",\n\n}"},"url":"http://52.40.191.249/api/v1/search/gateman/name/Okechu"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 19 Oct 2019 10:32:18 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 7,\n        \"name\": \"Okechukwu Gateman\",\n        \"username\": \"junicodic\",\n        \"phone\": null,\n        \"email\": \"juniworld2017@gmail.com\",\n        \"image\": \"qpcw9kngsrtosptyho1o.png\",\n        \"user_type\": \"gateman\",\n        \"device_id\": \"535d43r34f4t34f54t4534666645t45f6r4\",\n        \"created_at\": \"2019-10-15 19:12:53\",\n        \"updated_at\": \"2019-10-18 14:29:50\"\n    }\n]"},{"id":"e462af69-ea65-4411-b13f-be10479d6460","name":"Find Gateman by  Name /api/v1/resident/gateman/name/{name}","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEyMzE1MDUsImV4cCI6MTU3MjQ0MTEwNSwibmJmIjoxNTcxMjMxNTA1LCJqdGkiOiJLY0pBRDJDNnJrVTdkM2NYIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.zDmATlO_3PrAx2k7bTxiaCACtSKN_cvnPixX11y_KH8","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"test\",\n\n}"},"url":"http://52.40.191.249/api/v1/search/gateman/name/Assam"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 19 Oct 2019 10:37:32 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"Error\": \"No Gateman found with this name\"\n}"}],"_postman_id":"a909b2b7-5ebd-4ddc-a82d-3ae7899ba737"},{"name":"View Gateman  that have accepted invitation","id":"ead2b40d-c1c7-4124-a34a-565cbea21e25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEyMzE1MDUsImV4cCI6MTU3MjQ0MTEwNSwibmJmIjoxNTcxMjMxNTA1LCJqdGkiOiJLY0pBRDJDNnJrVTdkM2NYIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.zDmATlO_3PrAx2k7bTxiaCACtSKN_cvnPixX11y_KH8","type":"text"}],"url":"http://52.40.191.249/api/v1/resident/acceptedInvitation","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","name":"Residents ","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","resident","acceptedInvitation"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"769e8bb3-d79b-4770-be1d-6f4a03b243e5","name":"View Gateman  that have accepted invitation","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEyMzE1MDUsImV4cCI6MTU3MjQ0MTEwNSwibmJmIjoxNTcxMjMxNTA1LCJqdGkiOiJLY0pBRDJDNnJrVTdkM2NYIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.zDmATlO_3PrAx2k7bTxiaCACtSKN_cvnPixX11y_KH8","type":"text"}],"url":"http://52.40.191.249/api/v1/resident/acceptedInvitation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 19 Oct 2019 05:26:07 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 43,\n            \"name\": \"Emeka\",\n            \"username\": null,\n            \"phone\": \"07000000002\",\n            \"email\": \"emeka@example.com\",\n            \"image\": \"noimage.jpg\",\n            \"user_type\": \"gateman\",\n            \"device_id\": \"535d43r34f4t34f54t4534666645t45f6r1\",\n            \"created_at\": \"2019-10-15 19:12:53\",\n            \"updated_at\": \"2019-10-16 13:05:37\"\n        }\n    ]\n}"}],"_postman_id":"ead2b40d-c1c7-4124-a34a-565cbea21e25"},{"name":"View Gateman  yet to accept invitation ","id":"a8e5442e-939d-4d19-8723-1e9e0c71e051","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEyMzE1MDUsImV4cCI6MTU3MjQ0MTEwNSwibmJmIjoxNTcxMjMxNTA1LCJqdGkiOiJLY0pBRDJDNnJrVTdkM2NYIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.zDmATlO_3PrAx2k7bTxiaCACtSKN_cvnPixX11y_KH8","type":"text"}],"url":"http://52.40.191.249/api/v1/resident/pendingInvitation","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","name":"Residents ","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","resident","pendingInvitation"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"9ebeafe3-f648-43d6-9ed5-090fc4c1d46f","name":"View Gateman  yet to accept invitation ","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEyMzE1MDUsImV4cCI6MTU3MjQ0MTEwNSwibmJmIjoxNTcxMjMxNTA1LCJqdGkiOiJLY0pBRDJDNnJrVTdkM2NYIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.zDmATlO_3PrAx2k7bTxiaCACtSKN_cvnPixX11y_KH8","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"test\",\n\n}"},"url":"http://127.0.0.1:8000/api/v1/resident/pending_invitation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 17 Oct 2019 19:13:55 GMT"},{"key":"Date","value":"Thu, 17 Oct 2019 19:13:55 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 7,\n            \"name\": \"Okechukwu Gateman\",\n            \"username\": null,\n            \"phone\": \"09034343433\",\n            \"email\": \"juniworld2017@gmail.com\",\n            \"image\": \"no_image.jpg\",\n            \"user_type\": \"gateman\",\n            \"device_id\": \"535d43r34f4t34f54t4534666645t45f6r4\",\n            \"created_at\": \"2019-10-15 19:12:53\",\n            \"updated_at\": \"2019-10-15 19:12:53\"\n        },\n        {\n            \"id\": 43,\n            \"name\": \"Emeka\",\n            \"username\": null,\n            \"phone\": \"07000000002\",\n            \"email\": \"emeka@example.com\",\n            \"image\": \"no_image.jpg\",\n            \"user_type\": \"gateman\",\n            \"device_id\": \"535d43r34f4t34f54t4534666645t45f6r1\",\n            \"created_at\": \"2019-10-15 19:12:53\",\n            \"updated_at\": \"2019-10-16 13:05:37\"\n        }\n    ]\n}"}],"_postman_id":"a8e5442e-939d-4d19-8723-1e9e0c71e051"},{"name":"Resident Delete \"Remove\" Gateman /api/v1/resident/removeGateman/{id}","id":"8d0051e3-650a-48c3-b8c4-ee02998fa182","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMjU2OTk2LCJleHAiOjE1NzI0NjY1OTYsIm5iZiI6MTU3MTI1Njk5NiwianRpIjoiNkpHallqMHdYRVNPRVUxVCIsInN1YiI6MzMsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.u97MxgMPFabinXaUgosQL95_LxG1CCrkaEuHCMEVhMg","type":"text"}],"url":"http://52.40.191.249/api/v1/resident/removeGateman/53","urlObject":{"protocol":"http","path":["api","v1","resident","removeGateman","53"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"27be6241-0fde-437d-9f97-7872715feeb5","name":"Resident Delete \"Remove\" Gateman /api/v1/resident/removeGateman/{id}","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMjU2OTk2LCJleHAiOjE1NzI0NjY1OTYsIm5iZiI6MTU3MTI1Njk5NiwianRpIjoiNkpHallqMHdYRVNPRVUxVCIsInN1YiI6MzMsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.u97MxgMPFabinXaUgosQL95_LxG1CCrkaEuHCMEVhMg","type":"text"}],"url":"http://52.40.191.249/api/v1/resident/removeGateman/43"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sat, 19 Oct 2019 05:38:54 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gateman deleted\"\n}"},{"id":"75d8a0da-e003-485a-ba13-a6524cecf5b1","name":"Resident Delete \"Remove\" Gateman Copy","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMjU2OTk2LCJleHAiOjE1NzI0NjY1OTYsIm5iZiI6MTU3MTI1Njk5NiwianRpIjoiNkpHallqMHdYRVNPRVUxVCIsInN1YiI6MzMsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.u97MxgMPFabinXaUgosQL95_LxG1CCrkaEuHCMEVhMg","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/resident/removegateman/53"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 16 Oct 2019 20:20:02 GMT"},{"key":"Date","value":"Wed, 16 Oct 2019 20:20:02 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Gateman deleted\"\n}"}],"_postman_id":"8d0051e3-650a-48c3-b8c4-ee02998fa182"}],"id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363","description":"<p>This folder contains all the routes that relates to a resident</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"91878c1c-a043-4b94-8184-bbec0fdb08ce","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bdfb8174-ba54-45dc-b25a-377508adefd8","type":"text/javascript","exec":[""]}}],"_postman_id":"ba56f0b4-3c3f-4ba8-aec6-bb3e83906363"},{"name":"Visitor","item":[{"name":"Get all visitors (/api/v1/visitor)","id":"8bf42bb5-684f-4de2-ade6-ba7471c59082","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NzEwNjksImV4cCI6MTU3ODgyODY2OSwibmJmIjoxNTcxNTcxMDY5LCJqdGkiOiJUU0VpM1poMlRRbWo0R3BPIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.xbWkPC5Y1KuLMOk2YEIPjHLQmmNlyp60URuebP4ETHQ","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://52.40.191.249/api/v1/allVisitors","description":"<p>This API gets all registered visitors with a limit of 15 data result set</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","name":"Visitor","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","allVisitors"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"f70d22c5-b6b3-4257-8edc-b7c76bc87e24","name":"Get all visitors","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDAxMzgsImV4cCI6MTU3MDcwMzczOCwibmJmIjoxNTcwNzAwMTM4LCJqdGkiOiJNSGxscDRqU0tTcjlYaTFJIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.KqjALNTRE2svoiYFAmNBGpn88H2yavrz45l2JlwjpeM","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://52.200.161.52/api/v1/visitor"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"data\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"id\": 2,\n                \"name\": \"Bishop Isong\",\n                \"arrival_date\": \"2019-10-01\",\n                \"car_plate_no\": \"ABU-300-ZT\",\n                \"purpose\": \"Dignissimos est aperiam non.\",\n                \"image\": \"no_image.jpg\",\n                \"status\": \"1\",\n                \"time_in\": \"2019-10-11 13:41:47\",\n                \"time_out\": null,\n                \"user_id\": 10,\n                \"home_id\": 7\n            },\n            {\n                \"id\": 3,\n                \"name\": \"Augustine Zechariah Thirdname\",\n                \"arrival_date\": \"2019-12-01\",\n                \"car_plate_no\": \"ABK-300-TU\",\n                \"purpose\": \"Dignissimos est aperiam non.\",\n                \"image\": \"no_image.jpg\",\n                \"status\": \"1\",\n                \"time_in\": \"2019-10-11 13:42:30\",\n                \"time_out\": null,\n                \"user_id\": 10,\n                \"home_id\": 7\n            },\n            {\n                \"id\": 4,\n                \"name\": \"OneNameIsAlsoAccepted\",\n                \"arrival_date\": \"2020-12-01\",\n                \"car_plate_no\": \"LSK-340-DK\",\n                \"purpose\": \"Dignissimos est aperiam non.\",\n                \"image\": \"no_image.jpg\",\n                \"status\": \"1\",\n                \"time_in\": \"2019-10-11 13:43:17\",\n                \"time_out\": null,\n                \"user_id\": 10,\n                \"home_id\": 7\n            },\n            {\n                \"id\": 5,\n                \"name\": \"CarPlateNoCanBeNull\",\n                \"arrival_date\": \"2020-12-01\",\n                \"car_plate_no\": null,\n                \"purpose\": \"Dignissimos est aperiam non.\",\n                \"image\": \"no_image.jpg\",\n                \"status\": \"1\",\n                \"time_in\": \"2019-10-11 13:47:49\",\n                \"time_out\": null,\n                \"user_id\": 10,\n                \"home_id\": 7\n            }\n        ],\n        \"first_page_url\": \"http://127.0.0.1:8000/api/v1/visitor?page=1\",\n        \"from\": 1,\n        \"last_page\": 1,\n        \"last_page_url\": \"http://127.0.0.1:8000/api/v1/visitor?page=1\",\n        \"next_page_url\": null,\n        \"path\": \"http://127.0.0.1:8000/api/v1/visitor\",\n        \"per_page\": 15,\n        \"prev_page_url\": null,\n        \"to\": 4,\n        \"total\": 4\n    },\n    \"status\": true\n}"}],"_postman_id":"8bf42bb5-684f-4de2-ade6-ba7471c59082"},{"name":"Paginate Visitor List (/api/v1/visitor?per_page={pagination})","id":"9c0cf7dc-f557-499f-ada2-f1b95039fed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDAxMzgsImV4cCI6MTU3MDcwMzczOCwibmJmIjoxNTcwNzAwMTM4LCJqdGkiOiJNSGxscDRqU0tTcjlYaTFJIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.KqjALNTRE2svoiYFAmNBGpn88H2yavrz45l2JlwjpeM"}],"body":{"mode":"raw","raw":""},"url":"http://52.40.191.249/api/v1/visitor?per_page=3","description":"<p>This API returns a paginated result of visitors</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","name":"Visitor","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","visitor"],"host":["52","40","191","249"],"query":[{"key":"per_page","value":"3"}],"variable":[]}},"response":[{"id":"021a70fb-318a-4ae9-8154-be6254d51e23","name":"Paginate Visitor List","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDAxMzgsImV4cCI6MTU3MDcwMzczOCwibmJmIjoxNTcwNzAwMTM4LCJqdGkiOiJNSGxscDRqU0tTcjlYaTFJIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.KqjALNTRE2svoiYFAmNBGpn88H2yavrz45l2JlwjpeM"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"http://127.0.0.1:8000/api/v1/visitor?per_page=3","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","visitor"],"query":[{"key":"per_page","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"data\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"id\": 2,\n                \"name\": \"Bishop Isong\",\n                \"arrival_date\": \"2019-10-01\",\n                \"car_plate_no\": \"ABU-300-ZT\",\n                \"purpose\": \"Dignissimos est aperiam non.\",\n                \"image\": \"no_image.jpg\",\n                \"status\": \"1\",\n                \"time_in\": \"2019-10-11 13:41:47\",\n                \"time_out\": null,\n                \"user_id\": 10,\n                \"home_id\": 7\n            },\n            {\n                \"id\": 3,\n                \"name\": \"Augustine Zechariah Thirdname\",\n                \"arrival_date\": \"2019-12-01\",\n                \"car_plate_no\": \"ABK-300-TU\",\n                \"purpose\": \"Dignissimos est aperiam non.\",\n                \"image\": \"no_image.jpg\",\n                \"status\": \"1\",\n                \"time_in\": \"2019-10-11 13:42:30\",\n                \"time_out\": null,\n                \"user_id\": 10,\n                \"home_id\": 7\n            },\n            {\n                \"id\": 4,\n                \"name\": \"OneNameIsAlsoAccepted\",\n                \"arrival_date\": \"2020-12-01\",\n                \"car_plate_no\": \"LSK-340-DK\",\n                \"purpose\": \"Dignissimos est aperiam non.\",\n                \"image\": \"no_image.jpg\",\n                \"status\": \"1\",\n                \"time_in\": \"2019-10-11 13:43:17\",\n                \"time_out\": null,\n                \"user_id\": 10,\n                \"home_id\": 7\n            }\n        ],\n        \"first_page_url\": \"http://127.0.0.1:8000/api/v1/visitor?page=1\",\n        \"from\": 1,\n        \"last_page\": 2,\n        \"last_page_url\": \"http://127.0.0.1:8000/api/v1/visitor?page=2\",\n        \"next_page_url\": \"http://127.0.0.1:8000/api/v1/visitor?page=2\",\n        \"path\": \"http://127.0.0.1:8000/api/v1/visitor\",\n        \"per_page\": \"3\",\n        \"prev_page_url\": null,\n        \"to\": 3,\n        \"total\": 4\n    },\n    \"status\": true\n}"}],"_postman_id":"9c0cf7dc-f557-499f-ada2-f1b95039fed3"},{"name":"Return a visitor (http://127.0.0.1:8000/api/v1/visitor/{id)","id":"ca40b914-cb4d-4e22-9b91-0759fdb39cce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDAxMzgsImV4cCI6MTU3MDcwMzczOCwibmJmIjoxNTcwNzAwMTM4LCJqdGkiOiJNSGxscDRqU0tTcjlYaTFJIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.KqjALNTRE2svoiYFAmNBGpn88H2yavrz45l2JlwjpeM"}],"body":{"mode":"raw","raw":""},"url":"http://52.40.191.249/api/v1/visitor/3","description":"<p>This API return a single queried visitor</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","name":"Visitor","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","visitor","3"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"31c74147-8a7d-41d4-bc9b-becd46ea2a87","name":"Get a single registered visitor's details","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDAxMzgsImV4cCI6MTU3MDcwMzczOCwibmJmIjoxNTcwNzAwMTM4LCJqdGkiOiJNSGxscDRqU0tTcjlYaTFJIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.KqjALNTRE2svoiYFAmNBGpn88H2yavrz45l2JlwjpeM"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/visitor/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"error\": false,\r\n    \"visitor\": {\r\n        \"id\": 3,\r\n        \"name\": \"Augustine Zechariah Thirdname\",\r\n        \"arrival_date\": \"2019-12-01\",\r\n        \"car_plate_no\": \"ABK-300-TU\",\r\n        \"purpose\": \"Dignissimos est aperiam non.\",\r\n        \"image\": \"no_image.jpg\",\r\n        \"status\": \"1\",\r\n        \"time_in\": \"2019-10-11 13:42:30\",\r\n        \"time_out\": null,\r\n        \"user_id\": 10,\r\n        \"home_id\": 7\r\n    },\r\n    \"status\": true\r\n}"}],"_postman_id":"ca40b914-cb4d-4e22-9b91-0759fdb39cce"},{"name":"Delete a visitor (api/v1/visitor/{id})","id":"ca4c83f7-e424-4a1f-a759-8306683691f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDAxMzgsImV4cCI6MTU3MDcwMzczOCwibmJmIjoxNTcwNzAwMTM4LCJqdGkiOiJNSGxscDRqU0tTcjlYaTFJIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.KqjALNTRE2svoiYFAmNBGpn88H2yavrz45l2JlwjpeM","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://52.40.191.249/api/v1/visitor/1","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","name":"Visitor","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","visitor","1"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"21c32125-c7a3-4961-9a2b-171c23b610e6","name":"Delete a single visitor","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3MDAxMzgsImV4cCI6MTU3MDcwMzczOCwibmJmIjoxNTcwNzAwMTM4LCJqdGkiOiJNSGxscDRqU0tTcjlYaTFJIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.KqjALNTRE2svoiYFAmNBGpn88H2yavrz45l2JlwjpeM","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://52.200.161.52/api/v1/visitor/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": false,\n    \"status\": true,\n    \"message\": \"Visitor information has been deleted successfully\"\n}"}],"_postman_id":"ca4c83f7-e424-4a1f-a759-8306683691f4"},{"name":"Get signed in user visitors (/api/v1/visitors)","id":"18a1db54-533e-4bcb-84ab-392701a2c1e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NzEwNjksImV4cCI6MTU3ODgyODY2OSwibmJmIjoxNTcxNTcxMDY5LCJqdGkiOiJUU0VpM1poMlRRbWo0R3BPIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.xbWkPC5Y1KuLMOk2YEIPjHLQmmNlyp60URuebP4ETHQ","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://52.40.191.249/api/v1/visitor","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","name":"Visitor","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","visitor"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"291c7fe6-51be-48aa-933d-d0397239c8fb","name":"Get signed in user visitors (/api/v1/visitors)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NzEwNjksImV4cCI6MTU3ODgyODY2OSwibmJmIjoxNTcxNTcxMDY5LCJqdGkiOiJUU0VpM1poMlRRbWo0R3BPIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.xbWkPC5Y1KuLMOk2YEIPjHLQmmNlyp60URuebP4ETHQ","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://gateappapi.herokuapp.com/api/v1/visitor"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sun, 20 Oct 2019 13:25:25 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"visitors\": 18,\n    \"visitor\": [\n        {\n            \"id\": 1,\n            \"name\": \"Andikan Gabriel\",\n            \"arrival_date\": \"2019-10-24\",\n            \"car_plate_no\": \"ABU-200-AJ\",\n            \"phone_no\": \"\",\n            \"purpose\": \"Chat up with Okechukwu\",\n            \"image\": \"noimage.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"\",\n            \"visiting_period\": \"\",\n            \"description\": \"\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Joe Doe\",\n            \"arrival_date\": \"2019-10-30\",\n            \"car_plate_no\": \"\",\n            \"phone_no\": \"\",\n            \"purpose\": \"Business discuss\",\n            \"image\": \"noimage.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"\",\n            \"visiting_period\": \"\",\n            \"description\": \"\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Andikan Gabriel\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-MBU\",\n            \"phone_no\": \"\",\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"noimage.jpg\",\n            \"status\": 0,\n            \"time_in\": \"2019-10-17 22:25:53\",\n            \"time_out\": \"2019-10-17 22:43:31\",\n            \"user_id\": 33,\n            \"qr_code\": \"fZLL75\",\n            \"visiting_period\": \"\",\n            \"description\": \"\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Andikan Gabriel\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-MBU\",\n            \"phone_no\": \"\",\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"noimage.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"BU6QkY\",\n            \"visiting_period\": \"\",\n            \"description\": \"\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Andikan Gabriel\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-MBU\",\n            \"phone_no\": \"\",\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"noimage.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"u9M7Hw\",\n            \"visiting_period\": \"\",\n            \"description\": \"\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 9,\n            \"name\": \"Andikan Gabriel\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-MBU\",\n            \"phone_no\": \"\",\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"noimage.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"KwJ9PS\",\n            \"visiting_period\": \"\",\n            \"description\": \"\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 10,\n            \"name\": \"Andikan Gabriel\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-MBU\",\n            \"phone_no\": \"\",\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"noimage.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"3WGeVG\",\n            \"visiting_period\": \"\",\n            \"description\": \"\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        {\n            \"id\": 17,\n            \"name\": \"Okechukwu Oni\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-UYJ\",\n            \"phone_no\": null,\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"udvsafwhhewmqe5zw4py.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"zQxNMJ\",\n            \"visiting_period\": \"Afetrnoon\",\n            \"description\": null,\n            \"created_at\": \"2019-10-20 07:48:41\",\n            \"updated_at\": \"2019-10-20 07:48:41\"\n        },\n        {\n            \"id\": 18,\n            \"name\": \"Okechukwu Oni\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-UYJ\",\n            \"phone_no\": null,\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"l7sajzdo4o4cjuk1itto.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"GveK1X\",\n            \"visiting_period\": \"Afetrnoon\",\n            \"description\": null,\n            \"created_at\": \"2019-10-20 07:49:41\",\n            \"updated_at\": \"2019-10-20 07:49:41\"\n        },\n        {\n            \"id\": 19,\n            \"name\": \"Okechukwu Oni\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-UYJ\",\n            \"phone_no\": null,\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"ck39ylkvuov4hbovmbbs.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"MXFPsR\",\n            \"visiting_period\": \"Afetrnoon\",\n            \"description\": \"he is tall fair hansome and he is a ladies man, ask him about nkechi\",\n            \"created_at\": \"2019-10-20 07:51:54\",\n            \"updated_at\": \"2019-10-20 07:51:54\"\n        },\n        {\n            \"id\": 25,\n            \"name\": \"Okechukwu Oni\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-UYJ\",\n            \"phone_no\": null,\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"tuy0kqhg7qnqmz9eill3.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"5fMVri\",\n            \"visiting_period\": \"Afetrnoon\",\n            \"description\": null,\n            \"created_at\": \"2019-10-20 11:32:16\",\n            \"updated_at\": \"2019-10-20 11:32:16\"\n        },\n        {\n            \"id\": 26,\n            \"name\": \"Okechukwu Oni\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-UYJ\",\n            \"phone_no\": null,\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"a1ujy3gb75vboydpxnmn.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"2oqlbY\",\n            \"visiting_period\": \"Afetrnoon\",\n            \"description\": null,\n            \"created_at\": \"2019-10-20 11:32:57\",\n            \"updated_at\": \"2019-10-20 11:32:57\"\n        },\n        {\n            \"id\": 27,\n            \"name\": \"Okechukwu Oni\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-UYJ\",\n            \"phone_no\": null,\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"lws86mj13b4xeqbpdxaz.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"DQDNNO\",\n            \"visiting_period\": \"Afetrnoon\",\n            \"description\": null,\n            \"created_at\": \"2019-10-20 11:41:59\",\n            \"updated_at\": \"2019-10-20 11:41:59\"\n        },\n        {\n            \"id\": 28,\n            \"name\": \"Okechukwu Oni\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-UYJ\",\n            \"phone_no\": null,\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"fhqmspsmzjtsgfxxsdnu.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"0ahOj6\",\n            \"visiting_period\": \"Afetrnoon\",\n            \"description\": null,\n            \"created_at\": \"2019-10-20 11:42:22\",\n            \"updated_at\": \"2019-10-20 11:42:22\"\n        },\n        {\n            \"id\": 29,\n            \"name\": \"Okechukwu Oni\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-UYJ\",\n            \"phone_no\": null,\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"lsiyxuyvuqzbh6zceopc.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"PGwuFa\",\n            \"visiting_period\": \"Afetrnoon\",\n            \"description\": null,\n            \"created_at\": \"2019-10-20 11:45:25\",\n            \"updated_at\": \"2019-10-20 11:45:25\"\n        },\n        {\n            \"id\": 30,\n            \"name\": \"Okechukwu Oni\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-UYJ\",\n            \"phone_no\": null,\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"i77ljqw6urcf0vhicqwy.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"7ae9SW\",\n            \"visiting_period\": \"Afetrnoon\",\n            \"description\": \"He is a tall dark man with long bears\",\n            \"created_at\": \"2019-10-20 11:56:09\",\n            \"updated_at\": \"2019-10-20 11:56:09\"\n        },\n        {\n            \"id\": 31,\n            \"name\": \"Okechukwu Oni\",\n            \"arrival_date\": \"1990-08-26\",\n            \"car_plate_no\": \"ZF-220-UYJ\",\n            \"phone_no\": \"\",\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"ap1a0srl0sehub7mf7wb.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"3Xi6sm\",\n            \"visiting_period\": \"Afetrnoon\",\n            \"description\": \"He is a tall dark man with long bears\",\n            \"created_at\": \"2019-10-20 12:33:36\",\n            \"updated_at\": \"2019-10-20 12:33:36\"\n        },\n        {\n            \"id\": 32,\n            \"name\": \"Okechukwu Obi\",\n            \"arrival_date\": \"2019-08-29\",\n            \"car_plate_no\": \"ZF-220-UTU\",\n            \"phone_no\": \"\",\n            \"purpose\": \"Dignissimos est aperiam non.\",\n            \"image\": \"tger95gfxz9hpjmevlz6.jpg\",\n            \"status\": 0,\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": \"9FBMgN\",\n            \"visiting_period\": \"Evening\",\n            \"description\": \"He is a tall dark man with long bears\",\n            \"created_at\": \"2019-10-20 12:38:32\",\n            \"updated_at\": \"2019-10-20 12:40:51\"\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"18a1db54-533e-4bcb-84ab-392701a2c1e8"},{"name":"Edit Visitor (/api/v1/visitor/edit/{visitor_id})","id":"61a9053e-e59d-48a7-9f43-7f3be445b473","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NzEwNjksImV4cCI6MTU3ODgyODY2OSwibmJmIjoxNTcxNTcxMDY5LCJqdGkiOiJUU0VpM1poMlRRbWo0R3BPIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.xbWkPC5Y1KuLMOk2YEIPjHLQmmNlyp60URuebP4ETHQ","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Okechukwu Oni","type":"text"},{"key":"arrival_date","value":"1990-08-26","type":"text"},{"key":"car_plate_no","value":"ZF-220-UYJ","type":"text"},{"key":"purpose","value":"Dignissimos est aperiam non.","type":"text"},{"key":"visiting_period","type":"text","value":"Afetrnoon"},{"key":"description","value":"He is a tall dark man with long bears","type":"text"},{"key":"image","type":"file","src":"/C:/Users/HP/Documents/junicodefireProjects/Web Dev/juniCodefire/assets/img/category_img9.jpg"}]},"url":"http://52.40.191.249/api/v1/visitor/edit/43","description":"<p>this route use formdata due to the presence of image</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","name":"Visitor","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","visitor","edit","43"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"b75148f8-ddb3-4a66-8d0d-3e5ac165e6a6","name":"Edit Visitor (/api/v1/visitor/edit/{visitor_id})","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NzEwNjksImV4cCI6MTU3ODgyODY2OSwibmJmIjoxNTcxNTcxMDY5LCJqdGkiOiJUU0VpM1poMlRRbWo0R3BPIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.xbWkPC5Y1KuLMOk2YEIPjHLQmmNlyp60URuebP4ETHQ","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Okechukwu Obi","type":"text"},{"key":"arrival_date","value":"2019-08-29","type":"text"},{"key":"car_plate_no","value":"ZF-220-UTU","type":"text"},{"key":"purpose","value":"Dignissimos est aperiam non.","type":"text"},{"key":"visiting_period","type":"text","value":"Evening"},{"key":"description","value":"He is a tall dark man with long bears","type":"text"},{"key":"image","type":"file","src":"/C:/Users/HP/Documents/junicodefireProjects/Web Dev/juniCodefire/assets/img/category_img9.jpg"}]},"url":"http://127.0.0.1:8000/api/v1/visitor/edit/32"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 20 Oct 2019 12:40:52 GMT"},{"key":"Date","value":"Sun, 20 Oct 2019 12:40:52 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Visitor's data has been updated successfully!\",\n    \"visitor\": {\n        \"id\": 32,\n        \"name\": \"Okechukwu Obi\",\n        \"arrival_date\": \"2019-08-29\",\n        \"car_plate_no\": \"ZF-220-UTU\",\n        \"phone_no\": \"\",\n        \"purpose\": \"Dignissimos est aperiam non.\",\n        \"image\": \"tger95gfxz9hpjmevlz6.jpg\",\n        \"status\": 0,\n        \"time_in\": null,\n        \"time_out\": null,\n        \"user_id\": 33,\n        \"qr_code\": \"9FBMgN\",\n        \"visiting_period\": \"Evening\",\n        \"description\": \"He is a tall dark man with long bears\",\n        \"created_at\": \"2019-10-20 12:38:32\",\n        \"updated_at\": \"2019-10-20 12:40:51\"\n    },\n    \"image_info\": {\n        \"message\": \"Upload Successful!\",\n        \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n        \"image_round_format\": \"w_200,c_fill,ar_1:1,g_auto,r_max/\",\n        \"image_square_format\": \"w_200,ar_1:1,c_fill,g_auto/\",\n        \"image_example_link\": \"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/tger95gfxz9hpjmevlz6.jpg\",\n        \"image\": \"tger95gfxz9hpjmevlz6.jpg\",\n        \"status_code\": 200\n    }\n}"}],"_postman_id":"61a9053e-e59d-48a7-9f43-7f3be445b473"},{"name":"Add Visitor (/api/v1/visitor)","id":"c07bd27e-118a-4649-b183-f49f7a76c19c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NzEwNjksImV4cCI6MTU3ODgyODY2OSwibmJmIjoxNTcxNTcxMDY5LCJqdGkiOiJUU0VpM1poMlRRbWo0R3BPIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.xbWkPC5Y1KuLMOk2YEIPjHLQmmNlyp60URuebP4ETHQ","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Okechukwu Oni","type":"text"},{"key":"arrival_date","value":"1990-08-26","type":"text"},{"key":"car_plate_no","value":"ZF-220-UYJ","type":"text"},{"key":"purpose","value":"Dignissimos est aperiam non.","type":"text"},{"key":"visiting_period","type":"text","value":"Afetrnoon"},{"key":"description","value":"He is a tall dark man with long bears","type":"text"},{"key":"image","type":"file","src":"/C:/Users/HP/Documents/junicodefireProjects/Web Dev/juniCodefire/assets/img/category_img9.jpg"}]},"url":"http://52.40.191.249/api/v1/visitor","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","name":"Visitor","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","visitor"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"7da22af2-b2e3-4c68-b521-aeef85e29b78","name":"Add Visitor (/api/v1/visitor)","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NzEwNjksImV4cCI6MTU3ODgyODY2OSwibmJmIjoxNTcxNTcxMDY5LCJqdGkiOiJUU0VpM1poMlRRbWo0R3BPIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.xbWkPC5Y1KuLMOk2YEIPjHLQmmNlyp60URuebP4ETHQ","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Okechukwu Oni","type":"text"},{"key":"arrival_date","value":"1990-08-26","type":"text"},{"key":"car_plate_no","value":"ZF-220-UYJ","type":"text"},{"key":"purpose","value":"Dignissimos est aperiam non.","type":"text"},{"key":"visiting_period","type":"text","value":"Afetrnoon"},{"key":"description","value":"He is a tall dark man with long bears","type":"text"},{"key":"image","type":"file","src":"/C:/Users/HP/Documents/junicodefireProjects/Web Dev/juniCodefire/assets/img/category_img9.jpg"}]},"url":"http://127.0.0.1:8000/api/v1/visitor"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 20 Oct 2019 12:38:33 GMT"},{"key":"Date","value":"Sun, 20 Oct 2019 12:38:33 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"image_info\": {\n        \"message\": \"Upload Successful!\",\n        \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n        \"image_round_format\": \"w_200,c_fill,ar_1:1,g_auto,r_max/\",\n        \"image_square_format\": \"w_200,ar_1:1,c_fill,g_auto/\",\n        \"image_example_link\": \"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/bhtghqwqnrvksastgszw.jpg\",\n        \"image\": \"bhtghqwqnrvksastgszw.jpg\",\n        \"status_code\": 200\n    },\n    \"message\": \"Visitor successfully added\",\n    \"visitor\": {\n        \"name\": \"Okechukwu Oni\",\n        \"arrival_date\": \"1990-08-26\",\n        \"car_plate_no\": \"ZF-220-UYJ\",\n        \"phone_no\": \"\",\n        \"purpose\": \"Dignissimos est aperiam non.\",\n        \"status\": 0,\n        \"user_id\": 33,\n        \"visiting_period\": \"Afetrnoon\",\n        \"description\": \"He is a tall dark man with long bears\",\n        \"qr_code\": \"9FBMgN\",\n        \"image\": \"bhtghqwqnrvksastgszw.jpg\",\n        \"updated_at\": \"2019-10-20 12:38:32\",\n        \"created_at\": \"2019-10-20 12:38:32\",\n        \"id\": 32\n    },\n    \"qr_image_src\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB1UlEQVR4nO2bwYrDMAwF29D//+TQmy8Bo5EUOy0z52S7DHpYVuz3eZ4viXHs/gd+CWUBlAVQFkBZAGUBlAVQFkBZAGUBlAVQFkBZAGUBlAVQFkBZgE/uteMoWR7j2evfuU5uxzOTt3K/TrGyAMoCJGM4QCU9CV0uWcVfp1hZAGUBqjEcTIp8EpbJStcVscYPo1YWQFmAthh2UczjrVhZAGUBnhLDyCZxO1YWQFmAthjmUtOVtTWZtbIAygJUY1ice0T2hpPutD51QVhZAGUB3g/p/WxK/w1lAW78boi+AEa+XOSWxcaZj5UFUBagf0QTSd+VYvoiKa4vr1YWQFmA/qYUpSbyevsG0NVwBcoCtDWlkUYxEsxIRlCKG7GyAMoCtK2GuVWs64BNceIaxMoCKAuweVKKBqTFnta94VKUBUjGsP2OQ7HLjazFxnApygJsvmFRfPj6DIoqxcoCKAuw+YZFhNzhmTsGrVYWQFmAzUe7u/aGaFlMY2UBlAV4yg2LQS4+t24JB1YWQFmAzTcsInQdlXFvuBRlATbfsMiRO4BqU7oUZQGecsPiJ7CyAMoCKAugLICyAMoCKAugLICyAMoCKAugLICyAMoCKAugLICyAMoCfAHe5fysbKHYpQAAAABJRU5ErkJggg==\"\n}"}],"_postman_id":"c07bd27e-118a-4649-b183-f49f7a76c19c"}],"id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"77c5ed1a-3cd3-4ced-a96e-42f48565ec5f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"07379806-f8c3-4ead-a277-1f77859382e5","type":"text/javascript","exec":[""]}}],"_postman_id":"5a955a16-094a-4cb6-bb9d-c8fd19c223d7","description":""},{"name":"Estates ","item":[{"name":"Admin","item":[{"name":"Delete an Estate /api/v1/delete/{id} ---admin","id":"09d664ae-2441-401a-a98a-97194c5e9135","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC81Mi4yMDAuMTYxLjUyXC9hcGlcL3YxXC9sb2dpbiIsImlhdCI6MTU3MDk4ODI0MCwiZXhwIjoxNTcxMDc0NjQwLCJuYmYiOjE1NzA5ODgyNDAsImp0aSI6Im1CODJES0VLcEV0QWc1b1IiLCJzdWIiOjM4LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.u_uKgOSqyVFqmRNIsafxB93pM8z9JacmBcTyOtIwshk"},{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"estate_name\": \"Riverside\",\n    \"city\": \"Abuja\",\n    \"country\": \"Nigeria\"\n}"},"url":"http://52.40.191.249/api/v1/estate/delete/9","description":"<p>Delete Estate, as an admin user. Requires an admin user authorization code</p>\n","urlObject":{"protocol":"http","path":["api","v1","estate","delete","9"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"4f62aae8-14fe-49c6-944f-dd5cfb7069e7","name":"Delete an Estate http://52.200.161.52/api/v1/delete/{id}","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3OTM3NjksImV4cCI6MTU3MDc5NzM2OSwibmJmIjoxNTcwNzkzNzY5LCJqdGkiOiJZUk1wQlFoc1lYMFl4cHZCIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.6CSrzNBrrIhz1Lbk9qvlJ7X-63LbgWoTjn5pUiyKRIU"},{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"estate_name\": \"Riverside\",\n    \"city\": \"Abuja\",\n    \"country\": \"Nigeria\"\n}"},"url":"http://52.200.161.52/api/v1/estate/delete/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 11 Oct 2019 11:43:42 GMT"},{"key":"Date","value":"Fri, 11 Oct 2019 11:43:42 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Estate deleted\"\n}"}],"_postman_id":"09d664ae-2441-401a-a98a-97194c5e9135"},{"name":"Estate Update /api/v1/estate/{estate_id}","id":"2b63a43d-d76e-4fe5-b5de-32710cf22cf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEzNDgwMzksImV4cCI6MTU3MjU1NzYzOSwibmJmIjoxNTcxMzQ4MDM5LCJqdGkiOiJzZU1LNzJkNkRUOFpYUm5tIiwic3ViIjo1NiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.eTNTIme24U5rIKzmADzAVsB7DYlyj9ohJgbb8Kkm2dc","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"estate_name\": \"Picher charm\",\n    \"city\": \"Ogun\",\n    \"country\": \"Nigeria\",\n    \"address\": \"Plot 5 Oluwa Street\"\n}"},"url":"http://52.40.191.249/api/v1/estate/edit/4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"c20dd6a3-88e2-4b3d-b1e9-4c40f63458a3","id":"c20dd6a3-88e2-4b3d-b1e9-4c40f63458a3","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","estate","edit","4"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"2ee13c1c-879b-4d7b-914a-6a12d92e4558","name":"Estate Update /api/v1/estate/{estate_id}","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEzNDgwMzksImV4cCI6MTU3MjU1NzYzOSwibmJmIjoxNTcxMzQ4MDM5LCJqdGkiOiJzZU1LNzJkNkRUOFpYUm5tIiwic3ViIjo1NiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.eTNTIme24U5rIKzmADzAVsB7DYlyj9ohJgbb8Kkm2dc","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"estate_name\": \"Picher charm\",\n    \"city\": \"Ogun\",\n    \"country\": \"Nigeria\",\n    \"address\": \"Plot 5 Oluwa Street\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/estate/edit/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 17 Oct 2019 21:42:27 GMT"},{"key":"Date","value":"Thu, 17 Oct 2019 21:42:27 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"message\": \"Estate updated succesfully!\",\n    \"estate\": {\n        \"id\": 4,\n        \"estate_name\": \"Picher charm\",\n        \"city\": \"Ogun\",\n        \"country\": \"Nigeria\",\n        \"address\": \"Plot 5 Oluwa Street\",\n        \"created_at\": \"2019-10-17 20:38:09\",\n        \"updated_at\": \"2019-10-17 21:42:26\"\n    }\n}"}],"_postman_id":"2b63a43d-d76e-4fe5-b5de-32710cf22cf9"}],"id":"c20dd6a3-88e2-4b3d-b1e9-4c40f63458a3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"30fc1772-ffe9-4ba2-b78f-07cc3d54e772","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"acbfd702-b9ac-48e2-8bea-c9016937f503","type":"text/javascript","exec":[""]}}],"_postman_id":"c20dd6a3-88e2-4b3d-b1e9-4c40f63458a3","description":""},{"name":"POST (Create) an Estate (/api/v1/estate)","id":"38634ff8-209b-4783-93c0-cd33f8e056b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3OTAwNDQsImV4cCI6MTU3MDc5MzY0NCwibmJmIjoxNTcwNzkwMDQ0LCJqdGkiOiJQc05XYk11c3NQQURKazFXIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.GyXVVYkGkmLWVbh7y3k0T3NmjQYkVWpKZwHOPumlDx4"},{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"estate_name\": \"Prince and Princess\",\n\t\"address\": \"Galadimawa Express way\",\n    \"city\": \"Abuja\",\n    \"country\": \"Nigeria\"\n}"},"url":"http://52.40.191.249/api/v1/estate","description":"<p>Create a new estate by entering a valid name, city and country</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","name":"Estates ","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","estate"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"e6f69be9-283b-4acf-b485-06ebe12a4de7","name":"POST (Create) an Estate /api/v1/estate","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3OTg0ODgsImV4cCI6MTU3MDgwMjA4OCwibmJmIjoxNTcwNzk4NDg4LCJqdGkiOiI0Z0tueDdxR3NKUWl6YVpZIiwic3ViIjozOCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.lrxSl3-CIVkdu1gYgdZB8V07J_iImNKhq2fwM_vn3xk"},{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"estate_name\": \"HNG Island\",\n    \"city\": \"Abuja\",\n    \"country\": \"Nigeria\"\n}"},"url":"http://52.200.161.52/api/v1/estate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 11 Oct 2019 12:55:32 GMT"},{"key":"Date","value":"Fri, 11 Oct 2019 12:55:32 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"estate_name\": \"HNG Island\",\n    \"city\": \"Abuja\",\n    \"country\": \"Nigeria\",\n    \"updated_at\": \"2019-10-11 12:55:29\",\n    \"created_at\": \"2019-10-11 12:55:29\",\n    \"id\": 7\n}"},{"id":"f3ae77c6-eb82-4cd5-8579-fd33a174b4eb","name":"POST (Create) an Estate (/api/v1/estate)","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs"},{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"estate_name\": \"Penance Estate\",\n\t\"address\": \"Barick Express way\",\n    \"city\": \"Port Harcourt\",\n    \"country\": \"Nigeria\"\n}"},"url":"http://127.0.0.1:8000/api/v1/estate"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Tue, 22 Oct 2019 11:55:07 GMT"},{"key":"Date","value":"Tue, 22 Oct 2019 11:55:07 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 201,\n    \"message\": \"Estate created succesfully!\",\n    \"estate\": {\n        \"estate_name\": \"Penance Estate\",\n        \"city\": \"Port Harcourt\",\n        \"country\": \"Nigeria\",\n        \"address\": \"Barick Express way\",\n        \"updated_at\": \"2019-10-22 11:55:06\",\n        \"created_at\": \"2019-10-22 11:55:06\",\n        \"id\": 6\n    }\n}"}],"_postman_id":"38634ff8-209b-4783-93c0-cd33f8e056b2"},{"name":"Selecting Estate /api/v1/estate/choose/{estate_id}","id":"6de5b63a-7aec-44b9-9e2e-7a87e2ca32c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"house_block\": \"No 5 parki street\"\n}"},"url":"http://127.0.0.1:8000/api/v1/estate/choose/3","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","name":"Estates ","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","estate","choose","3"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"c2bc7a04-be2d-44be-801d-db4ec021d1b0","name":"Selecting Estate /api/v1/estate/choose/{estate_id}","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"house_block\": \"No 5 parki street\"\n}"},"url":"https://gateappapi.herokuapp.com/api/v1/estate/choose/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 23 Oct 2019 12:43:29 GMT"},{"key":"Server","value":"Apache"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Ratelimit-Limit","value":"60"},{"key":"X-Ratelimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"},{"key":"Vary","value":"Authorization"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Your estate has been updated succesfully!\",\n    \"status\": true,\n    \"user_details\": {\n        \"id\": 7,\n        \"user_id\": 33,\n        \"estate_id\": \"3\",\n        \"house_block\": \"No 5 parki street\",\n        \"created_at\": \"2019-10-22 10:59:42\",\n        \"updated_at\": \"2019-10-23 11:40:17\",\n        \"estate\": {\n            \"id\": 3,\n            \"estate_name\": \"Harmony Estate\",\n            \"address\": \"Plot 32 backy evironment\",\n            \"city\": \"Port Hacourt\",\n            \"country\": \"Nigeria \",\n            \"created_at\": \"2019-10-17 06:25:06\",\n            \"updated_at\": \"2019-10-17 06:25:06\"\n        },\n        \"user\": {\n            \"id\": 33,\n            \"name\": \"Dave Tweet\",\n            \"username\": \"juncodefire\",\n            \"phone\": \"07060959269\",\n            \"email\": \"junipreach2017@gmail.com\",\n            \"image\": \"noimage.jpg\",\n            \"user_type\": \"resident\",\n            \"device_id\": \"dd9ffe53986fb3f2\",\n            \"created_at\": \"2019-10-16 10:00:27\",\n            \"updated_at\": \"2019-10-23 05:53:18\"\n        }\n    }\n}"}],"_postman_id":"6de5b63a-7aec-44b9-9e2e-7a87e2ca32c2"},{"name":"GET all Estates /api/v1/estates","id":"45922bff-1656-4229-9c5f-abdcebb589ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/estates","description":"<p>Display all Estates in the Database with thier cities and Country values </p>\n<p><em>Possible status</em> \n#200 Ok successful\n#404 Error with your input </p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","name":"Estates ","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","estates"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"63be13d8-7185-4455-9fa0-7ca6546a218a","name":"GET http://52.200.161.52/api/v1/estates","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3OTAwNDQsImV4cCI6MTU3MDc5MzY0NCwibmJmIjoxNTcwNzkwMDQ0LCJqdGkiOiJQc05XYk11c3NQQURKazFXIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.GyXVVYkGkmLWVbh7y3k0T3NmjQYkVWpKZwHOPumlDx4","type":"text"}],"url":"http://52.200.161.52/api/v1/estates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 11 Oct 2019 10:56:21 GMT"},{"key":"Date","value":"Fri, 11 Oct 2019 10:56:21 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"All Estates\",\n    \"Estates\": [\n        {\n            \"estate_name\": \"Peace Viila\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\"\n        },\n        {\n            \"estate_name\": \"Banana Estate\",\n            \"city\": \"Lagos\",\n            \"country\": \"NIgeria\"\n        },\n        {\n            \"estate_name\": \"Tema Island\",\n            \"city\": \"Accra\",\n            \"country\": \"Ghana\"\n        },\n        {\n            \"estate_name\": \"Lokogoma\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\"\n        }\n    ]\n}"}],"_postman_id":"45922bff-1656-4229-9c5f-abdcebb589ec"},{"name":"GET Estates by City /api/v1/estate/bycity/abuja","id":"d6b8cd90-2431-4fd4-8302-d4da64f872a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/estate/city/abuja","description":"<p>To search for  Estates by City replace example city:\"Abuja\" with \"your_city\"</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","name":"Estates ","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","estate","city","abuja"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"5204fdf3-99cd-4f31-b7e6-01a5bb9305fa","name":"GET Estates by City /api/v1/estate/bycity/abuja","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/estate/city/abuja"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Tue, 22 Oct 2019 11:41:39 GMT"},{"key":"Date","value":"Tue, 22 Oct 2019 11:41:39 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Found (By City)\",\n    \"estate\": [\n        {\n            \"id\": 1,\n            \"estate_name\": \"Prince and Princess\",\n            \"address\": \"Plot 42 Kanny Avenue\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\",\n            \"created_at\": \"2019-10-16 20:06:05\",\n            \"updated_at\": \"2019-10-16 20:06:05\"\n        },\n        {\n            \"id\": 2,\n            \"estate_name\": \"SunnyVille\",\n            \"address\": \"Plot 32 backy evironment\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\",\n            \"created_at\": \"2019-10-17 06:25:06\",\n            \"updated_at\": \"2019-10-17 06:25:06\"\n        }\n    ]\n}"},{"id":"fd6edbe0-8750-4dd4-aafc-09ea98d944dc","name":"Estates in a City http://127.0.0.1:8000/api/v1/estate/bycity/abuja","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3OTAwNDQsImV4cCI6MTU3MDc5MzY0NCwibmJmIjoxNTcwNzkwMDQ0LCJqdGkiOiJQc05XYk11c3NQQURKazFXIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.GyXVVYkGkmLWVbh7y3k0T3NmjQYkVWpKZwHOPumlDx4","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/estate/city/abuja"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 11 Oct 2019 11:17:36 GMT"},{"key":"Date","value":"Fri, 11 Oct 2019 11:17:36 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"estate_name\": \"Peace Viila\",\n        \"city\": \"Abuja\",\n        \"country\": \"Nigeria\"\n    },\n    {\n        \"estate_name\": \"Lokogoma\",\n        \"city\": \"Abuja\",\n        \"country\": \"Nigeria\"\n    }\n]"}],"_postman_id":"d6b8cd90-2431-4fd4-8302-d4da64f872a0"},{"name":"GET Estates by Country  /api/v1/estate/country/{Nigeria}","id":"4592d45b-12b9-43fa-9648-bcfd8689c66c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs"},{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"http://127.0.0.1:8000/api/v1/estate/country/Nigeria","description":"<p>Request fetches all estates in a country, replace sample country \"Nigeria\" with \"Your_country\"</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","name":"Estates ","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","estate","country","Nigeria"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"4e2769e6-61ad-4162-b3d9-5a3482ac5df2","name":"GET Estates by Country  /api/v1/estate/country/{Nigeria}","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs"},{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"http://127.0.0.1:8000/api/v1/estate/country/Nigeria"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Tue, 22 Oct 2019 11:43:03 GMT"},{"key":"Date","value":"Tue, 22 Oct 2019 11:43:03 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Found (By Country)\",\n    \"estate\": [\n        {\n            \"id\": 1,\n            \"estate_name\": \"Prince and Princess\",\n            \"address\": \"Plot 42 Kanny Avenue\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\",\n            \"created_at\": \"2019-10-16 20:06:05\",\n            \"updated_at\": \"2019-10-16 20:06:05\"\n        },\n        {\n            \"id\": 2,\n            \"estate_name\": \"SunnyVille\",\n            \"address\": \"Plot 32 backy evironment\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\",\n            \"created_at\": \"2019-10-17 06:25:06\",\n            \"updated_at\": \"2019-10-17 06:25:06\"\n        },\n        {\n            \"id\": 3,\n            \"estate_name\": \"Harmony Estate\",\n            \"address\": \"Plot 32 backy evironment\",\n            \"city\": \"Port Hacourt\",\n            \"country\": \"Nigeria \",\n            \"created_at\": \"2019-10-17 06:25:06\",\n            \"updated_at\": \"2019-10-17 06:25:06\"\n        }\n    ]\n}"},{"id":"5b5cd756-4b5d-4323-82e6-b5b040dd05ff","name":"GET Estates by Country  http://127.0.0.1:8000/api/v1/estate/country/Nigeria","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3OTAwNDQsImV4cCI6MTU3MDc5MzY0NCwibmJmIjoxNTcwNzkwMDQ0LCJqdGkiOiJQc05XYk11c3NQQURKazFXIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.GyXVVYkGkmLWVbh7y3k0T3NmjQYkVWpKZwHOPumlDx4"},{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"http://127.0.0.1:8000/api/v1/estate/country/Nigeria"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 11 Oct 2019 11:23:07 GMT"},{"key":"Date","value":"Fri, 11 Oct 2019 11:23:07 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"estate_name\": \"Peace Viila\",\n        \"city\": \"Abuja\",\n        \"country\": \"Nigeria\"\n    },\n    {\n        \"estate_name\": \"Banana Estate\",\n        \"city\": \"Lagos\",\n        \"country\": \"NIgeria\"\n    },\n    {\n        \"estate_name\": \"Lokogoma\",\n        \"city\": \"Abuja\",\n        \"country\": \"Nigeria\"\n    }\n]"}],"_postman_id":"4592d45b-12b9-43fa-9648-bcfd8689c66c"},{"name":"GET Estate by id /api/v1/estate/{id}","id":"f6fdf30f-c482-4c37-9970-495bb9eae24c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/estate/2","description":"<p>Display estate by Id</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","name":"Estates ","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","estate","2"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"480b88b9-6ca8-48e8-a04e-52a661316d6c","name":"GET Estate by id /api/v1/estate/{id}","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/estate/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Tue, 22 Oct 2019 11:42:33 GMT"},{"key":"Date","value":"Tue, 22 Oct 2019 11:42:33 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Found (By Name)\",\n    \"estate\": {\n        \"id\": 2,\n        \"estate_name\": \"SunnyVille\",\n        \"address\": \"Plot 32 backy evironment\",\n        \"city\": \"Abuja\",\n        \"country\": \"Nigeria\",\n        \"created_at\": \"2019-10-17 06:25:06\",\n        \"updated_at\": \"2019-10-17 06:25:06\"\n    }\n}"},{"id":"fe7aae25-5cde-4c70-8f3c-d45faa218bda","name":"GET Estate by id http://52.200.161.52/api/v1/estate/id/{id}","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA3OTk1OTEsImV4cCI6MTU3MDgwMzE5MSwibmJmIjoxNTcwNzk5NTkxLCJqdGkiOiJjV3lNUHpkdFRIN3g1OE1FIiwic3ViIjozOCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.dSqji3uNKGYA5wGVo98EFK0pnFDjBENWldPpTC7lRNQ","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://52.200.161.52/api/v1/estate/id/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 11 Oct 2019 14:01:11 GMT"},{"key":"Date","value":"Fri, 11 Oct 2019 14:01:11 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"estate_id\": 2,\n        \"estate_name\": \"Banana Estate\",\n        \"city\": \"Lagos\",\n        \"country\": \"NIgeria\"\n    }\n]"}],"_postman_id":"f6fdf30f-c482-4c37-9970-495bb9eae24c"},{"name":"GET Estate by Name /api/v1/estate/{name}","id":"9c2d05f8-ddea-448e-8978-c39c0e997212","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/estate/name/sunny","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","name":"Estates ","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","estate","name","sunny"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"581a4844-c928-4c9f-b797-34270c323cd7","name":"GET Estate by Name /api/v1/estate/{name}","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/estate/name/sunny"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Tue, 22 Oct 2019 13:04:10 GMT"},{"key":"Date","value":"Tue, 22 Oct 2019 13:04:10 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Found (By Name)\",\n    \"estates\": [\n        {\n            \"id\": 2,\n            \"estate_name\": \"SunnyVille\",\n            \"address\": \"Plot 32 backy evironment\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\",\n            \"created_at\": \"2019-10-17 06:25:06\",\n            \"updated_at\": \"2019-10-17 06:25:06\"\n        }\n    ]\n}"}],"_postman_id":"9c2d05f8-ddea-448e-8978-c39c0e997212"},{"name":"Serach by Estate or City or Country  /api/v1/estate/{name}","id":"b6611dcf-1ff8-4143-854c-f5890956e525","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/estate/search/Abuja","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","name":"Estates ","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","estate","search","Abuja"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"1f91af5e-fb68-4148-a6ae-fe57c77e4c5f","name":"Serach by Estate or City or Country  /api/v1/estate/{name}","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE3NDE5MDQsImV4cCI6MTU3ODk5OTUwNCwibmJmIjoxNTcxNzQxOTA0LCJqdGkiOiJsZE5EblNLcmhXRkIyYVVnIiwic3ViIjozMywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.troKz_Lp4CN7P1ZGbbLmrlMOxYo4RDLcS-BIFZDSxhs","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/estate/search/Abuja"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Tue, 22 Oct 2019 13:25:59 GMT"},{"key":"Date","value":"Tue, 22 Oct 2019 13:25:59 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Found (By Name)\",\n    \"estates\": [\n        {\n            \"id\": 1,\n            \"estate_name\": \"Prince and Princess\",\n            \"address\": \"Plot 42 Kanny Avenue\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\",\n            \"created_at\": \"2019-10-16 20:06:05\",\n            \"updated_at\": \"2019-10-16 20:06:05\"\n        },\n        {\n            \"id\": 2,\n            \"estate_name\": \"SunnyVille\",\n            \"address\": \"Plot 32 backy evironment\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\",\n            \"created_at\": \"2019-10-17 06:25:06\",\n            \"updated_at\": \"2019-10-17 06:25:06\"\n        },\n        {\n            \"id\": 5,\n            \"estate_name\": \"Prince and Princess\",\n            \"address\": \"Galadimawa Express way\",\n            \"city\": \"Abuja\",\n            \"country\": \"Nigeria\",\n            \"created_at\": \"2019-10-22 11:48:51\",\n            \"updated_at\": \"2019-10-22 11:48:51\"\n        }\n    ]\n}"}],"_postman_id":"b6611dcf-1ff8-4143-854c-f5890956e525"}],"id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c","description":"<p>These routes are only accesible by active logged in users and requires an autorization code in the header </p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"7eea295c-a440-483e-b6c9-dc239863b759","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b35c623c-47bf-49a7-9754-b532ee4e6943","type":"text/javascript","exec":[""]}}],"_postman_id":"d3916a61-92d2-42f9-82e4-4e173fc0ad1c"},{"name":"Messages","item":[{"name":"Send message","id":"118c714e-330e-4a3e-a40a-1fa8d1e9b017","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzEzMjg1NTEsImV4cCI6MTU3MjUzODE1MSwibmJmIjoxNTcxMzI4NTUxLCJqdGkiOiJ6aWRQa1ZveGZFWThJUTRVIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.uY7ULUxcVOErGAeDK1k7sC389CW1rz_sUHldsqp5UlM","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"receiver_id","value":"14","description":"<p>The id of the user to send the message to</p>\n","type":"text"},{"key":"message","value":"Hello?","description":"<p>The message itself</p>\n","type":"text"},{"key":"sender_id","value":"10","type":"text"}]},"url":"http://52.40.191.249/api/v1/messages?=","description":"<p>Save a message to another user.</p>\n<p>The current user's <b>authorization token</b> should be passed in the headers.</p>\n","urlObject":{"protocol":"http","path":["api","v1","messages"],"host":["52","40","191","249"],"query":[{"key":"","value":""}],"variable":[]}},"response":[{"id":"99fe707d-c587-4cff-ac8f-5307014b2c76","name":"Send message","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"receiver_id","value":"14","description":"The id of the user to send the message to","type":"text"},{"key":"message","value":"How do you do?","description":"The message itself","type":"text"}]},"url":"http://52.200.161.52/api/v1/messages"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 13 Oct 2019 13:39:41 GMT"},{"key":"Date","value":"Sun, 13 Oct 2019 13:39:41 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Message sent\",\n    \"status\": 201\n}"},{"id":"b940fd84-3f17-409e-9c9e-1bb09689612d","name":"Send message","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"receiver_id","value":"14","description":"The id of the user to send the message to","type":"text"},{"key":"message","value":"How do you do?","description":"The message itself","type":"text"}]},"url":"127.0.0.1:8000/api/v1/messages"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 13 Oct 2019 13:39:41 GMT"},{"key":"Date","value":"Sun, 13 Oct 2019 13:39:41 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Message sent\",\n    \"status\": 201\n}"}],"_postman_id":"118c714e-330e-4a3e-a40a-1fa8d1e9b017"},{"name":"Retrieve conversations","id":"dcfbac3b-a3a1-4f64-aa4f-b48614a71a15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA5NTM0ODksImV4cCI6MTU3MTAzOTg4OSwibmJmIjoxNTcwOTUzNDg5LCJqdGkiOiJpVDAzSTB6bDJqMzF2azFHIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.6GqJWI7ehTNmxN2-JhawffPuqWhdV-_py3aLK1oGoCE","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://52.40.191.249/api/v1/messages/14","description":"<p>Get conversation between currently logged in user and other user.</p>\n<p>Replace <b>14</b> with the other user's id.</p>\n<p>Pass the current user's <b>authorization token</b> in the header</p>\n","urlObject":{"protocol":"http","path":["api","v1","messages","14"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"976252b1-eb52-42d9-a836-ff8cecb488da","name":"127.0.0.1:8000/api/v1/messages/14","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"127.0.0.1:8000/api/v1/messages/14","host":["127","0","0","1"],"port":"8000","path":["api","v1","messages","14"],"query":[{"key":"","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 13 Oct 2019 13:53:28 GMT"},{"key":"Date","value":"Sun, 13 Oct 2019 13:53:28 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"sent\": [\n        {\n            \"message\": \"hello there\",\n            \"read\": 0,\n            \"created_at\": \"2019-10-11 17:36:25\"\n        },\n        {\n            \"message\": \"hello there\",\n            \"read\": 0,\n            \"created_at\": \"2019-10-13 13:35:06\"\n        },\n        {\n            \"message\": \"How do you do\",\n            \"read\": 0,\n            \"created_at\": \"2019-10-13 13:39:41\"\n        }\n    ],\n    \"received\": [],\n    \"message\": \"Retrieved conversation(s)\",\n    \"status\": 200\n}"},{"id":"b0461b66-cd14-4d08-b0a5-d31185f74764","name":"Retrieve conversations","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA5NTM0ODksImV4cCI6MTU3MTAzOTg4OSwibmJmIjoxNTcwOTUzNDg5LCJqdGkiOiJpVDAzSTB6bDJqMzF2azFHIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.6GqJWI7ehTNmxN2-JhawffPuqWhdV-_py3aLK1oGoCE","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://52.200.161.52/api/v1/messages/14"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 13 Oct 2019 13:53:28 GMT"},{"key":"Date","value":"Sun, 13 Oct 2019 13:53:28 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"sent\": [\n        {\n            \"message\": \"hello there\",\n            \"read\": 0,\n            \"created_at\": \"2019-10-11 17:36:25\"\n        },\n        {\n            \"message\": \"hello there\",\n            \"read\": 0,\n            \"created_at\": \"2019-10-13 13:35:06\"\n        },\n        {\n            \"message\": \"How do you do\",\n            \"read\": 0,\n            \"created_at\": \"2019-10-13 13:39:41\"\n        }\n    ],\n    \"received\": [],\n    \"message\": \"Retrieved conversation(s)\",\n    \"status\": 200\n}"}],"_postman_id":"dcfbac3b-a3a1-4f64-aa4f-b48614a71a15"}],"id":"b26e0bc9-0f52-4620-9159-49239b3af2ca","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"6e524751-70a3-4ebc-b918-2da187f0a45c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8754359f-226a-428d-9ea3-531c99a41e01","type":"text/javascript","exec":[""]}}],"_postman_id":"b26e0bc9-0f52-4620-9159-49239b3af2ca","description":""},{"name":"Payment ","item":[{"name":"All Payment Unique User  (/api/v1/payment/user/{user_id})","id":"08426f17-848b-4f32-8f43-e723085aad32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzExMTUxMDgsImV4cCI6MTU3MjMyNDcwOCwibmJmIjoxNTcxMTE1MTA4LCJqdGkiOiJiZU5RVHRUbnNDdERYa1RkIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.4ldfUlvpl1IKTBGFDTpgD8h2B0_S9rweF2a8cv7vcOc","type":"text"}],"url":"http://52.40.191.249/api/v1/payment/user/10","description":"<p>This api routes emmit a user payment the use payment details from the database</p>\n","urlObject":{"protocol":"http","path":["api","v1","payment","user","10"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"dc2fe647-135d-45eb-97cb-8e6692a4feb4","name":"All Payment Unique User  (/api/v1/payment/user/{user_id})","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzExMTUxMDgsImV4cCI6MTU3MjMyNDcwOCwibmJmIjoxNTcxMTE1MTA4LCJqdGkiOiJiZU5RVHRUbnNDdERYa1RkIiwic3ViIjoxMCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.4ldfUlvpl1IKTBGFDTpgD8h2B0_S9rweF2a8cv7vcOc","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/payment/user/10"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Tue, 15 Oct 2019 05:41:01 GMT"},{"key":"Date","value":"Tue, 15 Oct 2019 05:41:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Payment was found\",\n    \"payment\": [\n        {\n            \"id\": 1,\n            \"user_id\": 10,\n            \"home_id\": 1,\n            \"amount\": 3000,\n            \"created_at\": \"2019-10-11 17:16:38\",\n            \"updated_at\": \"2019-10-11 17:16:38\",\n            \"home\": {\n                \"id\": 1,\n                \"user_id\": 10,\n                \"estate_id\": 2,\n                \"house_no\": 23,\n                \"qr_code\": null,\n                \"created_at\": \"2019-10-09 00:00:00\",\n                \"updated_at\": \"2019-10-11 17:08:02\",\n                \"estate\": {\n                    \"id\": 2,\n                    \"estate_name\": \"Banana Estate\",\n                    \"city\": \"Lagos\",\n                    \"country\": \"NIgeria\",\n                    \"created_at\": \"2019-10-10 15:41:57\",\n                    \"updated_at\": \"2019-10-10 15:41:57\"\n                }\n            },\n            \"user\": {\n                \"id\": 10,\n                \"first_name\": \"David\",\n                \"last_name\": \"Resident\",\n                \"email\": \"junipreach2017@gmail.com\",\n                \"phone\": \"07067589834\",\n                \"image\": \"no_image.jpg\",\n                \"created_at\": \"2019-10-10 09:22:06\",\n                \"updated_at\": \"2019-10-15 05:36:32\"\n            }\n        },\n        {\n            \"id\": 3,\n            \"user_id\": 10,\n            \"home_id\": 2,\n            \"amount\": 4500,\n            \"created_at\": \"2019-10-11 18:23:54\",\n            \"updated_at\": \"2019-10-11 18:23:54\",\n            \"home\": {\n                \"id\": 2,\n                \"user_id\": 36,\n                \"estate_id\": 1,\n                \"house_no\": 12,\n                \"qr_code\": \"Bcode\",\n                \"created_at\": \"2019-10-12 17:50:19\",\n                \"updated_at\": \"2019-10-12 17:50:19\",\n                \"estate\": {\n                    \"id\": 1,\n                    \"estate_name\": \"Peace Viila\",\n                    \"city\": \"Abuja\",\n                    \"country\": \"Nigeria\",\n                    \"created_at\": \"2019-10-10 15:41:25\",\n                    \"updated_at\": \"2019-10-10 15:41:25\"\n                }\n            },\n            \"user\": {\n                \"id\": 10,\n                \"first_name\": \"David\",\n                \"last_name\": \"Resident\",\n                \"email\": \"junipreach2017@gmail.com\",\n                \"phone\": \"07067589834\",\n                \"image\": \"no_image.jpg\",\n                \"created_at\": \"2019-10-10 09:22:06\",\n                \"updated_at\": \"2019-10-15 05:36:32\"\n            }\n        }\n    ],\n    \"status\": 200\n}"}],"_postman_id":"08426f17-848b-4f32-8f43-e723085aad32"}],"id":"6612dd18-eaaa-459d-8c1d-4218b1bc6d38","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"f14236d6-2564-4722-b236-368d9842565c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0406f2dd-5dd1-46af-b684-77de5b0c26c7","type":"text/javascript","exec":[""]}}],"_postman_id":"6612dd18-eaaa-459d-8c1d-4218b1bc6d38","description":""},{"name":"Gateman","item":[{"name":"Gateman View all requests made for user","id":"699fa702-8aaf-47ad-842d-f70ac1a1ba7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL3ZlcmlmeSIsImlhdCI6MTU3MTQwODY0NCwiZXhwIjoxNTcyNjE4MjQ0LCJuYmYiOjE1NzE0MDg2NDQsImp0aSI6IlMwcU9raGFMWGZZVERvWnciLCJzdWIiOjkxLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.q0WNHhyjuU4rGnboQh6h_yePYwG75UdEcR-gy17K4AA","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://52.40.191.249/api/v1/gateman/requests?","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","name":"Gateman","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","gateman","requests"],"host":["52","40","191","249"],"query":[{"disabled":true,"key":"per_page","value":"3"}],"variable":[]}},"response":[{"id":"3817a3b7-6ff2-4bcb-b355-7954e7745b70","name":"Get all users hire-requests for a single gate-man","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text","disabled":true},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6MzAwXC9hcGlcL3YxXC9sb2dpbiIsImlhdCI6MTU3MTIzMTgxOCwiZXhwIjoxNTcyNDQxNDE4LCJuYmYiOjE1NzEyMzE4MTgsImp0aSI6IlB0S1JhOE9VdnRBMVVhM3kiLCJzdWIiOjcsInBydiI6Ijg3ZTBhZjFlZjlmZDE1ODEyZmRlYzk3MTUzYTE0ZTBiMDQ3NTQ2YWEifQ.cbFj_x_h0fc2WyVvgpUO2kFGciDKMe7m1H00Dj7Nf0o","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"http:/127.0.0.1:8000/api/v1/gateman/requests?","host":["http"],"port":"","path":["127.0.0.1:8000","api","v1","gateman","requests"],"query":[{"key":"per_page","value":"3","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:300"},{"key":"Date","value":"Wed, 16 Oct 2019 19:45:32 GMT"},{"key":"Date","value":"Wed, 16 Oct 2019 19:45:32 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"requests\": 5,\n    \"residents\": [\n        [\n            {\n                \"id\": 33,\n                \"name\": \"Okechukwu\"\n            }\n        ],\n        [\n            {\n                \"id\": 33,\n                \"name\": \"Okechukwu\"\n            }\n        ],\n        [\n            {\n                \"id\": 42,\n                \"name\": \"Darlington\"\n            }\n        ],\n        [\n            {\n                \"id\": 36,\n                \"name\": \"Mayowa Admin\"\n            }\n        ],\n        [\n            {\n                \"id\": 36,\n                \"name\": \"Mayowa Admin\"\n            }\n        ]\n    ],\n    \"status\": true\n}"},{"id":"8e689494-7c87-410a-b60c-f0c48b6c080e","name":"Gateman View all requests made for user","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text","disabled":true},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL3ZlcmlmeSIsImlhdCI6MTU3MTQwODY0NCwiZXhwIjoxNTcyNjE4MjQ0LCJuYmYiOjE1NzE0MDg2NDQsImp0aSI6IlMwcU9raGFMWGZZVERvWnciLCJzdWIiOjkxLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.q0WNHhyjuU4rGnboQh6h_yePYwG75UdEcR-gy17K4AA","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"http://52.40.191.249/api/v1/gateman/requests?","protocol":"http","host":["52","40","191","249"],"path":["api","v1","gateman","requests"],"query":[{"key":"per_page","value":"3","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 23 Oct 2019 11:47:15 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"requests\": 3,\n    \"residents\": [\n        {\n            \"id\": 33,\n            \"name\": \"Dave Tweet\",\n            \"username\": \"juncodefire\",\n            \"phone\": \"07060959269\",\n            \"email\": \"junipreach2017@gmail.com\",\n            \"image\": \"noimage.jpg\",\n            \"user_type\": \"resident\",\n            \"device_id\": \"dd9ffe53986fb3f2\",\n            \"created_at\": \"2019-10-16 10:00:27\",\n            \"updated_at\": \"2019-10-23 05:53:18\",\n            \"request_id\": 35,\n            \"gateman_id\": 154\n        },\n        {\n            \"id\": 155,\n            \"name\": \"Remi Doragonne\",\n            \"username\": null,\n            \"phone\": \"+237650913861\",\n            \"email\": \"andersoncgdongmo@gmail.com\",\n            \"image\": \"noimage.jpg\",\n            \"user_type\": \"resident\",\n            \"device_id\": \"90c0ad6bbe852ec0\",\n            \"created_at\": \"2019-10-23 11:03:27\",\n            \"updated_at\": \"2019-10-23 11:04:23\",\n            \"request_id\": 36,\n            \"gateman_id\": 154\n        },\n        {\n            \"id\": 155,\n            \"name\": \"Remi Doragonne\",\n            \"username\": null,\n            \"phone\": \"+237650913861\",\n            \"email\": \"andersoncgdongmo@gmail.com\",\n            \"image\": \"noimage.jpg\",\n            \"user_type\": \"resident\",\n            \"device_id\": \"90c0ad6bbe852ec0\",\n            \"created_at\": \"2019-10-23 11:03:27\",\n            \"updated_at\": \"2019-10-23 11:04:23\",\n            \"request_id\": 37,\n            \"gateman_id\": 154\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"699fa702-8aaf-47ad-842d-f70ac1a1ba7f"},{"name":"Gateman - Resident's Visitor link","id":"839294db-9e9e-4669-bcdb-2f689db77318","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g","type":"text"}],"url":"http://52.40.191.249/api/v1/gateman/visitors","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","name":"Gateman","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","gateman","visitors"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"bb49bd79-8471-4d1a-9ba4-e5ef6b9fdd61","name":"http://127.0.0.1:8000/api/v1/gateman/visitors","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/gateman/visitors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 17 Oct 2019 13:42:11 GMT"},{"key":"Date","value":"Thu, 17 Oct 2019 13:42:11 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"visitors\": 3,\n    \"visitor\": [\n        {\n            \"id\": 1,\n            \"name\": \"Andikan Gabriel\",\n            \"arrival_date\": \"2019-10-24\",\n            \"car_plate_no\": \"ABU-200-AJ\",\n            \"purpose\": \"Chat up with Okechukwu\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 33,\n                \"name\": \"Okechukwu\",\n                \"username\": null,\n                \"phone\": \"07060959269\",\n                \"email\": \"junipreach2017@gmail.com\",\n                \"image\": \"vhbn1melz2qoff6noe62.png\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-17 04:20:31\"\n            }\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Joe Doe\",\n            \"arrival_date\": \"2019-10-30\",\n            \"car_plate_no\": \"\",\n            \"purpose\": \"Business discuss\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 33,\n                \"name\": \"Okechukwu\",\n                \"username\": null,\n                \"phone\": \"07060959269\",\n                \"email\": \"junipreach2017@gmail.com\",\n                \"image\": \"vhbn1melz2qoff6noe62.png\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-17 04:20:31\"\n            }\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Another Joe\",\n            \"arrival_date\": \"2019-11-02\",\n            \"car_plate_no\": \"\",\n            \"purpose\": \"A purpose description\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 42,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 42,\n                \"name\": \"Darlington\",\n                \"username\": null,\n                \"phone\": \"07000000001\",\n                \"email\": \"darling@example.com\",\n                \"image\": \"no_image.jpg\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ef\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-16 13:04:25\"\n            }\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"839294db-9e9e-4669-bcdb-2f689db77318"},{"name":"Gateman - Residents he works for List","id":"ec692977-a078-4ccf-a0d3-1f56c0bfcb65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/gateman/viewResidents","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","name":"Gateman","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","gateman","viewResidents"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"28864f40-ea4c-467a-8c43-9fb0c1e38248","name":"Gateman - Residents he works for List","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g"}],"url":"http://127.0.0.1:8000/api/v1/gateman/viewResidents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 24 Oct 2019 16:26:40 GMT"},{"key":"Date","value":"Thu, 24 Oct 2019 16:26:40 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"residents\": 2,\n    \"resident\": [\n        {\n            \"id\": 199,\n            \"name\": \"Test\",\n            \"username\": null,\n            \"phone\": \"07038287791\",\n            \"email\": \"mawhizzle@gmail.com\",\n            \"image\": \"noimage.jpg\",\n            \"user_type\": \"resident\",\n            \"duty_time\": null,\n            \"device_id\": \"4g4t55t4t56565y765655565t55t5555ft54f\",\n            \"created_at\": \"2019-10-23 19:41:54\",\n            \"updated_at\": \"2019-10-24 16:04:59\",\n            \"visitors_count\": 1,\n            \"visitors\": [\n                {\n                    \"id\": 94,\n                    \"name\": \"pelz\",\n                    \"arrival_date\": \"2019-10-24\",\n                    \"car_plate_no\": \"\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"To see me\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 199,\n                    \"qr_code\": \"n7FmYc\",\n                    \"visiting_period\": \"afternoon\",\n                    \"description\": \"\",\n                    \"created_at\": \"2019-10-24 08:22:50\",\n                    \"updated_at\": \"2019-10-24 08:22:50\"\n                }\n            ]\n        },\n        {\n            \"id\": 207,\n            \"name\": \"Ben Mike Tyson\",\n            \"username\": \"jboy\",\n            \"phone\": \"07060959269\",\n            \"email\": \"junipreach2017@gmail.com\",\n            \"image\": \"ckeiv1qb62d6u7eqvlu0.jpg\",\n            \"user_type\": \"resident\",\n            \"duty_time\": null,\n            \"device_id\": \"a8d98cd7da28fb7e\",\n            \"created_at\": \"2019-10-23 20:20:21\",\n            \"updated_at\": \"2019-10-24 13:04:12\",\n            \"visitors_count\": 2,\n            \"visitors\": [\n                {\n                    \"id\": 86,\n                    \"name\": \"Wizkid\",\n                    \"arrival_date\": \"2019-10-23\",\n                    \"car_plate_no\": \"563-YM7-T\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"to play me joro\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 207,\n                    \"qr_code\": \"S2TSJs\",\n                    \"visiting_period\": \"afternoon\",\n                    \"description\": \"\",\n                    \"created_at\": \"2019-10-23 20:23:45\",\n                    \"updated_at\": \"2019-10-23 20:23:45\"\n                },\n                {\n                    \"id\": 93,\n                    \"name\": \"davido\",\n                    \"arrival_date\": \"2019-10-24\",\n                    \"car_plate_no\": \"45Y-RUT-G\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"I wan to see his baby\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 207,\n                    \"qr_code\": \"cShd61\",\n                    \"visiting_period\": \"afternoon\",\n                    \"description\": \"\",\n                    \"created_at\": \"2019-10-24 07:50:16\",\n                    \"updated_at\": \"2019-10-24 07:50:16\"\n                }\n            ]\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"ec692977-a078-4ccf-a0d3-1f56c0bfcb65"},{"name":"Reject Resident request","id":"8b9c9279-cf2a-4415-a64b-a5084e1014c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g","type":"text"}],"url":"http://52.40.191.249/api/v1/gateman/requests/reject/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","name":"Gateman","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","gateman","requests","reject","1"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"ffa8a8c2-3a9f-4e5e-945e-3bf5fe1d5775","name":"http://127.0.0.1:8000/api/v1/gateman/visitors","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/gateman/visitors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 17 Oct 2019 13:42:11 GMT"},{"key":"Date","value":"Thu, 17 Oct 2019 13:42:11 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"visitors\": 3,\n    \"visitor\": [\n        {\n            \"id\": 1,\n            \"name\": \"Andikan Gabriel\",\n            \"arrival_date\": \"2019-10-24\",\n            \"car_plate_no\": \"ABU-200-AJ\",\n            \"purpose\": \"Chat up with Okechukwu\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 33,\n                \"name\": \"Okechukwu\",\n                \"username\": null,\n                \"phone\": \"07060959269\",\n                \"email\": \"junipreach2017@gmail.com\",\n                \"image\": \"vhbn1melz2qoff6noe62.png\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-17 04:20:31\"\n            }\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Joe Doe\",\n            \"arrival_date\": \"2019-10-30\",\n            \"car_plate_no\": \"\",\n            \"purpose\": \"Business discuss\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 33,\n                \"name\": \"Okechukwu\",\n                \"username\": null,\n                \"phone\": \"07060959269\",\n                \"email\": \"junipreach2017@gmail.com\",\n                \"image\": \"vhbn1melz2qoff6noe62.png\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-17 04:20:31\"\n            }\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Another Joe\",\n            \"arrival_date\": \"2019-11-02\",\n            \"car_plate_no\": \"\",\n            \"purpose\": \"A purpose description\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 42,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 42,\n                \"name\": \"Darlington\",\n                \"username\": null,\n                \"phone\": \"07000000001\",\n                \"email\": \"darling@example.com\",\n                \"image\": \"no_image.jpg\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ef\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-16 13:04:25\"\n            }\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"8b9c9279-cf2a-4415-a64b-a5084e1014c7"},{"name":"Accept Residents Request gateman/requests/accept/{request_id}","id":"8f1b4438-feaf-4d39-a6a2-5d2f6da1b9c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://52.40.191.249/api/v1/gateman/requests/accept/37","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","name":"Gateman","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","gateman","requests","accept","37"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f1b4438-feaf-4d39-a6a2-5d2f6da1b9c8"},{"name":"Admit Visitors","id":"1ffc7d4f-f542-4957-ba7e-6c2cd5c545ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"qr_code\": \"fZLL75\"\n}"},"url":"http://52.40.191.249/api/v1/gateman/admit","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","name":"Gateman","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","gateman","admit"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"62fb7850-2b7e-4bd7-8776-37dbc735dd0c","name":"http://127.0.0.1:8000/api/v1/gateman/visitors","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/gateman/visitors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 17 Oct 2019 13:42:11 GMT"},{"key":"Date","value":"Thu, 17 Oct 2019 13:42:11 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"visitors\": 3,\n    \"visitor\": [\n        {\n            \"id\": 1,\n            \"name\": \"Andikan Gabriel\",\n            \"arrival_date\": \"2019-10-24\",\n            \"car_plate_no\": \"ABU-200-AJ\",\n            \"purpose\": \"Chat up with Okechukwu\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 33,\n                \"name\": \"Okechukwu\",\n                \"username\": null,\n                \"phone\": \"07060959269\",\n                \"email\": \"junipreach2017@gmail.com\",\n                \"image\": \"vhbn1melz2qoff6noe62.png\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-17 04:20:31\"\n            }\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Joe Doe\",\n            \"arrival_date\": \"2019-10-30\",\n            \"car_plate_no\": \"\",\n            \"purpose\": \"Business discuss\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 33,\n                \"name\": \"Okechukwu\",\n                \"username\": null,\n                \"phone\": \"07060959269\",\n                \"email\": \"junipreach2017@gmail.com\",\n                \"image\": \"vhbn1melz2qoff6noe62.png\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-17 04:20:31\"\n            }\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Another Joe\",\n            \"arrival_date\": \"2019-11-02\",\n            \"car_plate_no\": \"\",\n            \"purpose\": \"A purpose description\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 42,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 42,\n                \"name\": \"Darlington\",\n                \"username\": null,\n                \"phone\": \"07000000001\",\n                \"email\": \"darling@example.com\",\n                \"image\": \"no_image.jpg\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ef\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-16 13:04:25\"\n            }\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"1ffc7d4f-f542-4957-ba7e-6c2cd5c545ff"},{"name":"Check Visitors Out","id":"3074846e-4112-437a-8a88-cdece5f4c56b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"qr_code\": \"fZLL75\"\n}"},"url":"http://52.40.191.249/api/v1/gateman/checkout","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","name":"Gateman","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","gateman","checkout"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"9400b812-1a13-413d-bed6-1f4b2afe408b","name":"http://127.0.0.1:8000/api/v1/gateman/visitors","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYXRlYXBwYXBpLmhlcm9rdWFwcC5jb21cL2FwaVwvdjFcL2xvZ2luIiwiaWF0IjoxNTcxMzA5NjA2LCJleHAiOjE1NzI1MTkyMDYsIm5iZiI6MTU3MTMwOTYwNiwianRpIjoiVnM5RTg2ZEhocW9xWUMzZSIsInN1YiI6NywicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.sckA4mxB5JOIUXDzq9TzfLnjH22dYLTHT1Ur9ApWD4g","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/gateman/visitors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 17 Oct 2019 13:42:11 GMT"},{"key":"Date","value":"Thu, 17 Oct 2019 13:42:11 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"visitors\": 3,\n    \"visitor\": [\n        {\n            \"id\": 1,\n            \"name\": \"Andikan Gabriel\",\n            \"arrival_date\": \"2019-10-24\",\n            \"car_plate_no\": \"ABU-200-AJ\",\n            \"purpose\": \"Chat up with Okechukwu\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 33,\n                \"name\": \"Okechukwu\",\n                \"username\": null,\n                \"phone\": \"07060959269\",\n                \"email\": \"junipreach2017@gmail.com\",\n                \"image\": \"vhbn1melz2qoff6noe62.png\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-17 04:20:31\"\n            }\n        },\n        {\n            \"id\": 2,\n            \"name\": \"Joe Doe\",\n            \"arrival_date\": \"2019-10-30\",\n            \"car_plate_no\": \"\",\n            \"purpose\": \"Business discuss\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 33,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 33,\n                \"name\": \"Okechukwu\",\n                \"username\": null,\n                \"phone\": \"07060959269\",\n                \"email\": \"junipreach2017@gmail.com\",\n                \"image\": \"vhbn1melz2qoff6noe62.png\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-17 04:20:31\"\n            }\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Another Joe\",\n            \"arrival_date\": \"2019-11-02\",\n            \"car_plate_no\": \"\",\n            \"purpose\": \"A purpose description\",\n            \"image\": \"no_image.jpg\",\n            \"status\": \"\",\n            \"time_in\": null,\n            \"time_out\": null,\n            \"user_id\": 42,\n            \"qr_code\": null,\n            \"user\": {\n                \"id\": 42,\n                \"name\": \"Darlington\",\n                \"username\": null,\n                \"phone\": \"07000000001\",\n                \"email\": \"darling@example.com\",\n                \"image\": \"no_image.jpg\",\n                \"user_type\": \"resident\",\n                \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ef\",\n                \"created_at\": \"2019-10-16 10:00:27\",\n                \"updated_at\": \"2019-10-16 13:04:25\"\n            }\n        }\n    ],\n    \"status\": true\n}"}],"_postman_id":"3074846e-4112-437a-8a88-cdece5f4c56b"}],"id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"92ade1c3-0814-4665-b070-a94a4ddeb9c5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6cc23597-f10e-46bd-bc5e-4b8f4f427507","type":"text/javascript","exec":[""]}}],"_postman_id":"8bd86069-84f4-4653-a8d1-723f3773a3aa","description":""},{"name":"Service Provider","item":[{"name":"Admin","item":[{"name":"Categories","item":[{"name":"Add Category","id":"71439366-e119-46d2-bbcf-4a4cd76dac6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Cleaner\"\n}"},"url":"http://52.40.191.249/api/v1/sp-category/","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"70884e37-1571-49b9-b278-2863efdbe911","id":"70884e37-1571-49b9-b278-2863efdbe911","name":"Categories","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","sp-category",""],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"61598ee7-1e37-418e-8187-fe8c0772c0be","name":"Add Category","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Cleaner\"\n}"},"url":"127.0.0.1:8000/api/v1/sp-category/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 16 Oct 2019 20:44:07 GMT"},{"key":"Date","value":"Wed, 16 Oct 2019 20:44:07 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Category added\",\n    \"status\": 201\n}"}],"_postman_id":"71439366-e119-46d2-bbcf-4a4cd76dac6a"},{"name":"Edit Category","id":"c994ffdf-c061-44f8-8ea4-5ee2c621ffac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Electrician\"\n}"},"url":"http://52.40.191.249/api/v1/sp-category/2","description":"<p>Edit a Service Provider's category title</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"70884e37-1571-49b9-b278-2863efdbe911","id":"70884e37-1571-49b9-b278-2863efdbe911","name":"Categories","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","sp-category","2"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"6d48ad98-dc3b-4a52-b42c-95e9d3fae869","name":"Edit Category","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Electrician\"\n}"},"url":"127.0.0.1:8000/api/v1/sp-category/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 16 Oct 2019 20:46:55 GMT"},{"key":"Date","value":"Wed, 16 Oct 2019 20:46:55 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Category updated\",\n    \"data\": {\n        \"id\": 2,\n        \"title\": \"Electrician\",\n        \"created_at\": \"2019-10-16 20:38:11\",\n        \"updated_at\": \"2019-10-16 20:46:54\"\n    }\n}"}],"_postman_id":"c994ffdf-c061-44f8-8ea4-5ee2c621ffac"},{"name":"Delete Category","id":"f659b5e4-b629-4ce2-aa04-70fea7476640","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://52.40.191.249/api/v1/sp-category/3","description":"<p>Delete a Service Provider category</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"70884e37-1571-49b9-b278-2863efdbe911","id":"70884e37-1571-49b9-b278-2863efdbe911","name":"Categories","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","sp-category","3"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"d236ddf0-0bd8-4621-8f1f-0ee9c5b83847","name":"Delete Category","originalRequest":{"method":"DELETE","header":[],"url":"127.0.0.1:8000/api/v1/sp-category/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 16 Oct 2019 20:49:35 GMT"},{"key":"Date","value":"Wed, 16 Oct 2019 20:49:35 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Category deleted\"\n}"}],"_postman_id":"f659b5e4-b629-4ce2-aa04-70fea7476640"}],"id":"70884e37-1571-49b9-b278-2863efdbe911","description":"<p>Categories for Service Providers</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"82451ba6-64aa-4ce8-ae7f-bf02bb0a9a44","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7fbda963-3cbc-4c77-a3c7-351a5547a4c5","type":"text/javascript","exec":[""]}}],"_postman_id":"70884e37-1571-49b9-b278-2863efdbe911"},{"name":"Delete Service Provider","id":"38b32e22-520b-4f8b-8c9f-ae25e9c39a35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://52.40.191.249/api/v1/service-provider/4","urlObject":{"protocol":"http","path":["api","v1","service-provider","4"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"a442fddf-ec67-4b19-ae90-97a27b01df73","name":"Delete Service Provider","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:8000/api/v1/service-provider/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 18 Oct 2019 11:31:33 GMT"},{"key":"Date","value":"Fri, 18 Oct 2019 11:31:33 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Service Provider Deleted!\"\n}"}],"_postman_id":"38b32e22-520b-4f8b-8c9f-ae25e9c39a35"},{"name":"Add Service Provider /api/v1/service-provider","id":"8385f441-1515-48ab-aa3f-88bd5eb6d35b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NTgyNTQsImV4cCI6MTU3Mjc2Nzg1NCwibmJmIjoxNTcxNTU4MjU0LCJqdGkiOiJVTHFDVXBvazRIcnl6dFZyIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.SfnU2G0I5_99KslEGwn5GiefbAuRt44xk_IDuWOHUf0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Ben Mike","type":"text"},{"key":"estate_id","value":"1","type":"text"},{"key":"category_id","type":"text","value":"1"},{"key":"phone","value":"084787838838","type":"text"},{"key":"description","value":"Medical Doctor","type":"text"},{"key":"image","type":"file","src":"/C:/Users/HP/Documents/junicodefireProjects/Web Dev/juniCodefire/assets/img/category_img_top1.jpg"}]},"url":"http://127.0.0.1:8000/api/v1/service-provider","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d0b7131e-a0b6-48d8-b0cd-ac502ee44844","id":"d0b7131e-a0b6-48d8-b0cd-ac502ee44844","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","service-provider"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"d5b4c9bc-2df5-4894-b6d3-8e611f7c5c23","name":"Add Service Provider /api/v1/service-provider","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NTgyNTQsImV4cCI6MTU3Mjc2Nzg1NCwibmJmIjoxNTcxNTU4MjU0LCJqdGkiOiJVTHFDVXBvazRIcnl6dFZyIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.SfnU2G0I5_99KslEGwn5GiefbAuRt44xk_IDuWOHUf0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Ben Mike","type":"text"},{"key":"estate_id","value":"1","type":"text"},{"key":"category_id","type":"text","value":"1"},{"key":"phone","value":"084787838838","type":"text"},{"key":"description","value":"Medical Doctor","type":"text"},{"key":"image","type":"file","src":"/C:/Users/HP/Documents/junicodefireProjects/Web Dev/juniCodefire/assets/img/category_img_top1.jpg"}]},"url":"http://127.0.0.1:8000/api/v1/service-provider"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 20 Oct 2019 08:04:45 GMT"},{"key":"Date","value":"Sun, 20 Oct 2019 08:04:45 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"image_info\": {\n        \"message\": \"Upload Successful!\",\n        \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n        \"image_round_format\": \"w_200,c_fill,ar_1:1,g_auto,r_max/\",\n        \"image_square_format\": \"w_200,ar_1:1,c_fill,g_auto/\",\n        \"image_example_link\": \"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/akwke5tcvvnjurmhkdns.jpg\",\n        \"image\": \"akwke5tcvvnjurmhkdns.jpg\",\n        \"status_code\": 200\n    },\n    \"status\": true,\n    \"message\": \"Service Provider created\",\n    \"data\": {\n        \"name\": \"Ben Mike\",\n        \"phone\": \"084787838838\",\n        \"description\": \"Medical Doctor\",\n        \"estate_id\": \"1\",\n        \"category_id\": \"1\",\n        \"image\": \"akwke5tcvvnjurmhkdns.jpg\",\n        \"updated_at\": \"2019-10-20 08:04:44\",\n        \"created_at\": \"2019-10-20 08:04:44\",\n        \"id\": 1\n    }\n}"}],"_postman_id":"8385f441-1515-48ab-aa3f-88bd5eb6d35b"},{"name":"Edit Service Provider /api/v1/service-provider","id":"cc7c7279-a743-4aa0-9f56-2c90125add56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NTgyNTQsImV4cCI6MTU3Mjc2Nzg1NCwibmJmIjoxNTcxNTU4MjU0LCJqdGkiOiJVTHFDVXBvazRIcnl6dFZyIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.SfnU2G0I5_99KslEGwn5GiefbAuRt44xk_IDuWOHUf0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Ben Mike Tyson","type":"text"},{"key":"estate_id","value":"1","type":"text"},{"key":"category_id","type":"text","value":"3"},{"key":"phone","value":"084787838838","type":"text"},{"key":"description","value":"Medical Doctor","type":"text"},{"key":"image","type":"file","src":"/C:/Users/HP/Documents/junicodefireProjects/Web Dev/juniCodefire/assets/img/category_img_top1.jpg"}]},"url":"http://52.40.191.249/api/v1/service-provider/1","description":"<p>this api uses form data to upload the form so we stick to the post method</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"d0b7131e-a0b6-48d8-b0cd-ac502ee44844","id":"d0b7131e-a0b6-48d8-b0cd-ac502ee44844","name":"Admin","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","service-provider","1"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"e4eb0c42-41af-4d7c-87f7-16cca1db802e","name":"Edit Service Provider /api/v1/service-provider","originalRequest":{"method":"POST","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzE1NTgyNTQsImV4cCI6MTU3Mjc2Nzg1NCwibmJmIjoxNTcxNTU4MjU0LCJqdGkiOiJVTHFDVXBvazRIcnl6dFZyIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.SfnU2G0I5_99KslEGwn5GiefbAuRt44xk_IDuWOHUf0","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Ben Mike Tyson","type":"text"},{"key":"estate_id","value":"1","type":"text"},{"key":"category_id","type":"text","value":"3"},{"key":"phone","value":"084787838838","type":"text"},{"key":"description","value":"Medical Doctor","type":"text"},{"key":"image","type":"file","src":"/C:/Users/HP/Documents/junicodefireProjects/Web Dev/juniCodefire/assets/img/category_img_top1.jpg"}]},"url":"http://127.0.0.1:8000/api/v1/service-provider/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 20 Oct 2019 08:21:23 GMT"},{"key":"Date","value":"Sun, 20 Oct 2019 08:21:23 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Service provider Updated Successfully!\",\n    \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n    \"image_round_format\": \"w_200,c_fill,ar_1:1,g_auto,r_max/\",\n    \"image_square_format\": \"w_200,ar_1:1,c_fill,g_auto/\",\n    \"image_example_link\": \"https://res.cloudinary.com/getfiledata/image/upload/w_200,c_fill,ar_1:1,g_auto,r_max/o2kuzmaieiiyz00ltilq.jpg\",\n    \"image\": \"o2kuzmaieiiyz00ltilq.jpg\",\n    \"status_code\": 200,\n    \"status\": true,\n    \"service\": {\n        \"id\": 1,\n        \"name\": \"Ben Mike Tyson\",\n        \"phone\": \"084787838838\",\n        \"description\": \"Medical Doctor\",\n        \"image\": \"o2kuzmaieiiyz00ltilq.jpg\",\n        \"estate_id\": \"1\",\n        \"category_id\": \"3\",\n        \"created_at\": \"2019-10-20 08:04:44\",\n        \"updated_at\": \"2019-10-20 08:21:22\"\n    }\n}"}],"_postman_id":"cc7c7279-a743-4aa0-9f56-2c90125add56"}],"id":"d0b7131e-a0b6-48d8-b0cd-ac502ee44844","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"c8f98720-5690-48f1-8d0c-e790d0ac9505","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e414d74c-1f2e-43c7-9384-e5b940bf4f06","type":"text/javascript","exec":[""]}}],"_postman_id":"d0b7131e-a0b6-48d8-b0cd-ac502ee44844","description":""},{"name":"Users","item":[{"name":"All service providers","id":"5a744aff-53fd-49f1-928d-ed2e53ad194d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://52.40.191.249/api/v1/service-provider/","description":"<p>Returns all registered service providers</p>\n","urlObject":{"protocol":"http","path":["api","v1","service-provider",""],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"3db5a0f5-96b6-4e18-80f7-a086d605f0da","name":"All service providers","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/service-provider/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 18 Oct 2019 11:27:57 GMT"},{"key":"Date","value":"Fri, 18 Oct 2019 11:27:57 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"All service providers.\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Lia Collier\",\n            \"phone\": \"rBHGqYXImn\",\n            \"description\": \"DypAsZHRVjDkDqyCkad30gGJpPm7v4zUjn7mdupZ\",\n            \"image\": \"Jn3hR1TxmoVpYBPyt3jk\",\n            \"estate_id\": 3,\n            \"created_at\": \"2019-10-18 09:44:07\",\n            \"updated_at\": \"2019-10-18 09:44:07\",\n            \"category_id\": \"15\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"Richard\",\n            \"phone\": \"08134875974\",\n            \"description\": \"Cleaner\",\n            \"image\": \"broomstick.jpg\",\n            \"estate_id\": 1,\n            \"created_at\": \"2019-10-18 11:01:17\",\n            \"updated_at\": \"2019-10-18 11:06:27\",\n            \"category_id\": \"2\"\n        }\n    ]\n}"},{"id":"a5309330-a8f0-4f86-816e-6e56a4890665","name":"All service providers","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/service-provider/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 18 Oct 2019 10:02:43 GMT"},{"key":"Date","value":"Fri, 18 Oct 2019 10:02:43 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"All service providers.\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Lia Collier\",\n            \"phone\": \"rBHGqYXImn\",\n            \"description\": \"DypAsZHRVjDkDqyCkad30gGJpPm7v4zUjn7mdupZ\",\n            \"image\": \"Jn3hR1TxmoVpYBPyt3jk\",\n            \"estate_id\": 3,\n            \"created_at\": \"2019-10-18 09:44:07\",\n            \"updated_at\": \"2019-10-18 09:44:07\",\n            \"category_id\": \"15\"\n        }\n    ]\n}"}],"_postman_id":"5a744aff-53fd-49f1-928d-ed2e53ad194d"},{"name":"Service Providers by Category","id":"e30ff7c0-cdad-4b38-bfa1-f2d660dc3ae3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://52.40.191.249/api/v1/service-provider/category/15","description":"<p>Get service providers under a specific category by specifying the <b>category ID</b>.</p>\n","urlObject":{"protocol":"http","path":["api","v1","service-provider","category","15"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"834e3d24-9f90-4ee3-8fff-30762bbdc225","name":"Service Providers by Category","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/api/v1/service-provider/category/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 18 Oct 2019 13:20:28 GMT"},{"key":"Date","value":"Fri, 18 Oct 2019 13:20:28 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Retrieved service providers\",\n    \"data\": [\n        {\n            \"id\": 5,\n            \"name\": \"Richard\",\n            \"phone\": \"08134875974\",\n            \"description\": \"Doctor\",\n            \"image\": \"img.jpg\",\n            \"estate_id\": 1,\n            \"created_at\": \"2019-10-18 13:18:55\",\n            \"updated_at\": \"2019-10-18 13:18:55\",\n            \"category_id\": \"1\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Jessica Foster\",\n            \"phone\": \"08134875974\",\n            \"description\": \"Nurse\",\n            \"image\": \"img.jpg\",\n            \"estate_id\": 1,\n            \"created_at\": \"2019-10-18 13:20:13\",\n            \"updated_at\": \"2019-10-18 13:20:13\",\n            \"category_id\": \"1\"\n        }\n    ]\n}"},{"id":"8de2040b-460a-4b5f-bc8f-80d4d9414e42","name":"Service Provider by Category","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/service-provider/category/2"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Unique Service Provider\",\n    \"data\": {\n        \"id\": 4,\n        \"name\": \"Richard\",\n        \"phone\": \"08134875974\",\n        \"description\": \"Cleaner\",\n        \"image\": \"img.jpg\",\n        \"estate_id\": 8,\n        \"category_id\": 1,\n        \"created_at\": \"2019-10-13 18:27:46\",\n        \"updated_at\": \"2019-10-13 18:27:46\"\n    }\n}"},{"id":"dd8e58dc-38f3-4622-8a56-9a55cacccf56","name":"Service Providers by Category","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/api/v1/service-provider/category/15"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 18 Oct 2019 10:37:03 GMT"},{"key":"Date","value":"Fri, 18 Oct 2019 10:37:03 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Retrieved service providers\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Lia Collier\",\n            \"phone\": \"rBHGqYXImn\",\n            \"description\": \"DypAsZHRVjDkDqyCkad30gGJpPm7v4zUjn7mdupZ\",\n            \"image\": \"Jn3hR1TxmoVpYBPyt3jk\",\n            \"estate_id\": 3,\n            \"created_at\": \"2019-10-18 09:44:07\",\n            \"updated_at\": \"2019-10-18 09:44:07\",\n            \"category_id\": \"15\"\n        }\n    ]\n}"}],"_postman_id":"e30ff7c0-cdad-4b38-bfa1-f2d660dc3ae3"},{"name":"Service Povider by ID","id":"89a19593-6dd6-4a2d-bd41-7465fa255259","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA4MTE5NjksImV4cCI6MTU3MDg5ODM2OSwibmJmIjoxNTcwODExOTY5LCJqdGkiOiJpSXNXTHd2M0hrYnd1bkZGIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.J84QjrzPiLL6u1h2xbmNuGTKp_-yPsByJVDMgn84oOA","type":"text"}],"url":"http://52.40.191.249/api/v1/service-provider/1","description":"<p>Get a specific service provider by using its <b>ID</b></p>\n","urlObject":{"protocol":"http","path":["api","v1","service-provider","1"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"a3633bbc-7f22-44d4-9787-a8bd16c41166","name":"Get Service provider by id(/api/v1/estate/service-provider/{id})","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA4MTE5NjksImV4cCI6MTU3MDg5ODM2OSwibmJmIjoxNTcwODExOTY5LCJqdGkiOiJpSXNXTHd2M0hrYnd1bkZGIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.J84QjrzPiLL6u1h2xbmNuGTKp_-yPsByJVDMgn84oOA","type":"text"}],"url":"http://52.200.161.52/api/v1/estate/service-provider/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Sun, 13 Oct 2019 18:28:20 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Unique Service Provider\",\n    \"data\": {\n        \"id\": 4,\n        \"name\": \"Richard\",\n        \"phone\": \"08134875974\",\n        \"description\": \"Cleaner\",\n        \"image\": \"img.jpg\",\n        \"estate_id\": 8,\n        \"created_at\": \"2019-10-13 18:27:46\",\n        \"updated_at\": \"2019-10-13 18:27:46\"\n    }\n}"},{"id":"d8ecf6bf-8e81-435a-936a-df79266a89ea","name":"Service Povider by ID","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA4MTE5NjksImV4cCI6MTU3MDg5ODM2OSwibmJmIjoxNTcwODExOTY5LCJqdGkiOiJpSXNXTHd2M0hrYnd1bkZGIiwic3ViIjozNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSJ9.J84QjrzPiLL6u1h2xbmNuGTKp_-yPsByJVDMgn84oOA","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/service-provider/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 18 Oct 2019 10:04:26 GMT"},{"key":"Date","value":"Fri, 18 Oct 2019 10:04:26 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Service provider found.\",\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Lia Collier\",\n        \"phone\": \"rBHGqYXImn\",\n        \"description\": \"DypAsZHRVjDkDqyCkad30gGJpPm7v4zUjn7mdupZ\",\n        \"image\": \"Jn3hR1TxmoVpYBPyt3jk\",\n        \"estate_id\": 3,\n        \"created_at\": \"2019-10-18 09:44:07\",\n        \"updated_at\": \"2019-10-18 09:44:07\",\n        \"category_id\": \"15\"\n    }\n}"}],"_postman_id":"89a19593-6dd6-4a2d-bd41-7465fa255259"},{"name":"Get Categories","id":"74caa12d-7be1-49e1-a32f-8d4331ba0413","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://52.40.191.249/api/v1/sp-category/","description":"<p>Get all Service Provider categories</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"9c7f7952-f8fa-4de1-8d9d-b0189aa74ddb","id":"9c7f7952-f8fa-4de1-8d9d-b0189aa74ddb","name":"Users","type":"folder"}},"urlObject":{"protocol":"http","path":["api","v1","sp-category",""],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"8c8b2079-73e2-4bda-9997-eae4d08455cb","name":"Get Categories","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/api/v1/sp-category/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 18 Oct 2019 13:18:01 GMT"},{"key":"Date","value":"Fri, 18 Oct 2019 13:18:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.2.23"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Retrieved categories\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"Clinic\",\n            \"created_at\": \"2019-10-16 20:36:42\",\n            \"updated_at\": \"2019-10-18 13:13:47\"\n        },\n        {\n            \"id\": 2,\n            \"title\": \"Carpenter\",\n            \"created_at\": \"2019-10-16 20:38:11\",\n            \"updated_at\": \"2019-10-18 13:14:28\"\n        },\n        {\n            \"id\": 3,\n            \"title\": \"Cook\",\n            \"created_at\": \"2019-10-11 00:00:00\",\n            \"updated_at\": \"2019-10-18 00:00:00\"\n        },\n        {\n            \"id\": 4,\n            \"title\": \"Cable\",\n            \"created_at\": \"2019-10-18 00:00:00\",\n            \"updated_at\": \"2019-10-09 00:00:00\"\n        },\n        {\n            \"id\": 5,\n            \"title\": \"Plumber\",\n            \"created_at\": \"2019-10-18 13:16:59\",\n            \"updated_at\": \"2019-10-18 13:16:59\"\n        },\n        {\n            \"id\": 6,\n            \"title\": \"Electrician\",\n            \"created_at\": \"2019-10-18 13:16:59\",\n            \"updated_at\": \"2019-10-18 13:16:59\"\n        }\n    ]\n}"},{"id":"ffeab198-94ce-4625-aa8c-c32c74510479","name":"Get Categories","originalRequest":{"method":"GET","header":[],"url":"127.0.0.1:8000/api/v1/sp-category/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 16 Oct 2019 20:47:31 GMT"},{"key":"Date","value":"Wed, 16 Oct 2019 20:47:31 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Retrieved categories\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"title\": \"Cleaner\",\n            \"created_at\": \"2019-10-16 20:36:42\",\n            \"updated_at\": \"2019-10-16 20:36:42\"\n        },\n        {\n            \"id\": 2,\n            \"title\": \"Electrician\",\n            \"created_at\": \"2019-10-16 20:38:11\",\n            \"updated_at\": \"2019-10-16 20:46:54\"\n        }\n    ]\n}"}],"_postman_id":"74caa12d-7be1-49e1-a32f-8d4331ba0413"}],"id":"9c7f7952-f8fa-4de1-8d9d-b0189aa74ddb","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"57620de8-20c8-477d-a79b-a4ed069ce14d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c296758f-af30-43b6-b1c5-d812b6b9da5f","type":"text/javascript","exec":[""]}}],"_postman_id":"9c7f7952-f8fa-4de1-8d9d-b0189aa74ddb","description":""}],"id":"8d594f2d-67dc-4d88-a05d-989a83dbf1ff","description":"<p>All Routes that allows users access the service providers </p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"e530a88b-d222-4d67-b396-84a485ab2f72","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3e167223-c759-4669-a12b-96fa80af2e7d","type":"text/javascript","exec":[""]}}],"_postman_id":"8d594f2d-67dc-4d88-a05d-989a83dbf1ff"},{"name":"Test ","item":[{"name":"Image Test","item":[{"name":"Testing Image Upload  (http://127.0.0.1:8000/api/v1/image)","id":"623976a1-c860-4a92-a4ea-2f2c525db72a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/HP/Pictures/Screenshots/Screenshot (2).png"}]},"url":"http://52.40.191.249/api/v1/image","description":"<p>this is a testing route to show that the image is uploading can upload an image </p>\n<h1 id=\"api-developer-please-note\">Api Developer please note</h1>\n<h3 id=\"you-should-use-the-imagecontroller-class-to-upload-an-image-in-your-desire-class-of-action\">you should use the ImageController class to upload an image in your desire class of action</h3>\n<h3 id=\"the-testcontroller-shows-how-to-use-this\">the TestController shows how to use this</h3>\n","urlObject":{"protocol":"http","path":["api","v1","image"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"8ce5272a-2c3d-498a-baff-6f08ea2cc786","name":"Testing Image Upload  (http://127.0.0.1:8000/api/v1/image)","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"/C:/Users/HP/Pictures/Screenshots/Screenshot (2).png"}]},"url":"http://127.0.0.1:8000/api/v1/image"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 17 Oct 2019 04:21:02 GMT"},{"key":"Date","value":"Thu, 17 Oct 2019 04:21:02 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"60"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Upload Successful!\",\n    \"image_link\": \"https://res.cloudinary.com/getfiledata/image/upload/\",\n    \"image_prop\": {\n        \"cropType1\": \"c_fit\",\n        \"cropType2\": \"g_face\",\n        \"imageStyle\": \"c_thumb\",\n        \"heigth\": \"h_577\",\n        \"width\": \"433\",\n        \"widthThumb\": \"w_200\",\n        \"aspectRatio\": \"ar_4:4\"\n    },\n    \"user_data\": {\n        \"id\": 33,\n        \"name\": \"Okechukwu\",\n        \"username\": null,\n        \"phone\": \"07060959269\",\n        \"email\": \"junipreach2017@gmail.com\",\n        \"image\": \"vhbn1melz2qoff6noe62.png\",\n        \"user_type\": \"resident\",\n        \"device_id\": \"767uei783e3jy8eie9e7m-38ie3ee\",\n        \"created_at\": \"2019-10-16 10:00:27\",\n        \"updated_at\": \"2019-10-17 04:20:31\"\n    },\n    \"image\": \"vhbn1melz2qoff6noe62.png\",\n    \"status_code\": 200\n}"}],"_postman_id":"623976a1-c860-4a92-a4ea-2f2c525db72a"},{"name":"Image View Uploaded  (https://res.cloudinary.com/getfiledata/image/upload/vhbn1melz2qoff6noe62.png)","id":"3a4da605-c023-400c-9347-8649bc64884c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://res.cloudinary.com/getfiledata/image/upload/vhbn1melz2qoff6noe62.png","description":"<p>this image link is an example view</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","name":"GatePass.","type":"collection"}},"urlObject":{"protocol":"https","path":["getfiledata","image","upload","vhbn1melz2qoff6noe62.png"],"host":["res","cloudinary","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a4da605-c023-400c-9347-8649bc64884c"}],"id":"ccafd412-9d7b-4698-982e-eb17d1a9507d","_postman_id":"ccafd412-9d7b-4698-982e-eb17d1a9507d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","name":"GatePass.","type":"collection"}}},{"name":"Qr_Code Test","item":[{"name":"Testing our Token generator (/api/v1/generate-code)","id":"cb143e82-6076-4ce6-9eab-e06598aa1b61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://52.40.191.249/api/v1/generate-code","description":"<p>this is just a test route of our token genrator</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","name":"GatePass.","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","generate-code"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"9312f551-9e0e-4503-a9c3-d212a42fadbe","name":"Testing our Token generator (/api/v1/generate-code)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvYXBpXC92MVwvbG9naW4iLCJpYXQiOjE1NzA2NDc0MDAsImV4cCI6MTU3MDY1MTAwMCwibmJmIjoxNTcwNjQ3NDAwLCJqdGkiOiJKZ0xYdmRHSWVHUkdoa0hMIiwic3ViIjo1LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.sckEh5E_-AooQ9Oq5sRhU6pkT-hLqNT2R0Sgrylj3o4","type":"text"}],"url":"http://52.200.161.52/api/v1/generate-code"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 09 Oct 2019 19:40:16 GMT"},{"key":"Date","value":"Wed, 09 Oct 2019 19:40:16 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Copy the qr and insert into an image tag in html or xml to test!\",\n    \"qr\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB6klEQVR4nO2b0WrDMAwA17D//+Swt1Dw5ukkETv07rFpbHNIKLHi13meXxLjWL2AJ6EsgLIAygIoC6AsgLIAygIoC6AsgLIAygIoC6AsgLIAygIoC/Cdu+04SpbH7dlrwOvSOMXkUnH2IEYWQFmAZBpeoJAe0yeSUJMpirNTjCyAsgDVNLyYBHmu+oy1bzJO++y/z9I10CegLEBbGuaYPGdGsu9mjCyAsgCL03CSa6ga3oORBVAWoC0N23MEvcrdk6FGFkBZgGoa1vc9/howsi/aPvscIwugLMBr7ZPehiVvgpEFUBagrW8YeZVDrcDivigaMIiRBVAWoL9hUey/t3c3rl/qWz1GFkBZgLb2faT6THIE1b5IHqF3zCBGFkBZgGQaRrIm13HIPZ1O+h2RcYIYWQBlAfp3SiPPh5E/j1OgkSMrpBhZAGUBHrBT2rVC3w1vRVmAXU5YFMtiblKKkQVQFmDxCYtcVyK3DKvhrSgLsN0Ji1xZvAcjC6AswL6fdk8ofhiQxsgCKAuw70Gn3Gc54yX7hmtQFmDxCYtINSymanGF7xhZAGUBdjlh0dW5KH488M/gxfs/CmUBFvcNn4WRBVAWQFkAZQGUBVAWQFkAZQGUBVAWQFkAZQGUBVAWQFkAZQGUBVAW4AetVgW+JxZo9QAAAABJRU5ErkJggg==\"\n}"}],"_postman_id":"cb143e82-6076-4ce6-9eab-e06598aa1b61"}],"id":"2d36d9f9-aab4-4635-8c27-54ede706abea","event":[{"listen":"prerequest","script":{"id":"0b8211d3-f81f-4e86-a182-b3582c7e68b7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"62ee9c2f-8601-4e79-9651-abf936adee21","type":"text/javascript","exec":[""]}}],"_postman_id":"2d36d9f9-aab4-4635-8c27-54ede706abea","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","name":"GatePass.","type":"collection"}}}],"id":"ab49ad2d-c99e-4c85-b6f8-af0c18699fb0","description":"<p>All api developer should see test of important classes </p>\n","_postman_id":"ab49ad2d-c99e-4c85-b6f8-af0c18699fb0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","name":"GatePass.","type":"collection"}}},{"name":"Notifications","item":[{"name":"All notifications","id":"35b25389-a4f4-4daf-9361-362ca0ecf815","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://52.40.191.249/api/v1/notifications","description":"<p>Get all the user's notifications</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","name":"GatePass.","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","notifications"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"ac2534d5-c298-4826-bd4c-dd307c72fe3e","name":"All notifications","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://52.40.191.249/api/v1/notifications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sun, 20 Oct 2019 16:20:52 GMT"},{"key":"Date","value":"Sun, 20 Oct 2019 16:20:52 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.8-1+ubuntu18.04.1+deb.sury.org+1"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"ea6e0e9b-6bc7-4794-b9d5-607cc17dfffb\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Joe Doehas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 2,\n                    \"name\": \"Joe Doe\",\n                    \"arrival_date\": \"2019-10-30\",\n                    \"car_plate_no\": \"\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"Business discuss\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"\",\n                    \"visiting_period\": \"\",\n                    \"description\": \"\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": \"2019-10-20T16:17:54.000000Z\",\n            \"created_at\": \"2019-10-20T15:20:21.000000Z\"\n        },\n        {\n            \"id\": \"0dc94a9d-f351-4fb0-9c2a-815f5530c8e6\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Another Joehas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 3,\n                    \"name\": \"Another Joe\",\n                    \"arrival_date\": \"2019-11-02\",\n                    \"car_plate_no\": \"\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"A purpose description\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 51,\n                    \"qr_code\": \"fZLL75\",\n                    \"visiting_period\": \"\",\n                    \"description\": \"\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:19:58.000000Z\"\n        },\n        {\n            \"id\": \"0c74e127-1da8-4539-90b7-b90cb787571b\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Okechukwu Onihas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 29,\n                    \"name\": \"Okechukwu Oni\",\n                    \"arrival_date\": \"1990-08-26\",\n                    \"car_plate_no\": \"ZF-220-UYJ\",\n                    \"phone_no\": null,\n                    \"purpose\": \"Dignissimos est aperiam non.\",\n                    \"image\": \"lsiyxuyvuqzbh6zceopc.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"PGwuFa\",\n                    \"visiting_period\": \"Afetrnoon\",\n                    \"description\": null,\n                    \"created_at\": \"2019-10-20 11:45:25\",\n                    \"updated_at\": \"2019-10-20 11:45:25\"\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:18:19.000000Z\"\n        },\n        {\n            \"id\": \"96246a92-5c81-403e-b3ed-b4bd709707b2\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Okechukwu Onihas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 29,\n                    \"name\": \"Okechukwu Oni\",\n                    \"arrival_date\": \"1990-08-26\",\n                    \"car_plate_no\": \"ZF-220-UYJ\",\n                    \"phone_no\": null,\n                    \"purpose\": \"Dignissimos est aperiam non.\",\n                    \"image\": \"lsiyxuyvuqzbh6zceopc.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"PGwuFa\",\n                    \"visiting_period\": \"Afetrnoon\",\n                    \"description\": null,\n                    \"created_at\": \"2019-10-20 11:45:25\",\n                    \"updated_at\": \"2019-10-20 11:45:25\"\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:17:44.000000Z\"\n        },\n        {\n            \"id\": \"61c0b234-220f-4763-a343-317055ab12d3\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Okechukwu Onihas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 31,\n                    \"name\": \"Okechukwu Oni\",\n                    \"arrival_date\": \"1990-08-26\",\n                    \"car_plate_no\": \"ZF-220-UYJ\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"Dignissimos est aperiam non.\",\n                    \"image\": \"ap1a0srl0sehub7mf7wb.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"3Xi6sm\",\n                    \"visiting_period\": \"Afetrnoon\",\n                    \"description\": \"He is a tall dark man with long bears\",\n                    \"created_at\": \"2019-10-20 12:33:36\",\n                    \"updated_at\": \"2019-10-20 12:33:36\"\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:17:04.000000Z\"\n        },\n        {\n            \"id\": \"4f067d99-d0a1-4b13-b660-8d47b2ab8a1d\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Andikan Gabrielhas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 1,\n                    \"name\": \"Andikan Gabriel\",\n                    \"arrival_date\": \"2019-10-24\",\n                    \"car_plate_no\": \"ABU-200-AJ\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"Chat up with Okechukwu\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"\",\n                    \"visiting_period\": \"\",\n                    \"description\": \"\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:15:58.000000Z\"\n        },\n        {\n            \"id\": \"fae5fe44-1441-4628-b3cd-492f769ef0a5\",\n            \"type\": \"gateman_acceptance_notification\",\n            \"data\": {\n                \"title\": \"Bola Adetola has accepted to be your gateman\",\n                \"body\": null,\n                \"gateman_id\": 72\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:04:30.000000Z\"\n        }\n    ]\n}"},{"id":"bd753bd2-3cf9-4930-840a-53f54ba06ff5","name":"All notifications","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/v1/notifications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sun, 20 Oct 2019 16:20:52 GMT"},{"key":"Date","value":"Sun, 20 Oct 2019 16:20:52 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.8-1+ubuntu18.04.1+deb.sury.org+1"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"ea6e0e9b-6bc7-4794-b9d5-607cc17dfffb\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Joe Doehas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 2,\n                    \"name\": \"Joe Doe\",\n                    \"arrival_date\": \"2019-10-30\",\n                    \"car_plate_no\": \"\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"Business discuss\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"\",\n                    \"visiting_period\": \"\",\n                    \"description\": \"\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": \"2019-10-20T16:17:54.000000Z\",\n            \"created_at\": \"2019-10-20T15:20:21.000000Z\"\n        },\n        {\n            \"id\": \"0dc94a9d-f351-4fb0-9c2a-815f5530c8e6\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Another Joehas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 3,\n                    \"name\": \"Another Joe\",\n                    \"arrival_date\": \"2019-11-02\",\n                    \"car_plate_no\": \"\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"A purpose description\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 51,\n                    \"qr_code\": \"fZLL75\",\n                    \"visiting_period\": \"\",\n                    \"description\": \"\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:19:58.000000Z\"\n        },\n        {\n            \"id\": \"0c74e127-1da8-4539-90b7-b90cb787571b\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Okechukwu Onihas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 29,\n                    \"name\": \"Okechukwu Oni\",\n                    \"arrival_date\": \"1990-08-26\",\n                    \"car_plate_no\": \"ZF-220-UYJ\",\n                    \"phone_no\": null,\n                    \"purpose\": \"Dignissimos est aperiam non.\",\n                    \"image\": \"lsiyxuyvuqzbh6zceopc.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"PGwuFa\",\n                    \"visiting_period\": \"Afetrnoon\",\n                    \"description\": null,\n                    \"created_at\": \"2019-10-20 11:45:25\",\n                    \"updated_at\": \"2019-10-20 11:45:25\"\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:18:19.000000Z\"\n        },\n        {\n            \"id\": \"96246a92-5c81-403e-b3ed-b4bd709707b2\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Okechukwu Onihas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 29,\n                    \"name\": \"Okechukwu Oni\",\n                    \"arrival_date\": \"1990-08-26\",\n                    \"car_plate_no\": \"ZF-220-UYJ\",\n                    \"phone_no\": null,\n                    \"purpose\": \"Dignissimos est aperiam non.\",\n                    \"image\": \"lsiyxuyvuqzbh6zceopc.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"PGwuFa\",\n                    \"visiting_period\": \"Afetrnoon\",\n                    \"description\": null,\n                    \"created_at\": \"2019-10-20 11:45:25\",\n                    \"updated_at\": \"2019-10-20 11:45:25\"\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:17:44.000000Z\"\n        },\n        {\n            \"id\": \"61c0b234-220f-4763-a343-317055ab12d3\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Okechukwu Onihas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 31,\n                    \"name\": \"Okechukwu Oni\",\n                    \"arrival_date\": \"1990-08-26\",\n                    \"car_plate_no\": \"ZF-220-UYJ\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"Dignissimos est aperiam non.\",\n                    \"image\": \"ap1a0srl0sehub7mf7wb.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"3Xi6sm\",\n                    \"visiting_period\": \"Afetrnoon\",\n                    \"description\": \"He is a tall dark man with long bears\",\n                    \"created_at\": \"2019-10-20 12:33:36\",\n                    \"updated_at\": \"2019-10-20 12:33:36\"\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:17:04.000000Z\"\n        },\n        {\n            \"id\": \"4f067d99-d0a1-4b13-b660-8d47b2ab8a1d\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Andikan Gabrielhas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 1,\n                    \"name\": \"Andikan Gabriel\",\n                    \"arrival_date\": \"2019-10-24\",\n                    \"car_plate_no\": \"ABU-200-AJ\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"Chat up with Okechukwu\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"\",\n                    \"visiting_period\": \"\",\n                    \"description\": \"\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:15:58.000000Z\"\n        },\n        {\n            \"id\": \"fae5fe44-1441-4628-b3cd-492f769ef0a5\",\n            \"type\": \"gateman_acceptance_notification\",\n            \"data\": {\n                \"title\": \"Bola Adetola has accepted to be your gateman\",\n                \"body\": null,\n                \"gateman_id\": 72\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:04:30.000000Z\"\n        }\n    ]\n}"},{"id":"ddeb5030-3c41-4c83-956a-1a503b0fd418","name":"All notifications","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/v1/notifications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sun, 20 Oct 2019 16:20:52 GMT"},{"key":"Date","value":"Sun, 20 Oct 2019 16:20:52 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.8-1+ubuntu18.04.1+deb.sury.org+1"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"ea6e0e9b-6bc7-4794-b9d5-607cc17dfffb\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Joe Doehas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 2,\n                    \"name\": \"Joe Doe\",\n                    \"arrival_date\": \"2019-10-30\",\n                    \"car_plate_no\": \"\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"Business discuss\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"\",\n                    \"visiting_period\": \"\",\n                    \"description\": \"\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": \"2019-10-20T16:17:54.000000Z\",\n            \"created_at\": \"2019-10-20T15:20:21.000000Z\"\n        },\n        {\n            \"id\": \"0dc94a9d-f351-4fb0-9c2a-815f5530c8e6\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Another Joehas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 3,\n                    \"name\": \"Another Joe\",\n                    \"arrival_date\": \"2019-11-02\",\n                    \"car_plate_no\": \"\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"A purpose description\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 51,\n                    \"qr_code\": \"fZLL75\",\n                    \"visiting_period\": \"\",\n                    \"description\": \"\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:19:58.000000Z\"\n        },\n        {\n            \"id\": \"0c74e127-1da8-4539-90b7-b90cb787571b\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Okechukwu Onihas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 29,\n                    \"name\": \"Okechukwu Oni\",\n                    \"arrival_date\": \"1990-08-26\",\n                    \"car_plate_no\": \"ZF-220-UYJ\",\n                    \"phone_no\": null,\n                    \"purpose\": \"Dignissimos est aperiam non.\",\n                    \"image\": \"lsiyxuyvuqzbh6zceopc.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"PGwuFa\",\n                    \"visiting_period\": \"Afetrnoon\",\n                    \"description\": null,\n                    \"created_at\": \"2019-10-20 11:45:25\",\n                    \"updated_at\": \"2019-10-20 11:45:25\"\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:18:19.000000Z\"\n        },\n        {\n            \"id\": \"96246a92-5c81-403e-b3ed-b4bd709707b2\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Okechukwu Onihas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 29,\n                    \"name\": \"Okechukwu Oni\",\n                    \"arrival_date\": \"1990-08-26\",\n                    \"car_plate_no\": \"ZF-220-UYJ\",\n                    \"phone_no\": null,\n                    \"purpose\": \"Dignissimos est aperiam non.\",\n                    \"image\": \"lsiyxuyvuqzbh6zceopc.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"PGwuFa\",\n                    \"visiting_period\": \"Afetrnoon\",\n                    \"description\": null,\n                    \"created_at\": \"2019-10-20 11:45:25\",\n                    \"updated_at\": \"2019-10-20 11:45:25\"\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:17:44.000000Z\"\n        },\n        {\n            \"id\": \"61c0b234-220f-4763-a343-317055ab12d3\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Okechukwu Onihas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 31,\n                    \"name\": \"Okechukwu Oni\",\n                    \"arrival_date\": \"1990-08-26\",\n                    \"car_plate_no\": \"ZF-220-UYJ\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"Dignissimos est aperiam non.\",\n                    \"image\": \"ap1a0srl0sehub7mf7wb.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"3Xi6sm\",\n                    \"visiting_period\": \"Afetrnoon\",\n                    \"description\": \"He is a tall dark man with long bears\",\n                    \"created_at\": \"2019-10-20 12:33:36\",\n                    \"updated_at\": \"2019-10-20 12:33:36\"\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:17:04.000000Z\"\n        },\n        {\n            \"id\": \"4f067d99-d0a1-4b13-b660-8d47b2ab8a1d\",\n            \"type\": \"visitor_arrival_notification\",\n            \"data\": {\n                \"title\": \"Andikan Gabrielhas arrived to see you\",\n                \"body\": \"They were are being checked in by Bola Adetola\",\n                \"visitor_details\": {\n                    \"id\": 1,\n                    \"name\": \"Andikan Gabriel\",\n                    \"arrival_date\": \"2019-10-24\",\n                    \"car_plate_no\": \"ABU-200-AJ\",\n                    \"phone_no\": \"\",\n                    \"purpose\": \"Chat up with Okechukwu\",\n                    \"image\": \"noimage.jpg\",\n                    \"status\": 0,\n                    \"time_in\": null,\n                    \"time_out\": null,\n                    \"user_id\": 33,\n                    \"qr_code\": \"\",\n                    \"visiting_period\": \"\",\n                    \"description\": \"\",\n                    \"created_at\": null,\n                    \"updated_at\": null\n                },\n                \"gateman_details\": {\n                    \"id\": 72,\n                    \"name\": \"Bola Adetola\",\n                    \"username\": null,\n                    \"phone\": \"37258778469\",\n                    \"email\": \"bgbiri92@gmail.com\",\n                    \"image\": \"noimage.jpg\",\n                    \"user_type\": \"gateman\",\n                    \"device_id\": \"052452e478ac2c54\",\n                    \"created_at\": \"2019-10-20 11:36:20\",\n                    \"updated_at\": \"2019-10-20 11:37:20\"\n                }\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:15:58.000000Z\"\n        },\n        {\n            \"id\": \"fae5fe44-1441-4628-b3cd-492f769ef0a5\",\n            \"type\": \"gateman_acceptance_notification\",\n            \"data\": {\n                \"title\": \"Bola Adetola has accepted to be your gateman\",\n                \"body\": null,\n                \"gateman_id\": 72\n            },\n            \"read_at\": null,\n            \"created_at\": \"2019-10-20T15:04:30.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"35b25389-a4f4-4daf-9361-362ca0ecf815"},{"name":"Mark Notification as Read","id":"66885f1c-154f-48d2-bdef-f12814507055","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"http://52.40.191.249/api/v1/notifications/ea6e0e9b-6bc7-4794-b9d5-607cc17dfffb","description":"<p>Mark a notification item as read. Notification is is a \nrequired URL parameter</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","name":"GatePass.","type":"collection"}},"urlObject":{"protocol":"http","path":["api","v1","notifications","ea6e0e9b-6bc7-4794-b9d5-607cc17dfffb"],"host":["52","40","191","249"],"query":[],"variable":[]}},"response":[{"id":"49f963df-5bbe-4dbd-b21c-40456a07712f","name":"Mark Notification as Read","originalRequest":{"method":"PATCH","header":[],"url":"http://52.40.191.249/api/v1/notifications/ea6e0e9b-6bc7-4794-b9d5-607cc17dfffb"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 20 Oct 2019 16:17:56 GMT"},{"key":"Date","value":"Sun, 20 Oct 2019 16:17:56 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.8-1+ubuntu18.04.1+deb.sury.org+1"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Notification item has been marked as read\"\n}"}],"_postman_id":"66885f1c-154f-48d2-bdef-f12814507055"},{"name":"Delete","id":"84b834cb-783c-4daa-a7f2-1f6fe511ae7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://http://52.40.191.249/api/v1/notifications/4c0ee85e-0faa-4dab-bbfe-0e88c4749b71","description":"<p>Delete a notification item</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","name":"GatePass.","type":"collection"}},"urlObject":{"protocol":"http","port":"","path":["","52.40.191.249","api","v1","notifications","4c0ee85e-0faa-4dab-bbfe-0e88c4749b71"],"host":["http"],"query":[],"variable":[]}},"response":[{"id":"c8e6675d-b76e-47e3-a9cc-277f7670f8dd","name":"Delete","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/v1/notifications/4c0ee85e-0faa-4dab-bbfe-0e88c4749b71"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sun, 20 Oct 2019 16:49:51 GMT"},{"key":"Date","value":"Sun, 20 Oct 2019 16:49:51 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/7.3.8-1+ubuntu18.04.1+deb.sury.org+1"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, OPTIONS, PUT, PATCH, DELETE"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Max-Age","value":"86400"},{"key":"Access-Control-Allow-Headers","value":"Content-Type, Authorization, X-Requested-With"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Notification item deleted\"\n}"}],"_postman_id":"84b834cb-783c-4daa-a7f2-1f6fe511ae7f"}],"id":"3314ea15-8e2c-45a2-885c-a75d6966bef0","description":"<p>Use these endpoint here to retrieve users notifications, mark notifications as read or \ndelete notifications</p>\n<p><strong>Authentication is required</strong></p>\n","event":[{"listen":"prerequest","script":{"id":"8afc390b-47c3-4d25-859a-cb016231b828","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1f30746f-45d9-4c45-b2f2-4ee0b8d73dfa","type":"text/javascript","exec":[""]}}],"_postman_id":"3314ea15-8e2c-45a2-885c-a75d6966bef0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","id":"30ddb357-9702-4b92-9f4c-f2ab36816ebb","name":"GatePass.","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"d0f86baf-5cd4-4a8c-80a1-6ec5118fb0db","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"99582569-1f55-4084-9e57-96a67d0201b4","type":"text/javascript","exec":[""]}}]}