{"info":{"_postman_id":"ebd2b361-1850-4a74-b482-9576f7ddf3c3","name":"Heaser","description":"<html><head></head><body><p>API for HeaseR Application</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"12879233","collectionId":"ebd2b361-1850-4a74-b482-9576f7ddf3c3","publishedId":"TVeiEBce","public":true,"customColor":{"top-bar":"52BE80","right-sidebar":"303030","highlight":"52BE80"},"publishDate":"2020-11-08T19:41:48.000Z"},"item":[{"name":"WakaTime","item":[{"name":"Get Employee Id","id":"76af7da2-0e51-4542-93b7-477899827ffc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/wakatime/get-employee-wakatime-id/5fb7cd32b5d16ced53569cbe","description":"<p>API to get employee id</p>\n","urlObject":{"path":["wakatime","get-employee-wakatime-id","5fb7cd32b5d16ced53569cbe"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"76af7da2-0e51-4542-93b7-477899827ffc"},{"name":"Get user info","id":"2eb815e5-3fad-4b5e-8c88-78a489e32393","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://wakatime.com/api/v1/users/khushal87/projects","urlObject":{"protocol":"https","path":["api","v1","users","khushal87","projects"],"host":["wakatime","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2eb815e5-3fad-4b5e-8c88-78a489e32393"},{"name":"Authorization","id":"2b11fd23-ef0e-45d1-9b78-8e18545e2e0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://wakatime.com/oauth/authorize?client_id=TRCp0dKnVHWPc91II89xckEd&client_secret=sec_ulgjonFt5oGcIDeDJDZvABNfoqCEoiEuoGFjFgObeT28BZCmI8EFW3K5gfvRvgBkDtFcUpDSczsUPxQZ&redirect_uri=http://localhost:3000/task&scope=read_stats,email,read_logged_time,write_logged_time,read_orgs,read_private_leaderboards,write_private_leaderboards&response_type=code&name=HeaseR","urlObject":{"protocol":"https","path":["oauth","authorize"],"host":["wakatime","com"],"query":[{"key":"client_id","value":"TRCp0dKnVHWPc91II89xckEd"},{"key":"client_secret","value":"sec_ulgjonFt5oGcIDeDJDZvABNfoqCEoiEuoGFjFgObeT28BZCmI8EFW3K5gfvRvgBkDtFcUpDSczsUPxQZ"},{"key":"redirect_uri","value":"http://localhost:3000/task"},{"key":"scope","value":"read_stats,email,read_logged_time,write_logged_time,read_orgs,read_private_leaderboards,write_private_leaderboards"},{"key":"response_type","value":"code"},{"key":"name","value":"HeaseR"}],"variable":[]}},"response":[],"_postman_id":"2b11fd23-ef0e-45d1-9b78-8e18545e2e0f"},{"name":"Get secret access token","id":"647e793a-360f-4c8c-8097-4c732ce2bed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"client_id","value":"TRCp0dKnVHWPc91II89xckEd","type":"text"},{"key":"client_secret","value":"sec_ulgjonFt5oGcIDeDJDZvABNfoqCEoiEuoGFjFgObeT28BZCmI8EFW3K5gfvRvgBkDtFcUpDSczsUPxQZ","type":"text"},{"key":"redirect_uri","value":"https://ffreak.herokuapp.com/","type":"text"},{"key":"grant_type","value":"authorization_code","type":"text"},{"key":"code","value":"sec_U5akYawD15UXfGGLl6g3m9UnB9kcaz10zVWseGZ4GGXmFIOkpbS80LGsKvoXg4uG1nSVJuLHYW3K7zbn","type":"text"}]},"url":"https://wakatime.com/oauth/token","urlObject":{"protocol":"https","path":["oauth","token"],"host":["wakatime","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"647e793a-360f-4c8c-8097-4c732ce2bed3"},{"name":"Get Secret Access Code Again","id":"bc0683c2-0e91-4647-b954-1e01900fba25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"client_id","value":"TRCp0dKnVHWPc91II89xckEd","type":"text"},{"key":"client_secret","value":"sec_ulgjonFt5oGcIDeDJDZvABNfoqCEoiEuoGFjFgObeT28BZCmI8EFW3K5gfvRvgBkDtFcUpDSczsUPxQZ","type":"text"},{"key":"redirect_uri","value":"https://ffreak.herokuapp.com/","type":"text"},{"key":"grant_type","value":"refresh_token","type":"text"},{"key":"refresh_token","value":"ref_C6BlxormPcF02zQ46GuFHRwZ4pLj4xO7CWgJg5T6Cd8weluVWaWEREk1Ij0fv6VqEQx7RepS0HaVG98P","type":"text"}]},"url":"https://wakatime.com/oauth/token","urlObject":{"protocol":"https","path":["oauth","token"],"host":["wakatime","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc0683c2-0e91-4647-b954-1e01900fba25"},{"name":"Create Wakatime Id","id":"e0cc5d38-ae68-4e92-9f2d-7226579e3127","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"employee\":\"5fb7cd32b5d16ced53569cbe\",\n    \"wakatimeId\":\"38494d83jd92\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/wakatime/create-wakatime-id","description":"<p>API to create wakatime id</p>\n","urlObject":{"path":["wakatime","create-wakatime-id"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0cc5d38-ae68-4e92-9f2d-7226579e3127"},{"name":"Main Wakatime functionality","id":"3f549f49-cc3b-47d2-9d7c-30303f30e27b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"code\":\"sec_G07UoAQOixfQ7pqDGGR8Nb1NDFa6nmnzHMn7LDJksNEA9CKWyuvUO8geVcg8ugXRKBXVyN7Nh0eR8xGc\",\n    \"type\":\"first\"\n}","options":{"raw":{"language":"json"}}},"url":"https://heaser-backend.herokuapp.com/wakatime/main-wakatime","urlObject":{"path":["wakatime","main-wakatime"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f549f49-cc3b-47d2-9d7c-30303f30e27b"}],"id":"550a78d6-7870-4176-b5f2-43aa5a4a5928","_postman_id":"550a78d6-7870-4176-b5f2-43aa5a4a5928","description":""},{"name":"Organization","item":[{"name":"Delete Organization","id":"9c40d6e1-5588-4c75-b595-b2584b14b821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://heaser-backend.herokuapp.com/org/delete-organization/5faa343ba6321b0017f7816d","description":"<p>API to delete organization by ID</p>\n","urlObject":{"path":["org","delete-organization","5faa343ba6321b0017f7816d"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c40d6e1-5588-4c75-b595-b2584b14b821"},{"name":"Get specific Organization","id":"35e68ee6-227a-4d7c-89f4-7ab2324c51f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/org/get-specific-organization/609f679b31a3861fb81bf4dd","description":"<p>API to get specific organization details by ID</p>\n","urlObject":{"path":["org","get-specific-organization","609f679b31a3861fb81bf4dd"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"35e68ee6-227a-4d7c-89f4-7ab2324c51f1"},{"name":"Get Organizations","id":"449600e8-be6e-4d43-b57e-ae5efe6843b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/org/get-all-organizations","description":"<p>API to get organizations</p>\n","urlObject":{"path":["org","get-all-organizations"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"449600e8-be6e-4d43-b57e-ae5efe6843b3"},{"name":"Organization Login","id":"b0b3c05d-6bb5-4892-8e8d-187a429b0133","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"mayanktomar1607@gmail.com\",\n    \"password\":\"$2b$05$Sa//g7WxALtLpDkmCqbkteAAphe0zB1/27hiMZfg4tYTpcXO6XT4.\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/org/login-organization","description":"<p>API for api organization login.</p>\n","urlObject":{"path":["org","login-organization"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0b3c05d-6bb5-4892-8e8d-187a429b0133"},{"name":"Change Organization Password","id":"500cc2a1-4fbe-48af-85f0-e740426d52ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"currentPassword\":\"$2b$05$9uOWqbPf8V4mfxyAHB1Gee7P7kfHF6NX2w4ThTr7YlIIETiMLb9Qm\",\n    \"newPassword\":\"khushal@123\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/org/change-password/5fa8e2b5780b8c51391bd1a3","description":"<p>API to change organization password</p>\n","urlObject":{"path":["org","change-password","5fa8e2b5780b8c51391bd1a3"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"500cc2a1-4fbe-48af-85f0-e740426d52ce"},{"name":"Create Organization","id":"7ebc8010-e472-488b-b1e8-40a84d4e6f05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Test\",\n    \"roles\":[\"HR\",\"Software Engineer\"],\n    \"address\":\"Temp address\",\n    \"country\":\"India\",\n    \"pincode\":\"272829\",\n    \"phone\":\"2627819191\",\n    \"email\":\"khushal.agarwal987@gmail.com\",\n    \"website\":\"ka.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/org/create-organization","description":"<p>API to create a new organization</p>\n","urlObject":{"path":["org","create-organization"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ebc8010-e472-488b-b1e8-40a84d4e6f05"}],"id":"113bd7f2-3ade-48c0-aed1-751a021358c1","_postman_id":"113bd7f2-3ade-48c0-aed1-751a021358c1","description":""},{"name":"Employee","item":[{"name":"Get Organization Employees","id":"d326fef6-4e1b-448f-83d7-de53d887a395","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://heaser-backend.herokuapp.com/employee/get-employees-by-org-id/5fb7a0552b07120017ab45eb","description":"<p>API to get organization employees</p>\n","urlObject":{"path":["employee","get-employees-by-org-id","5fb7a0552b07120017ab45eb"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d326fef6-4e1b-448f-83d7-de53d887a395"},{"name":"Delete Employee","id":"73bc4b4f-4714-4964-9b92-713eaf44cc10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/employee/delete-employee/5fac0af5bdc5ae4014b913e0","description":"<p>API to delete employee</p>\n","urlObject":{"path":["employee","delete-employee","5fac0af5bdc5ae4014b913e0"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"73bc4b4f-4714-4964-9b92-713eaf44cc10"},{"name":"Get Specific Employee","id":"f0e4b0cd-921d-4605-a60b-0803d2b7acea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://heaser-backend.herokuapp.com/employee/get-specific-employee/5fb7cd32b5d16ced53569cbe","description":"<p>API to get specific employee by ID</p>\n","urlObject":{"path":["employee","get-specific-employee","5fb7cd32b5d16ced53569cbe"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0e4b0cd-921d-4605-a60b-0803d2b7acea"},{"name":"Create Employee","id":"1f522d2d-78e4-4c85-ae87-74f7bfc4e51b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Test Bot\",\n    \"email\":\"test@example.com\",\n    \"gender\":\"M\",\n    \"dob\":\"2000-06-20\",\n    \"organization\":\"5fc473ad546cf100179218ba\",\n    \"tags\":[\"Business\"],\n    \"new\":true\n}","options":{"raw":{"language":"json"}}},"url":"https://heaser-backend.herokuapp.com/employee/create-employee","description":"<p>API to create new employee</p>\n","urlObject":{"path":["employee","create-employee"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f522d2d-78e4-4c85-ae87-74f7bfc4e51b"},{"name":"Employee Login","id":"94aa9de8-67f5-429c-bbc6-02732563031b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\":\"Khushal Agarwal@Test\",\n    \"password\":\"$2b$05$JQTBZZhRQ1QMPWaRz.0IguPZw7efJnuJDJweY1vFBRW9twZZESi0S\"\n}","options":{"raw":{"language":"json"}}},"url":"https://heaser-backend.herokuapp.com/employee/login","description":"<p>API for Employee login</p>\n","urlObject":{"path":["employee","login"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"94aa9de8-67f5-429c-bbc6-02732563031b"},{"name":"Change Employee Password","id":"115e9f5e-6e01-4ca1-83fc-8b17975e0ab5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"currentPassword\":\"test@123\",\n    \"newPassword\":\"test@1234\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/employee/change-password/5faae504221c8d1b57ba653d","description":"<p>API to change employee password</p>\n","urlObject":{"path":["employee","change-password","5faae504221c8d1b57ba653d"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"115e9f5e-6e01-4ca1-83fc-8b17975e0ab5"}],"id":"e0345bb5-47ee-4181-82fb-38266e69bbba","_postman_id":"e0345bb5-47ee-4181-82fb-38266e69bbba","description":""},{"name":"Task Management","item":[{"name":"Get Employee Tasks","id":"cf033b3f-af1a-42eb-ad41-fcb022b8e732","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://heaser-backend.herokuapp.com/task/get-employee-tasks/5fc489a8546cf100179218bb","description":"<p>API to get employee tasks</p>\n","urlObject":{"path":["task","get-employee-tasks","5fc489a8546cf100179218bb"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf033b3f-af1a-42eb-ad41-fcb022b8e732"},{"name":"Create Task","id":"1f018ed1-b895-4791-bb6a-466bb554255b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"from\":\"5fc48b08546cf100179218c5\",\n    \"to\":\"5fc489a8546cf100179218bb\",\n    \"heading\":\"New Task for code\",\n    \"description\":\"Test the code\",\n    \"startDate\":\"2020-11-22T16:03:07Z\",\n    \"endDate\":\"2020-12-01T20:03:07Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://heaser-backend.herokuapp.com/task/create-task","description":"<p>API to create new task</p>\n","urlObject":{"path":["task","create-task"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f018ed1-b895-4791-bb6a-466bb554255b"},{"name":"Mark Task as completed","id":"19d334d7-fca7-4d23-9b52-b6c53793dd4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"comments\":\"Very good task\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/task/mark-task-as-completed/5fba4fe6dba36570e32414e8","description":"<p>API to mark task as completed.</p>\n","urlObject":{"path":["task","mark-task-as-completed","5fba4fe6dba36570e32414e8"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"19d334d7-fca7-4d23-9b52-b6c53793dd4c"},{"name":"Update Task","id":"723cdb9e-6852-4938-9c8c-48eafd7815ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"heading\":\"Great task\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/task/update-task/5fac0d1fd967fc4582d00ee5","description":"<p>API to update task</p>\n","urlObject":{"path":["task","update-task","5fac0d1fd967fc4582d00ee5"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"723cdb9e-6852-4938-9c8c-48eafd7815ac"},{"name":"Get Tasks allocated from employees","id":"7e7ee3af-2c63-4401-a227-4b8a0140119a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://heaser-backend.herokuapp.com/task/get-tasks-by-employees/5fb7cd32b5d16ced53569cbe","description":"<p>API to get tasks which are allocated by employees</p>\n","urlObject":{"path":["task","get-tasks-by-employees","5fb7cd32b5d16ced53569cbe"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e7ee3af-2c63-4401-a227-4b8a0140119a"}],"id":"320f715b-4fe1-4ed0-b7e8-c15b0d8a5b9f","_postman_id":"320f715b-4fe1-4ed0-b7e8-c15b0d8a5b9f","description":""},{"name":"Time","item":[{"name":"Create Time","id":"56cf5697-e0e5-49d1-ab7e-574d49fa1d3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"day\":\"2020-11-26\",\n    \"total_time\":40\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/time/create-time-for-employee/5fb7cd32b5d16ced53569cbe","description":"<p>API to create new time</p>\n","urlObject":{"path":["time","create-time-for-employee","5fb7cd32b5d16ced53569cbe"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"56cf5697-e0e5-49d1-ab7e-574d49fa1d3a"},{"name":"Get Employee Time","id":"2a8bb245-b923-48d0-ba93-5dcfee92471b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"day\":\"2020-11-14\"\n}","options":{"raw":{"language":"json"}}},"url":"https://heaser-backend.herokuapp.com/time/get-employee-time/5faae504221c8d1b57ba653d","description":"<p>API to get employee time for a day</p>\n","urlObject":{"path":["time","get-employee-time","5faae504221c8d1b57ba653d"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a8bb245-b923-48d0-ba93-5dcfee92471b"},{"name":"Update time for Employee","id":"cc732251-a02c-42a1-ad6c-e4f8c78285e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"total_time\":40\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/time/update-time-for-employee/5fad05b58aefda7f8c202e5b","description":"<p>API to update employee time</p>\n","urlObject":{"path":["time","update-time-for-employee","5fad05b58aefda7f8c202e5b"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc732251-a02c-42a1-ad6c-e4f8c78285e5"},{"name":"Get Time of Employee","id":"9130dc2e-3466-4ebc-9b7e-a92e5a96547e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/time/get-time-for-employees/5fb7cd32b5d16ced53569cbe","urlObject":{"path":["time","get-time-for-employees","5fb7cd32b5d16ced53569cbe"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"9130dc2e-3466-4ebc-9b7e-a92e5a96547e"},{"name":"Get Time in Interval","id":"7ed17970-a6ec-409b-a0cc-c7e5129b9bb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"startDate\":\"2020-11-22\",\n    \"endDate\":\"2020-11-26\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/time/get-time-in-interval/5fb7cd32b5d16ced53569cbe","description":"<p>API to get time in day interval</p>\n","urlObject":{"path":["time","get-time-in-interval","5fb7cd32b5d16ced53569cbe"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ed17970-a6ec-409b-a0cc-c7e5129b9bb2"}],"id":"3a63c42c-637b-4c92-b125-3e5ccc6a72e4","_postman_id":"3a63c42c-637b-4c92-b125-3e5ccc6a72e4","description":""},{"name":"Leave","item":[{"name":"Get All Leaves","id":"c8b39c3a-05e1-49bc-ad11-9e9ddf2f6918","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/leave/get-all-leaves","description":"<p>API to get all the leaves</p>\n","urlObject":{"path":["leave","get-all-leaves"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8b39c3a-05e1-49bc-ad11-9e9ddf2f6918"},{"name":"Get Employee Leaves","id":"46927016-2ed6-4648-a2f3-9a154eb3e5b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/leave/get-employee-leaves/5fb7cd32b5d16ced53569cbe","description":"<p>API to get employee leaves</p>\n","urlObject":{"path":["leave","get-employee-leaves","5fb7cd32b5d16ced53569cbe"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"46927016-2ed6-4648-a2f3-9a154eb3e5b8"},{"name":"Create Leave","id":"476f066e-0183-4579-96f2-c1db6e0756c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"employee\":\"5fb7cd32b5d16ced53569cbe\",\n    \"startDate\":\"2020-11-24\",\n    \"endDate\":\"2020-11-28\",\n    \"reason\":\"Festival haii!!\",\n    \"is_female\":false,\n    \"female_leave_reason\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/leave/create-leave","description":"<p>API to create a new leave</p>\n","urlObject":{"path":["leave","create-leave"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"476f066e-0183-4579-96f2-c1db6e0756c5"},{"name":"Accept Leave","id":"195861ca-2583-4552-8406-1d99401c5768","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"orgId\":\"5fb7a0552b07120017ab45eb\",\n    \"leaveId\":\"5fba4b712d732d6c4ce58626\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/leave/accept-leave","description":"<p>API to mark leave as accepted</p>\n","urlObject":{"path":["leave","accept-leave"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"195861ca-2583-4552-8406-1d99401c5768"},{"name":"Get Organization Leaves","id":"f263e21b-97f5-4d25-aaa1-83a7e9ce0a40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/leave/get-organization-leaves/5fb7a0552b07120017ab45eb","description":"<p>API to get organization requested leaves</p>\n","urlObject":{"path":["leave","get-organization-leaves","5fb7a0552b07120017ab45eb"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"f263e21b-97f5-4d25-aaa1-83a7e9ce0a40"}],"id":"dff55a16-ce88-4be3-8d48-8b8bd9443e0c","_postman_id":"dff55a16-ce88-4be3-8d48-8b8bd9443e0c","description":""},{"name":"Announcement","item":[{"name":"Get Organization's Announncements","id":"6ab5cd0a-7fed-4cf6-becb-2803e7751a37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/announcement/get-announcements-by-org/5fc3bf3380b07a00176d93ae","description":"<p>API to get Organization's announcements by orgId</p>\n","urlObject":{"path":["announcement","get-announcements-by-org","5fc3bf3380b07a00176d93ae"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ab5cd0a-7fed-4cf6-becb-2803e7751a37"},{"name":"Create Announcement","id":"0a02bfd1-d3f0-46ad-83db-0d794b9235ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"heading\":\"Test announcement\",\n    \"description\":\"Happy diwali\",\n    \"organization\":\"5faf8c6860c04b0017a86356\"\n}","options":{"raw":{"language":"json"}}},"url":"https://heaser-backend.herokuapp.com/announcement/create-announcement","description":"<p>APU to create announcement</p>\n","urlObject":{"path":["announcement","create-announcement"],"host":["https://heaser-backend.herokuapp.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a02bfd1-d3f0-46ad-83db-0d794b9235ae"},{"name":"Get Specific Announcement","id":"7dca2520-beb1-4388-8224-156fc01adc38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/announcement/get-specific-announcement/5faf852e911033323f05e4c1","description":"<p>API to get specific announcement by id</p>\n","urlObject":{"path":["announcement","get-specific-announcement","5faf852e911033323f05e4c1"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"7dca2520-beb1-4388-8224-156fc01adc38"},{"name":"Delete Announcement","id":"4dd439ef-ef7e-4bb2-80f4-2b9233efbd82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:8080/announcement/delete-announcement/5faf852e911033323f05e4c1","description":"<p>API to delete announcement by id</p>\n","urlObject":{"path":["announcement","delete-announcement","5faf852e911033323f05e4c1"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"4dd439ef-ef7e-4bb2-80f4-2b9233efbd82"}],"id":"411599db-f9c6-4070-870d-003b52a9cff8","_postman_id":"411599db-f9c6-4070-870d-003b52a9cff8","description":""},{"name":"Courses","item":[{"name":"Get courses","id":"85f9936d-6705-4b85-9059-614667e9f8bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Basic djV2RmVUYTBiU2I5UmhYVmdFajRnczhqTXJqTFkzWkxzOEpmZVc4TzpuaTZKMVRpZ2c4MzBwSVg0VWFranRlNmJyRUhDRVVXdVZ2V1JIaHR0SXZUVjZrdHRUa3EwckZqaGxQMm41a0xub25KdjB6a0tqVG9zTDg2T0JBSUhubHpJQUdlN2RMWkNKVDA1em9lWUZwMHZ1YjF1bXBCSTRXZmFJSVJPRDNzeQ==","type":"text"}],"url":"https://www.udemy.com/api-2.0/courses/?page=1&page_size=50&category=Business","description":"<p>API to get courses</p>\n","urlObject":{"protocol":"https","path":["api-2.0","courses",""],"host":["www","udemy","com"],"query":[{"key":"page","value":"1"},{"key":"page_size","value":"50"},{"key":"category","value":"Business"}],"variable":[]}},"response":[],"_postman_id":"85f9936d-6705-4b85-9059-614667e9f8bf"},{"name":"Get All Courses","id":"0fec877e-91e8-4157-aee3-4577a8b87097","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"page\":1,\n    \"page_size\":50,\n    \"category\":\"Business\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/courses/get-courses","urlObject":{"path":["courses","get-courses"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fec877e-91e8-4157-aee3-4577a8b87097"}],"id":"1352d627-0350-4d50-9a08-c830afce07bf","event":[{"listen":"prerequest","script":{"id":"40b4df89-66c7-4afe-9b2e-53d67a87ab84","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2592acd4-0c8a-417c-ae99-a6da9928d558","type":"text/javascript","exec":[""]}}],"_postman_id":"1352d627-0350-4d50-9a08-c830afce07bf","description":""},{"name":"Chat","item":[{"name":"Get Chat History","id":"49f285dc-a83d-4786-a597-27e030f82d76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/chat/get-chat-history","description":"<p>API to get chat history by roomID</p>\n","urlObject":{"path":["chat","get-chat-history"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"49f285dc-a83d-4786-a597-27e030f82d76"}],"id":"843f3448-4924-4105-ae01-4d1d8443cc6e","_postman_id":"843f3448-4924-4105-ae01-4d1d8443cc6e","description":""},{"name":"Notification","item":[{"name":"Get Employee Notifications","id":"094baca6-cb7f-48df-bee2-8348db09117e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/notification/get-employee-notification/5fb7cd32b5d16ced53569cbe","description":"<p>API to get notifications</p>\n","urlObject":{"path":["notification","get-employee-notification","5fb7cd32b5d16ced53569cbe"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"094baca6-cb7f-48df-bee2-8348db09117e"},{"name":"Get Organization Notification","id":"ebfd8a31-cce6-43cf-969c-f274905b82bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/notification/get-organization-notification/5fb7a0552b07120017ab45eb","urlObject":{"path":["notification","get-organization-notification","5fb7a0552b07120017ab45eb"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"ebfd8a31-cce6-43cf-969c-f274905b82bc"},{"name":"Mark Notification seen","id":"740ea755-62e8-4588-a435-018b8da7e21b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"http://localhost:8080/notification/mark-notification-seen/5fbf8955bf0d395ce8a875df","description":"<p>API to mark a notification seen</p>\n","urlObject":{"path":["notification","mark-notification-seen","5fbf8955bf0d395ce8a875df"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"740ea755-62e8-4588-a435-018b8da7e21b"}],"id":"28584f36-39f9-4fa9-87a9-849c3e49f294","_postman_id":"28584f36-39f9-4fa9-87a9-849c3e49f294","description":""},{"name":"Welcome","item":[{"name":"Get Organization Welcome Kits","id":"06d339ab-34b7-49a2-9bd3-df57407b8ad9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/welcome/get-organization-welcome/5fb7a0552b07120017ab45eb","description":"<p>API to get organization welcome kit</p>\n","urlObject":{"path":["welcome","get-organization-welcome","5fb7a0552b07120017ab45eb"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"06d339ab-34b7-49a2-9bd3-df57407b8ad9"},{"name":"Get Specific Welcome Kit ","id":"8c2ffdaf-d45a-4c4a-88a3-8182ed102fb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/welcome/get-spedific-welcome-kit/5fbf8954bf0d395ce8a875de","description":"<p>API to get specific welcome kit</p>\n","urlObject":{"path":["welcome","get-spedific-welcome-kit","5fbf8954bf0d395ce8a875de"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c2ffdaf-d45a-4c4a-88a3-8182ed102fb7"},{"name":"Create Welcome KIt","id":"0f544960-008a-49b9-89fe-b7f51c960148","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"employee\":\"5fb7cd32b5d16ced53569cbe\",\n    \"organization\":\"5fb7a0552b07120017ab45eb\",\n    \"status\":\"In transit\",\n    \"type\":\"Laptop\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/welcome/create-welcome-kit","description":"<p>API to create welcome kit</p>\n","urlObject":{"path":["welcome","create-welcome-kit"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f544960-008a-49b9-89fe-b7f51c960148"},{"name":"Update Welome kit","id":"6fd72c74-0804-46f7-94b7-e030e2f0e385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"is_delivered\":true,\n    \"status\":\"Delivered\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/welcome/update-welcome-kit/5fbf8954bf0d395ce8a875de","description":"<p>API to update welcome kit</p>\n","urlObject":{"path":["welcome","update-welcome-kit","5fbf8954bf0d395ce8a875de"],"host":["http://localhost:8080"],"query":[],"variable":[]}},"response":[],"_postman_id":"6fd72c74-0804-46f7-94b7-e030e2f0e385"}],"id":"2d233751-60d5-43db-9e14-c0ae3fbfc2b9","_postman_id":"2d233751-60d5-43db-9e14-c0ae3fbfc2b9","description":""}],"event":[{"listen":"prerequest","script":{"id":"62b11ce6-215f-4c16-8690-6af649190a30","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d622f970-db20-486f-a099-d6a1baac998d","type":"text/javascript","exec":[""]}}],"variable":[{"key":"test_url","value":"http://localhost:8080"},{"key":"prod_url","value":"https://heaser-backend.herokuapp.com"}]}