{"info":{"_postman_id":"c87ef3bc-e802-4d6b-801a-da646e0d18a6","name":"ASSIST","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"14324664","collectionId":"c87ef3bc-e802-4d6b-801a-da646e0d18a6","publishedId":"VUjLJRTP","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-08-04T14:56:57.000Z"},"item":[{"name":"User","item":[{"name":"Find all Professionals","id":"6d55dd05-3b7c-40aa-a296-240b78195380","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8080/api/users/professionals","urlObject":{"port":"8080","path":["api","users","professionals"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d55dd05-3b7c-40aa-a296-240b78195380"},{"name":"Find a Professional","id":"690f286e-686f-4111-83f9-a65e205ce56c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/users/professionals/appointments","urlObject":{"port":"8080","path":["api","users","professionals","appointments"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"690f286e-686f-4111-83f9-a65e205ce56c"},{"name":"Find All Consumers","id":"b326bb54-030c-449d-8389-08834f4686e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/users/consumers","urlObject":{"port":"8080","path":["api","users","consumers"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b326bb54-030c-449d-8389-08834f4686e2"},{"name":"Find a Consumer","id":"9ca33828-206f-46aa-b6d6-2651a434a779","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/users/consumers/appointments","urlObject":{"port":"8080","path":["api","users","consumers","appointments"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ca33828-206f-46aa-b6d6-2651a434a779"},{"name":"login","id":"b1e923b3-3bf3-49e0-87ca-65423f96677d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"role\":\"professional\",\r\n    \"email\":\"m@m\",\r\n    \"password\":\"123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/api/users/login","urlObject":{"port":"8080","path":["api","users","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1e923b3-3bf3-49e0-87ca-65423f96677d"},{"name":"signup","id":"01c5cb9f-41ec-4664-88c9-493e00a5b757","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"ami topu\",\r\n    \"email\":\"t@t\",\r\n    \"role\":\"consumer\",\r\n    \"password\":\"123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/api/users/signup","urlObject":{"port":"8080","path":["api","users","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"01c5cb9f-41ec-4664-88c9-493e00a5b757"},{"name":"Verification info collect of a professional","id":"a9d98a69-d77e-4d99-9be0-d007311431c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Education_qualifications\":\"HSC\",\r\n    \"Degrees\":\"MBBS\",\r\n    \"Specialization\":\"sss\",\r\n    \"Work_experience\":10,\r\n    \"Research_and_Publications\":\"ASE\",\r\n    \"Achievements\":\"onek  beshi\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/api/users/professionals/verification","urlObject":{"port":"8080","path":["api","users","professionals","verification"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9d98a69-d77e-4d99-9be0-d007311431c9"},{"name":"Update Consumer","id":"62a1b374-71ec-4f82-aad5-6f0ddcf45b9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullname","value":"xxxx","type":"text"},{"key":"password","value":"123","type":"text"},{"key":"photo","type":"file","src":"/D:/pics/4fa014fccec1f9e555e4857caeb55459.jpg"}]},"url":"localhost:8080/api/users/updateMe/consumer","urlObject":{"port":"8080","path":["api","users","updateMe","consumer"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"62a1b374-71ec-4f82-aad5-6f0ddcf45b9d"},{"name":"Update a Professional","id":"7e5e9433-cc4c-4758-b5b4-b744714a8409","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"fullname","value":"kuddus","type":"text"},{"key":"photo","type":"file","src":"/D:/pics/depositphotos_14779771-stock-photo-portrait-of-confident-young-doctor.jpg"}]},"url":"localhost:8080/api/users/updateMe/professional","urlObject":{"port":"8080","path":["api","users","updateMe","professional"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e5e9433-cc4c-4758-b5b4-b744714a8409"}],"id":"57f8382f-5191-4a52-9206-a4f5d9fa10a0","_postman_id":"57f8382f-5191-4a52-9206-a4f5d9fa10a0","description":""},{"name":"Appointments","item":[{"name":"Create a new  appointment","id":"21391137-495a-4e49-b223-a43ff14a5874","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"_professionalId\":\"6182fe9da3f7efdfa6fca537\",\r\n    \"professionalsName\": \"emma\",\r\n  \"consumersName\":\"adib\",\r\n  \"phone\": \"016xxx\",\r\n  \"email\": \"sk@a\",\r\n  \"title\": \"domestic violence\",\r\n  \"date\": \"Fri Aug 05 2022\",\r\n  \"time\":\"09.00AM\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/api/appointments","urlObject":{"port":"8080","path":["api","appointments"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"21391137-495a-4e49-b223-a43ff14a5874"},{"name":"Get All appointments","id":"e49126f5-e179-4e63-a073-89b810855dd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8080/api/appointments","urlObject":{"port":"8080","path":["api","appointments"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e49126f5-e179-4e63-a073-89b810855dd2"},{"name":"Cancel an appointment","id":"fc7a6248-3afa-4f59-ad1f-72f318ab1f88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"localhost:8080/api/appointments/617b33e778eae19b2d819a4e","urlObject":{"port":"8080","path":["api","appointments","617b33e778eae19b2d819a4e"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc7a6248-3afa-4f59-ad1f-72f318ab1f88"},{"name":"write a prescription","id":"8b27de31-72d6-4bfe-9c77-22b72dfe64d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"diagnosis\":\"blank\",\r\n    \"prescription\":\"aaa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/api/appointments/617bcc4793949e92e3b33502","urlObject":{"port":"8080","path":["api","appointments","617bcc4793949e92e3b33502"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b27de31-72d6-4bfe-9c77-22b72dfe64d5"}],"id":"cad7729b-4ed3-48e3-b018-34c20bba6f1e","_postman_id":"cad7729b-4ed3-48e3-b018-34c20bba6f1e","description":""},{"name":"Approvals","item":[{"name":"Approve a doctor","id":"0f167806-ae91-4643-9224-16b30f24ab33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/approvals/professionals/6172b79155c328c23fa1c77f","urlObject":{"port":"8080","path":["api","approvals","professionals","6172b79155c328c23fa1c77f"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f167806-ae91-4643-9224-16b30f24ab33"},{"name":"Pending approvals for blogs","id":"820bbfe4-b520-4526-9cc8-2aee55b4ca49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/approvals/blogs","urlObject":{"port":"8080","path":["api","approvals","blogs"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"820bbfe4-b520-4526-9cc8-2aee55b4ca49"},{"name":"Approve a blog","id":"b526b04b-4697-451c-a64d-293436193e15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/approvals/blogs/6176db1c62a07c2de557a236","urlObject":{"port":"8080","path":["api","approvals","blogs","6176db1c62a07c2de557a236"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b526b04b-4697-451c-a64d-293436193e15"}],"id":"ebebe9ea-ff6f-42bd-8819-54a7bc7de7cf","_postman_id":"ebebe9ea-ff6f-42bd-8819-54a7bc7de7cf","description":""},{"name":"QA","item":[{"name":"Get all questions","id":"a3c94b39-0c9c-4c74-962c-9b6a829594ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/qa","urlObject":{"port":"8080","path":["api","qa"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3c94b39-0c9c-4c74-962c-9b6a829594ed"},{"name":"Ask Question","id":"548c78c2-9cfa-4bc7-ba41-fbd6225262c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"question\":\"What causes mental health problems?\",\r\n    \"askedBy\":\"Anonymous\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/api/qa","urlObject":{"port":"8080","path":["api","qa"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"548c78c2-9cfa-4bc7-ba41-fbd6225262c1"},{"name":"Get my questions","id":"0833baa1-ab21-4571-813b-5223afdaedd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/qa/myQuestions/617199197e9e35d8a25f7dc0","urlObject":{"port":"8080","path":["api","qa","myQuestions","617199197e9e35d8a25f7dc0"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0833baa1-ab21-4571-813b-5223afdaedd2"},{"name":"Get a question","id":"278f99ee-3ce7-4ced-86ad-a4e7877514a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/qa/6175b6d40781fd9f2aaf88eb","urlObject":{"port":"8080","path":["api","qa","6175b6d40781fd9f2aaf88eb"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"278f99ee-3ce7-4ced-86ad-a4e7877514a3"},{"name":"Answer a question","id":"658fdb26-e1a1-4cde-8914-b9b736109a4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"_questionId\":\"618301f478516a0661dd75b1\",\r\n    \"answer\":\"Challenges or problems with your mental health can arise from psycholo...\",\r\n    \"answeredBy\":\"emma\",\r\n    \"upovotes\":[]\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/api/qa/","urlObject":{"port":"8080","path":["api","qa",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"658fdb26-e1a1-4cde-8914-b9b736109a4d"},{"name":"Get an answer","id":"46e3fff2-4a55-4638-b269-b0ccd53eba8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/qa/answers/6176d0f3bf9eb15ce5b6a6db","urlObject":{"port":"8080","path":["api","qa","answers","6176d0f3bf9eb15ce5b6a6db"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"46e3fff2-4a55-4638-b269-b0ccd53eba8b"},{"name":"upvote an answer","id":"abe5b51a-660c-41e0-90d6-5e8190415ca7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"url":"localhost:8080/api/qa/answers/6175e143ffd1718348edb1e3","urlObject":{"port":"8080","path":["api","qa","answers","6175e143ffd1718348edb1e3"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"abe5b51a-660c-41e0-90d6-5e8190415ca7"}],"id":"12fa705f-e8c9-4568-b50a-3be783eeb2bf","_postman_id":"12fa705f-e8c9-4568-b50a-3be783eeb2bf","description":""},{"name":"Blogs","item":[{"name":"Get All blogs","id":"74c48174-763d-4b4a-b0c5-243272ca71ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/blogs","urlObject":{"port":"8080","path":["api","blogs"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"74c48174-763d-4b4a-b0c5-243272ca71ac"},{"name":"Get a blog","id":"81837b1b-c577-4727-b049-2b5f9d7d5a3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/blogs/61770a00922c0faa692332a1","urlObject":{"port":"8080","path":["api","blogs","61770a00922c0faa692332a1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"81837b1b-c577-4727-b049-2b5f9d7d5a3c"},{"name":"Write A blog","id":"40928442-d4bb-443d-b2bb-5b23ff8e8f32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"Test","type":"text"},{"key":"body","value":"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.","type":"text"},{"key":"name","value":"Anonymous\n","type":"text"},{"key":"photo","type":"file","value":null,"disabled":true}]},"url":"localhost:8080/api/blogs","urlObject":{"port":"8080","path":["api","blogs"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"40928442-d4bb-443d-b2bb-5b23ff8e8f32"},{"name":"My blogs","id":"c4853439-631a-4e66-a35c-f7ac0adbadc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/blogs/myBlogs/617199197e9e35d8a25f7dc0","urlObject":{"port":"8080","path":["api","blogs","myBlogs","617199197e9e35d8a25f7dc0"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4853439-631a-4e66-a35c-f7ac0adbadc2"}],"id":"74eb7a0f-b6db-4f5e-9788-63371895d0e9","_postman_id":"74eb7a0f-b6db-4f5e-9788-63371895d0e9","description":""},{"name":"Comments","item":[{"name":"Get all comments","id":"5e5d4d47-5d0b-447a-a407-f15203a0d8ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"localhost:8080/api/blogs/comments","urlObject":{"port":"8080","path":["api","blogs","comments"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e5d4d47-5d0b-447a-a407-f15203a0d8ad"},{"name":"create a Comment on a Blog","id":"8fd54ebe-892d-4440-ba50-30a1e7bbb66e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"localhost:8080/api/comments/6177fd888975dc2606d6f269","urlObject":{"port":"8080","path":["api","comments","6177fd888975dc2606d6f269"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8fd54ebe-892d-4440-ba50-30a1e7bbb66e"}],"id":"46948457-1921-42fb-b6b7-e0a021816b00","_postman_id":"46948457-1921-42fb-b6b7-e0a021816b00","description":""},{"name":"Admin","item":[{"name":"create an admin","id":"7fe66a42-2c4c-416c-8028-1102e2895590","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fullname\":\"admin\",\r\n    \"email\":\"ad@min\",\r\n    \"password\":\"123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/api/admin/signup","urlObject":{"port":"8080","path":["api","admin","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7fe66a42-2c4c-416c-8028-1102e2895590"},{"name":"Get All admins","id":"2f5df0f9-edb3-4358-81a5-7fdb296d1fa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8080/api/admin","urlObject":{"port":"8080","path":["api","admin"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f5df0f9-edb3-4358-81a5-7fdb296d1fa3"},{"name":"Admin Login","id":"d71b8d8e-babd-402a-a37b-d6b05f8cbcf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"ad@min\",\r\n    \"password\":\"123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/api/admin/login","urlObject":{"port":"8080","path":["api","admin","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d71b8d8e-babd-402a-a37b-d6b05f8cbcf6"}],"id":"6b240bdd-0ccd-414b-bdd9-433697b7d678","_postman_id":"6b240bdd-0ccd-414b-bdd9-433697b7d678","description":""}]}