{"info":{"_postman_id":"1d353afb-5b1c-47b5-a929-ec554731600a","name":"Lawyer","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"34254508","collectionId":"1d353afb-5b1c-47b5-a929-ec554731600a","publishedId":"2sAXqs72gj","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-09-19T12:39:12.000Z"},"item":[{"name":"AuthUser","item":[{"name":"registerCustomer","id":"1f7fbdd9-9a8c-4a08-a16b-71ced4082a61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"customer","type":"text"},{"key":"first_name","value":"bn","type":"text"},{"key":"last_name","value":"ze","type":"text"},{"key":"phone_number","value":"010271665470034","type":"text"},{"key":"password","value":"12345678","type":"text"},{"key":"confirm_password","value":"12345678","type":"text"},{"key":"national_number","value":"2","type":"text"}]},"url":"{{prod_lawyer_url}}/auth/register","urlObject":{"path":["auth","register"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f7fbdd9-9a8c-4a08-a16b-71ced4082a61"},{"name":"registerLawyer","id":"9528b52d-5780-407a-b4fc-74f65431dcff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"role","value":"lawyer","type":"text"},{"key":"first_name","value":"bn","type":"text"},{"key":"last_name","value":"ze","type":"text"},{"key":"phone_number","value":"010956040023456","type":"text"},{"key":"password","value":"12345678","type":"text"},{"key":"confirm_password","value":"12345678","type":"text"},{"key":"national_number","value":"+967","type":"text"},{"key":"specializations","value":"[\"Criminal Law\", \"Corporate Law\"]","type":"text"},{"key":"certification","value":"null","type":"text"}]},"url":"{{prod_lawyer_url}}/auth/register","urlObject":{"path":["auth","register"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9528b52d-5780-407a-b4fc-74f65431dcff"},{"name":"login","id":"8dcd3e39-7782-4888-ae4a-21122efd9b51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"national_number\": \"+20\",\r\n    \"phone_number\": \"123456789\",\r\n    \"password\": \"12345678\",\r\n    \"role\":\"lawyer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/auth/login","urlObject":{"path":["auth","login"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8dcd3e39-7782-4888-ae4a-21122efd9b51"},{"name":"accept||reject(lawyer)","id":"eb5b5535-6cb6-43fc-ae38-8fa334d534e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6ImFkbWluIiwiaWF0IjoxNzI3MzUyNTUwLCJleHAiOjE3Mjc0Mzg5NTB9.IjqPlhF5We69kw6Ay2XYJBYijF1OgCxJ4rVoumytNLg","type":"text"}],"body":{"mode":"raw","raw":"\r\n{\r\n  \"status\": \"reject\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:5050/auth/status/7","urlObject":{"protocol":"http","port":"5050","path":["auth","status","7"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb5b5535-6cb6-43fc-ae38-8fa334d534e2"},{"name":"getAllSpecializations","id":"89371274-93fc-465d-911e-32e11ecab3a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{prod_lawyer_url}}/auth/specializations","urlObject":{"path":["auth","specializations"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"89371274-93fc-465d-911e-32e11ecab3a2"},{"name":"request-otp","id":"93910384-fa69-4c41-a1ae-3c4fd45713ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:5050/auth/request-otp","urlObject":{"protocol":"http","port":"5050","path":["auth","request-otp"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"93910384-fa69-4c41-a1ae-3c4fd45713ce"},{"name":"verify-otp","id":"dd62bb94-a919-42b5-aca1-0c15b4d29b7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"phone_number\": \"1095604369\",\r\n    \"otp\": \"6480\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5050/auth/verify-otp","urlObject":{"protocol":"http","port":"5050","path":["auth","verify-otp"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd62bb94-a919-42b5-aca1-0c15b4d29b7d"},{"name":"reset-password","id":"9beb7ec7-51b5-4ff5-81c3-a46082a6952c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"phone_number\":\"1095604369\",\r\n\"newPassword\" :\"ali alllaa\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5050/auth/reset-password","urlObject":{"protocol":"http","port":"5050","path":["auth","reset-password"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9beb7ec7-51b5-4ff5-81c3-a46082a6952c"}],"id":"f6df6030-19d5-4bca-900d-0239745be6d6","_postman_id":"f6df6030-19d5-4bca-900d-0239745be6d6","description":""},{"name":"News","item":[{"name":"create news","id":"b36e1b88-c722-4a94-8992-da6292947c54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"This is a sample news description.\",\r\n    \"image\": null\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/news","urlObject":{"path":["api","news"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b36e1b88-c722-4a94-8992-da6292947c54"},{"name":"GetAllNews","id":"f6ff1859-00b6-40b5-9f6a-a5321aa4fc99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTMsInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjE1NjA3MzIsImV4cCI6MTcyMjQyNDczMn0.8wi3APuLprZ_XU0xvE-2DqMSNIjhkpY9ILnkQGl9ptc","type":"text"}],"url":"{{prod_lawyer_url}}/api/news?page=1&limit=7","urlObject":{"path":["api","news"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"7"}],"variable":[]}},"response":[],"_postman_id":"f6ff1859-00b6-40b5-9f6a-a5321aa4fc99"},{"name":"GetaSpecificNewsbyID","id":"51351a58-0df4-4332-8c2b-8f131dd4d6c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{prod_lawyer_url}}/api/news/2","urlObject":{"path":["api","news","2"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"51351a58-0df4-4332-8c2b-8f131dd4d6c5"},{"name":"updateNewsByID","id":"6ac029a3-0d73-451a-b25e-5c6fa4a5c9b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"description\": \"This is a sample news description update .\",\r\n    \"image\": null\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/news/2","urlObject":{"path":["api","news","2"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ac029a3-0d73-451a-b25e-5c6fa4a5c9b2"},{"name":"deletingSpecificNewsByID","id":"90581d1b-5dea-4259-adcd-6e63fed4bffa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"url":"{{prod_lawyer_url}}/api/news/2","urlObject":{"path":["api","news","2"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"90581d1b-5dea-4259-adcd-6e63fed4bffa"}],"id":"6e2c4e32-8851-4d19-a7a6-4a385c4a0729","_postman_id":"6e2c4e32-8851-4d19-a7a6-4a385c4a0729","description":""},{"name":"admin","item":[{"name":"registerAdmin","id":"fab12f4a-1dc8-444a-b2f6-f138e333a2c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{   \"national_number\":\"50\",\r\n    \"phoneNumber\": \"010956043353\",\r\n    \"password\": \"123456789\" \r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/admin/register","urlObject":{"path":["api","admin","register"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fab12f4a-1dc8-444a-b2f6-f138e333a2c5"},{"name":"adminLogin","id":"4ed8c390-e57f-4917-8581-b3f31bd5a02e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \r\n     \"national_number\":\"+20\",\r\n     \"role\":\"admin\",\r\n    \"phoneNumber\": \"1111111111\",\r\n    \"password\": \"11111111\" \r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/admin/login","urlObject":{"path":["api","admin","login"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ed8c390-e57f-4917-8581-b3f31bd5a02e"},{"name":"deleteUserByAdmin","id":"2f16cc40-7c52-49c3-8072-c0bba6f5bf8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI1NDU1Mzg3LCJleHAiOjE3MjYzMTkzODd9.99cXiO1erluwrBBhBWioH6x2vxiPBDwtohd0zdvNPXQ","type":"text"}],"body":{"mode":"raw","raw":"{  \r\n     \"national_number\":\"+20\",\r\n     \"role\":\"super_admin\",\r\n    \"phoneNumber\": \"22222222\",\r\n    \"password\": \"22222222\" \r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/delete-user/17","urlObject":{"path":["api","delete-user","17"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f16cc40-7c52-49c3-8072-c0bba6f5bf8e"},{"name":"getAllAdmins","id":"4ecb31b6-fb69-470f-919a-ce2a2b1d29f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{   \"national_number\":\"50\",\r\n    \"phoneNumber\": \"010956043353\",\r\n    \"password\": \"123456789\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/admins","urlObject":{"path":["api","admins"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ecb31b6-fb69-470f-919a-ce2a2b1d29f6"},{"name":"getAdminProfile","id":"c723fbb6-c290-471b-a49f-6ac6a4871580","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI3MjczNzA0LCJleHAiOjE3MjgxMzc3MDR9.adJYG6Y-TqD5iqL_5yqLI1fGZMnuisYF8VvNKHGoiFI","type":"text"}],"body":{"mode":"raw","raw":"{   \"national_number\":\"50\",\r\n    \"phoneNumber\": \"010956043353\",\r\n    \"password\": \"123456789\" \r\n}","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/admin/Profile","urlObject":{"path":["api","admin","Profile"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c723fbb6-c290-471b-a49f-6ac6a4871580"}],"id":"08a1cb3d-19e7-41f6-a3d0-ba79af607c18","_postman_id":"08a1cb3d-19e7-41f6-a3d0-ba79af607c18","description":""},{"name":"review","item":[{"name":"create review","id":"9f5c43c6-c47f-48c3-a04f-7e3723ceed36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6ImN1c3RvbWVyIiwiaWF0IjoxNzIyNjkwNDE5LCJleHAiOjE3MjM1NTQ0MTl9.dy1tmphmzfn0u41ROpM_aaSLlKZ6LxKKmz6-we84T58","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"rating\": \"4\",\r\n    \"comment\": \"comment\",\r\n     \"lawyerID\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/review","urlObject":{"path":["api","review"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f5c43c6-c47f-48c3-a04f-7e3723ceed36"},{"name":"get all review","id":"caea6488-8e3f-470a-9aa5-3967102d57f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/review/1?page=2&limit=4","urlObject":{"path":["api","review","1"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"page","value":"2"},{"key":"limit","value":"4"}],"variable":[]}},"response":[],"_postman_id":"caea6488-8e3f-470a-9aa5-3967102d57f6"}],"id":"b92a3983-5d58-4c6a-b354-ef5bf5732284","_postman_id":"b92a3983-5d58-4c6a-b354-ef5bf5732284","description":""},{"name":"questionAnswer","item":[{"name":"createQestionAnswer","id":"6f3d6ef7-e2c2-45ed-ab50-6b9205a4bdd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6OCwicm9sZSI6Imxhd3llciIsImlhdCI6MTcyMTkxNDYzOCwiZXhwIjoxNzIyNzc4NjM4fQ.410v_MMhtDsdPg6XWTLrufWlBAr5f6HVeY1QrfGFZ8c","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"question","value":"","type":"text"},{"key":"answer","value":"","type":"text"}]},"url":"{{prod_lawyer_url}}/api/questionAnswer","urlObject":{"path":["api","questionAnswer"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f3d6ef7-e2c2-45ed-ab50-6b9205a4bdd2"},{"name":"GetAllQuestionAnswerpending","id":"619a1625-00c5-4a80-ad2c-bbd5aa6174a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI1Mjk3NDY4LCJleHAiOjE3MjYxNjE0Njh9.I0k4A95fsI0lGo7vN2OBNjtYQEHyaX9B3Cw6u4a6Ejw","type":"text"}],"url":"{{prod_lawyer_url}}/api/questionAnswer/pending","urlObject":{"path":["api","questionAnswer","pending"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"619a1625-00c5-4a80-ad2c-bbd5aa6174a5"},{"name":"GetAllQuestionAnswerAccepted","id":"8efb9f7c-fe7f-4fad-bd47-13f6376f0088","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6ImFkbWluIiwiaWF0IjoxNzIyNDI5ODQwLCJleHAiOjE3MjMyOTM4NDB9.WtJP0msxAQmzOi2owMk0mvmo3pxLH-_1LI-rMoYzrpw","type":"text"}],"url":"{{prod_lawyer_url}}/api/questionAnswer/accepted","urlObject":{"path":["api","questionAnswer","accepted"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8efb9f7c-fe7f-4fad-bd47-13f6376f0088"},{"name":"updateStatus(QA)byID","id":"11936c10-faaf-4d66-bb4b-45cb5ea2da09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6ImFkbWluIiwiaWF0IjoxNzIyNDI5ODQwLCJleHAiOjE3MjMyOTM4NDB9.WtJP0msxAQmzOi2owMk0mvmo3pxLH-_1LI-rMoYzrpw","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": \"accept\"  // or \"reject\" delete from database\r\n}","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/questionAnswer/1/status","urlObject":{"path":["api","questionAnswer","1","status"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"11936c10-faaf-4d66-bb4b-45cb5ea2da09"},{"name":"updateQuestionAnswerByID","id":"1f65bfdc-bbda-4cf2-9082-aa03271f28d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n   \r\n    \"question\": \"What is the capital of France?\",\r\n    \"answer\": \"The capital of France is Paris.\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/questionAnswer/3","urlObject":{"path":["api","questionAnswer","3"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f65bfdc-bbda-4cf2-9082-aa03271f28d7"},{"name":"GetaSpecificQuestion-AnswerbyID","id":"8d50edd2-953a-4eea-a2b4-e0496029c47b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{prod_lawyer_url}}/api/questionAnswer/2","urlObject":{"path":["api","questionAnswer","2"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8d50edd2-953a-4eea-a2b4-e0496029c47b"},{"name":"deletingaspecificquestion-answerbyID","id":"026b6eab-4bad-4074-82a1-fdf5c728fc3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{prod_lawyer_url}}/api/questionAnswer/1","urlObject":{"path":["api","questionAnswer","1"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"026b6eab-4bad-4074-82a1-fdf5c728fc3b"}],"id":"800fcca5-53a5-469c-b272-880275745a7e","_postman_id":"800fcca5-53a5-469c-b272-880275745a7e","description":""},{"name":"User","item":[{"name":"get profile","id":"ca25d420-5c63-42d0-934b-4d82d25ebd1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwicm9sZSI6ImFkbWluIiwiaWF0IjoxNzI2MTQ5MjA1LCJleHAiOjE3MjcwMTMyMDV9.7S8xxJv_JCFjeRq2ZN59BLtH5uk-cEQu6idALhp2DCA","type":"text"}],"url":"{{prod_lawyer_url}}/users/current/profile","urlObject":{"path":["users","current","profile"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca25d420-5c63-42d0-934b-4d82d25ebd1d"},{"name":"Delete my profile","id":"5a380b2b-fb61-425f-b735-720d1b4d231d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NjcsInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjcxNTk5NTQsImV4cCI6MTcyNzI0NjM1NH0.SV3PfGA_oiJZ_oSwMPxK9Faq6Zo6b9bjuzrgNnO4wEE","type":"text"}],"url":"{{prod_lawyer_url}}/users/profile","urlObject":{"path":["users","profile"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a380b2b-fb61-425f-b735-720d1b4d231d"},{"name":"update profile","id":"c23ea98a-059e-47de-8ccc-855b78a402ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6Imxhd3llciIsImlhdCI6MTcyNTk3NzI3NCwiZXhwIjoxNzI2MDYzNjc0fQ.ASsqXd_qfGHV_BhsmGaudOQEizycImv6ByTFscTIb1U","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"first_name","value":"basma","type":"text"},{"key":"last_name","value":"ahmed","type":"text"},{"key":"phone_number","value":"01027166547","type":"text","disabled":true},{"key":"description","value":"awesome new","type":"text"},{"key":"personal_image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/admin/Desktop/photo/IMG_6294.JPG"],"src":"/C:/Users/admin/Desktop/photo/IMG_6294.JPG"},{"key":"certification","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/admin/Desktop/photo/IMG_6294.JPG"],"src":"/C:/Users/admin/Desktop/photo/IMG_6294.JPG"},{"key":"specializations","value":"[\"Criminal Law\", \"Civil Law\"]","type":"text"}]},"url":"{{prod_lawyer_url}}/users/current/profile","urlObject":{"path":["users","current","profile"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c23ea98a-059e-47de-8ccc-855b78a402ac"},{"name":"get user by id(lawyer or customer)","id":"e6267803-22fc-4b83-9b42-df3dc9d87884","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{prod_lawyer_url}}/users/6","urlObject":{"path":["users","6"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6267803-22fc-4b83-9b42-df3dc9d87884"},{"name":"deleteUserById","id":"4275d30d-0539-4f97-9002-cfd46536c6ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NTYsInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjE1Njg3MzMsImV4cCI6MTcyMjQzMjczM30.Z_hDhvuMU3RexBniu3ZVJrC4s0x3Ybkklyl2L_NnBrU","type":"text"}],"url":"{{prod_lawyer_url}}/users/6","urlObject":{"path":["users","6"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4275d30d-0539-4f97-9002-cfd46536c6ef"},{"name":"get user cases","id":"b63b4524-26a9-4ae8-a981-c1f7e71beb40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6Imxhd3llciIsImlhdCI6MTcyNDgzNDIxMywiZXhwIjoxNzI1Njk4MjEzfQ.i6H3CBCmKOJH8ITw8rYnhpc3TNwkcj1chLDpWvI4Yk4","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\":3\r\n}","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/users/cases/user?year=2024","urlObject":{"path":["users","cases","user"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"year","value":"2024"}],"variable":[]}},"response":[],"_postman_id":"b63b4524-26a9-4ae8-a981-c1f7e71beb40"},{"name":"GetAllLawyerBySpecializations","id":"469e4735-62ca-4498-8e40-012e8055640e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{prod_lawyer_url}}/users/specializations","urlObject":{"path":["users","specializations"],"host":["{{prod_lawyer_url}}"],"query":[{"disabled":true,"key":"specializations","value":"Criminal Law,Family Law"},{"disabled":true,"key":"page","value":"1"},{"disabled":true,"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"469e4735-62ca-4498-8e40-012e8055640e"},{"name":"GetAllLawyerPending","id":"97e54b35-79dc-4082-b9e3-ac9d3ea48c4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{prod_lawyer_url}}/users/lawyers/pending","urlObject":{"path":["users","lawyers","pending"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"97e54b35-79dc-4082-b9e3-ac9d3ea48c4b"},{"name":"GetAllLawyerAccepted","id":"00e73c00-1388-4060-b489-d11bf3c5b90d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{prod_lawyer_url}}/users/lawyers/accepted?status=accept&limit=3&page=1","urlObject":{"path":["users","lawyers","accepted"],"host":["{{prod_lawyer_url}}"],"query":[{"disabled":true,"key":"sort","value":"top"},{"disabled":true,"key":"specializations","value":"Criminal%20Law,Corporate%20Law"},{"key":"status","value":"accept"},{"key":"limit","value":"3"},{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"00e73c00-1388-4060-b489-d11bf3c5b90d"},{"name":"getAllLawyers","id":"5fc610b8-c4c1-4ec3-8a41-f5b1c1557d4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{prod_lawyer_url}}/users/lawyers?page=1&limit=10","urlObject":{"path":["users","lawyers"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"5fc610b8-c4c1-4ec3-8a41-f5b1c1557d4a"},{"name":"lawyers count","id":"8b8805f8-2632-408a-b009-ef6d5761c222","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{prod_lawyer_url}}/users/lawyers?page=1&limit=10","urlObject":{"path":["users","lawyers"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"8b8805f8-2632-408a-b009-ef6d5761c222"},{"name":"lawyer-counts by month","id":"173ea0a4-2c32-4b29-8e93-35a1dd0130a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mywicm9sZSI6ImFkbWluIiwiaWF0IjoxNzIzODY5ODE3LCJleHAiOjE3MjQ3MzM4MTd9.0GTrbMDheVXyrxKD1mM3Vjfujmo527XVIyfxJjOAoPM","type":"text"}],"url":"{{prod_lawyer_url}}/users/lawyer-counts?year=2024","urlObject":{"path":["users","lawyer-counts"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"year","value":"2024"}],"variable":[]}},"response":[],"_postman_id":"173ea0a4-2c32-4b29-8e93-35a1dd0130a0"},{"name":"customer-counts by month","id":"fdf79445-555c-4ea4-9f57-3d0b78c779fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6ImFkbWluIiwiaWF0IjoxNzIyNTA1MjQzLCJleHAiOjE3MjMzNjkyNDN9.PkKCCZxqjW2mc2ybSbcgb9K2h78CG7GlP6t5qPnFb6c","type":"text"}],"url":"{{prod_lawyer_url}}/users/customer-counts?year=2024","urlObject":{"path":["users","customer-counts"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"year","value":"2024"}],"variable":[]}},"response":[],"_postman_id":"fdf79445-555c-4ea4-9f57-3d0b78c779fa"},{"name":"filtringLawyers(specilization,lowRate,topRate)","id":"53097a45-b84a-4b24-be58-66cb49a6fa6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5050/users/lawyerBySort?sort=ASC&specializations=Corporate Law","urlObject":{"protocol":"http","port":"5050","path":["users","lawyerBySort"],"host":["localhost"],"query":[{"key":"sort","value":"ASC"},{"key":"specializations","value":"Corporate Law"}],"variable":[]}},"response":[],"_postman_id":"53097a45-b84a-4b24-be58-66cb49a6fa6a"},{"name":"getAllCustomers","id":"84241aa4-6409-4eb8-967b-bfa1355121a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{prod_lawyer_url}}/users/customers","urlObject":{"path":["users","customers"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"84241aa4-6409-4eb8-967b-bfa1355121a2"}],"id":"0042b57a-f4c7-459f-94d7-3c4df5b10bd3","_postman_id":"0042b57a-f4c7-459f-94d7-3c4df5b10bd3","description":""},{"name":"case","item":[{"name":"createCase","id":"b56c2612-bcf3-46d8-a112-da9b554f64f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NjksInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjcxODk2NzgsImV4cCI6MTcyNzI3NjA3OH0.gtYUD1v5e4JRcAOF2KtvNB_SA-UYZu6TXohlXbsV9cc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"judge_name\": \"name of case\", //name of case\r\n  \"lawyer_fees\": 1500.00, //at3ab el mohami\r\n  \"court_fees\": 500.00,// at3ab el adya\r\n  \"customerId\":1\r\n}\r\n\r\n// 'inspection',\r\n//'court',\r\n//'pleadings',\r\n//'completed',\r\n//'won',\r\n//'lost',\r\n//'pending',\r\n//'accepted',\r\n//'decline'","options":{"raw":{"language":"json"}}},"url":"https://mo7ameekapi.ma7am.com/api/cases/create","urlObject":{"protocol":"https","path":["api","cases","create"],"host":["mo7ameekapi","ma7am","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b56c2612-bcf3-46d8-a112-da9b554f64f9"},{"name":"getCaseBySpecificeID","id":"6ab19a1d-b5a7-4a39-a599-a2b6fa0e94ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mywicm9sZSI6Imxhd3llciIsImlhdCI6MTcyMTc0NTU1OSwiZXhwIjoxNzIyNjA5NTU5fQ.eSoxAJE2i9J0ddMcyfzHb5MnVkenW3h1EcxI173DiBI","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"judge_name\": \"John Doe\", //name of case\r\n  \"lawyer_fees\": 1500.00, //at3ab el mohami\r\n  \"court_fees\": 500.00 // at3ab el adya\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/cases/5/details","urlObject":{"path":["api","cases","5","details"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ab19a1d-b5a7-4a39-a599-a2b6fa0e94ae"},{"name":"updateStatus","id":"98bbf587-24f6-4b1f-bb18-40a84b11d5cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NjksInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjcxODk2NzgsImV4cCI6MTcyNzI3NjA3OH0.gtYUD1v5e4JRcAOF2KtvNB_SA-UYZu6TXohlXbsV9cc","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"status\": \"court\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/cases/updateStatus/11","urlObject":{"path":["api","cases","updateStatus","11"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"98bbf587-24f6-4b1f-bb18-40a84b11d5cc"},{"name":"filter current case","id":"eb0f41cf-6c28-4b79-932c-7caa28167dcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6Imxhd3llciIsImlhdCI6MTcyNDc2NjcwMiwiZXhwIjoxNzI1NjMwNzAyfQ.0YTcAR_nT39IYSFs7nYEk1CgGLM72f90yr9tCBkb42Y","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/cases/filterCurrentCase","urlObject":{"path":["api","cases","filterCurrentCase"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb0f41cf-6c28-4b79-932c-7caa28167dcf"},{"name":"filter current case Admin","id":"f24bb5f1-c5bf-4add-9a19-83c61b19df55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{prod_lawyer_url}}/api/cases/filterCurrentCaseAdmin","urlObject":{"path":["api","cases","filterCurrentCaseAdmin"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f24bb5f1-c5bf-4add-9a19-83c61b19df55"},{"name":"filter completed case (won,lose)","id":"938f83f9-9117-4467-b690-7f0329645752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mywicm9sZSI6Imxhd3llciIsImlhdCI6MTcyMTg5MDY2MywiZXhwIjoxNzIyNzU0NjYzfQ.C6yyvLZPX_IbW79alCIenF6TvvtVqUy46OpOiSIq1VU\n","type":"text"}],"url":"{{prod_lawyer_url}}/api/cases/filterCompletedCases?status=won&page=1&limit=5","urlObject":{"path":["api","cases","filterCompletedCases"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"status","value":"won"},{"key":"page","value":"1"},{"key":"limit","value":"5"}],"variable":[]}},"response":[],"_postman_id":"938f83f9-9117-4467-b690-7f0329645752"},{"name":"filter completed case admin (won,lose)","id":"ee4df907-3b83-4eb7-bbd0-7ff7816e72b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6ImFkbWluIiwiaWF0IjoxNzIxODkxMzYxLCJleHAiOjE3MjI3NTUzNjF9.kbHwaANITNPTXdcx0SK6uCdqZVD4CLOsfmAuolz0Gro","type":"text"}],"url":"{{prod_lawyer_url}}/api/cases/filterCompletedCasesAdmin?status=won&page=1&limit=5","urlObject":{"path":["api","cases","filterCompletedCasesAdmin"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"status","value":"won"},{"key":"page","value":"1"},{"key":"limit","value":"5"}],"variable":[]}},"response":[],"_postman_id":"ee4df907-3b83-4eb7-bbd0-7ff7816e72b9"},{"name":"filter pending case lawyer or customer","id":"7b75c78f-e165-428e-b2ae-c4c7d08e5a51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTcsInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjM3MjQ3MDAsImV4cCI6MTcyNDU4ODcwMH0.TS-LDKx2Dz3rGBqyBhuzz_7VVMn7p9iAnjSIh3KOJRA","type":"text"}],"url":"{{prod_lawyer_url}}/api/cases/filterPendingCases?page=1&limit=10","urlObject":{"path":["api","cases","filterPendingCases"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"7b75c78f-e165-428e-b2ae-c4c7d08e5a51"},{"name":"GetCasesCurrentByUserId","id":"93df4a7d-df3f-452d-969a-cd3d01bdd39e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTcsInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjM3MjQ3MDAsImV4cCI6MTcyNDU4ODcwMH0.TS-LDKx2Dz3rGBqyBhuzz_7VVMn7p9iAnjSIh3KOJRA","type":"text"}],"url":"{{prod_lawyer_url}}/api/cases/GetCasesCurrentByUserId?page=1&limit=10&userId=1&status=court","urlObject":{"path":["api","cases","GetCasesCurrentByUserId"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"userId","value":"1"},{"key":"status","value":"court"}],"variable":[]}},"response":[],"_postman_id":"93df4a7d-df3f-452d-969a-cd3d01bdd39e"},{"name":"GetCasesByCompletedUserId","id":"53b9fd70-3303-4364-aa59-7f7c9c1d4449","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTcsInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjM3MjQ3MDAsImV4cCI6MTcyNDU4ODcwMH0.TS-LDKx2Dz3rGBqyBhuzz_7VVMn7p9iAnjSIh3KOJRA","type":"text"}],"url":"{{prod_lawyer_url}}/api/cases/GetCasesByCompletedUserId?page=1&limit=10&userId=1&status=court","urlObject":{"path":["api","cases","GetCasesByCompletedUserId"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"userId","value":"1"},{"key":"status","value":"court"}],"variable":[]}},"response":[],"_postman_id":"53b9fd70-3303-4364-aa59-7f7c9c1d4449"},{"name":"filter pending case admin","id":"414d5b17-58d7-41b2-bf0c-2188d647df6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6ImFkbWluIiwiaWF0IjoxNzIxOTAzNDgzLCJleHAiOjE3MjI3Njc0ODN9.3jvBt9ecbPqSoCcT2j7iih0eaW4AUsHfvVuI9VqijTk","type":"text"}],"url":"{{prod_lawyer_url}}/api/cases/filterPendingCasesAdmin?page=1&limit=10","urlObject":{"path":["api","cases","filterPendingCasesAdmin"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"414d5b17-58d7-41b2-bf0c-2188d647df6a"},{"name":"casesCountByStatus","id":"e80d6b4a-e340-4bfb-856d-26fc96d48d66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjUsInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjIyNDQ0NDcsImV4cCI6MTcyMzEwODQ0N30.Sb9qDQ56_StUOL1Dot4nmv05v3kv1XEVvTBHZiU8uCI","type":"text"}],"url":"{{prod_lawyer_url}}/api/cases/caseCount?status=won","urlObject":{"path":["api","cases","caseCount"],"host":["{{prod_lawyer_url}}"],"query":[{"description":{"content":"<p>'inspection',\n'court',\n'pleadings',\n'completed', \n'won',\n'lost',\n'pending',\n'accepted',</p>\n","type":"text/plain"},"key":"status","value":"won"}],"variable":[]}},"response":[],"_postman_id":"e80d6b4a-e340-4bfb-856d-26fc96d48d66"},{"name":"statistics cases(year,month,day)","id":"74c59afe-688f-46c3-a12e-7a4a9540e1eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Niwicm9sZSI6Imxhd3llciIsImlhdCI6MTcyMzEwNzgwNiwiZXhwIjoxNzIzOTcxODA2fQ.EkWwt5nSjegrGd1MfyRdcx37cDrILaXFQVS9Z4AJHDM","type":"text"}],"url":"{{prod_lawyer_url}}/api/cases/statistics?year=2024&month=July&day=Monday","urlObject":{"path":["api","cases","statistics"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"year","value":"2024"},{"key":"month","value":"July"},{"key":"day","value":"Monday"}],"variable":[]}},"response":[],"_postman_id":"74c59afe-688f-46c3-a12e-7a4a9540e1eb"},{"name":"getLawyerCaseCountsByMonth","id":"9a341b81-c897-42dc-a5f5-513d6aa6d9b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6ImFkbWluIiwiaWF0IjoxNzIyNTA1MjQzLCJleHAiOjE3MjMzNjkyNDN9.PkKCCZxqjW2mc2ybSbcgb9K2h78CG7GlP6t5qPnFb6c","type":"text"}],"url":"{{prod_lawyer_url}}/api/cases/lawyer-case-counts/1?year=2024","urlObject":{"path":["api","cases","lawyer-case-counts","1"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"year","value":"2024"}],"variable":[]}},"response":[],"_postman_id":"9a341b81-c897-42dc-a5f5-513d6aa6d9b8"},{"name":"add custmor files","id":"b6ca8125-933a-40d6-a0a4-113731b5be5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"amount","value":"120","type":"text"},{"key":"redirect_url","value":"http://google.com","type":"text"},{"key":"file","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/admin/Desktop/photo/IMG_6294.JPG"],"src":"/C:/Users/admin/Desktop/photo/IMG_6294.JPG"}]},"url":"{{prod_lawyer_url}}/api/cases/2","urlObject":{"path":["api","cases","2"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6ca8125-933a-40d6-a0a4-113731b5be5b"},{"name":"deleteCaseById","id":"598ccd06-7aa8-4de8-b082-65d0e5c54a54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Bearer","description":"<p>admin or super_admin can delete  case</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"amount","value":"120","type":"text"},{"key":"redirect_url","value":"http://google.com","type":"text"},{"key":"file","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/admin/Desktop/photo/IMG_6294.JPG"],"src":"/C:/Users/admin/Desktop/photo/IMG_6294.JPG"}]},"url":"{{prod_lawyer_url}}/api/cases/2","urlObject":{"path":["api","cases","2"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"598ccd06-7aa8-4de8-b082-65d0e5c54a54"},{"name":"caseCountByIdUser","id":"24dff7f4-42d0-428d-b90b-c8f77add3830","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwicm9sZSI6InN1cGVyX2FkbWluIiwiaWF0IjoxNzI3MjcyOTIxLCJleHAiOjE3MjgxMzY5MjF9.7M7OdE4IlClRLfY7xXVVn3rSNLau1qDyVRCImSoTI7c","description":"<p>admin or super_admin can delete  case</p>\n","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"amount","value":"120","type":"text"},{"key":"redirect_url","value":"http://google.com","type":"text"},{"key":"file","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/admin/Desktop/photo/IMG_6294.JPG"],"src":"/C:/Users/admin/Desktop/photo/IMG_6294.JPG"}]},"url":"{{prod_lawyer_url}}/api/cases/count/1","urlObject":{"path":["api","cases","count","1"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"24dff7f4-42d0-428d-b90b-c8f77add3830"},{"name":"get status list","id":"a779fe89-3e36-4da9-9f7c-2509ab8c641c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{prod_lawyer_url}}/api/cases/1/status-history","urlObject":{"path":["api","cases","1","status-history"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a779fe89-3e36-4da9-9f7c-2509ab8c641c"},{"name":"getCountCasesAdmin","id":"a8c2a361-e3a1-456e-afd6-5afd8df37e24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{prod_lawyer_url}}/api/cases/case-counts-by-month?year=2024","urlObject":{"path":["api","cases","case-counts-by-month"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"year","value":"2024"}],"variable":[]}},"response":[],"_postman_id":"a8c2a361-e3a1-456e-afd6-5afd8df37e24"},{"name":"updateLawyerFiles","id":"09f4bacd-c16b-4b2f-9c39-38d83f904483","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6Imxhd3llciIsImlhdCI6MTcyNDc2NjcwMiwiZXhwIjoxNzI1NjMwNzAyfQ.0YTcAR_nT39IYSFs7nYEk1CgGLM72f90yr9tCBkb42Y","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"lawyer_files","type":"file","src":"oHDemcEQ4/Capture.PNG"}]},"url":"{{prod_lawyer_url}}/api/cases/2/lawyer-files","urlObject":{"path":["api","cases","2","lawyer-files"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"09f4bacd-c16b-4b2f-9c39-38d83f904483"}],"id":"bfd998cf-515d-4c15-af9a-30e40ba40f54","_postman_id":"bfd998cf-515d-4c15-af9a-30e40ba40f54","description":""},{"name":"payment check","item":[{"name":"create charge","id":"ee47ed4b-b9bc-46e4-b9b5-c0f5b2e44003","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://mo7ameekapi.ma7am.com/api/charge","urlObject":{"protocol":"https","path":["api","charge"],"host":["mo7ameekapi","ma7am","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee47ed4b-b9bc-46e4-b9b5-c0f5b2e44003"},{"name":"getcharge","id":"61af8bc3-c0dd-43d0-8746-f43a026863ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://mo7ameekapi.ma7am.com/api/charge/chg_TS03A3820241029Ob9u2909732","urlObject":{"protocol":"https","path":["api","charge","chg_TS03A3820241029Ob9u2909732"],"host":["mo7ameekapi","ma7am","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"61af8bc3-c0dd-43d0-8746-f43a026863ac"},{"name":"create fefund","id":"7a998593-fd63-42fa-94a5-b81667b97310","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{prod_lawyer_url}}/api/refund","urlObject":{"path":["api","refund"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a998593-fd63-42fa-94a5-b81667b97310"}],"id":"d91c588e-8fa9-4b3a-9b9b-73af590ccd13","_postman_id":"d91c588e-8fa9-4b3a-9b9b-73af590ccd13","description":""},{"name":"Notifcation","item":[{"name":"user notfication","id":"ed5daa83-cf6b-4bc0-9954-e6ff41d14a66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTUsInJvbGUiOiJjdXN0b21lciIsImlhdCI6MTcyNTc1ODIyMCwiZXhwIjoxNzI1ODQ0NjIwfQ.wiBUttmFD12-WkMCCBQF6rZM-3Pk1PXFLjX-P0Yp6C4","type":"text"}],"url":"{{prod_lawyer_url}}/api/notification?page=1&limit=5","urlObject":{"path":["api","notification"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"5"}],"variable":[]}},"response":[],"_postman_id":"ed5daa83-cf6b-4bc0-9954-e6ff41d14a66"},{"name":"user call logs","id":"b62bc155-132b-49f7-a33a-89e57b395de8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjAsInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjU3OTI1NDUsImV4cCI6MTcyNTg3ODk0NX0.uTI7DZnR4e0eIEMCWuEF3CRtQFfKAtA_59mxocoCx_Y","type":"text"}],"url":"{{prod_lawyer_url}}/api/callLogs","urlObject":{"path":["api","callLogs"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b62bc155-132b-49f7-a33a-89e57b395de8"},{"name":"mark read notfication","id":"3102fb61-d786-4d55-ae11-0c7cf151aa4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTUsInJvbGUiOiJjdXN0b21lciIsImlhdCI6MTcyNTg4NDI3MSwiZXhwIjoxNzI1OTcwNjcxfQ.kFYKiKYoAxxMecJ3vV0azVzgaDhqRLzTupF3-pAPh5Y","type":"text"}],"url":"{{prod_lawyer_url}}/api/notification/5","urlObject":{"path":["api","notification","5"],"host":["{{prod_lawyer_url}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"3102fb61-d786-4d55-ae11-0c7cf151aa4c"}],"id":"302d8346-ea2c-4225-b99d-a10a6a1e8dbd","_postman_id":"302d8346-ea2c-4225-b99d-a10a6a1e8dbd","description":""},{"name":"transactions","item":[{"name":"get user transactions","id":"cdac642b-32d6-48e3-8976-64f2ff327f95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjMsInJvbGUiOiJjdXN0b21lciIsImlhdCI6MTcyNTg4MTc4MSwiZXhwIjoxNzI1OTY4MTgxfQ.on6IHLlxZIQmrHM8v5dh7cFiW1PoU58luKuL2RVf2EQ","type":"text"}],"url":"{{prod_lawyer_url}}/api/transaction","urlObject":{"path":["api","transaction"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdac642b-32d6-48e3-8976-64f2ff327f95"},{"name":"get income","id":"a4ebaf45-35bf-48be-87cc-4095fed33519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjQsInJvbGUiOiJsYXd5ZXIiLCJpYXQiOjE3MjU5NzA5MDgsImV4cCI6MTcyNjA1NzMwOH0.X5qtaJ6JGPQ60nP6P_kSWkB5P8K78Mmq8hsoFW2gabA","type":"text"}],"url":"{{prod_lawyer_url}}/api/income?year=2024","urlObject":{"path":["api","income"],"host":["{{prod_lawyer_url}}"],"query":[{"key":"year","value":"2024"}],"variable":[]}},"response":[],"_postman_id":"a4ebaf45-35bf-48be-87cc-4095fed33519"},{"name":"get transaction details","id":"a42828d3-2ab9-401f-a927-6b744e01d50a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjMsInJvbGUiOiJjdXN0b21lciIsImlhdCI6MTcyNTg4MTc4MSwiZXhwIjoxNzI1OTY4MTgxfQ.on6IHLlxZIQmrHM8v5dh7cFiW1PoU58luKuL2RVf2EQ","type":"text"}],"url":"{{prod_lawyer_url}}/api/transaction/2","urlObject":{"path":["api","transaction","2"],"host":["{{prod_lawyer_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a42828d3-2ab9-401f-a927-6b744e01d50a"}],"id":"8f5a1595-3549-4cf6-a8f4-3583dd839548","_postman_id":"8f5a1595-3549-4cf6-a8f4-3583dd839548","description":""}],"event":[{"listen":"prerequest","script":{"id":"bf1f9a61-732c-4f6e-b43c-497024d26186","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"6697fc96-cb4d-4c33-afbc-11d69584a926","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"url","value":"https://mo7ameekapi.ma7am.com","type":"string"},{"key":"customer_token","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Niwicm9sZSI6ImN1c3RvbWVyIiwiaWF0IjoxNzI0NTMwMjI2LCJleHAiOjE3MjUzOTQyMjZ9.gvSE_koXeHDKQNnal5t7X54zDZ8VEgtT341pFXf0G8Q","type":"string"},{"key":"lawyer_token","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6Imxhd3llciIsImlhdCI6MTcyNDUzMTYzMywiZXhwIjoxNzI1Mzk1NjMzfQ.M_O387QxBecanTGpWipiyxhS9urcPL8RiFP593-q-co","type":"string"}]}