{"info":{"_postman_id":"10a56a80-46ca-488b-9d4e-473bbbad62ed","name":"Patient and Insurance Management System - Django Rest API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"16871691","collectionId":"10a56a80-46ca-488b-9d4e-473bbbad62ed","publishedId":"2sA3Bn7sd8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-04-19T04:07:57.000Z"},"item":[{"name":"Patient","item":[{"name":"Account","item":[{"name":"Signup","id":"07c2dd59-3072-45db-bcf0-0d43b26a4f21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"John\", \r\n    \"last_name\": \"Doe\", \r\n    \"email\": \"john.doe@example.com\",\r\n    \"address\": \"123 Main Street, City, Country\",\r\n    \"date_of_birth\": \"1990-01-01\",\r\n    \"gender\": \"Male\",\r\n    \"blood_group_type\": \"A+\",\r\n    \"mobile\": 1234567890,\r\n    \"password\": \"1234\",\r\n    \"confirm_password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/signup/","urlObject":{"path":["api","patient","signup",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"b386f54c-1094-464b-9d7d-a986f9c2e74d","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"Pavan\", \r\n    \"last_name\": \"Pandya\", \r\n    \"email\": \"pavanpandya1311@gmail.com\",\r\n    \"address\": \"Bloomington, IN, USA\",\r\n    \"date_of_birth\": \"2001-11-13\",\r\n    \"gender\": \"male\",\r\n    \"blood_group_type\": \"b_positive\",\r\n    \"mobile\": 9303334105,\r\n    \"password\": \"1234\",\r\n    \"confirm_password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/signup/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 15 Apr 2024 19:24:36 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"123"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Set-Cookie","value":"sessionid=\"\"; expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; Path=/; SameSite=Lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account created successfully. Please verify your account using the OTP sent to your registered email address.\"\n}"}],"_postman_id":"07c2dd59-3072-45db-bcf0-0d43b26a4f21"},{"name":"Activate Account","id":"d277e91b-d4d2-442b-9ea7-3fc4c1b34258","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"758011\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/activate/","urlObject":{"path":["api","patient","activate",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"439c3094-bf46-45b6-8580-498f4d6990ee","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"595394\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/verify/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 15 Apr 2024 19:26:28 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"43"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account verified successfully\"\n}"},{"id":"1b203acf-28f9-4ef5-9ac7-3a53e19fd0ba","name":"Invalid OTP","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"595397\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/verify/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 15 Apr 2024 19:49:12 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"25"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid OTP\"\n}"}],"_postman_id":"d277e91b-d4d2-442b-9ea7-3fc4c1b34258"},{"name":"Login","id":"b729f02d-c189-44ac-94de-979dd00d1da2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n   \"email\": \"nandhakh@gmail.com\",\r\n   \"password\": \"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/login/","urlObject":{"path":["api","patient","login",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"b729f02d-c189-44ac-94de-979dd00d1da2"},{"name":"Verify Account","id":"a9f91efa-72a7-4c6e-b87d-836f13f01f44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"246525\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/verify/","urlObject":{"path":["api","patient","verify",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9f91efa-72a7-4c6e-b87d-836f13f01f44"},{"name":"Get Patient Details","id":"79d5401d-f76a-45c9-9e58-7c23869e9dd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"localhost:8000/api/patient/profile/","urlObject":{"path":["api","patient","profile",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"4c89c5a9-9d1f-406e-ad80-9eba60cde0bd","name":"Success","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/patient/profile/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2024 06:42:51 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"228"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"first_name\": \"Sridhar\",\n    \"last_name\": \"Eguram\",\n    \"email\": \"fani@gmail.com\",\n    \"address\": \"Bloomington, IN, USA\",\n    \"date_of_birth\": \"2001-11-13\",\n    \"gender\": \"male\",\n    \"blood_group_type\": \"b_positive\",\n    \"mobile\": \"9303334105\",\n    \"is_verified\": true\n}"}],"_postman_id":"79d5401d-f76a-45c9-9e58-7c23869e9dd0"},{"name":"Update Patient Details","id":"726eec0b-8210-4e92-9452-5d2b297d3c35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"last_name\": \"Eguram\"   \r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/update/","urlObject":{"path":["api","patient","update",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"a2ba0509-6dc2-499d-a6e5-013b1f5ccded","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"last_name\": \"Eguram\"   \r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/update/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2024 06:50:17 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"PUT, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"228"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"first_name\": \"Sridhar\",\n    \"last_name\": \"Eguram\",\n    \"email\": \"fani@gmail.com\",\n    \"address\": \"Bloomington, IN, USA\",\n    \"date_of_birth\": \"2001-11-13\",\n    \"gender\": \"male\",\n    \"blood_group_type\": \"b_positive\",\n    \"mobile\": \"9303334105\",\n    \"is_verified\": true\n}"}],"_postman_id":"726eec0b-8210-4e92-9452-5d2b297d3c35"},{"name":"Forgot Password","id":"84e081bd-d577-48a7-ba96-41c9aaf1a130","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"pavan1311@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/forgot-password/","urlObject":{"path":["api","patient","forgot-password",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"84e081bd-d577-48a7-ba96-41c9aaf1a130"},{"name":"Reset Password","id":"9a6e732b-8113-40a6-9b99-c4110ff7016f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"12345\",\r\n    \"confirm_password\": \"12345\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/reset-password/verify/NQ/c5unkt-c7b19e506b7ff45221e39341ad5e99bd/","urlObject":{"path":["api","patient","reset-password","verify","NQ","c5unkt-c7b19e506b7ff45221e39341ad5e99bd",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a6e732b-8113-40a6-9b99-c4110ff7016f"}],"id":"ee2bcedb-bfb7-44a5-9a0e-5b719e077676","_postman_id":"ee2bcedb-bfb7-44a5-9a0e-5b719e077676","description":""},{"name":"Appointment","item":[{"name":"Create Appointment","id":"e3667be1-bb07-42e0-9d10-c3bb7abcd55e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"appointment_date\": \"2024-04-30\",\r\n    \"appointment_time\": \"12:00\",\r\n    \"doctor\": 4,\r\n    \"reason\": \"severe pain\",\r\n    \"symptoms\": \"Swelling\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/appointments/","urlObject":{"path":["api","patient","appointments",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"da442af8-a48d-475e-815d-032402ea8018","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"appointment_date\": \"2024-04-28\",\r\n    \"appointment_time\": \"12:00\",\r\n    \"doctor\": 4,\r\n    \"reason\": \"severe pain\",\r\n    \"symptoms\": \"Swelling\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/appointments/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2024 07:57:46 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"161"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"appointment_date\": \"2024-04-28\",\n    \"appointment_time\": \"12:00:00\",\n    \"doctor\": 4,\n    \"patient\": 4,\n    \"reason\": \"severe pain\",\n    \"symptoms\": \"Swelling\",\n    \"admitted_or_not\": null\n}"}],"_postman_id":"e3667be1-bb07-42e0-9d10-c3bb7abcd55e"},{"name":"View Appointments","id":"93c95f70-cb52-4ff2-90d4-f057cd87cecc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/patient/appointments/","urlObject":{"path":["api","patient","appointments",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"15c5f135-c600-4de4-8fc3-b5b344d671c3","name":"Success","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/patient/appointments/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2024 06:53:53 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"327"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"appointment_date\": \"2024-04-20\",\n        \"appointment_time\": \"10:00:00\",\n        \"doctor\": 4,\n        \"patient\": 1,\n        \"reason\": \"severe pain\",\n        \"symptoms\": \"Swelling\",\n        \"admitted_or_not\": false\n    },\n    {\n        \"id\": 2,\n        \"appointment_date\": \"2024-04-25\",\n        \"appointment_time\": \"10:00:00\",\n        \"doctor\": 4,\n        \"patient\": 1,\n        \"reason\": \"severe pain\",\n        \"symptoms\": \"Swelling\",\n        \"admitted_or_not\": false\n    }\n]"}],"_postman_id":"93c95f70-cb52-4ff2-90d4-f057cd87cecc"},{"name":"Update Appointment","id":"9c08f63f-1223-4bdb-8edd-3190f3429755","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"appointment_date\": \"2024-04-26\",\r\n    \"appointment_time\": \"11:00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/appointments/update/4/","urlObject":{"path":["api","patient","appointments","update","4",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"c819bacd-e3a1-440b-9816-23e7d14486e0","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"appointment_date\": \"2024-04-26\",\r\n    \"appointment_time\": \"11:00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/appointments/update/4/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2024 08:00:30 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"161"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"appointment_date\": \"2024-04-26\",\n    \"appointment_time\": \"11:00:00\",\n    \"doctor\": 4,\n    \"patient\": 4,\n    \"reason\": \"severe pain\",\n    \"symptoms\": \"Swelling\",\n    \"admitted_or_not\": null\n}"}],"_postman_id":"9c08f63f-1223-4bdb-8edd-3190f3429755"},{"name":"Get Specific Appointment Detail","id":"cd7d4bb3-eba6-41ab-a7a8-a4e42e286831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/patient/appointments/2/","urlObject":{"path":["api","patient","appointments","2",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"7a6e0436-abce-44a7-9aa1-015dfb0b046c","name":"Success","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/patient/appointments/2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2024 07:05:38 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"162"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"appointment_date\": \"2024-04-25\",\n    \"appointment_time\": \"10:00:00\",\n    \"doctor\": 4,\n    \"patient\": 1,\n    \"reason\": \"severe pain\",\n    \"symptoms\": \"Swelling\",\n    \"admitted_or_not\": false\n}"},{"id":"e29e3c76-1cf9-4757-ae55-b023b1cd4b00","name":"No Appointment Match Found","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/patient/appointments/2/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2024 07:58:38 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"59"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"No PatientAppointment matches the given query.\"\n}"}],"_postman_id":"cd7d4bb3-eba6-41ab-a7a8-a4e42e286831"},{"name":"View Appointment Review","id":"f5a92757-e506-4845-8a86-8c3464835a4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/patient/appointments/reviews/","urlObject":{"path":["api","patient","appointments","reviews",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"fc0661be-1ab2-40f8-b8df-a0d55e6f5ffc","name":"Success","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/patient/appointments/reviews/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 20 Apr 2024 08:02:16 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"129"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"appointment\": 5,\n        \"patient\": 4,\n        \"doctor\": 4,\n        \"rating\": 0,\n        \"review\": \"\"\n    },\n    {\n        \"appointment\": 4,\n        \"patient\": 4,\n        \"doctor\": 4,\n        \"rating\": 0,\n        \"review\": \"\"\n    }\n]"}],"_postman_id":"f5a92757-e506-4845-8a86-8c3464835a4e"}],"id":"148897fe-90f5-4be5-b88b-6409ab53401a","_postman_id":"148897fe-90f5-4be5-b88b-6409ab53401a","description":""},{"name":"Search","item":[{"name":"Get Search Query","id":"47abb492-bff3-4394-bc2f-e5e925f442ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/patient/search-doctors/?supports_covid19=True","urlObject":{"path":["api","patient","search-doctors",""],"host":["localhost:8000"],"query":[{"disabled":true,"key":"name","value":"anjali"},{"disabled":true,"key":"specialty","value":"Cardiologist"},{"key":"supports_covid19","value":"True"}],"variable":[]}},"response":[{"id":"9c185ec9-43db-4151-ae1a-0178c83e4841","name":"Get All Doctor if Nothing is given","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/patient/search-doctors/","host":["localhost:8000"],"path":["api","patient","search-doctors",""],"query":[{"key":"name","value":"anjali","type":"text","disabled":true},{"key":"specialty","value":"Cardiologist","disabled":true},{"key":"supports_covid19","value":"True","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 22 Apr 2024 01:00:08 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"431"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 4,\n        \"first_name\": \"Deep\",\n        \"last_name\": \"Pandya\",\n        \"email\": \"deeppandya1502@gmail.com\",\n        \"licence_number\": \"12345678\",\n        \"specialty\": \"Cardiologist\",\n        \"mobile\": \"1234567899\",\n        \"hospital\": 1,\n        \"is_verified\": true,\n        \"supports_covid19\": true\n    },\n    {\n        \"id\": 5,\n        \"first_name\": \"Anjali\",\n        \"last_name\": \"Patel\",\n        \"email\": \"anjalipatel@gmail.com\",\n        \"licence_number\": \"12345678\",\n        \"specialty\": \"Dentist\",\n        \"mobile\": \"1234567899\",\n        \"hospital\": 1,\n        \"is_verified\": false,\n        \"supports_covid19\": true\n    }\n]"},{"id":"d2e65d6c-da5e-4a4d-af21-e427ce9799af","name":"Get Doctor by Name","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/patient/search-doctors/?name=anjali","host":["localhost:8000"],"path":["api","patient","search-doctors",""],"query":[{"key":"name","value":"anjali","type":"text"},{"key":"specialty","value":"Cardiologist","disabled":true},{"key":"supports_covid19","value":"True","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 22 Apr 2024 01:01:46 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"213"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 5,\n        \"first_name\": \"Anjali\",\n        \"last_name\": \"Patel\",\n        \"email\": \"anjalipatel@gmail.com\",\n        \"licence_number\": \"12345678\",\n        \"specialty\": \"Dentist\",\n        \"mobile\": \"1234567899\",\n        \"hospital\": 1,\n        \"is_verified\": false,\n        \"supports_covid19\": true\n    }\n]"},{"id":"d96d73d3-b8fe-4178-847b-4a2b30f3f575","name":"Get Doctor by Specialty","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/patient/search-doctors/?specialty=Cardiologist","host":["localhost:8000"],"path":["api","patient","search-doctors",""],"query":[{"key":"name","value":"anjali","type":"text","disabled":true},{"key":"specialty","value":"Cardiologist"},{"key":"supports_covid19","value":"True","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 22 Apr 2024 01:02:03 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"219"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 4,\n        \"first_name\": \"Deep\",\n        \"last_name\": \"Pandya\",\n        \"email\": \"deeppandya1502@gmail.com\",\n        \"licence_number\": \"12345678\",\n        \"specialty\": \"Cardiologist\",\n        \"mobile\": \"1234567899\",\n        \"hospital\": 1,\n        \"is_verified\": true,\n        \"supports_covid19\": true\n    }\n]"},{"id":"cdd255ea-9034-4f45-a159-98c96962b508","name":"Get Doctor by Covid Care Support","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"localhost:8000/api/patient/search-doctors/?supports_covid19=True","host":["localhost:8000"],"path":["api","patient","search-doctors",""],"query":[{"key":"name","value":"anjali","type":"text","disabled":true},{"key":"specialty","value":"Cardiologist","disabled":true},{"key":"supports_covid19","value":"True"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 22 Apr 2024 01:02:27 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, origin"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"431"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 4,\n        \"first_name\": \"Deep\",\n        \"last_name\": \"Pandya\",\n        \"email\": \"deeppandya1502@gmail.com\",\n        \"licence_number\": \"12345678\",\n        \"specialty\": \"Cardiologist\",\n        \"mobile\": \"1234567899\",\n        \"hospital\": 1,\n        \"is_verified\": true,\n        \"supports_covid19\": true\n    },\n    {\n        \"id\": 5,\n        \"first_name\": \"Anjali\",\n        \"last_name\": \"Patel\",\n        \"email\": \"anjalipatel@gmail.com\",\n        \"licence_number\": \"12345678\",\n        \"specialty\": \"Dentist\",\n        \"mobile\": \"1234567899\",\n        \"hospital\": 1,\n        \"is_verified\": false,\n        \"supports_covid19\": true\n    }\n]"}],"_postman_id":"47abb492-bff3-4394-bc2f-e5e925f442ec"}],"id":"5e54a193-fe70-4535-93c6-cd76e65c0f87","_postman_id":"5e54a193-fe70-4535-93c6-cd76e65c0f87","description":""}],"id":"33b0785a-f937-477f-b48f-290768af9a12","_postman_id":"33b0785a-f937-477f-b48f-290768af9a12","description":""},{"name":"Doctor","item":[{"name":"Signup","id":"d3f945bc-d2e9-45bf-8acb-eda2a293a418","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"Jane\",\r\n    \"last_name\": \"Smith\",\r\n    \"email\": \"jane.smith@example.com\",\r\n    \"hospital\": 1,\r\n    \"licence_number\": 1234567890,\r\n    \"specialty\": \"Cardiologist\",\r\n    \"mobile\": 1234567890,\r\n    \"password\": \"1234\",\r\n    \"confirm_password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/signup/","urlObject":{"path":["api","doctor","signup",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"de8f6b20-2f41-4ddd-8da0-c5a44bfe82b6","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"Deep\",\r\n    \"last_name\": \"Pandya\",\r\n    \"email\": \"deeppandya1502@gmail.com\",\r\n    \"hospital\": 1,\r\n    \"licence_number\": 12345678,\r\n    \"specialty\": \"Cardiologist\",\r\n    \"mobile\": 1234567899,\r\n    \"password\": \"1234\",\r\n    \"confirm_password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/signup/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 00:34:17 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"123"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account created successfully. Please verify your account using the OTP sent to your registered mobile number.\"\n}"}],"_postman_id":"d3f945bc-d2e9-45bf-8acb-eda2a293a418"},{"name":"Activate Account","id":"8282a3de-1c7b-4817-9be2-60739625ae51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"996244\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/activate/","urlObject":{"path":["api","doctor","activate",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"0b24ad21-ccfa-4a76-a074-c0b6824e78a7","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"391226\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/activate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 00:35:18 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"43"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account verified successfully\"\n}"},{"id":"f948f168-8303-4bed-bd9f-8be75b8e2475","name":"Invalid OTP","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"39126\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/activate/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 00:35:58 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"25"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid OTP\"\n}"}],"_postman_id":"8282a3de-1c7b-4817-9be2-60739625ae51"},{"name":"Login","id":"9b0d3a5f-4e6c-49c5-a74f-0b5ca329e384","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"licence_number\": 12345678,\r\n    \"password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/login/","urlObject":{"path":["api","doctor","login",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"6b077e42-5ba1-424b-8aec-67ffc5540cf7","name":"Field Required","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"licence_number\": 12345678\r\n    // \"password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/login/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 00:39:23 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"40"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"password\": [\n        \"This field is required.\"\n    ]\n}"},{"id":"d7516d0f-f797-43a5-b5d5-7640768a4dca","name":"Invalid Credentials","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"licence_number\": 12345678,\r\n    \"password\": \"134\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/login/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 00:39:50 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"33"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid credentials\"\n}"},{"id":"a5167990-f916-4a2c-898e-49edfbd41583","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"licence_number\": 12345678,\r\n    \"password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/login/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 01:32:12 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"55"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"OTP sent to your registered email address\"\n}"}],"_postman_id":"9b0d3a5f-4e6c-49c5-a74f-0b5ca329e384"},{"name":"Verify OTP","id":"76754f27-45e9-4d88-9367-e2fcee8ade1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"28578\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/verify/","urlObject":{"path":["api","doctor","verify",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"84ea85e5-8230-4857-a426-6aa7d94c917f","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"285708\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/verify/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 02:11:37 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"483"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzE0MDk3NDk3LCJpYXQiOjE3MTM0OTI2OTcsImp0aSI6IjFkYTU3YjE1OGZkNDRlZmE4MTdhM2QwZWNlY2U5YzgwIiwidXNlcl9pZCI6NH0.yVLWF6qkX1XSDTh-kI6w16-flkthMHhP_oEgOtXTQL0\",\n    \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTcxNDA5NzQ5NywiaWF0IjoxNzEzNDkyNjk3LCJqdGkiOiJmYTdkOWI4YzBhOTI0YjU0ODc5YTNiNDhjMWYxM2JmNCIsInVzZXJfaWQiOjR9.NAfrZnjjDUdlJBn0gtNtK2vJDBoMDPwFgpGLJGKRDJg\"\n}"},{"id":"0ef1a6d8-b060-4c20-b9e4-8c9d0233193f","name":"Invalid OTP","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"28578\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/verify/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 02:12:09 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"25"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid OTP\"\n}"}],"_postman_id":"76754f27-45e9-4d88-9367-e2fcee8ade1e"},{"name":"Get Doctor Profile Details","id":"c356dfd5-ea14-4cae-a5f7-e94e6cf07d46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/doctor/profile/","urlObject":{"path":["api","doctor","profile",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"36338988-73cd-474a-a7df-97ff5f29d73c","name":"Success","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/doctor/4/profile/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 02:20:20 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"193"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"first_name\": \"Deep\",\n    \"last_name\": \"Pandya\",\n    \"email\": \"deeppandya1502@gmail.com\",\n    \"licence_number\": \"12345678\",\n    \"specialty\": \"Cardiologist\",\n    \"mobile\": \"1234567899\",\n    \"hospital\": 1,\n    \"is_verified\": true\n}"},{"id":"bb90b8b3-e9f6-4780-826a-3913a2110c75","name":"Doctor ID Not Found","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/doctor/5/profile/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 02:20:45 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"30"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Doctor not found\"\n}"}],"_postman_id":"c356dfd5-ea14-4cae-a5f7-e94e6cf07d46"},{"name":"Add Doctor Findings","id":"08c263df-4164-4a9d-900c-c5479c88521b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"appointment_id\": 5,\r\n    \"doctor_findings\": \"Patient had a slight fever\",\r\n    \"admitted_or_not\": \"no\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/doctor/add-findings/","urlObject":{"path":["api","doctor","add-findings",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"08c263df-4164-4a9d-900c-c5479c88521b"}],"id":"3fcda8f6-d4f8-41f8-9228-810cbbb34375","_postman_id":"3fcda8f6-d4f8-41f8-9228-810cbbb34375","description":""},{"name":"Insurance Provider","item":[{"name":"Signup","id":"26924ad5-9737-4c71-8de2-064b55fc0b4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_name\": \"Anthem\",\r\n    \"email\": \"contact@anthem.com\",\r\n    \"address\": \"Indianapolis, USA\",\r\n    \"mobile\": 8125445588,\r\n    \"password\": \"1234\",\r\n    \"confirm_password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/signup/","urlObject":{"path":["api","insurance_provider","signup",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"cea5115c-95ae-4a37-8d46-84b7bb7cddd9","name":"Required FIeld Missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"company_name\": \"Anthem\",\r\n    \"address\": \"Indianapolis, USA\",\r\n    \"mobile\": 8125445588,\r\n    \"password\": \"1234\",\r\n    \"confirm_password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/signup/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:32:34 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"37"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": [\n        \"This field is required.\"\n    ]\n}"}],"_postman_id":"26924ad5-9737-4c71-8de2-064b55fc0b4e"},{"name":"Activate Account","id":"3f3a169b-b956-4813-8cb1-ee5843b0c726","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"74420\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/activate/","urlObject":{"path":["api","insurance_provider","activate",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"904ddba0-ae10-42d4-bd7f-27a7df0e1f5a","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"744290\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/activate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:31:31 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"43"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Account verified successfully\"\n}"},{"id":"07b57077-1e59-4068-8cb0-64e38c07d055","name":"Invalid OTP","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"74420\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/activate/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:32:00 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"25"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid OTP\"\n}"}],"_postman_id":"3f3a169b-b956-4813-8cb1-ee5843b0c726"},{"name":"Login","id":"135c8d54-4579-408d-b8cf-c874fb0473fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"contact@anthem.com\",\r\n    \"password\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/login/","urlObject":{"path":["api","insurance_provider","login",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"135c8d54-4579-408d-b8cf-c874fb0473fb"},{"name":"Verify OTP","id":"e1d8aca5-6d83-4a01-95a3-8c010436782d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"17060\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/verify/","urlObject":{"path":["api","insurance_provider","verify",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"76af9c95-ec99-4da2-a76c-659e16e0fb21","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"170610\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/verify/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:35:18 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"483"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzE0MTAyNTE4LCJpYXQiOjE3MTM0OTc3MTgsImp0aSI6IjAxMWRjYTRjNDUwNjQ1N2RhY2U5NzM1M2M5Y2Y1NGI5IiwidXNlcl9pZCI6MX0.fA7zkuSRcd_-tg2Jut96zj-abHhucIUxtaavEuKRlws\",\n    \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTcxNDEwMjUxOCwiaWF0IjoxNzEzNDk3NzE4LCJqdGkiOiJlZDdjYzhhNjRlODU0YjAxYTZhOWViNTZmOWJlYjhlNyIsInVzZXJfaWQiOjF9.iJvomD4pMPP_m7GdWeBuHUubwpgkIqjaPVR7kGWJRH4\"\n}"},{"id":"894b8612-086b-4644-b13d-88b342bfa69f","name":"Invalid OTP","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"otp\": \"17060\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/verify/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:35:48 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"25"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid OTP\"\n}"}],"_postman_id":"e1d8aca5-6d83-4a01-95a3-8c010436782d"},{"name":"Get All Plans","id":"89cd7fa6-432e-464f-9c8d-0e40ccad608b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/insurance_provider/45/plans/","urlObject":{"path":["api","insurance_provider","45","plans",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"ed49b326-db17-4b13-92e7-e56547e71e57","name":"Success","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/insurance_provider/1/plans/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:55:29 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"206"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"plan_name\": \"Anthem-Basic\",\n        \"plan_description\": \"Anyone can take this. Covers all the basic things\",\n        \"plan_cost\": \"200.00\",\n        \"includes_prescription\": true,\n        \"includes_dental\": false,\n        \"includes_vision\": false\n    }\n]"},{"id":"9d6b95b7-a047-48de-b2f4-459164c3bf56","name":"Insurance Provider Not Found","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/insurance_provider/45/plans/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:56:00 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"42"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Insurance provider not found\"\n}"}],"_postman_id":"89cd7fa6-432e-464f-9c8d-0e40ccad608b"},{"name":"Create Plan","id":"691ecbb3-6070-4d7f-a3a5-541301a95447","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"insurance_provider\": 1,\r\n    \"plan_name\": \"Anthem-Medium\",\r\n    \"plan_description\": \"Anyone can take this. Covers all the basic things\",\r\n    \"plan_cost\": 700,\r\n    \"includes_prescription\": true,\r\n    \"includes_dental\": true,\r\n    \"includes_vision\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/1/plans/create/","urlObject":{"path":["api","insurance_provider","1","plans","create",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"734aca3f-214b-4e08-a54c-66d70f85e9c7","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"insurance_provider\": 1,\r\n    \"plan_name\": \"Anthem-Basic\",\r\n    \"plan_description\": \"Anyone can take this. Covers all the basic things\",\r\n    \"plan_cost\": 200,\r\n    \"includes_prescription\": true,\r\n    \"includes_dental\": false,\r\n    \"includes_vision\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/1/plans/create/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:53:03 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"251"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Plan created successfully\",\n    \"plan\": {\n        \"id\": 1,\n        \"plan_name\": \"Anthem-Basic\",\n        \"plan_description\": \"Anyone can take this. Covers all the basic things\",\n        \"plan_cost\": \"200.00\",\n        \"includes_prescription\": true,\n        \"includes_dental\": false,\n        \"includes_vision\": false\n    }\n}"},{"id":"acbc72db-11a9-4481-9495-78206ffa316d","name":"Required Field Missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"insurance_provider\": 1,\r\n    // \"plan_name\": \"Anthem-Basic\",\r\n    \"plan_description\": \"Anyone can take this. Covers all the basic things\",\r\n    \"plan_cost\": 200,\r\n    \"includes_prescription\": true,\r\n    \"includes_dental\": false,\r\n    \"includes_vision\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/1/plans/create/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:53:45 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"41"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"plan_name\": [\n        \"This field is required.\"\n    ]\n}"},{"id":"e4a2dfd0-2de3-4ad5-9b96-5405b597279a","name":"Insurance Provider Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"insurance_provider\": 1,\r\n    \"plan_name\": \"Anthem-Basic\",\r\n    \"plan_description\": \"Anyone can take this. Covers all the basic things\",\r\n    \"plan_cost\": 200,\r\n    \"includes_prescription\": true,\r\n    \"includes_dental\": false,\r\n    \"includes_vision\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/insurance_provider/45/plans/create/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:54:33 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, PUT, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"42"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Insurance provider not found\"\n}"}],"_postman_id":"691ecbb3-6070-4d7f-a3a5-541301a95447"},{"name":"Get Stats","id":"c9885f7e-4132-4b14-892f-1767de79e5be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"c9885f7e-4132-4b14-892f-1767de79e5be"},{"name":"Get Insurance Provider Profile Details","id":"e9f10ee4-3488-4981-a10c-bb13fe5ef0c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/insurance_provider/45/profile/","urlObject":{"path":["api","insurance_provider","45","profile",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"24ea5ef3-241c-44c3-9884-10a40c7fa4e6","name":"Success","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/insurance_provider/1/profile/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:39:02 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"113"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"company_name\": \"Anthem\",\n    \"email\": \"contact@anthem.com\",\n    \"address\": \"Indianapolis, USA\",\n    \"mobile\": \"8125445588\"\n}"},{"id":"533b4a62-bd17-4c9b-81ae-a658e0f2d746","name":"No Insurance Provider Found","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/insurance_provider/45/profile/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 03:40:06 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"42"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Insurance provider not found\"\n}"}],"_postman_id":"e9f10ee4-3488-4981-a10c-bb13fe5ef0c8"}],"id":"4a78e9fe-6904-441e-bd5b-d381a88302af","_postman_id":"4a78e9fe-6904-441e-bd5b-d381a88302af","description":""},{"name":"Hospital","item":[{"name":"Add Hospital","id":"01ef685f-9ddf-4f27-a517-0a630f8bcbd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"hospital_name\": \"Indiana Hospital\",\r\n    \"hospital_address\": \"Indianapolis, USA\",\r\n    \"email\": \"hospital@in.com\",\r\n    \"mobile\": 8122225555,\r\n    \"no_of_beds_available\": 100\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/hospital/signup/","urlObject":{"path":["api","hospital","signup",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"30cbd6da-1ea8-4dd1-b77b-ce0f7c71ba74","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"hospital_name\": \"IU Health\",\r\n    \"hospital_address\": \"Bloomington, IN, USA\",\r\n    \"email\": \"iu_health@iu.edu\",\r\n    \"mobile\": 8122225555,\r\n    \"no_of_beds_available\": 100\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/hospital/signup/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 18 Apr 2024 23:54:04 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"154"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"hospital_name\": \"IU Health\",\n    \"hospital_address\": \"Bloomington, IN, USA\",\n    \"email\": \"iu_health@iu.edu\",\n    \"mobile\": \"8122225555\",\n    \"no_of_beds_available\": 100\n}"}],"_postman_id":"01ef685f-9ddf-4f27-a517-0a630f8bcbd0"},{"name":"Get all Hospital Details","id":"ef654151-f0ac-478f-86c6-fccb8916f548","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8000/api/hospital/all/","urlObject":{"path":["api","hospital","all",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"28844b0b-77b5-4280-a766-e1546540a889","name":"Success","originalRequest":{"method":"GET","header":[],"url":"localhost:8000/api/hospital/all/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 00:11:15 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"314"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"hospital_name\": \"IU Health\",\n        \"hospital_address\": \"Bloomington, IN, USA\",\n        \"email\": \"iu_health@iu.edu\",\n        \"mobile\": \"8122225555\",\n        \"no_of_beds_available\": 100\n    },\n    {\n        \"id\": 6,\n        \"hospital_name\": \"Indiana Hospital\",\n        \"hospital_address\": \"Indianapolis, USA\",\n        \"email\": \"hospital@in.com\",\n        \"mobile\": \"8122225555\",\n        \"no_of_beds_available\": 100\n    }\n]"}],"_postman_id":"ef654151-f0ac-478f-86c6-fccb8916f548"},{"name":"Update Hospital Details","id":"5ecf52a0-ff3f-4ab7-894b-1f48a6b8dd35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"no_of_beds_available\": 50\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/hospital/12/update/","urlObject":{"path":["api","hospital","12","update",""],"host":["localhost:8000"],"query":[],"variable":[]}},"response":[{"id":"259fb2de-acce-4e03-85e0-f1439f8516e7","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"no_of_beds_available\": 50\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/hospital/1/update/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 00:14:52 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"PUT, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"146"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"hospital_name\": \"IU Health\",\n    \"hospital_address\": \"Bloomington, IN, USA\",\n    \"email\": \"iu_health@iu.edu\",\n    \"mobile\": \"8122225555\",\n    \"no_of_beds_available\": 50\n}"},{"id":"ca76782e-2ccf-43f6-903a-1ff5249c9aa4","name":"Hospital Not Found","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"no_of_beds_available\": 50\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/hospital/12/update/"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 19 Apr 2024 00:15:17 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.11.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"PUT, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"30"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Hospital not found\"\n}"}],"_postman_id":"5ecf52a0-ff3f-4ab7-894b-1f48a6b8dd35"}],"id":"0b415f69-49f7-4267-9260-66188108dc98","_postman_id":"0b415f69-49f7-4267-9260-66188108dc98","description":""}],"event":[{"listen":"prerequest","script":{"id":"8afdbb5f-df05-45fa-aa49-0f26a9f7a455","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"152a9037-03cd-44b3-9a68-2f844065ec61","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"baseURL","value":"localhost:8000","type":"string"},{"key":"baseURL","value":"https://pims-service.onrender.com","type":"string","disabled":true}]}