{"info":{"_postman_id":"49e7959a-ddf6-4c69-a102-77a33cc40644","name":"G1T6 SeekHealth API","description":"<html><head></head><body><p>SeekHealth is our effort to allow healthcare providers to aggregate thousands of appointments and consultation information. The SeekHealth API allows healthcare providers to bring features for both their internal and external users. </p>\n<h1 id=\"features\">Features</h1>\n<p>We provide you programmatic access to many of the operations available on SeekHealth website. These features are utilized by both internal and external users.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Patient</th>\n<th>Doctor</th>\n<th>Pharmacist</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>login/logout</td>\n<td>login/logout</td>\n<td>login/logout</td>\n</tr>\n<tr>\n<td>sign up</td>\n<td>view all scheduled appointments</td>\n<td>view all prescriptions</td>\n</tr>\n<tr>\n<td>view available time slots</td>\n<td>view patient's details</td>\n<td></td>\n</tr>\n<tr>\n<td>book an appointment</td>\n<td>create consultation information</td>\n<td></td>\n</tr>\n<tr>\n<td>view all scheduled appointments</td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"structure\">Structure</h1>\n<p>The SeekHealth API comprises of 5 simple micro-services (SMS) and 2 complex micro-services (CMS).</p>\n<h1 id=\"instructions\">Instructions</h1>\n<p>Each method have multiple examples (e.g. successful operation, no appointment). To view the examples, please click on the dropdown button under <strong>Example Request</strong>.</p>\n<p>The API documentation can be either viewed in two ways:</p>\n<ul>\n<li><a href=\"https://documenter.getpostman.com/view/12748512/TzCQcnSk#dc506403-f9e6-47c9-8ec7-2a61ce658a0e\">web</a></li>\n<li>download JSON file (under /esd_frontend folder)</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Features","slug":"features"},{"content":"Structure","slug":"structure"},{"content":"Instructions","slug":"instructions"}],"owner":"12748512","collectionId":"49e7959a-ddf6-4c69-a102-77a33cc40644","publishedId":"TzCQcnSk","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-04-06T08:10:11.000Z"},"item":[{"name":"SMS","item":[{"name":"Appointment","item":[{"name":"get all appointments","id":"df03bae9-db1a-4828-9659-8a8bd2064b9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5100/appt","description":"<ol>\n<li>successful operation</li>\n<li>no appointments</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5100","path":["appt"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"c5150a64-472d-4320-9247-e60b217f2897","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5100/appt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1840"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.3"},{"key":"Date","value":"Tue, 06 Apr 2021 09:14:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"appts\": [\n            {\n                \"apptDateTime\": \"Tue, 31 Aug 2021 04:30:00 GMT\",\n                \"apptID\": 1,\n                \"apptStatus\": \"confirm\",\n                \"created\": \"Fri, 12 Jun 2020 09:23:55 GMT\",\n                \"dID\": 11,\n                \"modified\": \"Fri, 12 Jun 2020 10:14:43 GMT\",\n                \"pID\": 1,\n                \"timeSlotID\": 1\n            },\n            {\n                \"apptDateTime\": \"Fri, 17 Sep 2021 05:00:00 GMT\",\n                \"apptID\": 2,\n                \"apptStatus\": \"confirm\",\n                \"created\": \"Fri, 12 Jun 2020 10:14:43 GMT\",\n                \"dID\": 11,\n                \"modified\": \"Fri, 12 Jun 2020 10:50:23 GMT\",\n                \"pID\": 2,\n                \"timeSlotID\": 2\n            },\n            {\n                \"apptDateTime\": \"Tue, 17 Aug 2021 04:30:00 GMT\",\n                \"apptID\": 3,\n                \"apptStatus\": \"confirm\",\n                \"created\": \"Fri, 12 Jun 2020 11:14:56 GMT\",\n                \"dID\": 11,\n                \"modified\": \"Fri, 12 Jun 2020 13:34:45 GMT\",\n                \"pID\": 3,\n                \"timeSlotID\": 3\n            },\n            {\n                \"apptDateTime\": \"Fri, 10 Sep 2021 02:30:00 GMT\",\n                \"apptID\": 4,\n                \"apptStatus\": \"confirm\",\n                \"created\": \"Fri, 12 Jun 2020 13:20:34 GMT\",\n                \"dID\": 12,\n                \"modified\": \"Fri, 12 Jun 2020 14:54:32 GMT\",\n                \"pID\": 4,\n                \"timeSlotID\": 4\n            },\n            {\n                \"apptDateTime\": \"Tue, 17 Aug 2021 04:30:00 GMT\",\n                \"apptID\": 5,\n                \"apptStatus\": \"confirm\",\n                \"created\": null,\n                \"dID\": 12,\n                \"modified\": \"Fri, 12 Jun 2020 19:14:32 GMT\",\n                \"pID\": 1,\n                \"timeSlotID\": 5\n            },\n            {\n                \"apptDateTime\": \"Fri, 20 Aug 2021 10:00:00 GMT\",\n                \"apptID\": 6,\n                \"apptStatus\": \"confirm\",\n                \"created\": \"Fri, 12 Jun 2020 10:40:55 GMT\",\n                \"dID\": 12,\n                \"modified\": \"Fri, 12 Jun 2020 11:54:34 GMT\",\n                \"pID\": 2,\n                \"timeSlotID\": 6\n            }\n        ]\n    }\n}"},{"id":"f3a5e70f-d55d-4fa9-b5b0-c592e764b5dc","name":"no appt","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5100/appt"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"62"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 14:42:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"message\": \"There are no appointments.\"\n}"}],"_postman_id":"df03bae9-db1a-4828-9659-8a8bd2064b9e"},{"name":"get one appointment","id":"3ca92f4e-ff70-4eea-9d89-918328b8809a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5100/appt/13","description":"<ol>\n<li>successful operation</li>\n<li>no appointments</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5100","path":["appt","13"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"5b9e9231-0503-4d4f-b10d-5579b56ba02e","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5100/appt/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"628"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.3"},{"key":"Date","value":"Tue, 06 Apr 2021 09:23:49 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"appts\": [\n            {\n                \"apptDateTime\": \"Fri, 12 Jun 2020 02:14:51 GMT\",\n                \"apptID\": 1,\n                \"apptStatus\": \"TEST\",\n                \"created\": \"Fri, 12 Jun 2020 09:23:55 GMT\",\n                \"dID\": 1,\n                \"modified\": \"Tue, 06 Apr 2021 09:14:58 GMT\",\n                \"pID\": 1,\n                \"timeSlotID\": 1\n            },\n            {\n                \"apptDateTime\": \"Tue, 17 Aug 2021 04:30:00 GMT\",\n                \"apptID\": 5,\n                \"apptStatus\": \"confirm\",\n                \"created\": null,\n                \"dID\": 12,\n                \"modified\": \"Fri, 12 Jun 2020 19:14:32 GMT\",\n                \"pID\": 1,\n                \"timeSlotID\": 5\n            }\n        ]\n    }\n}"},{"id":"f4b07da1-4742-4a03-85a8-5ddc8263a2fb","name":"no appt with stated ID","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5100/appt/13"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"62"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 14:32:53 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"message\": \"There are no appointments.\"\n}"}],"_postman_id":"3ca92f4e-ff70-4eea-9d89-918328b8809a"},{"name":"create an appointment (success)","id":"c884521a-53b2-45be-b583-7a0e191f3a05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pID\": 1,\r\n    \"dID\": 1,\r\n    \"apptDateTime\": \"2020-06-12 02:14:55\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5100/appt/","urlObject":{"protocol":"http","port":"5100","path":["appt",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"47db64f4-9033-486c-81ce-c55fcfc0ba52","name":"correct inputs","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pID\": 1,\r\n    \"dID\": 1,\r\n    \"timeSlotID\": 7,\r\n    \"apptDateTime\": \"2021-08-21 12:00:00\",\r\n    \"apptStatus\": \"confirm\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5100/appt/"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"287"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 14:31:41 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"data\": {\n        \"apptDateTime\": \"Sat, 21 Aug 2021 12:00:00 GMT\",\n        \"apptID\": 7,\n        \"apptStatus\": \"pending\",\n        \"created\": \"Fri, 09 Apr 2021 14:31:42 GMT\",\n        \"dID\": 1,\n        \"modified\": \"Fri, 09 Apr 2021 14:31:42 GMT\",\n        \"pID\": 1,\n        \"timeSlotID\": 7\n    }\n}"}],"_postman_id":"c884521a-53b2-45be-b583-7a0e191f3a05"},{"name":"create an appointment (failure)","id":"663c69d6-b9b0-43ba-8285-e75e81ca91ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pID\": 1,\r\n    \"dID\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5100/appt/","urlObject":{"protocol":"http","port":"5100","path":["appt",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"546b1dc9-3542-4bb3-a5a0-b0b08a5f27e4","name":"wrong inputs","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pID\": 1,\r\n    \"dID\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5100/appt/"},"status":"INTERNAL SERVER ERROR","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"525"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Sat, 10 Apr 2021 00:39:39 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 500,\n    \"message\": \"An error occurred creating the appointment. (mysql.connector.errors.OperationalError) MySQL Connection not available.\\n[SQL: INSERT INTO appt (`pID`, `dID`, `apptDateTime`, `apptStatus`, created, modified, `timeSlotID`) VALUES (%(pID)s, %(dID)s, %(apptDateTime)s, %(apptStatus)s, %(created)s, %(modified)s, %(timeSlotID)s)]\\n[parameters: [{'dID': 1, 'pID': 1, 'apptStatus': 'pending', 'apptDateTime': None, 'timeSlotID': None}]]\\n(Background on this error at: http://sqlalche.me/e/13/e3q8)\"\n}"}],"_postman_id":"663c69d6-b9b0-43ba-8285-e75e81ca91ed"},{"name":"update an appointment (success)","id":"60ef501c-fefc-47ef-8bb2-7ec449fa0f7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pID\": 1,\r\n    \"dID\": 1,\r\n    \"apptDateTime\": \"2020-06-12 02:14:51\",\r\n    \"apptStatus\": \"TEST\"\r\n}"},"url":"http://localhost:5100/appt/1","urlObject":{"protocol":"http","port":"5100","path":["appt","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1e8fa799-066a-45f0-891f-ac045e146aea","name":"correct inputs","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pID\": 1,\r\n    \"dID\": 1,\r\n    \"apptDateTime\": \"2020-06-12 02:14:51\",\r\n    \"apptStatus\": \"TEST\"\r\n}"},"url":"http://localhost:5100/appt/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"284"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.3"},{"key":"Date","value":"Tue, 06 Apr 2021 09:14:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"apptDateTime\": \"Fri, 12 Jun 2020 02:14:51 GMT\",\n        \"apptID\": 1,\n        \"apptStatus\": \"TEST\",\n        \"created\": \"Fri, 12 Jun 2020 09:23:55 GMT\",\n        \"dID\": 1,\n        \"modified\": \"Tue, 06 Apr 2021 09:14:58 GMT\",\n        \"pID\": 1,\n        \"timeSlotID\": 1\n    }\n}"}],"_postman_id":"60ef501c-fefc-47ef-8bb2-7ec449fa0f7b"},{"name":"update an appointment (failure)","id":"9cb2a06a-a77d-4c35-a29a-2cc3a6ab8cb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://localhost:5100/appt/13","urlObject":{"protocol":"http","port":"5100","path":["appt","13"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"db90a5ec-ad4b-4339-ae41-4e9eccad2847","name":"no appt with stated ID","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pID\": 1,\r\n    \"dID\": 1,\r\n    \"apptDateTime\": \"2020-06-12 02:14:51\",\r\n    \"apptStatus\": \"TEST\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5100/appt/13"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"95"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Sat, 10 Apr 2021 00:48:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"data\": {\n        \"apptID\": \"13\"\n    },\n    \"message\": \"Appointment not found.\"\n}"}],"_postman_id":"9cb2a06a-a77d-4c35-a29a-2cc3a6ab8cb2"}],"id":"451f677e-244a-4d3e-9baa-14ac00fa2805","_postman_id":"451f677e-244a-4d3e-9baa-14ac00fa2805","description":""},{"name":"Doctor","item":[{"name":"get all doctors","id":"a8cd5507-0a79-4c04-a516-f087e2a05bed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5200/doctor","description":"<ol>\n<li>successful operation</li>\n<li>no doctors</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5200","path":["doctor"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"43b39177-a3c1-4858-b868-598c87f80e87","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5200/doctor"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2001"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 09:24:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"doctors\": [\n            {\n                \"dDepartment\": \"Cardiologists\",\n                \"dID\": 1,\n                \"dName\": \"Tommy\",\n                \"dRoom\": \"Rm3-1\",\n                \"doct_Availability\": [\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Sat, 12 Jun 2021 02:00:00 GMT\",\n                        \"timeSlotID\": 1\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Sun, 13 Jun 2021 02:30:00 GMT\",\n                        \"timeSlotID\": 2\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Wed, 14 Jul 2021 03:00:00 GMT\",\n                        \"timeSlotID\": 3\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Thu, 15 Jul 2021 03:30:00 GMT\",\n                        \"timeSlotID\": 4\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Mon, 16 Aug 2021 04:00:00 GMT\",\n                        \"timeSlotID\": 5\n                    }\n                ]\n            },\n            {\n                \"dDepartment\": \"Cardiologists\",\n                \"dID\": 2,\n                \"dName\": \"Henry\",\n                \"dRoom\": \"Rm3-2\",\n                \"doct_Availability\": [\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Tue, 17 Aug 2021 04:30:00 GMT\",\n                        \"timeSlotID\": 6\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Wed, 18 Aug 2021 05:00:00 GMT\",\n                        \"timeSlotID\": 7\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Sun, 19 Sep 2021 05:30:00 GMT\",\n                        \"timeSlotID\": 8\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Mon, 20 Sep 2021 06:00:00 GMT\",\n                        \"timeSlotID\": 9\n                    }\n                ]\n            }\n        ]\n    }\n}"},{"id":"4fef00a7-b851-4421-9c68-aec584440a49","name":"no doctors","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5200/doctor"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2001"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 09:24:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"doctors\": [\n            {\n                \"dDepartment\": \"Cardiologists\",\n                \"dID\": 1,\n                \"dName\": \"Tommy\",\n                \"dRoom\": \"Rm3-1\",\n                \"doct_Availability\": [\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Sat, 12 Jun 2021 02:00:00 GMT\",\n                        \"timeSlotID\": 1\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Sun, 13 Jun 2021 02:30:00 GMT\",\n                        \"timeSlotID\": 2\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Wed, 14 Jul 2021 03:00:00 GMT\",\n                        \"timeSlotID\": 3\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Thu, 15 Jul 2021 03:30:00 GMT\",\n                        \"timeSlotID\": 4\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Mon, 16 Aug 2021 04:00:00 GMT\",\n                        \"timeSlotID\": 5\n                    }\n                ]\n            },\n            {\n                \"dDepartment\": \"Cardiologists\",\n                \"dID\": 2,\n                \"dName\": \"Henry\",\n                \"dRoom\": \"Rm3-2\",\n                \"doct_Availability\": [\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Tue, 17 Aug 2021 04:30:00 GMT\",\n                        \"timeSlotID\": 6\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Wed, 18 Aug 2021 05:00:00 GMT\",\n                        \"timeSlotID\": 7\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Sun, 19 Sep 2021 05:30:00 GMT\",\n                        \"timeSlotID\": 8\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Mon, 20 Sep 2021 06:00:00 GMT\",\n                        \"timeSlotID\": 9\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"a8cd5507-0a79-4c04-a516-f087e2a05bed"},{"name":"get one doctor","id":"c6c02771-5750-48d9-8abb-9c3776dd0917","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5200/doctor/1","description":"<ol>\n<li>successful operation</li>\n<li>no doctor with stated ID</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5200","path":["doctor","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ef7eeceb-0d9a-406b-a8bd-d96d9a4be35e","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5200/doctor/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"935"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 20:32:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"dDepartment\": \"Cardiologists\",\n        \"dID\": 1,\n        \"dName\": \"Tommy\",\n        \"dRoom\": \"Rm3-1\",\n        \"doct_Availability\": [\n            {\n                \"bookingStatus\": \"Available\",\n                \"dID\": 1,\n                \"timeSlot\": \"Sat, 12 Jun 2021 02:00:00 GMT\",\n                \"timeSlotID\": 1\n            },\n            {\n                \"bookingStatus\": \"Available\",\n                \"dID\": 1,\n                \"timeSlot\": \"Sun, 13 Jun 2021 02:30:00 GMT\",\n                \"timeSlotID\": 2\n            },\n            {\n                \"bookingStatus\": \"Available\",\n                \"dID\": 1,\n                \"timeSlot\": \"Wed, 14 Jul 2021 03:00:00 GMT\",\n                \"timeSlotID\": 3\n            },\n            {\n                \"bookingStatus\": \"Available\",\n                \"dID\": 1,\n                \"timeSlot\": \"Thu, 15 Jul 2021 03:30:00 GMT\",\n                \"timeSlotID\": 4\n            },\n            {\n                \"bookingStatus\": \"Available\",\n                \"dID\": 1,\n                \"timeSlot\": \"Mon, 16 Aug 2021 04:00:00 GMT\",\n                \"timeSlotID\": 5\n            }\n        ]\n    }\n}"},{"id":"ff5e78cd-ac2f-4fd2-8443-c9b367a5379a","name":"no doctor with stated ID","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5200/doctor/13"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"59"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 20:33:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"message\": \"Doctor ID 13 not found.\"\n}"}],"_postman_id":"c6c02771-5750-48d9-8abb-9c3776dd0917"},{"name":"get doctor by department","id":"b6bd2799-e190-4a3c-8f23-37077a0cd8c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5200/doctor/dpt/Cardiologists","description":"<ol>\n<li>successful operation</li>\n<li>no doctors under the stated department</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5200","path":["doctor","dpt","Cardiologists"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9dccd197-3d3c-464f-9002-5a77419c5cd0","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5200/doctor/dpt/Cardiologists"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2001"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 20:36:35 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"doctors\": [\n            {\n                \"dDepartment\": \"Cardiologists\",\n                \"dID\": 1,\n                \"dName\": \"Tommy\",\n                \"dRoom\": \"Rm3-1\",\n                \"doct_Availability\": [\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Sat, 12 Jun 2021 02:00:00 GMT\",\n                        \"timeSlotID\": 1\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Sun, 13 Jun 2021 02:30:00 GMT\",\n                        \"timeSlotID\": 2\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Wed, 14 Jul 2021 03:00:00 GMT\",\n                        \"timeSlotID\": 3\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Thu, 15 Jul 2021 03:30:00 GMT\",\n                        \"timeSlotID\": 4\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 1,\n                        \"timeSlot\": \"Mon, 16 Aug 2021 04:00:00 GMT\",\n                        \"timeSlotID\": 5\n                    }\n                ]\n            },\n            {\n                \"dDepartment\": \"Cardiologists\",\n                \"dID\": 2,\n                \"dName\": \"Henry\",\n                \"dRoom\": \"Rm3-2\",\n                \"doct_Availability\": [\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Tue, 17 Aug 2021 04:30:00 GMT\",\n                        \"timeSlotID\": 6\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Wed, 18 Aug 2021 05:00:00 GMT\",\n                        \"timeSlotID\": 7\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Sun, 19 Sep 2021 05:30:00 GMT\",\n                        \"timeSlotID\": 8\n                    },\n                    {\n                        \"bookingStatus\": \"Available\",\n                        \"dID\": 2,\n                        \"timeSlot\": \"Mon, 20 Sep 2021 06:00:00 GMT\",\n                        \"timeSlotID\": 9\n                    }\n                ]\n            }\n        ]\n    }\n}"},{"id":"6e310f4f-7859-4f8a-8d82-121ef355c7a5","name":"no doctor under stated dpt","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5200/doctor/dpt/Neurology"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"57"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 20:38:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"message\": \"There are no doctors.\"\n}"}],"_postman_id":"b6bd2799-e190-4a3c-8f23-37077a0cd8c3"},{"name":"get doctor by timeslot","id":"bffd872b-8477-45b6-83af-c9064d3d751b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5200/doctor/removets/1","description":"<ol>\n<li>successful operation</li>\n<li>no doctors under stated timeslot</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5200","path":["doctor","removets","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ede95c09-54d4-449d-b742-baad2c2d4023","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5200/doctor/removets/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"156"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 20:41:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"bookingStatus\": \"Available\",\n        \"dID\": 1,\n        \"timeSlot\": \"Sat, 12 Jun 2021 02:00:00 GMT\",\n        \"timeSlotID\": 1\n    }\n}"},{"id":"c72661b9-6d49-4fb5-b42c-9a09fc4300a9","name":"no doctor under stated timeslot","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5200/doctor/removets/13"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"61"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 21:23:45 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"message\": \"Timeslot ID 13 not found.\"\n}"}],"_postman_id":"bffd872b-8477-45b6-83af-c9064d3d751b"},{"name":"update appointment booking status (success)","id":"faf67c06-e296-4d15-884f-9e2ea9f60dd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n        \"bookingStatus\": \"Unavailable\",\r\n        \"timeSlotID\": 4\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5200/doctor/statuschange/4","urlObject":{"protocol":"http","port":"5200","path":["doctor","statuschange","4"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7ad5989d-4b42-47a4-b883-3dbcca1d0af6","name":"correct inputs","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n        \"bookingStatus\": \"Unavailable\",\r\n        \"timeSlotID\": 4\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5200/doctor/statuschange/4"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"158"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 21:05:17 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"bookingStatus\": \"Unavailable\",\n        \"dID\": 1,\n        \"timeSlot\": \"Thu, 15 Jul 2021 03:30:00 GMT\",\n        \"timeSlotID\": 4\n    }\n}"}],"_postman_id":"faf67c06-e296-4d15-884f-9e2ea9f60dd6"},{"name":"update appointment booking status (failure)","id":"fc4cb938-662a-4098-b4e1-81882e61a8c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n        \"bookingStatus\": \"Unavailable\",\r\n        \"timeSlotID\": 4\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5200/doctor/statuschange/13","description":"<ol>\n<li>wrong/insufficient inputs<ul>\n<li>where booking status is not included</li>\n</ul>\n</li>\n<li>time slot not found</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5200","path":["doctor","statuschange","13"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"24ec89b6-3064-4d6e-844b-434031aad9eb","name":"wrong inputs","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n        \"timeSlotID\": 4\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5200/doctor/statuschange/4"},"status":"INTERNAL SERVER ERROR","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"139"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 21:06:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 500,\n    \"data\": {\n        \"timeSlotID\": 4\n    },\n    \"message\": \"An error occurred while updating the appointment. 'bookingStatus'\"\n}"},{"id":"2d4625a9-03d3-47b8-a444-6c565188babb","name":"timeslotID not found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n        \"bookingStatus\": \"Unavailable\",\r\n        \"timeSlotID\": 4\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5200/doctor/statuschange/13"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"96"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 21:10:31 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"data\": {\n        \"timeSlotID\": 13\n    },\n    \"message\": \"timeSlotID not found.\"\n}"}],"_postman_id":"fc4cb938-662a-4098-b4e1-81882e61a8c8"}],"id":"dc506403-f9e6-47c9-8ec7-2a61ce658a0e","_postman_id":"dc506403-f9e6-47c9-8ec7-2a61ce658a0e","description":""},{"name":"Patient","item":[{"name":"get all patients","id":"83c4f4db-64e3-4b4e-b505-59f049797179","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5500/patient","description":"<ol>\n<li>successful operation</li>\n<li>no patients</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5500","path":["patient"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cffa48aa-473f-4073-b603-381f101d29f4","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5500/patient"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1039"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 07:14:46 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"patients\": [\n            {\n                \"dob\": \"\",\n                \"email\": \"brlewtest@brlewtest.com\",\n                \"id\": 1,\n                \"medical_record\": [],\n                \"mobileno\": 0,\n                \"name\": \"\",\n                \"partialnric\": \"0\",\n                \"race\": \"\"\n            },\n            {\n                \"dob\": \"\",\n                \"email\": \"seekhealthadmin@f.com\",\n                \"id\": 2,\n                \"medical_record\": [],\n                \"mobileno\": 0,\n                \"name\": \"\",\n                \"partialnric\": \"0\",\n                \"race\": \"\"\n            },\n            {\n                \"dob\": \"10 Sep 1948\",\n                \"email\": \"bwong375@gmail.com\",\n                \"id\": 3,\n                \"medical_record\": [],\n                \"mobileno\": 97399245,\n                \"name\": \"BERNARD WONG\",\n                \"partialnric\": \"*****375C\",\n                \"race\": \"CHINESE\"\n            },\n            {\n                \"dob\": \"6 Jun 1998\",\n                \"email\": \"tanxiaohui98@gmail.com\",\n                \"id\": 4,\n                \"medical_record\": [],\n                \"mobileno\": 97399245,\n                \"name\": \"TAN XIAO HUI\",\n                \"partialnric\": \"*****381D\",\n                \"race\": \"CHINESE\"\n            }\n        ]\n    }\n}"},{"id":"fa14bc0a-2fb5-41f4-b91c-fb4efdcc9501","name":"no patient found","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5500/patient"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"58"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 22:39:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"message\": \"There are no patients.\"\n}"}],"_postman_id":"83c4f4db-64e3-4b4e-b505-59f049797179"},{"name":"get one patient","id":"782c7ca3-17eb-4d45-8344-89ee8087c197","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5500/patient","description":"<ol>\n<li>successful operation</li>\n<li>no patient with stated ID</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5500","path":["patient"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7d6c96e9-3556-4cbb-adec-bde1351da1ae","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5500/patient/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"211"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 07:15:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"dob\": \"\",\n        \"email\": \"brlewtest@brlewtest.com\",\n        \"id\": 1,\n        \"medical_record\": [],\n        \"mobileno\": 0,\n        \"name\": \"\",\n        \"partialnric\": \"0\",\n        \"race\": \"\"\n    }\n}"},{"id":"3f599ac5-1013-4f87-9c46-76eae6963065","name":"patient not found","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5500/patient/13"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"54"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 22:19:36 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"message\": \"Patient not found.\"\n}"}],"_postman_id":"782c7ca3-17eb-4d45-8344-89ee8087c197"},{"name":"create patient medical record (success)","id":"2d29f5c7-bdbf-4db4-9fce-240cb245ce5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pDiagnosis\": \"dry cough, shortness of breath, fever\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5500/patient/1/medicalRecords","urlObject":{"protocol":"http","port":"5500","path":["patient","1","medicalRecords"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f63240b4-757b-41e5-b57a-7fb0738dbf48","name":"correct inputs","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pDiagnosis\": \"dry cough, shortness of breath, fever\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5500/patient/1/medicalRecords"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"71"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 22:28:52 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"message\": \"Medical records successfully added!\"\n}"}],"_postman_id":"2d29f5c7-bdbf-4db4-9fce-240cb245ce5d"}],"id":"8a78bfaf-2fd4-47f1-9e9f-d23a888f8b73","_postman_id":"8a78bfaf-2fd4-47f1-9e9f-d23a888f8b73","description":""},{"name":"Prescription","item":[{"name":"get all prescriptions","id":"61ca8624-c80d-4ed4-bc47-184aef4dffbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5300/prescription","description":"<ol>\n<li>successful operation</li>\n<li>no prescriptions</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5300","path":["prescription"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"85af41b2-aa2d-4319-abec-94929fc08c30","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5300/prescription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"210"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 22:54:51 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": {\n        \"prescriptions\": [\n            {\n                \"aID\": 1,\n                \"dosage\": \"500mg\",\n                \"medName\": \"amoxicillin\",\n                \"pID\": 1,\n                \"prescriptionID\": 5\n            }\n        ]\n    }\n}"},{"id":"2b2ada75-cff4-4ddf-8536-f62ef6c6dd29","name":"no prescriptions","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5300/prescription"},"status":"UNKNOWN","code":40,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"59"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:30:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"message\": \"prescription not found.\"\n}"}],"_postman_id":"61ca8624-c80d-4ed4-bc47-184aef4dffbe"},{"name":"get one prescription","id":"55bacf99-e7ee-44d1-acc7-67235d2b36d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5300/prescription/1","description":"<ol>\n<li>successful operation</li>\n<li>no prescription with stated ID</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5300","path":["prescription","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f330f12e-a184-4229-8d20-22e4cd167ea1","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5300/prescription/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"167"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:18:07 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"data\": [\n        {\n            \"aID\": 1,\n            \"dosage\": \"500mg\",\n            \"medName\": \"amoxicillin\",\n            \"pID\": 1,\n            \"prescriptionID\": 5\n        }\n    ]\n}"},{"id":"7367eaf0-a6da-4f4a-99af-ff4b51cbccb2","name":"no prescription with stated ID","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5300/prescription/13"},"status":"NOT FOUND","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"59"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:18:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 404,\n    \"message\": \"Prescription not found.\"\n}"}],"_postman_id":"55bacf99-e7ee-44d1-acc7-67235d2b36d5"},{"name":"create a prescription (success)","id":"49a9b009-10a4-4e8d-9ac3-e61cc54c1b89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"medName\": \"ibuprofen\",\r\n    \"dosage\": \"200mg\",\r\n    \"pID\": 1,\r\n    \"aID\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5300/prescription","urlObject":{"protocol":"http","port":"5300","path":["prescription"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cd074be6-e59c-46d7-9ae5-5d726a196493","name":"correct inputs","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"medName\": \"ibuprofen\",\r\n    \"dosage\": \"200mg\",\r\n    \"pID\": 1,\r\n    \"aID\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5300/prescription"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"143"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:25:35 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"data\": {\n        \"aID\": 1,\n        \"dosage\": \"200mg\",\n        \"medName\": \"ibuprofen\",\n        \"pID\": 1,\n        \"prescriptionID\": 6\n    }\n}"}],"_postman_id":"49a9b009-10a4-4e8d-9ac3-e61cc54c1b89"},{"name":"create a prescription (failure)","id":"81776b3f-33dd-42dc-bfd2-8e3882d257eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"medName\": \"ibuprofen\",\r\n    \"dosage\": \"200mg\",\r\n    \"pID\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5300/prescription","urlObject":{"protocol":"http","port":"5300","path":["prescription"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"dee30abb-e961-498b-bd33-b223bb78e8c6","name":"insufficient inputs","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"medName\": \"ibuprofen\",\r\n    \"dosage\": \"200mg\",\r\n    \"pID\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5300/prescription"},"status":"INTERNAL SERVER ERROR","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"423"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:26:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 500,\n    \"message\": \"An error occurred creating the prescription. (mysql.connector.errors.IntegrityError) 1048 (23000): Column 'aID' cannot be null\\n[SQL: INSERT INTO prescription (`medName`, dosage, `pID`, `aID`) VALUES (%(medName)s, %(dosage)s, %(pID)s, %(aID)s)]\\n[parameters: {'medName': 'ibuprofen', 'dosage': '200mg', 'pID': 1, 'aID': None}]\\n(Background on this error at: http://sqlalche.me/e/13/gkpj)\"\n}"}],"_postman_id":"81776b3f-33dd-42dc-bfd2-8e3882d257eb"}],"id":"1ed372f3-c899-4bbc-9f4d-6e1747a69b87","_postman_id":"1ed372f3-c899-4bbc-9f4d-6e1747a69b87","description":""}],"id":"b445c8d9-0430-4bc3-9d9e-bce7e09691da","description":"<p>The SMS are as follows:</p>\n<ul>\n<li>Appointment</li>\n<li>Doctor </li>\n<li>Patient</li>\n<li>Prescription</li>\n<li>Employee</li>\n</ul>\n<p>The Employee SMS and Patient SMS utilises <code>Flask-Login</code> for user session management. <code>Flask-Login</code> handles common tasks such as logging in, logging out, and remembering your users' sessions over extended periods of time. Please refer to <a href=\"https://flask-login.readthedocs.io/en/latest/\">Flask documentation</a> for reference.</p>\n","_postman_id":"b445c8d9-0430-4bc3-9d9e-bce7e09691da"},{"name":"CMS","item":[{"name":"Consultation Information","item":[{"name":"get doctor's scheduled appointments","id":"eca14d9a-910c-43d0-86eb-4464a15950c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5600/consultDetails/doctor/appt/1","description":"<ol>\n<li>successful operations</li>\n<li>no appointment for doctor</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5600","path":["consultDetails","doctor","appt","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e796cc88-7b3e-4eed-909c-4c24c09f654a","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5600/consultDetails/doctor/appt/1"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"811"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:33:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"data\": {\n        \"doctorAppt_result\": {\n            \"code\": 200,\n            \"data\": [\n                {\n                    \"apptDateTime\": \"Fri, 12 Jun 2020 02:14:51 GMT\",\n                    \"apptID\": 3,\n                    \"apptStatus\": \"TEST\",\n                    \"created\": \"Fri, 12 Jun 2020 03:14:56 GMT\",\n                    \"dID\": 1,\n                    \"modified\": \"Fri, 09 Apr 2021 21:19:10 GMT\",\n                    \"pID\": 1,\n                    \"timeSlotID\": 3\n                },\n                {\n                    \"apptDateTime\": \"Sat, 21 Aug 2021 12:00:00 GMT\",\n                    \"apptID\": 8,\n                    \"apptStatus\": \"pending\",\n                    \"created\": \"Fri, 09 Apr 2021 21:16:01 GMT\",\n                    \"dID\": 1,\n                    \"modified\": \"Fri, 09 Apr 2021 21:16:01 GMT\",\n                    \"pID\": 1,\n                    \"timeSlotID\": 7\n                }\n            ]\n        }\n    },\n    \"message\": \"Successfully retrieved doctor's appointment\"\n}"},{"id":"1470e79c-dbd1-40e5-bd2d-c88942c47bf6","name":"no appt for doctor","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5600/consultDetails/doctor/appt/13"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"62"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:33:26 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Doctor got no Appointment.\"\n}"}],"_postman_id":"eca14d9a-910c-43d0-86eb-4464a15950c3"},{"name":"get patient's details","id":"44224002-5d1b-43c6-b482-3378a2e6301f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5600/consultDetails/3","description":"<ol>\n<li>successful operation</li>\n<li>no medical records for patient</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5600","path":["consultDetails","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f20744b8-8db2-4a5a-86d3-86d56f789da4","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5600/consultDetails/3"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"429"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 07:17:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"data\": {\n        \"patientMedRec_result\": {\n            \"code\": 200,\n            \"data\": {\n                \"dob\": \"10 Sep 1948\",\n                \"email\": \"bwong375@gmail.com\",\n                \"id\": 3,\n                \"medical_record\": [],\n                \"mobileno\": 97399245,\n                \"name\": \"BERNARD WONG\",\n                \"partialnric\": \"*****375C\",\n                \"race\": \"CHINESE\"\n            }\n        }\n    },\n    \"message\": \"Successfully retrieved patient's medical records\"\n}"},{"id":"0920b902-cf56-4d55-805f-d37db9de917b","name":"no medical record for patient","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5600/consultDetails/5"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"67"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:35:01 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Patient got no medical Records.\"\n}"}],"_postman_id":"44224002-5d1b-43c6-b482-3378a2e6301f"},{"name":"get patient's prescriptions by patient's ID","id":"6d2cc4f7-868a-4d5e-b785-668e5c96c0fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5600/consultDetails/prescription/3","description":"<ol>\n<li>successful operation</li>\n<li>no prescriptions for patient</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5600","path":["consultDetails","prescription","3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"83fdbf1c-0496-40be-a3d0-d0f9b4dbbe43","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5600/consultDetails/prescription/1"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"503"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:36:51 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"data\": {\n        \"patientPrescription_result\": {\n            \"code\": 200,\n            \"data\": [\n                {\n                    \"aID\": 1,\n                    \"dosage\": \"200mg\",\n                    \"medName\": \"amoxicillin\",\n                    \"pID\": 1,\n                    \"prescriptionID\": 1\n                },\n                {\n                    \"aID\": 1,\n                    \"dosage\": \"200mg\",\n                    \"medName\": \"ibuprofen\",\n                    \"pID\": 1,\n                    \"prescriptionID\": 7\n                }\n            ]\n        }\n    },\n    \"message\": \"Successfully retrieved patient's prescription\"\n}"},{"id":"db855e81-6bcd-48d8-a5cd-121d20c51d11","name":"no prescriptions for patient","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5600/consultDetails/prescription/5"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"64"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:37:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Patient got no prescription.\"\n}"}],"_postman_id":"6d2cc4f7-868a-4d5e-b785-668e5c96c0fa"},{"name":"create patient's medical record (success)","id":"fff2d5dd-406c-4f75-83ff-58d48c21fe68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"MedicalRecords\": {\r\n        \"pDiagnosis\": \"Covid 19\"\r\n    },\r\n    \"Prescription\": {\r\n        \"medName\": \"amoxicillin\",\r\n        \"medDescription\": \"Antibiotic used to treat a number of bacterial infections\",\r\n        \"dosage\": \"500mg\",\r\n        \"medCode\": \"ABCDE\",\r\n        \"pID\": 1,\r\n        \"aID\": 1\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5600/consultDetails/3/medicalRecords","urlObject":{"protocol":"http","port":"5600","path":["consultDetails","3","medicalRecords"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6580f6a9-aacf-4d8d-99d5-2e114b9680ad","name":"correct inputs","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"MedicalRecords\": {\r\n        \"pDiagnosis\": \"Covid 19\"\r\n    },\r\n    \"Prescription\": {\r\n        \"medName\": \"amoxicillin\",\r\n        \"medDescription\": \"Antibiotic used to treat a number of bacterial infections\",\r\n        \"dosage\": \"500mg\",\r\n        \"medCode\": \"ABCDE\",\r\n        \"pID\": 1,\r\n        \"aID\": 1\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5600/consultDetails/3/medicalRecords"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"408"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 07:17:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"data\": {\n        \"medRec_result\": {\n            \"code\": 201,\n            \"message\": \"Medical records successfully added!\"\n        },\n        \"prescription_result\": {\n            \"code\": 201,\n            \"data\": {\n                \"aID\": 1,\n                \"dosage\": \"500mg\",\n                \"medName\": \"amoxicillin\",\n                \"pID\": 1,\n                \"prescriptionID\": 5\n            }\n        }\n    },\n    \"message\": \"Consult details added successfully!!!!!!\"\n}"}],"_postman_id":"fff2d5dd-406c-4f75-83ff-58d48c21fe68"}],"id":"3ee6ac4f-c4d3-4385-9414-d0f501b28629","description":"<ul>\n<li>doctor view all scheduled appointments</li>\n<li>doctor view patient's details</li>\n<li>doctor create consultation information</li>\n<li>pharmacist view all prescriptions</li>\n</ul>\n","_postman_id":"3ee6ac4f-c4d3-4385-9414-d0f501b28629"},{"name":"Booking Appointment","item":[{"name":"get all doctors' name and availability","id":"64f8dc14-684a-460d-82db-db950d69082a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5400/bookingappt","description":"<ol>\n<li>successful operation</li>\n<li>no doctor with stated ID</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5400","path":["bookingappt"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b5673ad4-2021-4bda-89df-ea26ecbf2037","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5400/bookingappt"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"589"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:41:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"data\": {\n        \"doctoravail_result\": {\n            \"code\": 200,\n            \"data\": {\n                \"doctors\": [\n                    {\n                        \"dDepartment\": \"Cardiologists\",\n                        \"dID\": 1,\n                        \"dName\": \"Tommy\",\n                        \"dRoom\": \"Rm3-1\",\n                        \"doct_Availability\": []\n                    },\n                    {\n                        \"dDepartment\": \"Cardiologists\",\n                        \"dID\": 2,\n                        \"dName\": \"Henry\",\n                        \"dRoom\": \"Rm3-2\",\n                        \"doct_Availability\": []\n                    }\n                ]\n            }\n        }\n    },\n    \"message\": \"Successfully retrieved doctor's availability\"\n}"},{"id":"1bf97ad0-5cd8-45a2-871e-4b3e705d2959","name":"no doctors","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5400/bookingappt"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"100"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:40:09 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Doctor is not available at this time slot findDoctorAvailability\"\n}"}],"_postman_id":"64f8dc14-684a-460d-82db-db950d69082a"},{"name":"get doctors by department","id":"e44b1882-2afa-4cb7-8aec-f3ebd6269b8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5400/bookingappt/dpt/cardiologists","description":"<ol>\n<li>successful operations</li>\n<li>no doctors in stated department</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5400","path":["bookingappt","dpt","cardiologists"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"04b2a81d-a585-4496-a0f8-162f50c9f2b4","name":"success","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5400/bookingappt/dpt/cardiologists"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"589"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:41:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"data\": {\n        \"doctoravail_result\": {\n            \"code\": 200,\n            \"data\": {\n                \"doctors\": [\n                    {\n                        \"dDepartment\": \"Cardiologists\",\n                        \"dID\": 1,\n                        \"dName\": \"Tommy\",\n                        \"dRoom\": \"Rm3-1\",\n                        \"doct_Availability\": []\n                    },\n                    {\n                        \"dDepartment\": \"Cardiologists\",\n                        \"dID\": 2,\n                        \"dName\": \"Henry\",\n                        \"dRoom\": \"Rm3-2\",\n                        \"doct_Availability\": []\n                    }\n                ]\n            }\n        }\n    },\n    \"message\": \"Successfully retrieved doctor's availability\"\n}"},{"id":"ee78dda4-4678-4ede-b231-b4c005ff4f7e","name":"dpt not found","originalRequest":{"method":"GET","header":[],"url":"http://localhost:5400/bookingappt/dpt/neurology"},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"77"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Fri, 09 Apr 2021 23:41:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Doctor is not available at this time slot\"\n}"}],"_postman_id":"e44b1882-2afa-4cb7-8aec-f3ebd6269b8b"},{"name":"update doctor's availability status for stated timeslot","id":"6831bc9e-2f5a-4cf0-95e0-6e222e1334d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:5400/bookingappt/statuschange/4/5/1","description":"<ol>\n<li>successful operation<ul>\n<li>update stated availability status from \"Available\" To \"Unavailable\"</li>\n<li>adds timeSlotID into patient's account</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"http","port":"5400","path":["bookingappt","statuschange","4","5","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"bacbd816-c41f-44eb-b65e-61dc71a78742","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":""},"url":"http://localhost:5400/bookingappt/statuschange/4/5/1"},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"321"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.9.4"},{"key":"Date","value":"Sat, 10 Apr 2021 17:21:51 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 201,\n    \"data\": {\n        \"doctoravail_result\": {\n            \"code\": 200,\n            \"data\": {\n                \"bookingStatus\": \"Unavailable\",\n                \"dID\": 1,\n                \"timeSlot\": \"Mon, 16 Aug 2021 04:00:00 GMT\",\n                \"timeSlotID\": 5\n            }\n        }\n    },\n    \"message\": \"Successfully altered Doctor's Timeslot availability\"\n}"}],"_postman_id":"6831bc9e-2f5a-4cf0-95e0-6e222e1334d2"}],"id":"92f677d2-b827-4d44-9b31-2cca52986c13","description":"<ul>\n<li>patient view available time slots</li>\n<li>patient book an appointment</li>\n<li>patient view all scheduled appointments</li>\n</ul>\n","_postman_id":"92f677d2-b827-4d44-9b31-2cca52986c13"}],"id":"5f8b9285-d9bc-4060-ba9a-27ebe0668da6","_postman_id":"5f8b9285-d9bc-4060-ba9a-27ebe0668da6","description":""}]}