{"info":{"_postman_id":"159393f3-c133-41fd-991f-7a99ee770ffb","name":"Atebba User API","description":"Api Testing Atebba\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Send OTP for mobile Verification","event":[{"listen":"test","script":{"id":"7fc7eaf5-227b-42ef-93cc-0ea214254649","exec":["// example using pm.response.to.have\r","pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","// example using pm.response.to.be*\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"33fcfb7e-0664-450a-a593-48a05b9db954","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY4NzdhOWEwYTZjNTM5YzE3ZDIxNjAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MTU2NjQ5LCJpYXQiOjE1NzY1NjQ2NDl9.UQftvY5nxMtcWm2-bMZcH2rAN701r2e7ZoZQriWp6-E"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"phoneNumber","value":"7830067633","type":"text"}]},"url":"atebba.appening.xyz/auth/api/sendOTP"},"response":[],"_postman_id":"33fcfb7e-0664-450a-a593-48a05b9db954"},{"name":"Verify OTP","event":[{"listen":"test","script":{"id":"caa09187-590f-4dde-ab81-d268da5d0892","exec":["\r","pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"8e2bdb16-7e23-4eb7-a30b-8942782aa4ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY4NzdhOWEwYTZjNTM5YzE3ZDIxNjAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MTU2NjQ5LCJpYXQiOjE1NzY1NjQ2NDl9.UQftvY5nxMtcWm2-bMZcH2rAN701r2e7ZoZQriWp6-E"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"otp","value":"6990","type":"text"},{"key":"phoneNumber","value":"7830067633","type":"text"},{"key":"password","value":"password","type":"text"}]},"url":"atebba.appening.xyz/auth/api/verifyOTP"},"response":[],"_postman_id":"8e2bdb16-7e23-4eb7-a30b-8942782aa4ef"},{"name":"Create Password","event":[{"listen":"test","script":{"id":"8e834ac7-a4a9-476c-98d3-6dce2a576199","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"83ef9b0b-ff4f-4295-b341-77e4bf41f489","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY4NzdhOWEwYTZjNTM5YzE3ZDIxNjAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MTU2NjQ5LCJpYXQiOjE1NzY1NjQ2NDl9.UQftvY5nxMtcWm2-bMZcH2rAN701r2e7ZoZQriWp6-E"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"phoneNumber","value":"7830067633","type":"text"},{"key":"password","value":"password","type":"text"},{"key":"cnfPassword","value":"password","type":"text"}]},"url":"atebba.appening.xyz/auth/api/createPassword"},"response":[],"_postman_id":"83ef9b0b-ff4f-4295-b341-77e4bf41f489"},{"name":"User Profile","event":[{"listen":"test","script":{"id":"ea77392c-f912-464d-85fc-1772ac9cecda","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"2e3da41f-cd06-44dd-9d7a-e04c0229fd8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"atebba.appening.xyz/api/user/profile"},"response":[{"id":"0caf9380-6d15-4805-9a28-d8add3a18bc5","name":"User Profile","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[],"options":{"raw":{"language":"json"}}},"url":"atebba.appening.xyz/user/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Dec 2019 10:05:04 GMT"},{"key":"Server","value":"Apache/2.4.29 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Cache-Control","value":"public, max-age=0"},{"key":"Last-Modified","value":"Fri, 13 Dec 2019 07:54:47 GMT"},{"key":"ETag","value":"W/\"84c-16efe40c4db-gzip\""},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"720"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"<!DOCTYPE html>\n<html lang=\"en\">\n    <head>\n        <meta charset=\"UTF-8\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n        <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n        <meta charset=\"utf-8\">\n        <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\">\n        <title>Atebba</title>\n        <base href=\"/\">\n        <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/css/style.css\">\n        <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/css/new-style.css\">\n        <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/css/responsive.css\">\n        <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/css/bootstrap.css\">\n        <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/css/bootstrap.min.css\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n        <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\">\n        <link rel=\"stylesheet\" href=\"https://unpkg.com/ngx-bootstrap/datepicker/bs-datepicker.css\">\n        <link href=\"https://fonts.googleapis.com/css?family=Titillium+Web\" rel=\"stylesheet\">\n        <link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\n        <link rel=\"stylesheet\" href=\"styles.b48e331ab4c0d4a67023.css\">\n    </head>\n    <body class=\"igx-typography\">\n        <app-root></app-root>\n        <script src=\"/assets/js/jquery.min.js\"></script>\n        <script src=\"/assets/js/main.js\"></script>\n        <script src=\"/assets/js/bootstrap.min.js\"></script>\n        <script src=\"https://maps.googleapis.com/maps/api/js?libraries=places&key=AIzaSyBlg_n_Iika9tpYMrEK8I1QFHl277ac4Y0\"></script>\n        <script src=\"runtime-es2015.8243a01d7ac11011a952.js\" type=\"module\"></script>\n        <script src=\"runtime-es5.8243a01d7ac11011a952.js\" nomodule defer></script>\n        <script src=\"polyfills-es5.c14567487281cef50781.js\" nomodule defer></script>\n        <script src=\"polyfills-es2015.4158160d72f9e955ad89.js\" type=\"module\"></script>\n        <script src=\"main-es2015.1521ae0e52f54957842b.js\" type=\"module\"></script>\n        <script src=\"main-es5.1521ae0e52f54957842b.js\" nomodule defer></script>\n    </body>\n</html>"}],"_postman_id":"2e3da41f-cd06-44dd-9d7a-e04c0229fd8f"},{"name":"Update user profile","event":[{"listen":"test","script":{"id":"5d61bb12-f7b5-4438-b30a-00279db0b4eb","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"2915c4cb-edc1-45d4-9d86-7591363c3c79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGQ2OTZmODc5OTZkYjMxNGU5MjQzMTYiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MTYwMTgyLCJpYXQiOjE1NzY1NjgxODJ9.p3moNhKyHygHEngg0pjTK6qV7FFtPYmC_5F044inYVU"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"_id\": \"5df8a6f6a0a6c539c17d2177\",\r\n  \"insurance\": \"5d9d8fda18a78938102d1b0d\",\r\n  \"packageName\": \"222\",\r\n  \"name\": \"shivam\",\r\n  \"avatar\": \"null\",\r\n  \"email\": \"shivam@gmail.com\",\r\n  \"phoneNumber\": 7830067632,\r\n  \"password\": \"password\",\r\n  \"dateOfBirth\": \"2019-12-17T10:31:53.538Z\",\r\n  \"bloodGroupType\": A-,\r\n  \"gender\": \"male\",\r\n   \"age\": 22,\r\n  \"country\": \"India\",\r\n  \"city\": \"Noida\",\r\n  \"language\": \"Hindi\",\r\n  \"region\": \"Noida\",\r\n  \"status\": 0,\r\n  \"location\": \"Noida sector-62\",\r\n  \"coordinates\": [\r\n    \"string\"\r\n  ],\r\n  \"createdAt\": \"string\",\r\n  \"updatedAt\": \"string\"\r\n}"},"url":"atebba.appening.xyz/api/user/profile"},"response":[],"_postman_id":"2915c4cb-edc1-45d4-9d86-7591363c3c79"},{"name":"Saved Doctors","event":[{"listen":"test","script":{"id":"a225055a-059c-469c-8c21-2465095b4e68","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"f806a062-32be-4e4f-9386-ee568b9522a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGQ2OTZmODc5OTZkYjMxNGU5MjQzMTYiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MTYwMTgyLCJpYXQiOjE1NzY1NjgxODJ9.p3moNhKyHygHEngg0pjTK6qV7FFtPYmC_5F044inYVU"}},"method":"GET","header":[],"url":"atebba.appening.xyz/api/user/saved-doctors"},"response":[],"_postman_id":"f806a062-32be-4e4f-9386-ee568b9522a2"},{"name":"Add savedDoctor","event":[{"listen":"test","script":{"id":"4a191ca4-22d2-4408-9d86-06b9d12f6870","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"d7064ce8-653b-40d6-85cf-733de4904739","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"doctorId ","value":"5ddf6ae1c73dc5257cb65cce","type":"text"}]},"url":"atebba.appening.xyz/api/user/saved-doctors"},"response":[],"_postman_id":"d7064ce8-653b-40d6-85cf-733de4904739"},{"name":"List all Patient","event":[{"listen":"test","script":{"id":"2fac4303-852b-4d6c-8569-e3c2d76bbebe","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"4be3041d-baa0-4e3f-9cd8-642a9abaf851","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"GET","header":[],"url":"atebba.appening.xyz/api/user/patient"},"response":[],"_postman_id":"4be3041d-baa0-4e3f-9cd8-642a9abaf851"},{"name":"Update Patient Details","event":[{"listen":"test","script":{"id":"0e4430e1-c241-40d6-b0d1-16aad1a5e573","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"13a3dc5a-4b82-42de-b6ea-cbd7e1e42f1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"patient","type":"text"},{"key":"patient","value":"5df9aea2a0a6c539c17d2193","type":"text"},{"key":"age","value":"5","type":"text"},{"key":"gender","value":"male","type":"text"},{"key":"relation","value":"me","type":"text"},{"key":"phoneNumber","value":"783006733","type":"text"},{"key":"password","value":"password","type":"text"}]},"url":"atebba.appening.xyz/api/user/update/patient"},"response":[],"_postman_id":"13a3dc5a-4b82-42de-b6ea-cbd7e1e42f1a"},{"name":"Add new Patient","event":[{"listen":"test","script":{"id":"d43813ae-7d9f-4125-a74c-335094442eb1","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"a03abe06-faf3-4fd0-8413-b602bd636e33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"age","value":"57","type":"text"},{"key":"gender","value":"male","type":"text"},{"key":"relation","value":"father","type":"text"},{"key":"phoneNumber","value":"9876543210","type":"text"},{"key":"name","value":"father","type":"text"}]},"url":{"raw":"atebba.appening.xyz/api/user/patient?name =usermother&age=52&gender=female&relation =mother&phoneNumber=987654321","host":["atebba","appening","xyz"],"path":["api","user","patient"],"query":[{"key":"name ","value":"usermother"},{"key":"age","value":"52"},{"key":"gender","value":"female"},{"key":"relation ","value":"mother"},{"key":"phoneNumber","value":"987654321"}]}},"response":[],"_postman_id":"a03abe06-faf3-4fd0-8413-b602bd636e33"},{"name":"Delete Patient","event":[{"listen":"test","script":{"id":"2f44e8d4-5470-4555-b3db-c6095199227f","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"1df5ce59-6be2-43c2-a6d8-fa169e7a6adb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"patient","value":"5df9b235a0a6c539c17d2196","type":"text"}]},"url":{"raw":"atebba.appening.xyz/api/user/delete/patient?patient=5df9b235a0a6c539c17d2196","host":["atebba","appening","xyz"],"path":["api","user","delete","patient"],"query":[{"key":"patient","value":"5df9b235a0a6c539c17d2196"}]}},"response":[],"_postman_id":"1df5ce59-6be2-43c2-a6d8-fa169e7a6adb"},{"name":"Patient Reset Password","event":[{"listen":"test","script":{"id":"d15da196-69b0-4853-9eeb-aa9bae55210e","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"b1d6c6f5-2ab4-4fcf-9959-9971850f2b0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"oldPassword","value":"password","type":"text"},{"key":"newPassword","value":"secret","type":"text"},{"key":"cnfPassword","value":"secret","type":"text"}]},"url":"atebba.appening.xyz/api/user/resetPassword"},"response":[],"_postman_id":"b1d6c6f5-2ab4-4fcf-9959-9971850f2b0f"},{"name":"User Appointment ","event":[{"listen":"test","script":{"id":"79c1a097-9587-47fc-a873-3795d23f5ff7","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"7a9586a2-7585-472e-9b19-e2005489369c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"GET","header":[],"url":"atebba.appening.xyz//api/user/appointments"},"response":[],"_postman_id":"7a9586a2-7585-472e-9b19-e2005489369c"},{"name":"Patient Add Appointment","event":[{"listen":"test","script":{"id":"dd624ceb-2ede-42e1-bec9-1655109ae69b","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"cc8178ab-a288-472b-8e25-e612098692e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"patient\": \"5df9aea2a0a6c539c17d2193\",\r\n  \"doctor\": \"5de0e8fc6fea4914b946fada\",\r\n  \"hospital\": \"5de8debaa687a803db22c04c\",\r\n  \"date\": \"2019-12-19T14:48:00.000Z\",\r\n  \"startTime\": \"8:00 AM\",\r\n  \"endTime\": \"10:00 AM\",\r\n  \"insurance\": \"5d9d8fda18a78938102d1b0e\",\r\n}"},"url":"atebba.appening.xyz/api/doctor/appointment"},"response":[],"_postman_id":"cc8178ab-a288-472b-8e25-e612098692e1"},{"name":"Cancel Appointment","event":[{"listen":"test","script":{"id":"e6f4c1c1-8044-4cab-9365-d2d661747198","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"6dd7ae15-4ed7-4533-b8c5-54720c1cb9df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"appointmentId","value":"5df9fe12a0a6c539c17d219b","type":"text"}]},"url":"atebba.appening.xyz/api/user/appointment/cancel"},"response":[],"_postman_id":"6dd7ae15-4ed7-4533-b8c5-54720c1cb9df"},{"name":"All Doctors","event":[{"listen":"test","script":{"id":"4971f35e-8365-4e9c-b4fa-ed4f22b1d760","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"63bfd520-58a5-4ab4-a350-9fdda4cca94e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"GET","header":[],"url":"atebba.appening.xyz/api/doctors"},"response":[],"_postman_id":"63bfd520-58a5-4ab4-a350-9fdda4cca94e"},{"name":"Profile of Doctor details","event":[{"listen":"test","script":{"id":"10c665ee-feb6-42cf-a968-396ad9164680","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"3b75c462-be07-4be1-98d0-2d7dc353b726","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGIwNDgxODAwYzUyODI1Y2NmMWE2ZTEiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc3NjIwMTA5LCJpYXQiOjE1NzUwMjgxMDl9.kjhimo7OH9nXJA2FaKilKJMjpJ98hVpeLtaAZYd2jL4"}},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"doctorId","value":"5db0481800c52825ccf1a6e1","type":"text"}]},"url":"atebba.appening.xyz/api/doctor/profile"},"response":[],"_postman_id":"3b75c462-be07-4be1-98d0-2d7dc353b726"},{"name":"Speciality of Doctor","event":[{"listen":"test","script":{"id":"77eee5a0-6d99-4ad5-845a-d47f98a3adc8","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"314722c1-7ba6-4308-ad1e-e3556a3fe3c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGIwNDgxODAwYzUyODI1Y2NmMWE2ZTEiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc3NjIwMTA5LCJpYXQiOjE1NzUwMjgxMDl9.kjhimo7OH9nXJA2FaKilKJMjpJ98hVpeLtaAZYd2jL4"}},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"atebba.appening.xyz/api/specialities"},"response":[],"_postman_id":"314722c1-7ba6-4308-ad1e-e3556a3fe3c2"},{"name":"name of speciality","event":[{"listen":"test","script":{"id":"247d190a-72be-40a9-803f-ac18d1ce2411","exec":["pm.test(\"response is ok\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","// example using pm.expect()\r","//pm.test(\"environment to be production\", function () {\r","   // pm.expect(pm.environment.get(\"env\")).to.equal(\"production\");\r","//});\r","\r","// example using response assertions\r","//pm.test(\"response should be okay to process\", function () {\r","   // pm.response.to.not.be.error;\r","   // pm.response.to.have.jsonBody(\"\");\r","   // pm.response.to.not.have.jsonBody(\"error\");\r","//});\r","\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     // assert that the status code is 200\r","     pm.response.to.be.ok; // info, success, redirection, clientError,  serverError, are other variants\r","     // assert that the response has a valid JSON body\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json; // this assertion also checks if a body  exists, so the above check is not needed\r","});"],"type":"text/javascript"}}],"id":"f253153a-1672-44a7-9941-9267d00ca6ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGIwNDgxODAwYzUyODI1Y2NmMWE2ZTEiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc3NjIwMTA5LCJpYXQiOjE1NzUwMjgxMDl9.kjhimo7OH9nXJA2FaKilKJMjpJ98hVpeLtaAZYd2jL4"}},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name ","value":"Dental Surgeon","type":"text"}]},"url":"atebba.appening.xyz/api/specialities/Dental Surgeon"},"response":[],"_postman_id":"f253153a-1672-44a7-9941-9267d00ca6ca"},{"name":"Insurance ","id":"3c477bc5-1796-4a40-b7c5-83716585a2a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZGY5YWUwNGEwYTZjNTM5YzE3ZDIxOTAiLCJhY2Nlc3MiOiJhdXRoIiwiZXhwIjoxNTc5MjM2MjU4LCJpYXQiOjE1NzY2NDQyNTh9.oO4QqaPbZ6JuvM2Vo-aSTQ9UA0yzoALUc4QhR2AVu8c"}},"method":"GET","header":[],"url":"atebba.appening.xyz/api/insurance/company"},"response":[],"_postman_id":"3c477bc5-1796-4a40-b7c5-83716585a2a3"}]}