{"info":{"_postman_id":"ac495658-54c8-4205-86dd-05f55fc4b357","name":"roshetta_api_v1","description":"<html><head></head><body><p>The following document explains how the API works on the Rosheta website in detail, with the division of roles according to the role of each user in order to maintain the security of user data as much as possible</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"25605546","collectionId":"ac495658-54c8-4205-86dd-05f55fc4b357","publishedId":"2s93CRMCfA","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-02-28T13:51:39.000Z"},"item":[{"name":"users","item":[{"name":"register","id":"5f127dc1-7c0c-430d-88d7-7df8725927a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"","type":"text","description":"<p>account type [patient , doctor , assistant , pharmacist , admin]</p>\n"},{"key":"first_name","value":"","type":"text","description":"<p>your first name</p>\n"},{"key":"last_name","value":"","type":"text","description":"<p>your last name optional</p>\n"},{"key":"email","value":"","type":"text","description":"<p>your email shoud be valide</p>\n"},{"key":"governorate","value":"","type":"text","description":"<p>your governorate</p>\n"},{"key":"gender","value":"","type":"text","description":"<p>your gender [male , female]</p>\n"},{"key":"ssd","value":"","type":"text","description":"<p>your nationtional id shoud be 14 number</p>\n"},{"key":"phone_number","value":"","type":"text","description":"<p>your phone number</p>\n"},{"key":"birth_date","value":"","type":"text","description":"<p>your birth date</p>\n"},{"key":"password","value":"","type":"text","description":"<p>your password shoud be 6 number or more</p>\n"},{"key":"confirm_password","value":"","type":"text","description":"<p>confirm your password</p>\n"},{"key":"weight","value":"","type":"text","description":"<p>your weight if patient add this</p>\n"},{"key":"height","value":"","type":"text","description":"<p>your height if patient add this</p>\n"},{"key":"specialist","value":"","type":"text","description":"<p>your specialist if doctor add this</p>\n"}]},"url":"http://localhost:80/roshetta/api/users/register","description":"<p>This api is used to register on the site, while following the rest of the instructions when registering</p>\n","urlObject":{"path":["users","register"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"a7a6e50f-b37c-4c6a-8bb7-37b0740f4dcf","name":"register","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"patient","type":"text","description":"account type [patient , doctor , assistant , pharmacist , admin]"},{"key":"first_name","value":"mohamed","type":"text","description":"your first name"},{"key":"last_name","value":"saeed","type":"text","description":"your last name optional"},{"key":"email","value":"mo@gmail.com","type":"text","description":"your email shoud be valide"},{"key":"governorate","value":"aswan","type":"text","description":"your governorate"},{"key":"gender","value":"male","type":"text","description":"your gender [male , female]"},{"key":"ssd","value":"12345678912345","type":"text","description":"your nationtional id shoud be 14 number"},{"key":"phone_number","value":"01092338585","type":"text","description":"your phone number"},{"key":"birth_date","value":"2000-10-22","type":"text","description":"your birth date"},{"key":"password","value":"123456","type":"text","description":"your password shoud be 6 number or more"},{"key":"confirm_password","value":"123456","type":"text","description":"confirm your password"},{"key":"weight","value":"58","type":"text","description":"your weight if patient add this"},{"key":"height","value":"173","type":"text","description":"your height if patient add this"},{"key":"specialist","value":"","type":"text","description":"your specialist if doctor add this"}]},"url":"http://localhost:3000/roshetta/api/users/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Feb 2023 12:14:38 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Set-Cookie","value":"PHPSESSID=0ur912hqt320i11lfrhtodb7fo; path=/"},{"key":"Set-Cookie","value":"PHPSESSID=dqmu0nsv67fh61sekc264b73a7; path=/"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"125"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم التسجيل بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"5f127dc1-7c0c-430d-88d7-7df8725927a0"},{"name":"login","id":"b2323b8f-2632-4134-bde8-3906cd8a2d10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"","type":"text","description":"<p>account type [patient , doctor , assistant , pharmacist , admin]</p>\n"},{"key":"user_id","value":"","type":"text","description":"<p>email or ssd</p>\n"},{"key":"password","value":"","type":"text","description":"<p>password</p>\n"},{"key":"password_edit","value":"","type":"text","description":"<p>url page forget password</p>\n"}]},"url":"http://localhost:80/roshetta/api/users/login","description":"<p>This api is used in the process of logging in to the site, while following the rest of the instructions</p>\n","urlObject":{"path":["users","login"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"7c288207-07eb-4778-adbb-bfed10983c22","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"admin","type":"text","description":"account type [patient , doctor , assistant , pharmacist , admin]"},{"key":"user_id","value":"22222222222222","type":"text","description":"email or ssd"},{"key":"password","value":"22","type":"text","description":"password"},{"key":"password_edit","value":"","type":"text","description":"url page forget password"}]},"url":"http://localhost:80/roshetta/api/users/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 04 Mar 2023 22:04:35 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=uafgmlo0p9kcpnb93gnson179a; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"403"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم تسجيل الدخول بنجاح\",\n    \"Data\": {\n        \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwidHlwZSI6ImFkbWluIiwiZXhwIjoxNjc3OTk2Mjc1fQ.JKZa17VvxbppawSH1gjg_accz5cGvXBKJDRimPTk3bk\",\n        \"expiredToken\": 1677996275,\n        \"name\": \"samy mohamed\",\n        \"ssd\": 22222222222222,\n        \"type\": \"admin\",\n        \"isActive\": 1,\n        \"image\": null\n    }\n}"},{"id":"6b89b8e2-d56e-48ae-bcba-bc9f0821cdc1","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"doctor","type":"text","description":"account type [patient , doctor , assistant , pharmacist , admin]"},{"key":"user_id","value":"12345678912345","type":"text","description":"email or ssd"},{"key":"password","value":"123456","type":"text","description":"password"},{"key":"password_edit","value":"","type":"text","description":"url page forget password"}]},"url":"http://localhost:80/roshetta/api/users/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 11:21:13 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=72bpvl0uo1c91s0gtd466tj28j; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"652"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم تسجيل الدخول بنجاح\",\n    \"Data\": {\n        \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwidHlwZSI6ImRvY3RvciIsImV4cCI6MTY3ODczNTI3MywiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MC5yb3NoZXR0YS5lZyIsImF1ZCI6Imh0dHA6Ly9sb2NhbGhvc3Q6ODAucm9zaGV0dGEuY29tIiwiaWF0IjoxMzU2OTk5NTI0LCJuYmYiOjEzNTcwMDAwMDB9.yWjhx1TGi7mszJvPRctgU7LMN-NB55gye3ffyCRfF88\",\n        \"expiredToken\": 1678735273,\n        \"name\": \"mohamed saeed\",\n        \"ssd\": 12345678912345,\n        \"type\": \"doctor\",\n        \"isActive\": 1,\n        \"image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n        \"isVerify\": 1\n    }\n}"}],"_postman_id":"b2323b8f-2632-4134-bde8-3906cd8a2d10"},{"name":"active email","id":"78cd92ee-77b2-41ee-8131-54a95cceb463","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"","description":"<p>account type [patient , doctor , assistant , pharmacist , admin]</p>\n","type":"text"},{"key":"email","value":"","description":"<p>your email account</p>\n","type":"text"},{"key":"code","value":"","description":"<p>code activation has been send in your email</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/users/active_email","description":"<p>This api is used in the process of activating the e-mail upon registration</p>\n","urlObject":{"path":["users","active_email"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"f61db51d-387e-4350-b7ab-666b82fae966","name":"active_email","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"patient","description":"account type [patient , doctor , assistant , pharmacist , admin]","type":"text"},{"key":"email","value":"mo@gmail.com","description":"your email account","type":"text"},{"key":"code","value":"895970","description":"code activation has been send in your email","type":"text"}]},"url":"http://localhost:3000/roshetta/api/users/active_email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Feb 2023 12:17:35 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=aq43th3hm451hs4e0qqfbiid85; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"181"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تفعيل البريد الإلكترونى\",\n    \"Data\": null\n}"}],"_postman_id":"78cd92ee-77b2-41ee-8131-54a95cceb463"},{"name":"logout","id":"e7192856-c7c6-4169-9383-e4fce66d010b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/users/logout","description":"<p>This api is used for the logout process</p>\n","urlObject":{"path":["users","logout"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"a4f05b4f-4939-4859-b18c-cb3cb46fd054","name":"logout","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/roshetta/api/users/logout?Auth=bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwidHlwZSI6ImFkbWluIiwiZXhwIjoxNjc3NTAwNjI2fQ.TWhyhJB9huAUQhdviIacFPICuLt6rVLXgq2UBTifS3E","protocol":"http","host":["localhost"],"port":"3000","path":["roshetta","api","users","logout"],"query":[{"key":"Auth","value":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwidHlwZSI6ImFkbWluIiwiZXhwIjoxNjc3NTAwNjI2fQ.TWhyhJB9huAUQhdviIacFPICuLt6rVLXgq2UBTifS3E","description":"bearer+\"  \"+token"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 27 Feb 2023 11:30:12 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ad1s9ebsq76obmaqdh4iskja8j; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"120"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم تسجيل الخروج\",\n    \"Data\": null\n}"}],"_postman_id":"e7192856-c7c6-4169-9383-e4fce66d010b"},{"name":"view profile","id":"d8d3bdb7-260d-4d50-a2f3-cb32e1de1031","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/users/profile","description":"<p>This api is used to view the profile of all users</p>\n","urlObject":{"path":["users","profile"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"2a20ba24-58ce-4038-a59b-8b950ef5c23e","name":"view profile","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/users/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 09 Mar 2023 14:45:18 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=gtavi95rsua6lbbrike14fr46j; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"532"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"name\": \"mohamed saeed\",\n        \"age\": \"22 year\",\n        \"ssd\": 12345678912352,\n        \"email\": \"mnn@gmail.com\",\n        \"phone_number\": \"01092338585\",\n        \"gender\": \"ذكر\",\n        \"birth_date\": \"2001-02-06\",\n        \"governorate\": \"aswan\",\n        \"image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n        \"type\": \"patient\",\n        \"weight\": 58,\n        \"height\": 173,\n        \"number_prescript\": 7,\n        \"number_disease\": 4,\n        \"number_appoint\": 2\n    }\n}"}],"_postman_id":"d8d3bdb7-260d-4d50-a2f3-cb32e1de1031"},{"name":"edit password","id":"0448d017-bc9b-4c87-b9ee-7bb36073fe7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"password","value":"","description":"<p>new password</p>\n","type":"text"},{"key":"confirm_password","value":"","description":"<p>confirm new password</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/users/edit_password","description":"<p>This api is used to modify the password from within the site</p>\n","urlObject":{"path":["users","edit_password"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"102e5aca-e48f-44f8-ab75-3cca1f822971","name":"edit password","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"password","value":"222222","description":"new password","type":"text"},{"key":"confirm_password","value":"222222","description":"confirm new password","type":"text"}]},"url":"http://localhost:3000/roshetta/api/users/edit_password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 27 Feb 2023 12:06:18 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ua1bdrnm7pr04lae3p04f0iegq; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"176"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تعديل كلمة المرور بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"0448d017-bc9b-4c87-b9ee-7bb36073fe7b"},{"name":"edit profile","id":"53330f57-cd3a-4be2-8a41-2610985ac3df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone_number","value":"","description":"<p>your new phone number</p>\n","type":"text"},{"key":"governorate","value":"","description":"<p>your new governorate</p>\n","type":"text"},{"key":"weight","value":"","description":"<p>your new weight if patient add this</p>\n","type":"text"},{"key":"height","value":"","description":"<p>your new height if patient add this</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/users/edit_profile","description":"<p>This api is used in the process of modifying the profile data of all users</p>\n","urlObject":{"path":["users","edit_profile"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"ced93e88-8279-414d-8313-f2f747f9c538","name":"edit profile","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone_number","value":"01092338588","description":"your new phone number","type":"text"},{"key":"governorate","value":"البحيرة","description":"your new governorate","type":"text"},{"key":"weight","value":"100","description":"your new weight if patient add this","type":"text"},{"key":"height","value":"200","description":"your new height if patient add this","type":"text"}]},"url":"http://localhost:3000/roshetta/api/users/edit_profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Feb 2023 12:38:52 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=o0os4b18ofdi0id2fimq7v9at7; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"126"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم التعديل بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"53330f57-cd3a-4be2-8a41-2610985ac3df"},{"name":"send message","id":"5583c715-2800-4407-a494-71db7761147e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"message","value":"","description":"<p>your message</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/users/message","description":"<p>This api is used to send messages to the admin</p>\n","urlObject":{"path":["users","message"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"485b98c0-d349-4a48-8775-d7f7e95597b5","name":"send message","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"message","value":"مرحبا بكم فى روشتة","description":"your message","type":"text"}]},"url":"http://localhost:3000/roshetta/api/users/message"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Feb 2023 13:18:35 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=gguofn7kn31ts7iqn8f6lp31ok; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"180"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم الإرسال للمختص للمراجعة\",\n    \"Data\": null\n}"}],"_postman_id":"5583c715-2800-4407-a494-71db7761147e"},{"name":"forget password","id":"5542e998-fcd4-4003-8b3c-746ed94da67a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"","description":"<p>account type [patient , doctor , assistant , pharmacist , admin]</p>\n","type":"text"},{"key":"user_id","value":"","description":"<p>email or ssd</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/users/forget_password","description":"<p>This api is used in case you forgot the password when logging in</p>\n","urlObject":{"path":["users","forget_password"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"ba747d46-2c5a-4460-9577-87b615ebac16","name":"forget password","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"patient","description":"account type [patient , doctor , assistant , pharmacist , admin]","type":"text"},{"key":"user_id","value":"mohamedsaeed00451@gmail.com","description":"email or ssd","type":"text"}]},"url":"http://localhost:3000/roshetta/api/users/forget_password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Feb 2023 13:33:49 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=p5ml7astmuu5nm59fm7esac93d; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"379"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم إرسال كود إعادة التعيين عبر البريد الإلكترونى المرتبط بالحساب\",\n    \"Data\": null\n}"}],"_postman_id":"5542e998-fcd4-4003-8b3c-746ed94da67a"},{"name":"code password","id":"c66451e0-746d-4789-9f67-8c9da218cac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"","description":"<p>account type [patient , doctor , assistant , pharmacist , admin]</p>\n","type":"text"},{"key":"user_id","value":"","description":"<p>email or ssd</p>\n","type":"text"},{"key":"code","value":"","description":"<p>code activation has been send in your email</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/users/code_password","description":"<p>This api is used to resend the verification code when you forget the password</p>\n","urlObject":{"path":["users","code_password"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"af058071-9162-4c03-9865-7d2930718d3f","name":"code password","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"patient","description":"account type [patient , doctor , assistant , pharmacist , admin]","type":"text"},{"key":"user_id","value":"mohamedsaeed00451@gmail.com","description":"email or ssd","type":"text"},{"key":"code","value":"123456","description":"code activation has been send in your email","type":"text"}]},"url":"http://localhost:3000/roshetta/api/users/code_password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Feb 2023 13:40:13 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=62g40rh658s0fu41oi5etv8u4m; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"120"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم التحقق بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"c66451e0-746d-4789-9f67-8c9da218cac0"},{"name":"reset password","id":"e299def3-99b7-4cb5-b389-405b89f4e397","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"","type":"text","description":"<p>account type [patient , doctor , assistant , pharmacist , admin]</p>\n"},{"key":"user_id","value":"","type":"text","description":"<p>email or ssd</p>\n"},{"key":"password","value":"","type":"text","description":"<p>your new password</p>\n"},{"key":"confirm_password","value":"","description":"<p>confirm your new password</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/users/reset_password","description":"<p>This api is used to reset the password when logging in after confirming the verification code</p>\n","urlObject":{"path":["users","reset_password"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"9124f45a-09b5-4fb0-95a3-6b3e89002911","name":"reset password","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"patient","type":"text"},{"key":"user_id","value":"mohamedsaeed00451@gmail.com","type":"text"},{"key":"password","value":"123123","type":"text"},{"key":"confirm_password","value":"123123","type":"text"}]},"url":"http://localhost:3000/roshetta/api/users/reset_password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Feb 2023 13:45:11 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=gqinn3r3g3mnvka1e9nbn7oc0f; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"176"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تعديل كلمة المرور بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"e299def3-99b7-4cb5-b389-405b89f4e397"},{"name":"add profile image","id":"c5dd725b-a3a9-4ebf-8468-35726f9b55a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"<p>your image</p>\n","type":"file","value":null}]},"url":"http://localhost:80/roshetta/api/users/add_image","description":"<p>This api is used to update the profile picture of users</p>\n","urlObject":{"path":["users","add_image"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"c288b2fc-ecf0-4dd8-bdbb-f350a7dc73cd","name":"add profile image","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"your image","type":"file","src":"/D:/Pictures And Music/Pictures/123/85296374.png"}]},"url":"http://localhost:80/roshetta/api/users/add_image"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 11:26:16 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=8j4o81jckvpu5c1cut38b92dki; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"281"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تحديث صورة الملف الشخصى\",\n    \"Data\": \"http://localhost:80/roshetta/uploads/images/profile_image/do-12345678912345/edbfabbe94d66b3347be.png\"\n}"}],"_postman_id":"c5dd725b-a3a9-4ebf-8468-35726f9b55a9"},{"name":"remove profile image","id":"26f9dcc2-dbfb-42a6-a7d0-67606f508e28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/users/remove_image","description":"<p>This api is used to delete the profile picture of users</p>\n","urlObject":{"path":["users","remove_image"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"bbb5b02d-0ca4-4dae-a5d2-5a2ba1fb9589","name":"remove profile image","originalRequest":{"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/users/remove_image"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 11:29:16 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=matbg1i20t1kvgdv2le7h504i8; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"243"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم حذف صورة الملف الشخصى\",\n    \"Data\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\"\n}"}],"_postman_id":"26f9dcc2-dbfb-42a6-a7d0-67606f508e28"},{"name":"add activation image person","id":"427cd8f7-af58-4150-9091-11344478acc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"front_nationtional_card","description":"<p>your front nationtional card </p>\n","type":"file","value":null},{"key":"back_nationtional_card","description":"<p>your back nationtional card </p>\n","type":"file","value":null},{"key":"graduation_cer","description":"<p>your graduation cerd</p>\n","type":"file","value":null},{"key":"card_id_img","description":"<p>your card id</p>\n","type":"file","value":null}]},"url":"http://localhost:80/roshetta/api/users/active_image_person","description":"<p>This api is used to upload images in order to activate the account in the case of the doctor and the pharmacist</p>\n","urlObject":{"path":["users","active_image_person"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"0eaa32fe-ca1b-4cca-9f84-8cfc4f6b076c","name":"add activation image person","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"front_nationtional_card","description":"your front nationtional card ","type":"file","src":"/G:/Pictures/123/95962(2).png"},{"key":"back_nationtional_card","description":"your back nationtional card ","type":"file","src":"/G:/Pictures/123/im741ages.jpg"},{"key":"graduation_cer","description":"your graduation cerd","type":"file","src":"/G:/Pictures/123/im85ages.png"},{"key":"card_id_img","description":"your card id","type":"file","src":"/G:/Pictures/123/95962(2).png"}]},"url":"http://localhost:3000/roshetta/api/users/active_image_person"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Mar 2023 18:08:58 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=3mus2ojlfbmkevq2iep1dbc30a; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"143"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم التقديم للمراجعة\",\n    \"Data\": null\n}"}],"_postman_id":"427cd8f7-af58-4150-9091-11344478acc3"},{"name":"add activation image place","id":"06a52258-3c57-46a0-b389-4743e368c6a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"license_img","description":"<p>license image of your place</p>\n","type":"file","value":null}]},"url":"http://localhost:80/roshetta/api/users/active_image_place/6?place_role=","description":"<p>This api is used to upload images in order to activate the account in the case of clinics and pharmacies</p>\n","urlObject":{"path":["users","active_image_place","6"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type of place [clinic , pharmacy]</p>\n","type":"text/plain"},"key":"place_role","value":""}],"variable":[]}},"response":[{"id":"6c385af7-a6c4-4a9b-89a0-4468a06abb11","name":"add activation image place","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"license_img","description":"license image of your place","type":"file","src":"/D:/Pictures And Music/Pictures/123/sub.png"}]},"url":{"raw":"http://localhost:80/roshetta/api/users/active_image_place/6?place_role=pharmacy","host":["http://localhost:80/roshetta/api"],"path":["users","active_image_place","6"],"query":[{"key":"place_role","value":"pharmacy","description":"type of place [clinic , pharmacy]","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 09 Mar 2023 16:57:47 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=pkit615v2hlqlrvhvrihc5epls; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"143"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم التقديم للمراجعة\",\n    \"Data\": null\n}"}],"_postman_id":"06a52258-3c57-46a0-b389-4743e368c6a9"},{"name":"view video","id":"2b39526e-df46-4812-bd09-c782f7c624ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/users/view_video","description":"<p>This api is used to fetch tutorial videos for users</p>\n","urlObject":{"path":["users","view_video"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"de7f750a-8a1a-46fb-9261-1ed98dcef681","name":"view video","originalRequest":{"method":"GET","header":[],"url":"http://localhost:3000/roshetta/api/users/view_video"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 04 Mar 2023 18:11:59 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=fo3kfk4rvl632jc16sofr7acvk; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"214"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": \"E:\\\\xampp\\\\htdocs\\\\roshetta\\\\api\\\\app\\\\controllers\\\\videos\\\\pa.mp4\"\n}"}],"_postman_id":"2b39526e-df46-4812-bd09-c782f7c624ad"},{"name":"resend active code","id":"c88f03a1-07d8-46db-8890-b31dc6c6c572","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"","description":"<p>account type [patient , doctor , assistant , pharmacist , admin]</p>\n","type":"text"},{"key":"user_id","value":"","description":"<p>email or ssd</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/users/resend_active_code","description":"<p>This api is used to resend the email activation code</p>\n","urlObject":{"path":["users","resend_active_code"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"484940f9-54e9-4a61-8af4-b02187659d06","name":"resend active code","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"patient","description":"account type [patient , doctor , assistant , pharmacist , admin]","type":"text"},{"key":"user_id","value":"mohamedsaeed00451@gmail.com","description":"email or ssd","type":"text"}]},"url":"http://localhost:80/roshetta/api/users/resend_active_code"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 04 Mar 2023 18:31:06 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=anbguqjti9l3gem4th9c2qp0c7; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"144"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم إرسال كود التفعيل\",\n    \"Data\": null\n}"}],"_postman_id":"c88f03a1-07d8-46db-8890-b31dc6c6c572"},{"name":"doctor specialist","id":"b54bf04c-ef95-4bd6-90fc-cf3844e6e103","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/users/doctor_specialist","description":"<p>This api is used to fetch the specializations of doctors and clinics</p>\n","urlObject":{"path":["users","doctor_specialist"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"2c22c735-d1c9-47d6-bcaf-b21e6c208174","name":"doctor specialist","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/users/doctor_specialist"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Mar 2023 12:21:23 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=p447247g6e6ui54qoe777speni; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"7275"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"name\": \"Accident and emergency medicine\",\n            \"ar_name\": \"طب الطوارئ والحوادث\"\n        },\n        {\n            \"name\": \"Allergology\",\n            \"ar_name\": \"علم الحساسية\"\n        },\n        {\n            \"name\": \"Anaesthetics\",\n            \"ar_name\": \"التخدير\"\n        },\n        {\n            \"name\": \"Biological hematology\",\n            \"ar_name\": \"الأمراض الدموية الحيوية\"\n        },\n        {\n            \"name\": \"Cardiology\",\n            \"ar_name\": \"أمراض القلب\"\n        },\n        {\n            \"name\": \"Child psychiatry\",\n            \"ar_name\": \"طب الأطفال النفسي\"\n        },\n        {\n            \"name\": \"Clinical biology\",\n            \"ar_name\": \"الأحياء السريرية\"\n        },\n        {\n            \"name\": \"Clinical chemistry\",\n            \"ar_name\": \"الكيمياء السريرية\"\n        },\n        {\n            \"name\": \"Clinical neurophysiology\",\n            \"ar_name\": \"العلم العصبي الفيزيولوجي السريري\"\n        },\n        {\n            \"name\": \"Clinical radiology\",\n            \"ar_name\": \"التصوير الطبي السريري\"\n        },\n        {\n            \"name\": \"Dental, oral and maxillo-facial surgery\",\n            \"ar_name\": \"جراحة الأسنان والفم والوجه\"\n        },\n        {\n            \"name\": \"Dermato-venerology\",\n            \"ar_name\": \"أمراض الجلد والأمراض الجنسية\"\n        },\n        {\n            \"name\": \"Dermatology\",\n            \"ar_name\": \"أمراض الجلدية\"\n        },\n        {\n            \"name\": \"Endocrinology\",\n            \"ar_name\": \"علم الغدد الصماء\"\n        },\n        {\n            \"name\": \"Gastro-enterologic surgery\",\n            \"ar_name\": \"جراحة الجهاز الهضمي\"\n        },\n        {\n            \"name\": \"Gastroenterology\",\n            \"ar_name\": \"أمراض المعدة والأمعاء\"\n        },\n        {\n            \"name\": \"General hematology\",\n            \"ar_name\": \"الأمراض الدموية العامة\"\n        },\n        {\n            \"name\": \"General Practice\",\n            \"ar_name\": \"الطب العام\"\n        },\n        {\n            \"name\": \"General surgery\",\n            \"ar_name\": \"جراحة عامة\"\n        },\n        {\n            \"name\": \"Geriatrics\",\n            \"ar_name\": \"طب المسنين\"\n        },\n        {\n            \"name\": \"Immunology\",\n            \"ar_name\": \"مناعة\"\n        },\n        {\n            \"name\": \"Infectious diseases\",\n            \"ar_name\": \"الأمراض المعدية\"\n        },\n        {\n            \"name\": \"Internal medicine\",\n            \"ar_name\": \"الطب الباطني\"\n        },\n        {\n            \"name\": \"Laboratory medicine\",\n            \"ar_name\": \"طب المختبرات\"\n        },\n        {\n            \"name\": \"Maxillo-facial surgery\",\n            \"ar_name\": \"جراحة الفك والوجه\"\n        },\n        {\n            \"name\": \"Microbiology\",\n            \"ar_name\": \"علم الأحياء الدقيقة\"\n        },\n        {\n            \"name\": \"Nephrology\",\n            \"ar_name\": \"أمراض الكلى\"\n        },\n        {\n            \"name\": \"Neuro-psychiatry\",\n            \"ar_name\": \"أمراض الأعصاب والطب النفسي\"\n        },\n        {\n            \"name\": \"Neurology\",\n            \"ar_name\": \"أمراض الأعصاب\"\n        },\n        {\n            \"name\": \"Neurosurgery\",\n            \"ar_name\": \"جراحة الأعصاب\"\n        },\n        {\n            \"name\": \"Nuclear medicine\",\n            \"ar_name\": \"الطب النووي\"\n        },\n        {\n            \"name\": \"Obstetrics and gynecology\",\n            \"ar_name\": \"النسا والتوليد\"\n        },\n        {\n            \"name\": \"Occupational medicine\",\n            \"ar_name\": \"طب العمل\"\n        },\n        {\n            \"name\": \"Ophthalmology\",\n            \"ar_name\": \"طب العيون\"\n        },\n        {\n            \"name\": \"Orthopaedics\",\n            \"ar_name\": \"جراحة العظام\"\n        },\n        {\n            \"name\": \"Otorhinolaryngology\",\n            \"ar_name\": \"أمراض الأنف والأذن والحنجرة\"\n        },\n        {\n            \"name\": \"Paediatric surgery\",\n            \"ar_name\": \"جراحة الأطفال\"\n        },\n        {\n            \"name\": \"Paediatrics\",\n            \"ar_name\": \"طب الأطفال\"\n        },\n        {\n            \"name\": \"Pathology\",\n            \"ar_name\": \"علم المرض\"\n        },\n        {\n            \"name\": \"Pharmacology\",\n            \"ar_name\": \"علم الأدوية\"\n        },\n        {\n            \"name\": \"Physical medicine and rehabilitation\",\n            \"ar_name\": \"الطب الطبيعي وإعادة التأهيل\"\n        },\n        {\n            \"name\": \"Plastic surgery\",\n            \"ar_name\": \"جراحة التجميل\"\n        },\n        {\n            \"name\": \"Podiatric Medicine\",\n            \"ar_name\": \"طب القدمين\"\n        },\n        {\n            \"name\": \"Podiatric Surgery\",\n            \"ar_name\": \"جراحة القدمين\"\n        },\n        {\n            \"name\": \"Psychiatry\",\n            \"ar_name\": \"طب النفس\"\n        },\n        {\n            \"name\": \"Public health and Preventive Medicine\",\n            \"ar_name\": \"الصحة العامة والوقاية\"\n        },\n        {\n            \"name\": \"Radiology\",\n            \"ar_name\": \"التصوير الطبي\"\n        },\n        {\n            \"name\": \"Radiotherapy\",\n            \"ar_name\": \"العلاج الإشعاعي\"\n        },\n        {\n            \"name\": \"Respiratory medicine\",\n            \"ar_name\": \"أمراض الجهاز التنفسي\"\n        },\n        {\n            \"name\": \"Rheumatology\",\n            \"ar_name\": \"الروماتيزم\"\n        },\n        {\n            \"name\": \"Stomatology\",\n            \"ar_name\": \"طب الفم والأسنان\"\n        },\n        {\n            \"name\": \"Thoracic surgery\",\n            \"ar_name\": \"جراحة الصدر\"\n        },\n        {\n            \"name\": \"Tropical medicine\",\n            \"ar_name\": \"طب الأمراض الاستوائية\"\n        },\n        {\n            \"name\": \"Urology\",\n            \"ar_name\": \"جراحة المسالك البولية\"\n        },\n        {\n            \"name\": \"Vascular surgery\",\n            \"ar_name\": \"جراحة الأوعية الدموية\"\n        },\n        {\n            \"name\": \"Venereology\",\n            \"ar_name\": \"أمراض الجنس\"\n        }\n    ]\n}"}],"_postman_id":"b54bf04c-ef95-4bd6-90fc-cf3844e6e103"},{"name":"view account status","id":"f9023c10-5d90-4bb6-937f-9bdd1a9e1848","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/users/view_account_status","description":"<p>This api is used to know whether the account has been activated or not in the case of the doctor and the pharmacist</p>\n","urlObject":{"path":["users","view_account_status"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"971e9ff3-8935-434e-8fae-8b8242417ea1","name":"view account status","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/users/view_account_status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 20 Mar 2023 09:29:52 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ffak85tb36r6kqtp20phuss72p; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"155"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": \"success\"\n}"}],"_postman_id":"f9023c10-5d90-4bb6-937f-9bdd1a9e1848"}],"id":"2f22abfd-6fd8-4413-a924-9ef15a1227b0","description":"<p>All users can use those api</p>\n","_postman_id":"2f22abfd-6fd8-4413-a924-9ef15a1227b0"},{"name":"patient","item":[{"name":"add appointment","id":"4b5d4543-fa42-4556-805c-b76bcd8dd610","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"appoint_date","value":"","description":"<p>appointment date</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/patients/add_appointment/12","description":"<p>This api is used to book an appointment with a clinic</p>\n","urlObject":{"path":["patients","add_appointment","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"cc239a3a-6311-4215-a7e8-0361824479e8","name":"add appointment","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"appoint_date","value":"2023-03-20","description":"appointment date","type":"text"}]},"url":"http://localhost:80/roshetta/api/patients/add_appointment/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 15:23:37 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ctkem3r5c5nkm0lukrgd5q2ns2; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"144"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم إضافة الحجز بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"4b5d4543-fa42-4556-805c-b76bcd8dd610"},{"name":"view appointment","id":"7b36838f-bfb7-4883-843c-7ae4867f6f3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_appointment","description":"<p>This api is used to view reservations and their status</p>\n","urlObject":{"path":["patients","view_appointment"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"4135c84a-bb58-48d9-8ac1-d316b724d942","name":"view appointment","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_appointment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Mar 2023 13:43:41 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=76bgdfjlmqkctqqdhoj94tgpt9; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1591"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"appointment_id\": 41,\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n            \"name\": \"dr mohamed\",\n            \"phone_number\": \"01039258858\",\n            \"start_working\": \"02:00:00\",\n            \"end_working\": \"05:00:00\",\n            \"specialist\": \"بطنة\",\n            \"address\": \"اسون البلد جنب بتاع الخوخ \",\n            \"appoint_date\": \"2023-03-07\",\n            \"appoint_case\": 0\n        },\n        {\n            \"appointment_id\": 38,\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n            \"name\": \"dr mohamed\",\n            \"phone_number\": \"01039258858\",\n            \"start_working\": \"02:00:00\",\n            \"end_working\": \"05:00:00\",\n            \"specialist\": \"بطنة\",\n            \"address\": \"اسون البلد جنب بتاع الخوخ \",\n            \"appoint_date\": \"2023-03-08\",\n            \"appoint_case\": 1\n        },\n        {\n            \"appointment_id\": 40,\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/pa-12345678912345/c565d293abcd20a54b02.jpg\",\n            \"name\": \"عيادة دكتور ربيع\",\n            \"phone_number\": \"01092338540\",\n            \"start_working\": \"02:00:00\",\n            \"end_working\": \"08:00:00\",\n            \"specialist\": \"اسنان\",\n            \"address\": \"اسوان جنب بتاع الخوخ\",\n            \"appoint_date\": \"2023-03-11\",\n            \"appoint_case\": 2\n        }\n    ]\n}"}],"_postman_id":"7b36838f-bfb7-4883-843c-7ae4867f6f3b"},{"name":"edit appointment","id":"c17264de-cde3-4325-96ef-b06601ff2d72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"appoint_date","value":"","description":"<p>appointment date</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/patients/edit_appointment/12?appoint_id=","description":"<p>This api is used to modify the reservation</p>\n","urlObject":{"path":["patients","edit_appointment","12"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>appointment id</p>\n","type":"text/plain"},"key":"appoint_id","value":""}],"variable":[]}},"response":[{"id":"1eb2439b-45ce-45b5-bc48-eeec7777df47","name":"edit appointment","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"appoint_date","value":"2024-04-24","description":"appointment date","type":"text"}]},"url":{"raw":"http://localhost:80/roshetta/api/patients/edit_appointment?appoint_id=40","host":["http://localhost:80/roshetta/api"],"path":["patients","edit_appointment"],"query":[{"key":"appoint_id","value":"40","description":"appointment id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Mar 2023 21:59:50 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=29slkh4t0rikhl8kt7admlcb61; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"152"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تعديل الحجز بنجاح\",\n    \"Data\": \"2024-04-24\"\n}"}],"_postman_id":"c17264de-cde3-4325-96ef-b06601ff2d72"},{"name":"delete appointment","id":"8cefbc9f-32bd-4a69-836e-03b704f4bfd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/patients/delete_appointment?appoint_id=","description":"<p>This api is used to delete the reservation</p>\n","urlObject":{"path":["patients","delete_appointment"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>appointment id</p>\n","type":"text/plain"},"key":"appoint_id","value":""}],"variable":[]}},"response":[{"id":"c00c3cf5-1fee-47b5-9ad7-9b56e1f3f0cc","name":"delete appointment","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:80/roshetta/api/patients/delete_appointment?appoint_id=37","host":["http://localhost:80/roshetta/api"],"path":["patients","delete_appointment"],"query":[{"key":"appoint_id","value":"37","description":"appointment id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 15:28:42 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=thk223sl7mansaueu5il6und88; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"132"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم حذف الحجز بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"8cefbc9f-32bd-4a69-836e-03b704f4bfd7"},{"name":"view clinic","id":"40a2d45e-cd80-473e-b282-28905ba17dd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_clinic?filter=","description":"<p>This api is used to view the available clinics on the site</p>\n","urlObject":{"path":["patients","view_clinic"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>filter specialist clinic if need</p>\n","type":"text/plain"},"key":"filter","value":""}],"variable":[]}},"response":[{"id":"434509eb-26af-49fa-af83-268a139a9c70","name":"view clinic","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/patients/view_clinic?filter=","host":["http://localhost:80/roshetta/api"],"path":["patients","view_clinic"],"query":[{"key":"filter","value":"","description":"filter specialist clinic if need"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 27 Mar 2023 22:31:26 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=brc1i834kl1jo1tkrv604g57bc; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"805"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"clinic_id\": 12,\n            \"name\": \"dr mohamed\",\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n            \"specialist\": \"بطنة\",\n            \"governorate\": \"اسوان\",\n            \"isOpen\": 1,\n            \"appoint_case\": 0,\n            \"appoint_date\": \"2023-03-07\"\n        },\n        {\n            \"clinic_id\": 16,\n            \"name\": \"عيادة دكتور ربيع\",\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/pa-12345678912345/c565d293abcd20a54b02.jpg\",\n            \"specialist\": \"اسنان\",\n            \"governorate\": \"اسوان\",\n            \"isOpen\": 1,\n            \"appoint_case\": 1,\n            \"appoint_date\": null\n        }\n    ]\n}"}],"_postman_id":"40a2d45e-cd80-473e-b282-28905ba17dd0"},{"name":"view clinic details","id":"6b712d2b-1c97-4fb5-855b-7ffb6b367efe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_clinic_details/12","description":"<p>This api is used to view the details of a particular clinic</p>\n","urlObject":{"path":["patients","view_clinic_details","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"ca716515-0909-4e9d-9016-93e1135a4e44","name":"view clinic details","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_clinic_details/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Mar 2023 12:56:07 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ga183gf178jdhqoqq6pcqsvk65; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"723"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"clinic_id\": 12,\n        \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n        \"name\": \"dr mohamed\",\n        \"specialist\": \"بطنة\",\n        \"governorate\": \"اسوان\",\n        \"phone_number\": \"01039258858\",\n        \"price\": 100,\n        \"start_working\": \"02:00:00\",\n        \"end_working\": \"05:00:00\",\n        \"address\": \"اسون البلد جنب بتاع الخوخ \",\n        \"isOpen\": 1,\n        \"number_appoint_clinic\": 2,\n        \"number_appoint_patient\": 2,\n        \"appoint_case\": 0,\n        \"appoint_date\": \"2023-03-07\"\n    }\n}"}],"_postman_id":"6b712d2b-1c97-4fb5-855b-7ffb6b367efe"},{"name":"view disease","id":"b1338c3f-7016-4bd1-ab5b-9936f529c6ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_disease","description":"<p>This api is used to view the previously registered diseases of the patient</p>\n","urlObject":{"path":["patients","view_disease"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"89af5d34-b0ee-424e-a2f6-556607adaf51","name":"view disease","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_disease"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 04 Mar 2023 16:58:05 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=17plvitk2rrnfsifjc8kdf4tku; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"367"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"disease_id\": 11,\n            \"name\": \"صداع\",\n            \"place\": \"الرأس\",\n            \"date\": \"2023-03-04\"\n        },\n        {\n            \"disease_id\": 12,\n            \"name\": \"كحة\",\n            \"place\": \"الزور\",\n            \"date\": \"2023-03-02\"\n        }\n    ]\n}"}],"_postman_id":"b1338c3f-7016-4bd1-ab5b-9936f529c6ae"},{"name":"view pharmacy","id":"fe5b7efa-8d42-4798-8b01-2e5616af76d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_pharmacy","description":"<p>This api is used to view the available pharmacies on the site</p>\n","urlObject":{"path":["patients","view_pharmacy"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"91300fb3-853a-4bf5-bca5-4743d1bb8539","name":"view pharmacy","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_pharmacy"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 13:38:29 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=bfvkigugck12tc3visfdd34muj; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"368"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"pharmacy_id\": 1,\n        \"logo\": \"http://localhost:3000/roshetta/uploads/images/place_image/pa-12345678912345/c565d293abcd20a54b02.jpg\",\n        \"name\": \"Dr ali mohamed\",\n        \"phone_number\": \"01222222222\",\n        \"governorate\": \"behira\",\n        \"status\": 0\n    }\n}"}],"_postman_id":"fe5b7efa-8d42-4798-8b01-2e5616af76d1"},{"name":"view pharmacy details","id":"836481a8-683e-486d-afe3-912f377971a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_pharmacy_details/1","description":"<p>This api is used to view the details of a particular pharmacy</p>\n","urlObject":{"path":["patients","view_pharmacy_details","1"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"9954a122-64c0-4662-8066-fa56425b5633","name":"view pharmacy details","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_pharmacy_details/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 08:35:22 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=foa7qvvapjjvcid3v26h1ge9or; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"597"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"pharmacy_id\": 6,\n        \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_pharmacy/c565d293abcd20a54b02.jpg\",\n        \"name\": \"دكتور ربيع\",\n        \"governorate\": \"البحيرة\",\n        \"phone_number\": \"01222222221\",\n        \"start_working\": \"08:00:00\",\n        \"end_working\": \"12:00:00\",\n        \"address\": \"دمنهور\",\n        \"status\": 1,\n        \"number_prescript_pharmacy\": 5,\n        \"number_prescript_patient\": 3\n    }\n}"}],"_postman_id":"836481a8-683e-486d-afe3-912f377971a1"},{"name":"view prescript","id":"d06e57c6-13d1-48b5-8eeb-a19ebb92de9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_prescript?disease_id=","description":"<p>This api is used to view the patient's registered prescriptions</p>\n","urlObject":{"path":["patients","view_prescript"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>disease id optional</p>\n","type":"text/plain"},"key":"disease_id","value":""}],"variable":[]}},"response":[{"id":"ec58958c-0be7-42da-a89d-4e6b90d6329e","name":"view prescript","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/patients/view_prescript?disease_id=","host":["http://localhost:80/roshetta/api"],"path":["patients","view_prescript"],"query":[{"key":"disease_id","value":"","description":"disease id optional"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 01 May 2023 14:36:21 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=kth9cg4u4cukjg1qpdjmul7c2a; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1483"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"prescript_id\": 31,\n            \"ser_id\": \"64668216\",\n            \"created_date\": \"2023-04-20\",\n            \"disease_name\": \"nnnvv\",\n            \"prescriptStatus\": \"none\"\n        },\n        {\n            \"prescript_id\": 32,\n            \"ser_id\": \"59685772\",\n            \"created_date\": \"2023-04-20\",\n            \"disease_name\": \"nnnvv\",\n            \"prescriptStatus\": \"done\"\n        },\n        {\n            \"prescript_id\": 30,\n            \"ser_id\": \"76897172\",\n            \"created_date\": \"2023-04-16\",\n            \"disease_name\": \"كحة\",\n            \"prescriptStatus\": \"none\"\n        },\n        {\n            \"prescript_id\": 29,\n            \"ser_id\": \"29632372\",\n            \"created_date\": \"2023-04-15\",\n            \"disease_name\": \"كحة\",\n            \"prescriptStatus\": \"none\"\n        },\n        {\n            \"prescript_id\": 26,\n            \"ser_id\": \"51561314\",\n            \"created_date\": \"2023-03-08\",\n            \"disease_name\": \"mmm\",\n            \"prescriptStatus\": \"isOrder\"\n        },\n        {\n            \"prescript_id\": 27,\n            \"ser_id\": \"50795772\",\n            \"created_date\": \"2023-03-08\",\n            \"disease_name\": \"mmm\",\n            \"prescriptStatus\": \"none\"\n        },\n        {\n            \"prescript_id\": 28,\n            \"ser_id\": \"45062172\",\n            \"created_date\": \"2023-03-08\",\n            \"disease_name\": \"كحة\",\n            \"prescriptStatus\": \"done\"\n        },\n        {\n            \"prescript_id\": 19,\n            \"ser_id\": \"11772072\",\n            \"created_date\": \"2023-03-06\",\n            \"disease_name\": \"قرحة معدة\",\n            \"prescriptStatus\": \"isOrder\"\n        },\n        {\n            \"prescript_id\": 21,\n            \"ser_id\": \"39922872\",\n            \"created_date\": \"2023-03-06\",\n            \"disease_name\": \"قرحة معدة\",\n            \"prescriptStatus\": \"done\"\n        },\n        {\n            \"prescript_id\": 18,\n            \"ser_id\": \"20133713\",\n            \"created_date\": \"2023-03-06\",\n            \"disease_name\": \"قرحة معدة\",\n            \"prescriptStatus\": \"isOrder\"\n        }\n    ]\n}"},{"id":"62151931-2b97-4b6d-b18b-e9fac53bd50e","name":"view prescript disease","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/patients/view_prescript?disease_id=13","host":["http://localhost:80/roshetta/api"],"path":["patients","view_prescript"],"query":[{"key":"disease_id","value":"13","description":"disease id optional"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 01 May 2023 14:37:23 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=mda87ruj5hg65sepv7vaotq099; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"633"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"prescript_id\": 18,\n            \"ser_id\": \"20133713\",\n            \"created_date\": \"2023-03-06\",\n            \"disease_name\": \"قرحة معدة\",\n            \"prescriptStatus\": \"isOrder\"\n        },\n        {\n            \"prescript_id\": 19,\n            \"ser_id\": \"11772072\",\n            \"created_date\": \"2023-03-06\",\n            \"disease_name\": \"قرحة معدة\",\n            \"prescriptStatus\": \"isOrder\"\n        },\n        {\n            \"prescript_id\": 21,\n            \"ser_id\": \"39922872\",\n            \"created_date\": \"2023-03-06\",\n            \"disease_name\": \"قرحة معدة\",\n            \"prescriptStatus\": \"done\"\n        }\n    ]\n}"}],"_postman_id":"d06e57c6-13d1-48b5-8eeb-a19ebb92de9a"},{"name":"send prescript pharmacy","id":"84b118ae-c220-4991-97e9-1e92bb61d31f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/patients/send_prescript_pharmacy?prescript_id=&pharmacy_id=","description":"<p>This api is used to view sending a request to a pharmacy in order to dispense the prescription</p>\n","urlObject":{"path":["patients","send_prescript_pharmacy"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>prescript id</p>\n","type":"text/plain"},"key":"prescript_id","value":""},{"description":{"content":"<p>pharmacy id</p>\n","type":"text/plain"},"key":"pharmacy_id","value":""}],"variable":[]}},"response":[{"id":"7036e10c-1264-478c-884f-e8a8d26e679a","name":"send prescript pharmacy","originalRequest":{"method":"POST","header":[],"url":{"raw":"http://localhost:80/roshetta/api/patients/send_prescript_pharmacy?prescript_id=20&pharmacy_id=1","host":["http://localhost:80/roshetta/api"],"path":["patients","send_prescript_pharmacy"],"query":[{"key":"prescript_id","value":"20","description":"prescript id","type":"text"},{"key":"pharmacy_id","value":"1","description":"pharmacy id","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 16:22:33 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=hg65sslp7mgufoo9bne8or5biq; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"144"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم إضافة الطلب بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"84b118ae-c220-4991-97e9-1e92bb61d31f"},{"name":"view prescript details","id":"fb89d636-40f6-421e-b1e8-1ae26ad738bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_prescript_details?prescript_id=","description":"<p>This api is used to view the details of a specific prescription</p>\n","urlObject":{"path":["patients","view_prescript_details"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>prescript id</p>\n","type":"text/plain"},"key":"prescript_id","value":""}],"variable":[]}},"response":[{"id":"ce578ace-38dc-41e1-8393-cc1bd2b123df","name":"view prescript details","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/patients/view_prescript_details?prescript_id=20","host":["http://localhost:80/roshetta/api"],"path":["patients","view_prescript_details"],"query":[{"key":"prescript_id","value":"20","description":"prescript id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 01 May 2023 18:32:03 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=vtsorq0quubg1gqk5l1egh7uf1; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1264"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"prescript_data\": [\n            {\n                \"prescript_id\": 20,\n                \"prescript_ser_id\": \"29087172\",\n                \"created_date\": \"2023-03-06\",\n                \"patient_name\": \"mohamed saeed\",\n                \"disease_name\": \"قرحة معدة\",\n                \"rediscovery_date\": \"2023-10-26\",\n                \"doctor_name\": \"mohamed\",\n                \"doctor_specialist\": \"اسنان\",\n                \"clinic_logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n                \"clinic_name\": \"dr mohamed\",\n                \"clinic_phone_number\": \"01039258858\",\n                \"clinic_address\": \"اسون البلد جنب بتاع الخوخ \",\n                \"start_working\": \"02:00:00\",\n                \"end_working\": \"05:00:00\",\n                \"prescriptStatus\": \"done\"\n            }\n        ],\n        \"medicine_data\": [\n            {\n                \"name\": \"brofine\",\n                \"size\": \"200\",\n                \"description\": \"مرتين يوميا\"\n            },\n            {\n                \"name\": \"ogma\",\n                \"size\": \"500\",\n                \"description\": \"مرة قبل الفتار\"\n            },\n            {\n                \"name\": \"fayzer\",\n                \"size\": \"250\",\n                \"description\": \"مرة بعد الغدأ والعشاء\"\n            }\n        ]\n    }\n}"}],"_postman_id":"fb89d636-40f6-421e-b1e8-1ae26ad738bb"},{"name":"view appoint date","id":"8ea19ea4-8f55-4a1e-9810-0ad124bf1ed0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_appoint_date/12","description":"<p>This api is used to view the reservation history</p>\n","urlObject":{"path":["patients","view_appoint_date","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"c2beffe7-dcfd-40d6-b16f-936ec0b61738","name":"view appoint date","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_appoint_date/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 27 Mar 2023 21:44:22 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=e7qa8uaql081vp62rdo7jvitta; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"158"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": \"2023-03-08\"\n}"}],"_postman_id":"8ea19ea4-8f55-4a1e-9810-0ad124bf1ed0"},{"name":"view orders","id":"0b9abc4d-7bd5-49d1-ac1f-c46da5c8e3b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_orders","description":"<p>This api is used to see which orders are still being executed</p>\n","urlObject":{"path":["patients","view_orders"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"0623ba65-ab52-451c-829b-b19365c50478","name":"view orders","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/patients/view_orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 17:30:59 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=s4ajta33cg7b7j03to3ri0tf6m; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"379"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"order_id\": 23,\n            \"time\": \"2023-03-08 18:22:33\",\n            \"prescript_id\": 20,\n            \"ser_id\": \"29087172\",\n            \"pharmacy_name\": \"Dr ali mohamed\"\n        },\n        {\n            \"order_id\": 24,\n            \"time\": \"2023-04-27 17:07:53\",\n            \"prescript_id\": 18,\n            \"ser_id\": \"20133713\",\n            \"pharmacy_name\": \"Dr ali mohamed\"\n        }\n    ]\n}"}],"_postman_id":"0b9abc4d-7bd5-49d1-ac1f-c46da5c8e3b9"},{"name":"delete order","id":"8e57ee10-bf1e-44d3-b59a-31338b47a88d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/patients/delete_order?order_id","description":"<p>This api is used to delete a order</p>\n","urlObject":{"path":["patients","delete_order"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>order id</p>\n","type":"text/plain"},"key":"order_id","value":null}],"variable":[]}},"response":[{"id":"b33d8410-c5a5-46ab-8526-6086b2bde908","name":"delete order","originalRequest":{"method":"POST","header":[],"url":{"raw":"http://localhost:80/roshetta/api/patients/delete_order?order_id=23","host":["http://localhost:80/roshetta/api"],"path":["patients","delete_order"],"query":[{"key":"order_id","value":"23"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 17:32:12 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=q3pa97pa4do9uo64dghihdil25; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"113"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم الحذف بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"8e57ee10-bf1e-44d3-b59a-31338b47a88d"}],"id":"2e23d72c-423b-406b-91e1-e277e25ba2e0","description":"<p>Only patients can use those api</p>\n","_postman_id":"2e23d72c-423b-406b-91e1-e277e25ba2e0"},{"name":"doctor","item":[{"name":"add clinic","id":"b7dc5fa8-67ff-4bf3-98b5-8083139157a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>clinic name</p>\n","type":"text"},{"key":"specialist","value":"","description":"<p>clinic specialist</p>\n","type":"text"},{"key":"price","value":"","description":"<p>clinic price</p>\n","type":"text"},{"key":"phone_number","value":"","description":"<p>clinic phone number</p>\n","type":"text"},{"key":"start_working","value":"","description":"<p>clinic start working</p>\n","type":"text"},{"key":"end_working","value":"","description":"<p>clinic end working</p>\n","type":"text"},{"key":"governorate","value":"","description":"<p>clinic governorate</p>\n","type":"text"},{"key":"address","value":"","description":"<p>clinic address</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/doctors/add_clinic","description":"<p>This api is used to register a clinic with the doctor</p>\n","urlObject":{"path":["doctors","add_clinic"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"ce95c5d4-7f20-483d-9888-f3bb80e3b8c8","name":"add clinic","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"عيادة الإخلاص","description":"clinic name","type":"text"},{"key":"specialist","value":"أمراض القلب","description":"clinic specialist","type":"text"},{"key":"price","value":"120","description":"clinic price","type":"text"},{"key":"phone_number","value":"01092338087","description":"clinic phone number","type":"text"},{"key":"start_working","value":"08:00:00","description":"clinic start working","type":"text"},{"key":"end_working","value":"12:00:00","description":"clinic end working","type":"text"},{"key":"governorate","value":"البحيرة","description":"clinic governorate","type":"text"},{"key":"address","value":"دمنهور","description":"clinic address","type":"text"}]},"url":"http://localhost:80/roshetta/api/doctors/add_clinic"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 05 Mar 2023 13:52:22 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12"},{"key":"X-Powered-By","value":"PHP/8.1.12"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=d84lbhin21hf7td1j8ng15lpcn; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"156"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تسجيل العيادة بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"b7dc5fa8-67ff-4bf3-98b5-8083139157a7"},{"name":"edit clinic","id":"92da35be-fa8a-4220-bfe0-deeccbdaf64a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone_number","value":"","type":"text","description":"<p>clinic phone number</p>\n"},{"key":"start_working","value":"","type":"text","description":"<p>clinic start working</p>\n"},{"key":"end_working","value":"","type":"text","description":"<p>clinic end working</p>\n"},{"key":"governorate","value":"","type":"text","description":"<p>clinic governorate</p>\n"},{"key":"address","value":"","type":"text","description":"<p>clinic address</p>\n"},{"key":"price","value":"","description":"<p>clinic price</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/doctors/edit_clinic/12","description":"<p>This api is used to modify a doctor's clinic</p>\n","urlObject":{"path":["doctors","edit_clinic","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"a9bd8edc-3758-4568-ad8d-f75642df0cd3","name":"edit clinic","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone_number","value":"01033505620","type":"text","description":"clinic phone number"},{"key":"start_working","value":"02:33:00","type":"text","description":"clinic start working"},{"key":"end_working","value":"05:20:30","type":"text","description":"clinic end working"},{"key":"governorate","value":"البحيرة","type":"text","description":"clinic governorate"},{"key":"address","value":"اسوان","type":"text","description":"clinic address"},{"key":"price","value":"300","type":"text","description":"clinic price"}]},"url":"http://localhost:80/roshetta/api/doctors/edit_clinic/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Mar 2023 11:00:13 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=tj0gqo1qjgrhul7vfm1ptovqj6; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1000"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تعديل بيانات العيادة بنجاح\",\n    \"Data\": {\n        \"id\": 12,\n        \"ser_id\": \"1234561\",\n        \"type\": \"clinic\",\n        \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df-clinic/c565d293abcd20a54b02.jpg\",\n        \"name\": \"dr mohamed\",\n        \"specialist\": \"بطنة\",\n        \"phone_number\": \"01033505620\",\n        \"owner\": \"mohamed saeed\",\n        \"price\": 300,\n        \"start_working\": \"02:33:00\",\n        \"end_working\": \"05:20:30\",\n        \"governorate\": \"البحيرة\",\n        \"address\": \"اسوان\",\n        \"status\": 1,\n        \"appoint_all\": 5,\n        \"appoint_day\": 0,\n        \"number_of_prescript\": 7,\n        \"stuff\": {\n            \"doctor_name\": \"mohamed\",\n            \"doctor_age\": \"22 year\",\n            \"doctor_image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"assistant_name\": \"mohamed\",\n            \"assistant_age\": \"22 year\",\n            \"assistant_image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\"\n        }\n    }\n}"}],"_postman_id":"92da35be-fa8a-4220-bfe0-deeccbdaf64a"},{"name":"login clinic","id":"12c18737-fd66-47c5-a0e3-725ed13bb040","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/login_clinic/12","description":"<p>This api is used to login to a doctor's clinic</p>\n","urlObject":{"path":["doctors","login_clinic","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"28aadaf5-5e45-445f-96da-9a565629e511","name":"login clinic","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/login_clinic/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 24 Mar 2023 13:27:49 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=t6mnlsv4jsiblqq8g8n9op9t15; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1072"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم تسجيل الدخول بنجاح\",\n    \"Data\": {\n        \"id\": 12,\n        \"ser_id\": \"1234561\",\n        \"type\": \"clinic\",\n        \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n        \"name\": \"dr mohamed\",\n        \"specialist\": \"بطنة\",\n        \"phone_number\": \"01039258858\",\n        \"owner\": \"mohamed saeed\",\n        \"price\": 100,\n        \"start_working\": \"02:00:00\",\n        \"end_working\": \"05:00:00\",\n        \"governorate\": \"اسوان\",\n        \"address\": \"اسون البلد جنب بتاع الخوخ \",\n        \"status\": 1,\n        \"appoint_all\": 3,\n        \"appoint_day\": 0,\n        \"number_of_prescript\": 6,\n        \"stuff\": [\n            {\n                \"name\": \"mohamed\",\n                \"age\": \"22 year\",\n                \"image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/0ece90fcb9939d35846p.png\",\n                \"type\": \"assistant\"\n            },\n            {\n                \"name\": \"mohamed saeed\",\n                \"age\": \"21 year\",\n                \"image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/0ece90fcb9939d35846p.png\",\n                \"type\": \"doctor\"\n            }\n        ]\n    }\n}"}],"_postman_id":"12c18737-fd66-47c5-a0e3-725ed13bb040"},{"name":"add clinic image","id":"3abf17be-2243-45d9-8366-2034505a4960","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"<p>your clinic image </p>\n","type":"file","value":null}]},"url":"http://localhost:80/roshetta/api/doctors/add_clinic_image/12","description":"<p>This api is used to update the logo image for the clinic</p>\n","urlObject":{"path":["doctors","add_clinic_image","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"d66032c6-e7cd-495e-a5b5-95fbe281b69d","name":"add clinic image","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"your clinic image ","type":"file","src":"/D:/Pictures And Music/Pictures/123/95962(2).png"}]},"url":"http://localhost:80/roshetta/api/doctors/add_clinic_image/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Mar 2023 11:01:10 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=91sr823djeiss7d92b7653nd51; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"278"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تحديث صورة العيادة بنجاح\",\n    \"Data\": \"http://localhost:80/roshetta/uploads/images/place_image/cl-1234561/c59049c187b0f9a41c6c.png\"\n}"}],"_postman_id":"3abf17be-2243-45d9-8366-2034505a4960"},{"name":"delete clinic image","id":"be1b9764-be07-4267-9ddf-ed0cc9fbb694","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/remove_clinic_image/12","description":"<p>This api is used to delete the logo image of the clinic</p>\n","urlObject":{"path":["doctors","remove_clinic_image","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"cdca36fb-1c07-4950-b2bd-9d90ee43786b","name":"delete clinic image","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/remove_clinic_image/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Mar 2023 11:01:49 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=1v6vhkkjaokbdk2jfr2rs2hmqe; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"265"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم حذف صورة العيادة بنجاح\",\n    \"Data\": \"http://localhost:80/roshetta/uploads/images/place_image/df-clinic/c565d293abcd20a54b02.jpg\"\n}"}],"_postman_id":"be1b9764-be07-4267-9ddf-ed0cc9fbb694"},{"name":"logout clinic","id":"7e3b1ef5-6e20-4c32-93ad-c660a7f3574d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/logout_clinic/12","description":"<p>This api is used to log out of the clinic</p>\n","urlObject":{"path":["doctors","logout_clinic","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"3bf4f57a-f8b9-4edf-af3f-49e1b79e5a1e","name":"logout clinic","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/logout_clinic/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 15:48:40 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=5pd81onh9t2v1prafq4tatlig3; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"150"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تسجيل الخروج بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"7e3b1ef5-6e20-4c32-93ad-c660a7f3574d"},{"name":"view clinic","id":"3245b4fb-61cb-4f08-bf2e-8037d85c6664","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/view_clinic","description":"<p>This api is used to view the doctor's clinics</p>\n","urlObject":{"path":["doctors","view_clinic"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"9592d4c1-fa1c-4f86-956c-0ecd00d4feac","name":"view clinic","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/view_clinic"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 14:40:56 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=5euhqjvkjfhhhsmlpdcd8hp0aj; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"580"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"id\": 12,\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n            \"name\": \"dr mohamed\",\n            \"start_working\": \"02:00:00\",\n            \"end_working\": \"05:00:00\",\n            \"status\": 1,\n            \"isVerify\": \"waiting\"\n        },\n        {\n            \"id\": 18,\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n            \"name\": \"dd\",\n            \"start_working\": \"00:00:44\",\n            \"end_working\": \"00:00:44\",\n            \"status\": 0,\n            \"isVerify\": \"none\"\n        }\n    ]\n}"}],"_postman_id":"3245b4fb-61cb-4f08-bf2e-8037d85c6664"},{"name":"view assistant","id":"a251574f-e9b9-467a-852d-43ecd52e8b16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/view_assistant/12","description":"<p>This api is used to view the clinic's assistant</p>\n","urlObject":{"path":["doctors","view_assistant","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"0cd32ba3-bff2-4ef5-b017-83004791ea25","name":"view assistant","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/view_assistant/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 15:49:57 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=cv6pojdpccrknkg6lfq557kuim; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"313"},{"key":"Keep-Alive","value":"timeout=5, max=98"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"assistant_id\": 1,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"name\": \"ahmed ali\",\n            \"phone_number\": \"36985214789\"\n        }\n    ]\n}"}],"_postman_id":"a251574f-e9b9-467a-852d-43ecd52e8b16"},{"name":"add assistant","id":"9b8a3eef-e0a8-4c61-abdd-01969c0f6db2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/add_assistant/12?assistant_id=","description":"<p>This api is used to add an assistant in the clinic</p>\n","urlObject":{"path":["doctors","add_assistant","12"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>assistant id</p>\n","type":"text/plain"},"key":"assistant_id","value":""}],"variable":[]}},"response":[{"id":"33c08b56-06dc-4440-901a-64ce659230fb","name":"add assistant","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:80/roshetta/api/doctors/add_assistant/12?assistant_id=1","host":["http://localhost:80/roshetta/api"],"path":["doctors","add_assistant","12"],"query":[{"key":"assistant_id","value":"1","description":"assistant id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Mar 2023 11:02:53 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=slgrkq9bc1tubju89p27t0ncrg; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"317"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم إضافة المساعد بنجاح\",\n    \"Data\": [\n        {\n            \"assistant_id\": 1,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"name\": \"mohamed\",\n            \"phone_number\": \"01092338084\"\n        }\n    ]\n}"}],"_postman_id":"9b8a3eef-e0a8-4c61-abdd-01969c0f6db2"},{"name":"delete assistant","id":"0ed8af0c-4633-4d57-8d87-0a0119f19e0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/doctors/delete_assistant/12","description":"<p>This api is used to remove an assistant from the clinic</p>\n","urlObject":{"path":["doctors","delete_assistant","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"e02ed27e-88f5-4960-a450-11090a5957ac","name":"delete assistant","originalRequest":{"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/doctors/delete_assistant/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 15:54:07 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=faah5beu4b58g01jc2rf2946il; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"144"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم حذف المساعد بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"0ed8af0c-4633-4d57-8d87-0a0119f19e0f"},{"name":"modify appoint status","id":"4dfb33bb-7785-4317-ad14-568e002ccb7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/modify_appoint_status/12?appointment_id=","description":"<p>This api is used to modify the reservation status after detection</p>\n","urlObject":{"path":["doctors","modify_appoint_status","12"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>appintment id</p>\n","type":"text/plain"},"key":"appointment_id","value":""}],"variable":[]}},"response":[{"id":"954a58eb-f827-4090-8029-8b5801188ae1","name":"modify appoint status","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:80/roshetta/api/doctors/modify_appoint_status/12?appointment_id=38","host":["http://localhost:80/roshetta/api"],"path":["doctors","modify_appoint_status","12"],"query":[{"key":"appointment_id","value":"38","description":"appintment id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 15:56:03 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ojhfh3k16b0duj4f8d13sk79mn; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"113"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم الكشف بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"4dfb33bb-7785-4317-ad14-568e002ccb7f"},{"name":"view appoint","id":"18baab53-40b3-41fe-940b-e4395210d851","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/view_appoint/12?filter=&date=&status=","description":"<p>This api is used to view appointments</p>\n","urlObject":{"path":["doctors","view_appoint","12"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>name or phone or ssd</p>\n","type":"text/plain"},"key":"filter","value":""},{"description":{"content":"<p>date </p>\n","type":"text/plain"},"key":"date","value":""},{"description":{"content":"<p>status (0,1)</p>\n","type":"text/plain"},"key":"status","value":""}],"variable":[]}},"response":[{"id":"17220cfd-120b-4091-8525-87b2b9979bfd","name":"view appoint","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:80/roshetta/api/doctors/view_appoint/12?filter=&date=&status=","host":["http://localhost:80/roshetta/api"],"path":["doctors","view_appoint","12"],"query":[{"key":"filter","value":"","description":"filter if need [name,ssd,phone_number]"},{"key":"date","value":"","description":"filter if need [date]"},{"key":"status","value":"","description":"filter if need ['0',1,2] default (1)  ,  (1) => wating for doctor  , (2) => complete"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 01 Apr 2023 22:49:00 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=8ldo4dlkn93hd6bqbt1hj2hqqq; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"409"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"appointment_id\": 40,\n            \"appoint_date\": \"2023-04-02\",\n            \"appoint_case\": 1,\n            \"patient_id\": 63,\n            \"name\": \"mohamed saeed\",\n            \"phone_number\": \"01092338086\"\n        },\n        {\n            \"appointment_id\": 41,\n            \"appoint_date\": \"2023-04-02\",\n            \"appoint_case\": 1,\n            \"patient_id\": 70,\n            \"name\": \"ahmed\",\n            \"phone_number\": \"01092338588\"\n        }\n    ]\n}"}],"_postman_id":"18baab53-40b3-41fe-940b-e4395210d851"},{"name":"view patient details","id":"d12a931e-356d-476a-81fa-559d315112db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/doctors/view_patient_details/12?patient_id=&appoint_id","description":"<p>This api is used to view patient details</p>\n","urlObject":{"path":["doctors","view_patient_details","12"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>patient id</p>\n","type":"text/plain"},"key":"patient_id","value":""},{"description":{"content":"<p>appointment id</p>\n","type":"text/plain"},"key":"appoint_id","value":null}],"variable":[]}},"response":[{"id":"85d50404-3670-4945-bf16-0b5478fc0603","name":"view patient details","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:80/roshetta/api/doctors/view_patient_details/12?patient_id=72&appoint_id=43","host":["http://localhost:80/roshetta/api"],"path":["doctors","view_patient_details","12"],"query":[{"key":"patient_id","value":"72","description":"patient id"},{"key":"appoint_id","value":"43","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 15 Apr 2023 12:22:07 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=9r7r8q0jdh06eh8rsl98qrsjgd; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1932"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"patient\": {\n            \"patient_id\": 72,\n            \"name\": \"mohamed saeed\",\n            \"weight\": 58,\n            \"height\": 173,\n            \"phone_number\": \"01092338585\",\n            \"age\": \"22 year\",\n            \"image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/0ece90fcb9939d35846p.png\",\n            \"appoint_case\": 1\n        },\n        \"disease\": [\n            {\n                \"disease_id\": 16,\n                \"name\": \"برد\",\n                \"place\": \"الصدر\",\n                \"date\": \"2023-04-15\"\n            },\n            {\n                \"disease_id\": 17,\n                \"name\": \"برد\",\n                \"place\": \"الصدر\",\n                \"date\": \"2023-04-15\"\n            },\n            {\n                \"disease_id\": 18,\n                \"name\": \"برد\",\n                \"place\": \"الصدر\",\n                \"date\": \"2023-04-15\"\n            },\n            {\n                \"disease_id\": 19,\n                \"name\": \"برد\",\n                \"place\": \"الصدر\",\n                \"date\": \"2023-04-15\"\n            },\n            {\n                \"disease_id\": 20,\n                \"name\": \"برد\",\n                \"place\": \"الصدر\",\n                \"date\": \"2023-04-15\"\n            },\n            {\n                \"disease_id\": 21,\n                \"name\": \"برد\",\n                \"place\": \"الصدر\",\n                \"date\": \"2023-04-15\"\n            },\n            {\n                \"disease_id\": 22,\n                \"name\": \"برد\",\n                \"place\": \"الصدر\",\n                \"date\": \"2023-04-15\"\n            },\n            {\n                \"disease_id\": 23,\n                \"name\": \"برد\",\n                \"place\": \"الصدر\",\n                \"date\": \"2023-04-15\"\n            },\n            {\n                \"disease_id\": 24,\n                \"name\": \"برد\",\n                \"place\": \"الصدر\",\n                \"date\": \"2023-04-15\"\n            },\n            {\n                \"disease_id\": 25,\n                \"name\": \"برد\",\n                \"place\": \"الصدر\",\n                \"date\": \"2023-04-15\"\n            },\n            {\n                \"disease_id\": 14,\n                \"name\": \"mmm\",\n                \"place\": \"nnnn\",\n                \"date\": \"2023-03-08\"\n            },\n            {\n                \"disease_id\": 15,\n                \"name\": \"كحة\",\n                \"place\": \"الزور\",\n                \"date\": \"2023-03-08\"\n            },\n            {\n                \"disease_id\": 13,\n                \"name\": \"قرحة معدة\",\n                \"place\": \"الم فى المعدة\",\n                \"date\": \"2023-03-06\"\n            },\n            {\n                \"disease_id\": 12,\n                \"name\": \"كحة\",\n                \"place\": \"الزور\",\n                \"date\": \"2023-03-02\"\n            }\n        ]\n    }\n}"}],"_postman_id":"d12a931e-356d-476a-81fa-559d315112db"},{"name":"view disease prescript","id":"a51bbddd-110e-4123-b4a2-534676db5e50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/doctors/view_disease_prescript/12?disease_id=","description":"<p>This api is used to view the diseases of the prescription</p>\n","urlObject":{"path":["doctors","view_disease_prescript","12"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>disease id</p>\n","type":"text/plain"},"key":"disease_id","value":""}],"variable":[]}},"response":[{"id":"3f655fb1-a5b4-4268-b9cb-f175ab83b4d7","name":"view disease prescript","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/doctors/view_disease_prescript/12?disease_id=15","host":["http://localhost:80/roshetta/api"],"path":["doctors","view_disease_prescript","12"],"query":[{"key":"disease_id","value":"15","description":"disease id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Apr 2023 18:36:23 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=kbao4smhtl4n6mou8a3i2iprtn; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"261"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"prescript_id\": 28,\n            \"prescript_ser_id\": \"45062172\",\n            \"created_date\": \"2023-03-08\",\n            \"disease_name\": \"كحة\"\n        }\n    ]\n}"}],"_postman_id":"a51bbddd-110e-4123-b4a2-534676db5e50"},{"name":"view disease prescript details","id":"2bc72f0f-12a2-4b4b-afb6-34d4eebb276a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/doctors/view_disease_prescript_details/12?prescript_id=","description":"<p>This api is used to view the disease details of the prescription</p>\n","urlObject":{"path":["doctors","view_disease_prescript_details","12"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>prescript id</p>\n","type":"text/plain"},"key":"prescript_id","value":""}],"variable":[]}},"response":[{"id":"a7f23659-ad4a-4598-8b3e-8abd11be0da6","name":"view disease prescript details","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/doctors/view_disease_prescript_details/12?prescript_id=20","host":["http://localhost:80/roshetta/api"],"path":["doctors","view_disease_prescript_details","12"],"query":[{"key":"prescript_id","value":"20","description":"prescript id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 16:06:47 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ovuj8qffhvkpha4u9ie1k88ici; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1120"},{"key":"Keep-Alive","value":"timeout=5, max=98"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"prescript_data\": [\n            {\n                \"prescript_ser_id\": \"29087172\",\n                \"created_date\": \"2023-03-06\",\n                \"patient_name\": \"mohamed saeed\",\n                \"disease_name\": \"قرحة معدة\",\n                \"rediscovery_date\": \"2023-10-26\",\n                \"doctor_name\": \"mohamed saeed\",\n                \"doctor_specialist\": \"بطنه\",\n                \"clinic_logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df-clinic/c565d293abcd20a54b02.jpg\",\n                \"clinic_name\": \"dr mohamed\",\n                \"clinic_phone_number\": \"01033505620\",\n                \"clinic_address\": \"اسوان\",\n                \"start_working\": \"02:33:00\",\n                \"end_working\": \"05:20:30\"\n            }\n        ],\n        \"medicine_data\": [\n            {\n                \"name\": \"brofine\",\n                \"size\": \"200\",\n                \"description\": \"مرتين يوميا\"\n            },\n            {\n                \"name\": \"ogma\",\n                \"size\": \"500\",\n                \"description\": \"مرة قبل الفتار\"\n            },\n            {\n                \"name\": \"fayzer\",\n                \"size\": \"250\",\n                \"description\": \"مرة بعد الغدأ والعشاء\"\n            }\n        ]\n    }\n}"}],"_postman_id":"2bc72f0f-12a2-4b4b-afb6-34d4eebb276a"},{"name":"chat","id":"0a5e287e-ec96-4d9c-9376-6011c14342d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"message","value":"","type":"text","description":"<p>your message when you want send message</p>\n"}]},"url":"http://localhost:80/roshetta/api/doctors/chat?chat_id=","description":"<p>This api is used to chat between doctors</p>\n","urlObject":{"path":["doctors","chat"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>chat id when you want delete message</p>\n","type":"text/plain"},"key":"chat_id","value":""}],"variable":[]}},"response":[{"id":"4b714366-6593-4ef0-a7f4-2f90965233ca","name":"chat","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"message","value":"","type":"text","description":"your message when you want send message"}]},"url":{"raw":"http://localhost:80/roshetta/api/doctors/chat?chat_id","host":["http://localhost:80/roshetta/api"],"path":["doctors","chat"],"query":[{"key":"chat_id","value":null,"description":"chat id when you want delete message"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 16:08:16 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ie0cki9m5mi7hvjmmm0tsdtne1; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1096"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"id\": 13,\n            \"name\": \"1\",\n            \"time\": \"08:50\",\n            \"message\": \"بخير الحمد لله\"\n        },\n        {\n            \"id\": 12,\n            \"name\": \"1\",\n            \"time\": \"08:50\",\n            \"message\": \"بخير الحمد لله\"\n        },\n        {\n            \"id\": 11,\n            \"name\": \"1\",\n            \"time\": \"08:49\",\n            \"message\": \"بخير الحمد لله\"\n        },\n        {\n            \"id\": 10,\n            \"name\": \"mohamed saeed\",\n            \"time\": \"07:21\",\n            \"message\": \"بخير الحمد لله\",\n            \"image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\"\n        },\n        {\n            \"id\": 9,\n            \"name\": \"1\",\n            \"time\": \"07:19\",\n            \"message\": \"كيف حالك\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"1\",\n            \"time\": \"07:17\",\n            \"message\": \"مرحبا\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"mohamed saeed\",\n            \"time\": \"07:00\",\n            \"message\": \"مرحبا\",\n            \"image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\"\n        }\n    ]\n}"}],"_postman_id":"0a5e287e-ec96-4d9c-9376-6011c14342d8"},{"name":"add patient disease,prescript,medicine","id":"324fbbea-f7fd-4d0d-b73e-855e785894fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>disease name if new prescript</p>\n","type":"text"},{"key":"place","value":"","description":"<p>disease place  if new prescript</p>\n","type":"text"},{"key":"rediscovery_date","value":"","description":"<p>rediscovery date </p>\n","type":"text"},{"key":"medicine[1][name]","value":"","description":"<p>medicine name</p>\n","type":"text"},{"key":"medicine[1][size]","value":"","description":"<p>medicine size</p>\n","type":"text"},{"key":"medicine[1][discription]","value":"","description":"<p>medicine discription</p>\n","type":"text"},{"key":"medicine[1][duration]","value":"","description":"<p>medicine duration</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/doctors/add_patient_prescript/12?type=&patient_id=&disease_id=&appoint_id","description":"<p>This API is used to place a prescription and its associated disease and medications</p>\n","urlObject":{"path":["doctors","add_patient_prescript","12"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type prescript [new,rediscovery]</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>patient id</p>\n","type":"text/plain"},"key":"patient_id","value":""},{"description":{"content":"<p>if rediscovery prescript</p>\n","type":"text/plain"},"key":"disease_id","value":""},{"description":{"content":"<p>appointment id</p>\n","type":"text/plain"},"key":"appoint_id","value":null}],"variable":[]}},"response":[{"id":"7ceeadf0-8a3b-4145-bfab-87112c3484ab","name":"add patient disease,prescript,medicine","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"برد","description":"disease name if new prescript","type":"text"},{"key":"place","value":"الصدر","description":"disease place  if new prescript","type":"text"},{"key":"rediscovery_date","value":"2023-05-10","description":"rediscovery date ","type":"text"},{"key":"medicine[1][name]","value":"بروفين","description":"medicine name","type":"text"},{"key":"medicine[1][size]","value":"200","description":"medicine size","type":"text"},{"key":"medicine[1][discription]","value":"يوميا قبل الفطار","description":"medicine discription","type":"text"},{"key":"medicine[1][duration]","value":"شهرين","description":"medicine duration","type":"text"}]},"url":{"raw":"http://localhost:80/roshetta/api/doctors/add_patient_prescript/12?type=rediscovery&patient_id=72&disease_id=15&appoint_id=43","host":["http://localhost:80/roshetta/api"],"path":["doctors","add_patient_prescript","12"],"query":[{"key":"type","value":"rediscovery","description":"type prescript [new,rediscovery]"},{"key":"patient_id","value":"72","description":"patient id"},{"key":"disease_id","value":"15","description":" if rediscovery prescript"},{"key":"appoint_id","value":"43","description":"appointment id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 15 Apr 2023 12:20:36 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=6j0t7t85aptpg6ed33edplrtti; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"169"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم إضافة الأدوية بنجاح\",\n    \"Data\": {\n        \"disease_id\": 25\n    }\n}"},{"id":"4afac7f3-9046-4f6c-9a31-3fdafbc820ef","name":"add patient disease,prescript,medicine","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"disease name if new prescript","type":"text"},{"key":"place","value":"","description":"disease place  if new prescript","type":"text"},{"key":"rediscovery_date","value":"2023-10-20","description":"rediscovery date ","type":"text"},{"key":"medicine[1][name]","value":"بروفين","description":"medicine name","type":"text"},{"key":"medicine[1][size]","value":"200","description":"medicine size","type":"text"},{"key":"medicine[1][discription]","value":"قبل الفطار","description":"medicine discription","type":"text"},{"key":"medicine[1][duration]","value":"يومين","description":"medicine duration","type":"text"}]},"url":{"raw":"http://localhost:80/roshetta/api/doctors/add_patient_prescript/12?type=rediscovery&patient_id=72&disease_id=15&appoint_id=43","host":["http://localhost:80/roshetta/api"],"path":["doctors","add_patient_prescript","12"],"query":[{"key":"type","value":"rediscovery","description":"type prescript [new,rediscovery]"},{"key":"patient_id","value":"72","description":"patient id"},{"key":"disease_id","value":"15","description":"if rediscovery prescript"},{"key":"appoint_id","value":"43","description":"appointment id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 16 Apr 2023 13:12:11 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=nqndfi8ncb87mdecad0erkahsj; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"237"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم إضافة الأدوية بنجاح\",\n    \"Data\": {\n        \"id\": 30,\n        \"ser_id\": \"76897172\",\n        \"date\": \"2023-04-16\",\n        \"disease_name\": \"كحة\"\n    }\n}"}],"_postman_id":"324fbbea-f7fd-4d0d-b73e-855e785894fa"}],"id":"8dfbdfbd-2eb1-4bed-be0b-ab0e39dcb8b3","description":"<p>Only doctors can use this api</p>\n","_postman_id":"8dfbdfbd-2eb1-4bed-be0b-ab0e39dcb8b3"},{"name":"pharmacist","item":[{"name":"add pharmacy","id":"93f53288-ae82-4d37-bc64-9bca6fb8a6fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","type":"text","description":"<p>pharmacy name</p>\n"},{"key":"phone_number","value":"","type":"text","description":"<p>pharmacy phone number</p>\n"},{"key":"start_working","value":"","type":"text","description":"<p>pharmacy start working</p>\n"},{"key":"end_working","value":"","type":"text","description":"<p>pharmacy end working</p>\n"},{"key":"governorate","value":"","type":"text","description":"<p>pharmacy governorate</p>\n"},{"key":"address","value":"","type":"text","description":"<p>pharmacy address</p>\n"}]},"url":"http://localhost:80/roshetta/api/pharmacists/add_pharmacy","description":"<p>This api is used to register a pharmacy</p>\n","urlObject":{"path":["pharmacists","add_pharmacy"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"173eaea4-aaac-40c5-99a9-a08710cfbd56","name":"add pharmacy","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"صيدلية الهنا","type":"text","description":"pharmacy name"},{"key":"phone_number","value":"01092338087","type":"text","description":"pharmacy phone number"},{"key":"start_working","value":"08:00:00","type":"text","description":"pharmacy start working"},{"key":"end_working","value":"12:00:00","type":"text","description":"pharmacy end working"},{"key":"governorate","value":"البحيرة","type":"text","description":"pharmacy governorate"},{"key":"address","value":"دمنهور","type":"text","description":"pharmacy address"}]},"url":"http://localhost:80/roshetta/api/pharmacists/add_pharmacy"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 09 Mar 2023 15:02:33 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=26gm3mqj27f7dvip2lkppjn7qk; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"162"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تسجيل الصيدلية بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"93f53288-ae82-4d37-bc64-9bca6fb8a6fd"},{"name":"edit pharmacy","id":"bf2f7de8-a8d7-46d4-bf81-fbfe8ed62a6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone_number","value":"","type":"text","description":"<p>pharmacy phone number</p>\n"},{"key":"start_working","value":"","type":"text","description":"<p>pharmacy start working</p>\n"},{"key":"end_working","value":"","type":"text","description":"<p>pharmacy end working</p>\n"},{"key":"governorate","value":"","type":"text","description":"<p>pharmacy governorate</p>\n"},{"key":"address","value":"","type":"text","description":"<p>pharmacy address</p>\n"}]},"url":"http://localhost:80/roshetta/api/pharmacists/edit_pharmacy/6","description":"<p>This api is used to modify a pharmacy</p>\n","urlObject":{"path":["pharmacists","edit_pharmacy","6"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"a351687e-05df-4e00-9d9a-6917b577d76d","name":"edit pharmacy","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone_number","value":"01222222221","type":"text","description":"pharmacy phone number"},{"key":"start_working","value":"08:00:00","type":"text","description":"pharmacy start working"},{"key":"end_working","value":"12:00:00","type":"text","description":"pharmacy end working"},{"key":"governorate","value":"البحيرة","type":"text","description":"pharmacy governorate"},{"key":"address","value":"دمنهور","type":"text","description":"pharmacy address"}]},"url":"http://localhost:80/roshetta/api/pharmacists/edit_pharmacy/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Mar 2023 11:05:35 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=u1cn26v43u3t9st16u0hcl53qj; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"907"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تعديل بيانات الصيدلية بنجاح\",\n    \"Data\": {\n        \"id\": 6,\n        \"ser_id\": \"1234561\",\n        \"type\": \"pharmacy\",\n        \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df-pharmacy/c565d293abcd20a54b02.jpg\",\n        \"name\": \"دكتور ربيع\",\n        \"phone_number\": \"01222222221\",\n        \"owner\": \"ربيع باشا\",\n        \"start_working\": \"08:00:00\",\n        \"end_working\": \"12:00:00\",\n        \"governorate\": \"البحيرة\",\n        \"address\": \"دمنهور\",\n        \"status\": 1,\n        \"number_of_prescript\": 5,\n        \"stuff\": {\n            \"name\": \"عمرو المسلمانى\",\n            \"age\": \"2 month\",\n            \"image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\"\n        }\n    }\n}"}],"_postman_id":"bf2f7de8-a8d7-46d4-bf81-fbfe8ed62a6e"},{"name":"login pharmacy","id":"aa19c1e0-16eb-4fdf-b5b8-a028b3f1a64a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/login_pharmacy/1","description":"<p>This api is used to login pharmacy</p>\n","urlObject":{"path":["pharmacists","login_pharmacy","1"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"4ed5f5a7-c731-4727-88a8-c6e6d526de63","name":"login pharmacy","originalRequest":{"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/login_pharmacy/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 27 Apr 2023 15:16:13 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=9p24vbt7rh541q3g34vmincc60; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"654"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم تسجيل الدخول بنجاح\",\n    \"Data\": {\n        \"id\": 1,\n        \"ser_id\": \"8211895764\",\n        \"type\": \"pharmacy\",\n        \"logo\": null,\n        \"name\": \"Dr ali mohamed\",\n        \"phone_number\": \"01222222222\",\n        \"owner\": \"ali mohamed\",\n        \"start_working\": \"06:00:00\",\n        \"end_working\": \"12:00:00\",\n        \"governorate\": \"behira\",\n        \"address\": \"aswan\",\n        \"status\": 1,\n        \"number_of_prescript\": 0,\n        \"number_of_orders\": 2,\n        \"stuff\": {\n            \"name\": \"عمرو المسلمانى\",\n            \"age\": \"3 month\",\n            \"image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/0ece90fcb9939d35846p.png\"\n        }\n    }\n}"}],"_postman_id":"aa19c1e0-16eb-4fdf-b5b8-a028b3f1a64a"},{"name":"view pharmacy","id":"1f896d2d-697d-466d-b610-856a7e0960bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/view_pharmacy","description":"<p>This api is used to view the pharmacies of the pharmacist</p>\n","urlObject":{"path":["pharmacists","view_pharmacy"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"40285c8d-3004-4f6a-992f-88e2d254e27e","name":"view pharmacy","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/view_pharmacy"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 14:46:14 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=n2tgr00nr7qrlnhqa2a0b64nd1; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"645"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"id\": 1,\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/pa-12345678912345/c565d293abcd20a54b02.jpg\",\n            \"name\": \"Dr ali mohamed\",\n            \"start_working\": \"06:00:00\",\n            \"end_working\": \"12:00:00\",\n            \"status\": 0,\n            \"isVerify\": \"none\"\n        },\n        {\n            \"id\": 6,\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_pharmacy/c565d293abcd20a54b02.jpg\",\n            \"name\": \"دكتور ربيع\",\n            \"start_working\": \"08:00:00\",\n            \"end_working\": \"12:00:00\",\n            \"status\": 1,\n            \"isVerify\": \"success\"\n        }\n    ]\n}"}],"_postman_id":"1f896d2d-697d-466d-b610-856a7e0960bf"},{"name":"view prescript","id":"5c24ab09-ed3f-4c16-a819-591f3ec47d5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/view_prescript/1?user_id=&type=","description":"<p>This api is used to view a patient's prescription</p>\n","urlObject":{"path":["pharmacists","view_prescript","1"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>patient (ssd)  or  prescript ( ser_id or id )</p>\n","type":"text/plain"},"key":"user_id","value":""},{"description":{"content":"<p>select [ ssd , ser_id , id ]</p>\n","type":"text/plain"},"key":"type","value":""}],"variable":[]}},"response":[{"id":"cd8bbd42-3000-4032-b1cf-d3f1d390b5f6","name":"view prescript","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/pharmacists/view_prescript/1?user_id=18&type=id","host":["http://localhost:80/roshetta/api"],"path":["pharmacists","view_prescript","1"],"query":[{"key":"user_id","value":"18","description":"patient (ssd)  or  prescript ( ser_id or id )"},{"key":"type","value":"id","description":"select [ ssd , ser_id , id ]"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 01 May 2023 18:29:57 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c7ek0ujro5adgo4u71vnkm6iis; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1267"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"prescript_data\": [\n            {\n                \"prescript_id\": 18,\n                \"prescript_ser_id\": \"20133713\",\n                \"created_date\": \"2023-03-06\",\n                \"patient_name\": \"mohamed saeed\",\n                \"disease_name\": \"قرحة معدة\",\n                \"rediscovery_date\": \"2023-06-22\",\n                \"doctor_name\": \"mohamed\",\n                \"doctor_specialist\": \"اسنان\",\n                \"clinic_logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n                \"clinic_name\": \"dr mohamed\",\n                \"clinic_phone_number\": \"01039258858\",\n                \"clinic_address\": \"اسون البلد جنب بتاع الخوخ \",\n                \"start_working\": \"02:00:00\",\n                \"end_working\": \"05:00:00\",\n                \"prescriptStatus\": \"isOrder\"\n            }\n        ],\n        \"medicine_data\": [\n            {\n                \"name\": \"brofine\",\n                \"size\": \"200\",\n                \"description\": \"مرتين يوميا\"\n            },\n            {\n                \"name\": \"ogma\",\n                \"size\": \"500\",\n                \"description\": \"مرة قبل الفتار\"\n            },\n            {\n                \"name\": \"fayzer\",\n                \"size\": \"250\",\n                \"description\": \"مرة بعد الغدأ والعشاء\"\n            }\n        ]\n    }\n}"},{"id":"d7d201fb-3389-4f31-8398-a849cad84006","name":"view prescript","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/pharmacists/view_prescript/1?user_id=12345678912352&type=ssd","host":["http://localhost:80/roshetta/api"],"path":["pharmacists","view_prescript","1"],"query":[{"key":"user_id","value":"12345678912352","description":"patient (ssd)  or  prescript ( ser_id or id )"},{"key":"type","value":"ssd","description":"select [ ssd , ser_id , id ]"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 01 May 2023 18:46:45 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=nj3b776edhv5pdkcrdkssj5q90; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1514"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"prescript_id\": 32,\n            \"ser_id\": \"59685772\",\n            \"created_date\": \"2023-04-20\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"done\"\n        },\n        {\n            \"prescript_id\": 31,\n            \"ser_id\": \"64668216\",\n            \"created_date\": \"2023-04-20\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"done\"\n        },\n        {\n            \"prescript_id\": 30,\n            \"ser_id\": \"76897172\",\n            \"created_date\": \"2023-04-16\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"none\"\n        },\n        {\n            \"prescript_id\": 29,\n            \"ser_id\": \"29632372\",\n            \"created_date\": \"2023-04-15\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"none\"\n        },\n        {\n            \"prescript_id\": 28,\n            \"ser_id\": \"45062172\",\n            \"created_date\": \"2023-03-08\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"done\"\n        },\n        {\n            \"prescript_id\": 27,\n            \"ser_id\": \"50795772\",\n            \"created_date\": \"2023-03-08\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"none\"\n        },\n        {\n            \"prescript_id\": 26,\n            \"ser_id\": \"51561314\",\n            \"created_date\": \"2023-03-08\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"none\"\n        },\n        {\n            \"prescript_id\": 21,\n            \"ser_id\": \"39922872\",\n            \"created_date\": \"2023-03-06\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"done\"\n        },\n        {\n            \"prescript_id\": 20,\n            \"ser_id\": \"29087172\",\n            \"created_date\": \"2023-03-06\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"done\"\n        },\n        {\n            \"prescript_id\": 19,\n            \"ser_id\": \"11772072\",\n            \"created_date\": \"2023-03-06\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"none\"\n        },\n        {\n            \"prescript_id\": 18,\n            \"ser_id\": \"20133713\",\n            \"created_date\": \"2023-03-06\",\n            \"patient_name\": \"mohamed saeed\",\n            \"prescriptStatus\": \"isOrder\"\n        }\n    ]\n}"}],"_postman_id":"5c24ab09-ed3f-4c16-a819-591f3ec47d5a"},{"name":"view order pharmacy","id":"f3e4cae3-a4dd-4c4d-ba5f-560eb888477c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/view_order_pharmacy/6?filter=&type=","description":"<p>This api is used to view orders for the pharmacy</p>\n","urlObject":{"path":["pharmacists","view_order_pharmacy","6"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>filter if need =&gt; patient [name , ssd] or prescript [ser_id]</p>\n","type":"text/plain"},"key":"filter","value":""},{"description":{"content":"<p>type if need defualt wating , [wating,completed]</p>\n","type":"text/plain"},"key":"type","value":""}],"variable":[]}},"response":[{"id":"2661e033-9cc1-47b6-a69a-c096332fb8e2","name":"view order pharmacy","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/pharmacists/view_order_pharmacy/1?filter=","host":["http://localhost:80/roshetta/api"],"path":["pharmacists","view_order_pharmacy","1"],"query":[{"key":"filter","value":"","description":"filter if need => patient [name , ssd] or prescript [ser_id]"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 01 May 2023 15:27:00 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=t9vt5qchnalbi888nng4bsc1en; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"981"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"order_id\": 24,\n            \"time\": \"2023-04-27 17:07:53\",\n            \"prescript_id\": 18,\n            \"ser_id\": \"20133713\",\n            \"patient_name\": \"ahmed\",\n            \"patient_phone_number\": \"01092338577\",\n            \"orderStatus\": \"done\"\n        },\n        {\n            \"order_id\": 25,\n            \"time\": \"2023-05-01 15:26:42\",\n            \"prescript_id\": 26,\n            \"ser_id\": \"51561314\",\n            \"patient_name\": \"mohamed saeed\",\n            \"patient_phone_number\": \"01092338585\",\n            \"orderStatus\": \"wating\"\n        },\n        {\n            \"order_id\": 26,\n            \"time\": \"2023-05-01 15:26:51\",\n            \"prescript_id\": 19,\n            \"ser_id\": \"11772072\",\n            \"patient_name\": \"mmss\",\n            \"patient_phone_number\": \"36985214787\",\n            \"orderStatus\": \"done\"\n        },\n        {\n            \"order_id\": 27,\n            \"time\": \"2023-05-01 15:31:26\",\n            \"prescript_id\": 18,\n            \"ser_id\": \"20133713\",\n            \"patient_name\": \"mohamed\",\n            \"patient_phone_number\": \"01022223335\",\n            \"orderStatus\": \"wating\"\n        },\n        {\n            \"order_id\": 28,\n            \"time\": \"2023-05-01 16:38:16\",\n            \"prescript_id\": 21,\n            \"ser_id\": \"39922872\",\n            \"patient_name\": \"hassan\",\n            \"patient_phone_number\": \"11111111111\",\n            \"orderStatus\": \"done\"\n        }\n    ]\n}"}],"_postman_id":"f3e4cae3-a4dd-4c4d-ba5f-560eb888477c"},{"name":"confirm pay prescript","id":"4b7c64c9-f8d4-44cf-a6c8-e7f8e3838750","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/confirm_pay_prescript/1?prescript_id=&order_id=","description":"<p>This api is used to confirm prescription disbursement</p>\n","urlObject":{"path":["pharmacists","confirm_pay_prescript","1"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>prescript id</p>\n","type":"text/plain"},"key":"prescript_id","value":""},{"description":{"content":"<p>order id when pay prescript from orders</p>\n","type":"text/plain"},"key":"order_id","value":""}],"variable":[]}},"response":[{"id":"8f7d689f-de2d-4bd5-b62d-ef79a59118c5","name":"confirm pay prescript","originalRequest":{"method":"POST","header":[],"url":{"raw":"http://localhost:80/roshetta/api/pharmacists/confirm_pay_prescript/1?prescript_id=20&order_id=23","host":["http://localhost:80/roshetta/api"],"path":["pharmacists","confirm_pay_prescript","1"],"query":[{"key":"prescript_id","value":"20","description":"prescript id"},{"key":"order_id","value":"23","description":"order id when pay prescript from orders"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 29 Apr 2023 17:29:05 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=3pda6fbbsqq7j4t6roboo0vd6g; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"113"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم الصرف بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"4b7c64c9-f8d4-44cf-a6c8-e7f8e3838750"},{"name":"add pharmacy image","id":"17c48afe-a79e-4c23-9fd0-7e4dca944678","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"<p>pharmacy image</p>\n","type":"file","value":null}]},"url":"http://localhost:80/roshetta/api/pharmacists/add_pharmacy_image/6","description":"<p>This api is used to update the logo of the pharmacy</p>\n","urlObject":{"path":["pharmacists","add_pharmacy_image","6"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"02d1894b-f5fd-47a5-831b-f6860cc19bbe","name":"add pharmacy image","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"pharmacy image","type":"file","src":"/D:/Pictures And Music/Pictures/123/in2dex.png"}]},"url":"http://localhost:80/roshetta/api/pharmacists/add_pharmacy_image/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Mar 2023 11:06:19 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=m4n2pgp42t42481q3gicpdpe1k; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"284"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تحديث صورة الصيدلية بنجاح\",\n    \"Data\": \"http://localhost:80/roshetta/uploads/images/place_image/ph-1234561/c398fc0f2e3500b1d922.png\"\n}"}],"_postman_id":"17c48afe-a79e-4c23-9fd0-7e4dca944678"},{"name":"delete pharmacy image","id":"a7e0c8dc-e235-4358-b60a-1d5c3aff2a10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/remove_pharmacy_image/6","description":"<p>This api is used to delete the logo of the pharmacy</p>\n","urlObject":{"path":["pharmacists","remove_pharmacy_image","6"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"2f79ba8b-16f3-4b99-8d8c-bfe59dc3a7bc","name":"delete pharmacy image","originalRequest":{"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/remove_pharmacy_image/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Mar 2023 11:06:52 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=9aaoef9141ojgvfu50o16a3uvi; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"273"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم حذف صورة الصيدلية بنجاح\",\n    \"Data\": \"http://localhost:80/roshetta/uploads/images/place_image/df-pharmacy/c565d293abcd20a54b02.jpg\"\n}"}],"_postman_id":"a7e0c8dc-e235-4358-b60a-1d5c3aff2a10"},{"name":"logout pharmacy","id":"a1630274-2c85-46cb-b41e-423a881ed941","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/logout_pharmacy/6","description":"<p>This api is used to log out from the pharmacy</p>\n","urlObject":{"path":["pharmacists","logout_pharmacy","6"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"48a39b8f-e73e-4046-9457-5404e014f9f6","name":"logout pharmacy","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/logout_pharmacy/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 09 Mar 2023 16:35:38 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=05kjrml227o696a6r2losimkgv; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"150"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تسجيل الخروج بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"a1630274-2c85-46cb-b41e-423a881ed941"},{"name":"view pay prescript","id":"f18b454d-2901-4309-baea-acafc155618d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/pharmacists/view_pay_prescript/1?filter=","description":"<p>This api is used to view the prescriptions that have been dispensed from the pharmacy</p>\n","urlObject":{"path":["pharmacists","view_pay_prescript","1"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>filter if need =&gt; patient [name , ssd] or prescript [ser_id]</p>\n","type":"text/plain"},"key":"filter","value":""}],"variable":[]}},"response":[{"id":"1ba3ec4f-47f3-4224-bfe2-c9e60e8ee3e5","name":"view pay prescript","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/pharmacists/view_pay_prescript/1?filter=","host":["http://localhost:80/roshetta/api"],"path":["pharmacists","view_pay_prescript","1"],"query":[{"key":"filter","value":"","description":"filter if need => patient [name , ssd] or prescript [ser_id]"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 01 May 2023 15:30:18 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=ghhoqotj44kid0jo2qolrnvoro; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"587"},{"key":"Keep-Alive","value":"timeout=5, max=98"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"prescript_id\": 20,\n            \"prescript_ser_id\": \"29087172\",\n            \"date_pay\": \"2023-04-29 19:29:05\",\n            \"patient_name\": \"ahmed\"\n        },\n        {\n            \"prescript_id\": 20,\n            \"prescript_ser_id\": \"29087172\",\n            \"date_pay\": \"2023-04-29 19:28:42\",\n            \"patient_name\": \"ahmed\"\n        },\n        {\n            \"prescript_id\": 32,\n            \"prescript_ser_id\": \"59685772\",\n            \"date_pay\": \"2023-04-29 19:28:08\",\n            \"patient_name\": \"mohamed saeed\"\n        },\n        {\n            \"prescript_id\": 28,\n            \"prescript_ser_id\": \"45062172\",\n            \"date_pay\": \"2023-03-09 17:35:36\",\n            \"patient_name\": \"mohamed saeed\"\n        }\n    ]\n}"}],"_postman_id":"f18b454d-2901-4309-baea-acafc155618d"}],"id":"e033cd90-661d-4a54-abe0-c1f2024e5f07","description":"<p>Only pharmacists can use those api</p>\n","_postman_id":"e033cd90-661d-4a54-abe0-c1f2024e5f07"},{"name":"assistant","item":[{"name":"edit clinic","id":"08d15c00-526c-4d84-9ab7-01e4fdeb7052","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone_number","value":"","type":"text","description":"<p>clinic phone number</p>\n"},{"key":"start_working","value":"","type":"text","description":"<p>clinic start working</p>\n"},{"key":"end_working","value":"","type":"text","description":"<p>clinic end working</p>\n"},{"key":"governorate","value":"","type":"text","description":"<p>clinic governorate</p>\n"},{"key":"address","value":"","type":"text","description":"<p>clinic address</p>\n"},{"key":"price","value":"","type":"text","description":"<p>clinic price</p>\n"}]},"url":"http://localhost:80/roshetta/api/assistants/edit_clinic/12","description":"<p>This api is used to modify a clinic by the assistant</p>\n","urlObject":{"path":["assistants","edit_clinic","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"a6cd2e5f-c79e-4e2d-904d-cf9081411fe3","name":"edit clinic","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone_number","value":"01039258856","type":"text","description":"clinic phone number"},{"key":"start_working","value":"02:00:00","type":"text","description":"clinic start working"},{"key":"end_working","value":"05:00:00","type":"text","description":"clinic end working"},{"key":"governorate","value":"اسوان","type":"text","description":"clinic governorate"},{"key":"address","value":"اسون البلد جنب بتاع الخوخ ","type":"text","description":"clinic address"},{"key":"price","value":"100","type":"text","description":"clinic price"}]},"url":"http://localhost:80/roshetta/api/assistants/edit_clinic/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Mar 2023 11:14:29 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=qu2e8q7u3aaikvqki745ee1dob; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1089"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تعديل بيانات العيادة بنجاح\",\n    \"Data\": {\n        \"id\": 12,\n        \"ser_id\": \"1234561\",\n        \"type\": \"clinic\",\n        \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df-clinic/c565d293abcd20a54b02.jpg\",\n        \"name\": \"dr mohamed\",\n        \"specialist\": \"بطنة\",\n        \"phone_number\": \"01039258856\",\n        \"owner\": \"mohamed saeed\",\n        \"price\": 100,\n        \"start_working\": \"02:00:00\",\n        \"end_working\": \"05:00:00\",\n        \"governorate\": \"اسوان\",\n        \"address\": \"اسون البلد جنب بتاع الخوخ \",\n        \"status\": 1,\n        \"appoint_all\": 5,\n        \"appoint_day\": 0,\n        \"number_of_prescript\": 7,\n        \"stuff\": {\n            \"doctor_name\": \"mohamed\",\n            \"doctor_age\": \"22 year\",\n            \"doctor_image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"assistant_name\": \"mohamed\",\n            \"assistant_age\": \"22 year\",\n            \"assistant_image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\"\n        }\n    }\n}"}],"_postman_id":"08d15c00-526c-4d84-9ab7-01e4fdeb7052"},{"name":"login clinic","id":"081fa7e4-edd7-4c25-84de-1b8ece507ebf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/assistants/login_clinic/12","description":"<p>This api is used to login to the clinic</p>\n","urlObject":{"path":["assistants","login_clinic","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"42cb791e-daa9-4402-8191-7edc790a756d","name":"login clinic","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/assistants/login_clinic/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 13:07:44 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=m4a6j4bm8ftg43ap9305bqufnq; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"1062"},{"key":"Keep-Alive","value":"timeout=5, max=97"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم تسجيل الدخول بنجاح\",\n    \"Data\": {\n        \"id\": 12,\n        \"ser_id\": \"1234561\",\n        \"type\": \"clinic\",\n        \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/pa-12345678912345/c565d293abcd20a54b02.jpg\",\n        \"name\": \"dr mohamed\",\n        \"specialist\": \"بطنة\",\n        \"phone_number\": \"01039258856\",\n        \"owner\": \"mohamed saeed\",\n        \"price\": 100,\n        \"start_working\": \"02:00:00\",\n        \"end_working\": \"05:00:00\",\n        \"governorate\": \"اسوان\",\n        \"address\": \"اسون البلد جنب بتاع الخوخ \",\n        \"status\": 1,\n        \"appoint_all\": 2,\n        \"appoint_day\": 0,\n        \"number_of_prescript\": 4,\n        \"stuff\": {\n            \"doctor_name\": \"mohamed saeed\",\n            \"doctor_age\": \"22 year\",\n            \"doctor_image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"assistant_name\": \"ahmed ali\",\n            \"assistant_age\": \"2 month\",\n            \"assistant_image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\"\n        }\n    }\n}"}],"_postman_id":"081fa7e4-edd7-4c25-84de-1b8ece507ebf"},{"name":"logout clinic","id":"83f7bcc3-21df-4e59-8edf-3cc5015d7868","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/assistants/logout_clinic/12","description":"<p>This api is used to log out the clinic</p>\n","urlObject":{"path":["assistants","logout_clinic","12"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"3d815a96-f0da-4c16-bf7e-415f2346b1cc","name":"logout clinic","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/assistants/logout_clinic/12"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 14:07:37 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=6noh4gunambsqo00qq4fb1scpa; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"150"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تسجيل الخروج بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"83f7bcc3-21df-4e59-8edf-3cc5015d7868"},{"name":"modify appoint status","id":"463572f4-71f1-46f4-be80-9352059fc569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/assistants/modify_appoint_status/12?appointment_id=","description":"<p>This api is used to modify the reservation status</p>\n","urlObject":{"path":["assistants","modify_appoint_status","12"],"host":["http://localhost:80/roshetta/api"],"query":[{"key":"appointment_id","value":""}],"variable":[]}},"response":[{"id":"23c88877-5172-49b1-8b69-a273444107bf","name":"modify appoint status","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:80/roshetta/api/assistants/modify_appoint_status/12?appointment_id=38","host":["http://localhost:80/roshetta/api"],"path":["assistants","modify_appoint_status","12"],"query":[{"key":"appointment_id","value":"38"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 15:11:19 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=j852l00afuoslsjt4eh7pccu8n; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"168"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم التحويل للدكتور بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"463572f4-71f1-46f4-be80-9352059fc569"},{"name":"view clinic","id":"5775656b-459d-497c-b78c-2b5df61f1338","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/assistants/view_clinic","description":"<p>This api is used to see which clinics the assistant works for</p>\n","urlObject":{"path":["assistants","view_clinic"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"93130433-32b2-4a9a-b2b4-90ffda2538c6","name":"view clinic","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/assistants/view_clinic"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Mar 2023 14:45:25 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=7l5c8vlheu38ssuevpll7rvnhc; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"875"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"id\": 12,\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n            \"name\": \"dr mohamed\",\n            \"start_working\": \"02:00:00\",\n            \"end_working\": \"05:00:00\",\n            \"status\": 1,\n            \"isVerify\": \"success\"\n        },\n        {\n            \"id\": 16,\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n            \"name\": \"عيادة دكتور ربيع\",\n            \"start_working\": \"02:00:00\",\n            \"end_working\": \"08:00:00\",\n            \"status\": 1,\n            \"isVerify\": \"none\"\n        },\n        {\n            \"id\": 18,\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df_clinic/c565d293abcd20a54b02.jpg\",\n            \"name\": \"dd\",\n            \"start_working\": \"00:00:44\",\n            \"end_working\": \"00:00:44\",\n            \"status\": 0,\n            \"isVerify\": \"none\"\n        }\n    ]\n}"}],"_postman_id":"5775656b-459d-497c-b78c-2b5df61f1338"},{"name":"view appoint","id":"9c4fbc68-46fa-499e-a8d0-9509a119417e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:80/roshetta/api/assistants/view_appoint/12?filter=&date&status=","description":"<p>This api is used to view reservations</p>\n","urlObject":{"path":["assistants","view_appoint","12"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>filter if need [name,ssd,phone_number]</p>\n","type":"text/plain"},"key":"filter","value":""},{"description":{"content":"<p>filter if need [date]</p>\n","type":"text/plain"},"key":"date","value":null},{"description":{"content":"<p>filter if need [0,1,2] default (0) ,  (0 )=&gt; wating in clinic  ,  (1) =&gt; wating for doctor  , (2) =&gt; complete</p>\n","type":"text/plain"},"key":"status","value":""}],"variable":[]}},"response":[{"id":"bbe6d227-cc7e-46f0-a8b2-700ac8897dbb","name":"view appoint","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"http://localhost:80/roshetta/api/assistants/view_appoint/12?filter=&date&status=","host":["http://localhost:80/roshetta/api"],"path":["assistants","view_appoint","12"],"query":[{"key":"filter","value":"","description":"filter if need [name,ssd,phone_number]"},{"key":"date","value":null,"description":"filter if need [date]"},{"key":"status","value":"","description":"filter if need [0,1,2] default (0) ,  (0 )=> wating in clinic  ,  (1) => wating for doctor  , (2) => complete"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Mar 2023 15:15:51 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=j5frhonlghskbatlatpk0vidsd; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"327"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"appointment_id\": 40,\n            \"patient_id\": 63,\n            \"name\": \"mohamed saeed\",\n            \"phone_number\": \"01092338086\"\n        },\n        {\n            \"appointment_id\": 41,\n            \"patient_id\": 70,\n            \"name\": \"mohamed saeed\",\n            \"phone_number\": \"01092338588\"\n        }\n    ]\n}"}],"_postman_id":"9c4fbc68-46fa-499e-a8d0-9509a119417e"}],"id":"f5502a92-aae1-4466-8ce1-350b62f12f63","description":"<p>Only Dr Assistants can use these APIs</p>\n","_postman_id":"f5502a92-aae1-4466-8ce1-350b62f12f63"},{"name":"admin","item":[{"name":"view activation","id":"4c75f392-8101-4d21-9b42-8cb3f0e42bac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/admins/view_activation?filter=&type=&status=","description":"<p>This api is used to view activation requests from users</p>\n","urlObject":{"path":["admins","view_activation"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>filter if need , [name , ssd , ser_id , email , owner]</p>\n","type":"text/plain"},"key":"filter","value":""},{"description":{"content":"<p>type if need [doctor , pharmacist , clinic , pharmacy]</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>status if need defualt (0)  , [0.1] =&gt; (0) not active , (1) active</p>\n","type":"text/plain"},"key":"status","value":""}],"variable":[]}},"response":[{"id":"f77c563c-6a76-4b9c-a166-b7a8980c4cf7","name":"view activation","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/admins/view_activation?filter=&type=&status=","host":["http://localhost:80/roshetta/api"],"path":["admins","view_activation"],"query":[{"key":"filter","value":"","description":"filter if need , [name , ssd , ser_id , email , owner]"},{"key":"type","value":"","description":"type if need [doctor , pharmacist , clinic , pharmacy]"},{"key":"status","value":"","description":"status if need defualt (0)  , [0.1] => (0) not active , (1) active"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 11:02:30 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=24rq0g1gsf1n55ukitgboov06v; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"889"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"activation_id\": 1,\n            \"user_id\": 1,\n            \"name\": \"mohamed saeed\",\n            \"ssd\": 12345678912345,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"type\": \"doctor\",\n            \"status\": 0\n        },\n        {\n            \"activation_id\": 2,\n            \"user_id\": 1,\n            \"name\": \"عمرو المسلمانى\",\n            \"ssd\": 99999999999999,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"type\": \"pharmacist\",\n            \"status\": 0\n        },\n        {\n            \"activation_id\": 2,\n            \"place_id\": 6,\n            \"name\": \"صيدلية الهنا\",\n            \"ser_id\": \"1234561\",\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df-pharmacy/c565d293abcd20a54b02.jpg\",\n            \"type\": \"pharmacy\",\n            \"status\": 0\n        }\n    ]\n}"}],"_postman_id":"4c75f392-8101-4d21-9b42-8cb3f0e42bac"},{"name":"activation user place","id":"e18f8cfc-759c-4812-937a-7e7453f641b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/admins/activation_user_place?type=&activation_id=&status=","description":"<p>This api is used to activate a user account or location</p>\n","urlObject":{"path":["admins","activation_user_place"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type  [doctor , pharmacist , clinic , pharmacy]</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>activation id</p>\n","type":"text/plain"},"key":"activation_id","value":""},{"description":{"content":"<p>status [0 , 1 , -1] (0)=&gt; notActive , (1)=&gt;Active , (-1)=&gt; toReject</p>\n","type":"text/plain"},"key":"status","value":""}],"variable":[]}},"response":[{"id":"8c663c07-35a6-4bbd-a2bb-a96c42fcbd41","name":"activation user place","originalRequest":{"method":"POST","header":[],"url":{"raw":"http://localhost:80/roshetta/api/admins/activation_user_place?type=doctor&activation_id=1&status=1","host":["http://localhost:80/roshetta/api"],"path":["admins","activation_user_place"],"query":[{"key":"type","value":"doctor","description":"type  [doctor , pharmacist , clinic , pharmacy]"},{"key":"activation_id","value":"1","description":"activation id"},{"key":"status","value":"1","description":"status [0 , 1] (0)=> notActive , (1)=>Active","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 10 Mar 2023 15:43:45 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=nptrsove09u1i5l7diesp8f1q7; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"150"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم تنشيط الحساب بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"e18f8cfc-759c-4812-937a-7e7453f641b7"},{"name":"view activation image","id":"5e1802eb-255f-4b90-8eb2-a6497c304459","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/admins/view_activation_image?type=&activation_id=","description":"<p>This api is used to view the attached images to be activated</p>\n","urlObject":{"path":["admins","view_activation_image"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type [doctor , pharmacist , clinic , pharmacy]</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>activation id</p>\n","type":"text/plain"},"key":"activation_id","value":""}],"variable":[]}},"response":[{"id":"bd1fa81e-cf41-43ad-91d4-3eb33e06e6ea","name":"view activation image","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/admins/view_activation_image?type=pharmacy&activation_id=2","host":["http://localhost:80/roshetta/api"],"path":["admins","view_activation_image"],"query":[{"key":"type","value":"pharmacy","type":"text"},{"key":"activation_id","value":"2","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Mar 2023 13:08:08 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=k1t7ujkb3p25b4498qpc44d33m; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"258"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": \"http://localhost:80/roshetta/uploads/images/activation_image_place/ph-5407031/4d3d916c70fc47641920.png\"\n}"},{"id":"52daf033-3be5-447a-828a-6241bbdc3ce6","name":"view activation image","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/admins/view_activation_image?type=doctor&activation_id=1","host":["http://localhost:80/roshetta/api"],"path":["admins","view_activation_image"],"query":[{"key":"type","value":"doctor","description":"type [doctor , pharmacist , clinic , pharmacy]"},{"key":"activation_id","value":"1","description":"activation id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Mar 2023 14:07:29 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=hdtc28p50ere56hkbgi9jf9n5l; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"631"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        \"http://localhost:80/roshetta/uploads/images/activation_image_person/ph-99999999999999/0ceaa011cf5f4a9d561e.jpg\",\n        \"http://localhost:80/roshetta/uploads/images/activation_image_person/ph-99999999999999/b4ac48243967f804a392.png\",\n        \"http://localhost:80/roshetta/uploads/images/activation_image_person/ph-99999999999999/e08bf469ef0bdc824f9c.png\",\n        \"http://localhost:80/roshetta/uploads/images/activation_image_person/ph-99999999999999/f28896216fd40d4c4bb3.png\"\n    ]\n}"}],"_postman_id":"5e1802eb-255f-4b90-8eb2-a6497c304459"},{"name":"add video","id":"433bdbd7-e746-4e28-b564-8ddca5137265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"video","description":"<p>your video</p>\n","type":"file","value":null}]},"url":"http://localhost:80/roshetta/api/admins/add_video?type=assistant","description":"<p>This api is used to add a video to users</p>\n","urlObject":{"path":["admins","add_video"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type [doctor , pharmacist , assistant , patient]</p>\n","type":"text/plain"},"key":"type","value":"assistant"}],"variable":[]}},"response":[{"id":"306f712d-2c70-42bf-8ec6-cb75c0771f48","name":"add video","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"video","description":"your video","type":"file","src":"/D:/القناة/المقدمات/8.mp4"}]},"url":{"raw":"http://localhost:80/roshetta/api/admins/add_video?type=assistant","host":["http://localhost:80/roshetta/api"],"path":["admins","add_video"],"query":[{"key":"type","value":"assistant","description":"type [doctor , pharmacist , assistant , patient]","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Mar 2023 14:05:14 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=hrna7gnhnn2nbbfbrhj2u7b3i0; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"156"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم إضافة الفيديو بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"433bdbd7-e746-4e28-b564-8ddca5137265"},{"name":"view video","id":"85585087-3598-4aba-b751-257df1049d7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/admins/view_video","description":"<p>This api is used to view the videos that have been added</p>\n","urlObject":{"path":["admins","view_video"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"3c0e6d5a-ec33-40f4-ba97-5f682c59cb9c","name":"view video","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/admins/view_video"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Mar 2023 14:27:01 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Set-Cookie","value":"PHPSESSID=70rc2hlgkv4of3igr2456j4h7o; path=/"},{"key":"Set-Cookie","value":"PHPSESSID=84t4qsthurr6olt214oo0e8k61; path=/"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"579"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"video\": \"http://localhost:80/roshetta/uploads/videos/pa-6d26dc30c43b8c10a840.mp4\",\n            \"type\": \"patient\"\n        },\n        {\n            \"video\": \"http://localhost:80/roshetta/uploads/videos/do-caca81dfd9b24d16e06d.mp4\",\n            \"type\": \"doctor\"\n        },\n        {\n            \"video\": \"http://localhost:80/roshetta/uploads/videos/ph-e009759b1f0f694775fb.mp4\",\n            \"type\": \"pharmacist\"\n        },\n        {\n            \"video\": \"http://localhost:80/roshetta/uploads/videos/as-1702de96dfe12e0a767a.mp4\",\n            \"type\": \"assistant\"\n        }\n    ]\n}"}],"_postman_id":"85585087-3598-4aba-b751-257df1049d7d"},{"name":"remove video","id":"299839ef-14ce-4d89-9b43-1d475600ce15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/admins/remove_video?type=","description":"<p>This api is used to delete a video</p>\n","urlObject":{"path":["admins","remove_video"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type [doctor , pharmacist , assistant , patient]</p>\n","type":"text/plain"},"key":"type","value":""}],"variable":[]}},"response":[{"id":"656ce283-c05c-4ad2-a2b1-d72048b7551f","name":"remove video","originalRequest":{"method":"POST","header":[],"url":{"raw":"http://localhost:80/roshetta/api/admins/remove_video?type=doctor","host":["http://localhost:80/roshetta/api"],"path":["admins","remove_video"],"query":[{"key":"type","value":"doctor","description":"type [doctor , pharmacist , assistant , patient]","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Mar 2023 15:29:32 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=lov85r9bpgfrp4u6re97338n8c; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"144"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم حذف الفيديو بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"299839ef-14ce-4d89-9b43-1d475600ce15"},{"name":"view users","id":"5cbb4af2-7c63-426d-96f4-357b42a2adf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/admins/view_users?type=&filter=","description":"<p>This api is used to view users</p>\n","urlObject":{"path":["admins","view_users"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type if need [doctor , assistant , pharmacist , patient , clinic , pharmacy]</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>filter if need [name , ssd , ser_id , owner , email]</p>\n","type":"text/plain"},"key":"filter","value":""}],"variable":[]}},"response":[{"id":"fccadb4a-f299-4e38-b003-c2e5d3f6d2d7","name":"view users","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/admins/view_users?type=&filter=","host":["http://localhost:80/roshetta/api"],"path":["admins","view_users"],"query":[{"key":"type","value":"","description":"type if need [doctor , assistant , pharmacist , patient , clinic , pharmacy]"},{"key":"filter","value":"","description":"filter if need [name , ssd , ser_id , owner , email]"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 11:00:03 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=evqkitrce0ed0i8hbgr59qe545; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"2871"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"id\": 1,\n            \"name\": \"mohamed saeed\",\n            \"ssd\": 12345678912345,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"role\": \"doctor\"\n        },\n        {\n            \"id\": 1,\n            \"name\": \"عمرو المسلمانى\",\n            \"ssd\": 99999999999999,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"role\": \"pharmacist\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"mmss\",\n            \"ssd\": 99999999999995,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image//index.php\",\n            \"role\": \"pharmacist\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"mmss\",\n            \"ssd\": 99999994999995,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image//index.php\",\n            \"role\": \"pharmacist\"\n        },\n        {\n            \"id\": 54,\n            \"name\": \"محمود\",\n            \"ssd\": 11111111,\n            \"profile_img\": null,\n            \"role\": \"patient\"\n        },\n        {\n            \"id\": 55,\n            \"name\": \"احمد \",\n            \"ssd\": 8888,\n            \"profile_img\": null,\n            \"role\": \"patient\"\n        },\n        {\n            \"id\": 58,\n            \"name\": \"mohamed\",\n            \"ssd\": 36985214789652,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image//index.php\",\n            \"role\": \"patient\"\n        },\n        {\n            \"id\": 63,\n            \"name\": \"mohamed saeed\",\n            \"ssd\": 12345678912344,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image//index.php\",\n            \"role\": \"patient\"\n        },\n        {\n            \"id\": 64,\n            \"name\": \"mmss\",\n            \"ssd\": 99999999999998,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image//index.php\",\n            \"role\": \"patient\"\n        },\n        {\n            \"id\": 70,\n            \"name\": \"ahmed\",\n            \"ssd\": 12345678912345,\n            \"profile_img\": null,\n            \"role\": \"patient\"\n        },\n        {\n            \"id\": 72,\n            \"name\": \"mohamed saeed\",\n            \"ssd\": 12345678912352,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"role\": \"patient\"\n        },\n        {\n            \"id\": 1,\n            \"name\": \"ahmed ali\",\n            \"ssd\": 99999999999999,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"role\": \"assistant\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"mmss\",\n            \"ssd\": 99999999999995,\n            \"profile_img\": \"http://localhost:80/roshetta/uploads/images/profile_image//index.php\",\n            \"role\": \"assistant\"\n        },\n        {\n            \"id\": 12,\n            \"name\": \"dr mohamed\",\n            \"ser_id\": \"1234561\",\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df-clinic/c565d293abcd20a54b02.jpg\",\n            \"type\": \"clinic\"\n        },\n        {\n            \"id\": 16,\n            \"name\": \"f\",\n            \"ser_id\": \"4236741\",\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df-clinic/c565d293abcd20a54b02.jpg\",\n            \"type\": \"clinic\"\n        },\n        {\n            \"id\": 1,\n            \"name\": \"Dr ali mohamed\",\n            \"ser_id\": \"8211895764\",\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/pa-12345678912345/c565d293abcd20a54b02.jpg\",\n            \"type\": \"pharmacy\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"صيدلية الهنا\",\n            \"ser_id\": \"1234561\",\n            \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df-pharmacy/c565d293abcd20a54b02.jpg\",\n            \"type\": \"pharmacy\"\n        }\n    ]\n}"}],"_postman_id":"5cbb4af2-7c63-426d-96f4-357b42a2adf6"},{"name":"view users details","id":"7099083c-3555-4d42-9daa-76c5c16b5ec7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/admins/view_users_details/1?type=","description":"<p>This api is used to view the details of the users</p>\n","urlObject":{"path":["admins","view_users_details","1"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type [doctor , assistant , patient , pharmacist , clinic , pharmacy]</p>\n","type":"text/plain"},"key":"type","value":""}],"variable":[]}},"response":[{"id":"5aff8189-af4f-4684-9b12-ab518a63c010","name":"view users details","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/admins/view_users_details/72?type=patient","host":["http://localhost:80/roshetta/api"],"path":["admins","view_users_details","72"],"query":[{"key":"type","value":"patient"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 12:54:03 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=7lvp9a2ca3usiujhbtntadukkc; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"473"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"name\": \"mohamed saeed\",\n        \"age\": \"22 year\",\n        \"ssd\": 12345678912352,\n        \"email\": \"mnn@gmail.com\",\n        \"phone_number\": \"01092338585\",\n        \"gender\": \"ذكر\",\n        \"birth_date\": \"2001-02-06\",\n        \"governorate\": \"aswan\",\n        \"image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n        \"type\": \"patient\",\n        \"weight\": 58,\n        \"height\": 173\n    }\n}"},{"id":"dbd91bd2-b9c5-4bd7-8fe3-2506a91649ba","name":"view users details","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/admins/view_users_details/12?type=clinic","host":["http://localhost:80/roshetta/api"],"path":["admins","view_users_details","12"],"query":[{"key":"type","value":"clinic"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 12:55:08 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=vsb1p38jb97tr9cqlr3m2faogu; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"965"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"id\": 12,\n        \"ser_id\": \"1234561\",\n        \"type\": \"clinic\",\n        \"logo\": \"http://localhost:80/roshetta/uploads/images/place_image/df-clinic/c565d293abcd20a54b02.jpg\",\n        \"name\": \"dr mohamed\",\n        \"specialist\": \"بطنة\",\n        \"phone_number\": \"01033505620\",\n        \"owner\": \"mohamed saeed\",\n        \"price\": 200,\n        \"start_working\": \"02:33:00\",\n        \"end_working\": \"05:20:30\",\n        \"governorate\": \"البحيرة\",\n        \"address\": \"اسوان\",\n        \"status\": 0,\n        \"appoint_all\": 5,\n        \"appoint_day\": 0,\n        \"number_of_prescript\": 7,\n        \"stuff\": {\n            \"doctor_name\": \"mohamed saeed\",\n            \"doctor_age\": \"22 year\",\n            \"doctor_image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\",\n            \"assistant_name\": \"ahmed ali\",\n            \"assistant_age\": \"2 month\",\n            \"assistant_image\": \"http://localhost:80/roshetta/uploads/images/profile_image/df_male/male.png\"\n        }\n    }\n}"}],"_postman_id":"7099083c-3555-4d42-9daa-76c5c16b5ec7"},{"name":"delete user or place","id":"121a3ac9-4496-43b6-a95e-aed5c412b4d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:80/roshetta/api/admins/remove_user_place/55?type=","description":"<p>This api is used to delete a user or place</p>\n","urlObject":{"path":["admins","remove_user_place","55"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type [doctor , assistant , patient , pharmacist , clinic , pharmacy]</p>\n","type":"text/plain"},"key":"type","value":""}],"variable":[]}},"response":[{"id":"aefe58d3-971a-4d79-b7c1-e91097c5edc1","name":"delete user or place","originalRequest":{"method":"POST","header":[],"url":{"raw":"http://localhost:80/roshetta/api/admins/remove_user_place/55?type=patient","host":["http://localhost:80/roshetta/api"],"path":["admins","remove_user_place","55"],"query":[{"key":"type","value":"patient","description":"type [doctor , assistant , patient , pharmacist , clinic , pharmacy]"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 13:09:44 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=bj0di74kb3cl2shcuqct0v55m2; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"113"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم الحذف بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"121a3ac9-4496-43b6-a95e-aed5c412b4d0"},{"name":"view message","id":"ee075284-362f-4257-ab7f-18a4345e6977","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/admins/view_message?type=&status=","description":"<p>This api is used to view user messages</p>\n","urlObject":{"path":["admins","view_message"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type if need [doctor , assistant , patient , pharmacist ]</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>status [0 , 1]  default (0) , (0)=&gt; unread , (1)=&gt; read</p>\n","type":"text/plain"},"key":"status","value":""}],"variable":[]}},"response":[{"id":"994d158c-b4ee-44dc-8404-76e3d57d7b24","name":"view message","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:80/roshetta/api/admins/view_message?type=&status=","host":["http://localhost:80/roshetta/api"],"path":["admins","view_message"],"query":[{"key":"type","value":"","description":"type if need [doctor , assistant , patient , pharmacist ]"},{"key":"status","value":"","description":"status [0 , 1]  default (0) , (0)=> unread , (1)=> read"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 13:33:54 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=kcbkh9q1gbcn4fas2e6o22uc2q; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"550"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": [\n        {\n            \"name\": \"عمرو المسلمانى\",\n            \"email\": \"ammghdefe45353@gmail.com\",\n            \"message\": \"اريد المساعدة\",\n            \"role\": \"pharmacist\"\n        },\n        {\n            \"name\": \"mohamed saeed\",\n            \"email\": \"mo@gmail.com\",\n            \"message\": \"مرحبا بكم فى روشتة\",\n            \"role\": \"patient\"\n        }\n    ]\n}"}],"_postman_id":"ee075284-362f-4257-ab7f-18a4345e6977"},{"name":"reply message user","id":"01fd9691-be65-4e64-9ea3-63d5bdabe80e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"message","value":"","description":"<p>your reply message</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/admins/reply_message_user/1","description":"<p>This api is used to reply to user messages</p>\n","urlObject":{"path":["admins","reply_message_user","1"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"70898e50-aef9-449d-8062-c3ec7eaf2356","name":"reply message user","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"message","value":"عزيزى المستخدم تم حل مشكلتك ","description":"your reply message","type":"text"}]},"url":"http://localhost:80/roshetta/api/admins/reply_message_user/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 14:14:41 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=2jlm1k9n1t67hio6o67fdg5194; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"107"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم الرد بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"01fd9691-be65-4e64-9ea3-63d5bdabe80e"},{"name":"view number all","id":"455766ee-3a19-4d31-94c2-0a0c6e659b8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/admins/view_number_all","description":"<p>This api is used to view the numbers on the site such as doctors, patients, etc....</p>\n","urlObject":{"path":["admins","view_number_all"],"host":["http://localhost:80/roshetta/api"],"query":[],"variable":[]}},"response":[{"id":"ea9ea5a2-a62b-4635-b7f2-d545ca5ffe07","name":"view number all","originalRequest":{"method":"GET","header":[],"url":"http://localhost:80/roshetta/api/admins/view_number_all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 14:38:06 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=s9h4pi8sree4lkg5e1n0ssko73; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"408"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 200,\n    \"Message\": \"تم جلب البيانات بنجاح\",\n    \"Data\": {\n        \"admin\": {\n            \"all\": 4,\n            \"active_now\": 1\n        },\n        \"doctor\": {\n            \"all\": 1,\n            \"active_now\": 1\n        },\n        \"pharmacist\": {\n            \"all\": 3,\n            \"active_now\": 1\n        },\n        \"patient\": {\n            \"all\": 6,\n            \"active_now\": 3\n        },\n        \"assistant\": {\n            \"all\": 2,\n            \"active_now\": 1\n        },\n        \"clinic\": {\n            \"all\": 2,\n            \"active_now\": 1\n        },\n        \"pharmacy\": {\n            \"all\": 2,\n            \"active_now\": 1\n        },\n        \"prescript\": 7\n    }\n}"}],"_postman_id":"455766ee-3a19-4d31-94c2-0a0c6e659b8f"},{"name":"edit password user","id":"1b157be3-379a-4fbd-a9dd-2b2d194b55ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"password","value":"","description":"<p>new password</p>\n","type":"text"},{"key":"confirm_password","value":"","description":"<p>confirm new password</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/admins/edit_password_user/72?type=","description":"<p>This api is used to change a user's password</p>\n","urlObject":{"path":["admins","edit_password_user","72"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type [doctor , assistant , patient , pharmacist ]</p>\n","type":"text/plain"},"key":"type","value":""}],"variable":[]}},"response":[{"id":"0b72bb8b-a6f9-484d-9c3b-e2ae95ced4e2","name":"edit password user","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"password","value":"222222","description":"new password","type":"text"},{"key":"confirm_password","value":"222222","description":"confirm new password","type":"text"}]},"url":{"raw":"http://localhost:80/roshetta/api/admins/edit_password_user/72?type=patient","host":["http://localhost:80/roshetta/api"],"path":["admins","edit_password_user","72"],"query":[{"key":"type","value":"patient","description":"type [doctor , assistant , patient , pharmacist ]"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 15:01:21 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=0o0pj0vamc9gecb7qljm40r0be; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"125"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم التعديل بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"1b157be3-379a-4fbd-a9dd-2b2d194b55ff"},{"name":"edit email or ssd user","id":"5461e12f-e9a3-4dd5-9051-3be4890bc011","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"user_q","value":"","description":"<p>user [ssd , email]</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/admins/edit_email_ssd_user/2?type=&type_user_q=","description":"<p>This api is used to modify the email or national number of users</p>\n","urlObject":{"path":["admins","edit_email_ssd_user","2"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type [doctor , assistant , patient , pharmacist ]</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>type [ssd , email]</p>\n","type":"text/plain"},"key":"type_user_q","value":""}],"variable":[]}},"response":[{"id":"7c363602-6170-4193-b4ac-4f3022b167fe","name":"edit email or ssd user","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"user_q","value":"mo00123@gmail.com","type":"text"}]},"url":{"raw":"http://localhost:80/roshetta/api/admins/edit_email_ssd_user/2?type=pharmacist&type_user_q=email","host":["http://localhost:80/roshetta/api"],"path":["admins","edit_email_ssd_user","2"],"query":[{"key":"type","value":"pharmacist"},{"key":"type_user_q","value":"email"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 15:45:05 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=77gugovgim9aspdnd5fugv4djs; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"125"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم التعديل بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"5461e12f-e9a3-4dd5-9051-3be4890bc011"},{"name":"edit profile user","id":"5bd77335-b68f-445c-bf03-e12caf007790","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>user name</p>\n","type":"text"},{"key":"phone_number","value":"","description":"<p>user phone number</p>\n","type":"text"},{"key":"governorate","value":"","description":"<p>user governorate</p>\n","type":"text"},{"key":"birth_date","value":"","description":"<p>user birth date</p>\n","type":"text"},{"key":"gender","value":"","description":"<p>user gender</p>\n","type":"text"},{"key":"specialist","value":"","description":"<p>if user doctor add specialist</p>\n","type":"text"},{"key":"height","value":"","description":"<p>if user patient add height</p>\n","type":"text"},{"key":"weight","value":"","description":"<p>if user patient add weight</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/admins/edit_profile_user/54?type=","description":"<p>This api is used to modify the profile of users</p>\n","urlObject":{"path":["admins","edit_profile_user","54"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>account type [patient , doctor , assistant , pharmacist , admin]</p>\n","type":"text/plain"},"key":"type","value":""}],"variable":[]}},"response":[{"id":"6e2b09b5-856f-4a57-a517-f21568c361cb","name":"edit profile user","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"mohamed","description":"user name","type":"text"},{"key":"phone_number","value":"01092338084","description":"user phone number","type":"text"},{"key":"governorate","value":"البحيرة","description":"user governorate","type":"text"},{"key":"birth_date","value":"2000-10-20","description":"user birth date","type":"text"},{"key":"gender","value":"ذكر","description":"user gender","type":"text"},{"key":"specialist","value":"","description":"if user doctor add specialist","type":"text"},{"key":"height","value":"170","description":"if user patient add height","type":"text"},{"key":"weight","value":"90","description":"if user patient add weight","type":"text"}]},"url":{"raw":"http://localhost:80/roshetta/api/admins/edit_profile_user/54?type=patient","host":["http://localhost:80/roshetta/api"],"path":["admins","edit_profile_user","54"],"query":[{"key":"type","value":"patient","description":"account type [patient , doctor , assistant , pharmacist , admin]"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 16:36:02 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=meqana8a92opflcckivuu1nikn; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"125"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم التعديل بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"5bd77335-b68f-445c-bf03-e12caf007790"},{"name":"edit profile place","id":"5958ebd6-312e-4069-8bcf-6143de8ab890","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"","description":"<p>place name</p>\n","type":"text"},{"key":"phone_number","value":"","description":"<p>place phone number</p>\n","type":"text"},{"key":"governorate","value":"","description":"<p>place governorate</p>\n","type":"text"},{"key":"start_working","value":"","description":"<p>place start working</p>\n","type":"text"},{"key":"end_working","value":"","description":"<p>place end working</p>\n","type":"text"},{"key":"address","value":"","description":"<p>place address</p>\n","type":"text"},{"key":"owner","value":"","description":"<p>place owner</p>\n","type":"text"},{"key":"specialist","value":"","description":"<p>if clinic add specialist</p>\n","type":"text"},{"key":"price","value":"","description":"<p>if clinic add price</p>\n","type":"text"}]},"url":"http://localhost:80/roshetta/api/admins/edit_profile_place/6?type=","description":"<p>This api is used to modify clinic or pharmacy data</p>\n","urlObject":{"path":["admins","edit_profile_place","6"],"host":["http://localhost:80/roshetta/api"],"query":[{"description":{"content":"<p>type [clinic , pharmacy]</p>\n","type":"text/plain"},"key":"type","value":""}],"variable":[]}},"response":[{"id":"4695638f-2908-4bcb-a558-cba9eb58b435","name":"edit profile place","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"عيادة دكتور ربيع","type":"text"},{"key":"phone_number","value":"01092338540","type":"text"},{"key":"governorate","value":"اسوان","type":"text"},{"key":"start_working","value":"02:00:00","type":"text"},{"key":"end_working","value":"08:00:00","type":"text"},{"key":"address","value":"اسوان جنب بتاع الخوخ","type":"text"},{"key":"owner","value":"ربيع باشا","type":"text"},{"key":"specialist","value":"اسنان","type":"text"},{"key":"price","value":"100","type":"text"}]},"url":{"raw":"http://localhost:80/roshetta/api/admins/edit_profile_place/16?type=clinic","host":["http://localhost:80/roshetta/api"],"path":["admins","edit_profile_place","16"],"query":[{"key":"type","value":"clinic"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 Mar 2023 17:36:47 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.2.0"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=64a70nf2kkui1ustdlc4rlh94e; path=/"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Max-Age","value":"3600"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"125"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"Status\": 201,\n    \"Message\": \"تم التعديل بنجاح\",\n    \"Data\": null\n}"}],"_postman_id":"5958ebd6-312e-4069-8bcf-6143de8ab890"}],"id":"ac878ddb-58e6-4ba6-82fc-48991a6ca4dd","description":"<p>Only administrators can use those api</p>\n","_postman_id":"ac878ddb-58e6-4ba6-82fc-48991a6ca4dd"}],"event":[{"listen":"prerequest","script":{"id":"36d37695-4827-4f65-99e3-8440574273ad","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0783a523-12b6-415a-baa2-3bb2ac326f4a","type":"text/javascript","exec":[""]}}],"variable":[{"key":"url","value":"http://localhost:80/roshetta/api","type":"string"}]}