{"info":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","description":"<html><head></head><body><p>Merged Postman Collection v2.1 for Faculty Leave Management API. Includes Health, Auth, Users, Faculty Timetable, Analytics, Leaves, Notifications, Timetable, and Syllabus endpoints.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"46068711","collectionId":"c51856f0-7c2c-44b3-8261-38b350c91264","publishedId":"2sBXiokVM7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-02T04:53:15.000Z"},"item":[{"name":"Health","item":[{"name":"GET /","id":"f985f5a7-8c73-4ec5-a7d4-db2deed23dd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/","description":"<p>Health check endpoint.</p>\n","urlObject":{"path":[""],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f985f5a7-8c73-4ec5-a7d4-db2deed23dd1"}],"id":"0ccb3698-f0d5-4ddc-95b3-6572149469aa","_postman_id":"0ccb3698-f0d5-4ddc-95b3-6572149469aa","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}}},{"name":"Authentication","item":[{"name":"POST /api/auth/login","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status is 200', function () {","  pm.response.to.have.status(200);","});","let json = {};","try { json = pm.response.json(); } catch (e) {}","if (json && json.token) {","  pm.collectionVariables.set('token', json.token);","}"],"id":"649dce54-e018-4b20-a2fd-fb3aac28be11"}}],"id":"53d11a9c-c0e9-42f6-9e0e-7a1f28de928b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"anita.nair@college.edu\",\n  \"password\": \"Faculty@123\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/auth/login","urlObject":{"path":["api","auth","login"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"53d11a9c-c0e9-42f6-9e0e-7a1f28de928b"},{"name":"GET /api/auth/me","id":"4763ca8b-cd23-42b7-b60d-b2bb3af0e33b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/auth/me","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","auth","me"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"4763ca8b-cd23-42b7-b60d-b2bb3af0e33b"}],"id":"57a6384c-cfd7-4cd9-9c3a-f271a0c6cadf","_postman_id":"57a6384c-cfd7-4cd9-9c3a-f271a0c6cadf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}}},{"name":"Users","item":[{"name":"POST /api/users/avatar","id":"40968d32-e4b9-4495-8e66-5813de55069c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"avatar","type":"file","value":""}]},"url":"http://localhost:5000/api/users/avatar","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","users","avatar"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"40968d32-e4b9-4495-8e66-5813de55069c"},{"name":"DELETE /api/users/avatar","id":"55f5eaf3-ef97-49c2-8be3-356ec8a5a601","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/api/users/avatar","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","users","avatar"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"55f5eaf3-ef97-49c2-8be3-356ec8a5a601"}],"id":"e7d3353a-69e2-4cec-9cc5-c8e23df88c14","_postman_id":"e7d3353a-69e2-4cec-9cc5-c8e23df88c14","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}}},{"name":"Faculty Timetable","item":[{"name":"GET /api/faculty-timetable/me","id":"545dad25-1032-4a71-a86b-d779494b266a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/faculty-timetable/me","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","faculty-timetable","me"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"545dad25-1032-4a71-a86b-d779494b266a"},{"name":"PUT /api/faculty-timetable/me","id":"71801508-91b4-48b4-9040-bc5d3b2873bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"busySlots\": [\n    \"Monday-09:00-10:00\",\n    \"Wednesday-11:00-12:00\",\n    \"Friday-14:00-15:00\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/faculty-timetable/me","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","faculty-timetable","me"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"71801508-91b4-48b4-9040-bc5d3b2873bf"}],"id":"02be5ecb-c148-46ca-8e0e-c05dfc6191a4","_postman_id":"02be5ecb-c148-46ca-8e0e-c05dfc6191a4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}}},{"name":"Analytics","item":[{"name":"GET /api/analytics/predictions","id":"674f9430-80fa-4db2-8755-57f70c633f6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/analytics/predictions?department=CSE","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","analytics","predictions"],"host":["http://localhost:5000"],"query":[{"key":"department","value":"CSE"}],"variable":[]}},"response":[],"_postman_id":"674f9430-80fa-4db2-8755-57f70c633f6c"},{"name":"POST /api/analytics/regenerate-predictions","id":"f4c0157e-3aec-4be0-bba1-37bb117eaa37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:5000/api/analytics/regenerate-predictions","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","analytics","regenerate-predictions"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f4c0157e-3aec-4be0-bba1-37bb117eaa37"},{"name":"GET /api/analytics/cache-stats","id":"14582825-71c0-403b-900f-5d73245b2833","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/analytics/cache-stats","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","analytics","cache-stats"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"14582825-71c0-403b-900f-5d73245b2833"},{"name":"DELETE /api/analytics/clear-cache","id":"f76e980f-dfa4-4f3e-aa7d-103e697b3d65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/api/analytics/clear-cache","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","analytics","clear-cache"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f76e980f-dfa4-4f3e-aa7d-103e697b3d65"}],"id":"7f974a5f-13c0-4d9c-8f0f-1ddb13a8c5ba","_postman_id":"7f974a5f-13c0-4d9c-8f0f-1ddb13a8c5ba","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}}},{"name":"Leaves","item":[{"name":"POST /api/leaves (multipart)","id":"f3abee0c-7b05-4a92-8e26-9ecd40b23b10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"leaveType","value":"medical","type":"text"},{"key":"fromDate","value":"2026-04-10","type":"text"},{"key":"toDate","value":"2026-04-12","type":"text"},{"key":"reason","value":"Viral fever and advised rest","type":"text"},{"key":"attachment","type":"file","value":""}]},"url":"http://localhost:5000/api/leaves","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","leaves"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3abee0c-7b05-4a92-8e26-9ecd40b23b10"},{"name":"GET /api/leaves","id":"965b0aca-8d84-451b-b97a-8f9c4dec8f9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/leaves?status=pending&page=1&limit=10","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","leaves"],"host":["http://localhost:5000"],"query":[{"key":"status","value":"pending"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"965b0aca-8d84-451b-b97a-8f9c4dec8f9b"},{"name":"GET /api/leaves/:id","id":"91c62557-27f2-4f96-a73f-cb9a6305e90f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/leaves/661abc1234def56789012345","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","leaves","661abc1234def56789012345"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"91c62557-27f2-4f96-a73f-cb9a6305e90f"},{"name":"PUT /api/leaves/:id/approve","id":"5bdb7f3c-5930-4b28-89ae-1cdf812a37b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"comment\": \"Approved. Arrange handover notes.\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/leaves/661abc1234def56789012345/approve","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","leaves","661abc1234def56789012345","approve"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"5bdb7f3c-5930-4b28-89ae-1cdf812a37b1"},{"name":"PUT /api/leaves/:id/reject","id":"456cf549-c858-4970-bc36-0c680982af6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"reason\": \"Insufficient substitute availability for requested dates.\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/leaves/661abc1234def56789012345/reject","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","leaves","661abc1234def56789012345","reject"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"456cf549-c858-4970-bc36-0c680982af6c"},{"name":"DELETE /api/leaves/:id","id":"d55c80d5-e0ca-45dd-af39-60144fccd47a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/api/leaves/661abc1234def56789012345","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","leaves","661abc1234def56789012345"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"d55c80d5-e0ca-45dd-af39-60144fccd47a"}],"id":"1fe21e8d-4cc8-41ba-95be-6157148835af","_postman_id":"1fe21e8d-4cc8-41ba-95be-6157148835af","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}}},{"name":"Notifications","item":[{"name":"GET /api/notifications","id":"cada5854-9daa-4239-a764-4c847652a54c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/notifications?page=1&limit=10&unreadOnly=false","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","notifications"],"host":["http://localhost:5000"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"},{"key":"unreadOnly","value":"false"}],"variable":[]}},"response":[],"_postman_id":"cada5854-9daa-4239-a764-4c847652a54c"},{"name":"PATCH /api/notifications/:id/read","id":"0cfa67ce-0ea6-4dae-ac45-37984b468a82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"http://localhost:5000/api/notifications/6620bb1234def56789011aaa/read","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","notifications","6620bb1234def56789011aaa","read"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"0cfa67ce-0ea6-4dae-ac45-37984b468a82"},{"name":"PATCH /api/notifications/read-all","id":"e7bb586c-ed21-4be8-a8fb-91a19ca44e51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"http://localhost:5000/api/notifications/read-all","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","notifications","read-all"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7bb586c-ed21-4be8-a8fb-91a19ca44e51"}],"id":"04728c70-cbf1-48c2-90b8-26a8b8b15524","_postman_id":"04728c70-cbf1-48c2-90b8-26a8b8b15524","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}}},{"name":"Timetable","item":[{"name":"POST /api/timetable","id":"ea978732-8112-4326-8b0d-3a13072e6a93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"department\": \"CSE\",\n  \"batch\": \"2023-2027\",\n  \"entries\": [\n    {\n      \"day\": \"Monday\",\n      \"slot\": \"09:00-10:00\",\n      \"subject\": \"Natural Language Processing\",\n      \"faculty\": \"65f2c3f21a2d4f7a8f40c0af\",\n      \"classroom\": \"A-204\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/timetable","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","timetable"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea978732-8112-4326-8b0d-3a13072e6a93"},{"name":"GET /api/timetable","id":"c9a8e2a4-e2a9-4a8c-b2e4-c091bca1d0d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/timetable?department=CSE&batch=2023-2027","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","timetable"],"host":["http://localhost:5000"],"query":[{"key":"department","value":"CSE"},{"key":"batch","value":"2023-2027"}],"variable":[]}},"response":[],"_postman_id":"c9a8e2a4-e2a9-4a8c-b2e4-c091bca1d0d1"},{"name":"GET /api/timetable/:id","id":"641ab3b5-2224-48f1-8a4a-485cb02ceb31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/timetable/6623a3a4d6f1a2c1119f3d77","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","timetable","6623a3a4d6f1a2c1119f3d77"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"641ab3b5-2224-48f1-8a4a-485cb02ceb31"},{"name":"PUT /api/timetable/:id","id":"598ae283-20da-4926-b3c7-978085992f0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"entries\": [\n    {\n      \"day\": \"Tuesday\",\n      \"slot\": \"10:00-11:00\",\n      \"subject\": \"Compiler Design\",\n      \"faculty\": \"65f2c3f21a2d4f7a8f40c0af\",\n      \"classroom\": \"B-101\"\n    }\n  ],\n  \"active\": true\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/timetable/6623a3a4d6f1a2c1119f3d77","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","timetable","6623a3a4d6f1a2c1119f3d77"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"598ae283-20da-4926-b3c7-978085992f0e"},{"name":"DELETE /api/timetable/:id","id":"bf1db672-b771-4cbe-8125-183577aca18c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/api/timetable/6623a3a4d6f1a2c1119f3d77","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","timetable","6623a3a4d6f1a2c1119f3d77"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf1db672-b771-4cbe-8125-183577aca18c"}],"id":"af5853a0-0ec5-4f1e-8ce5-0ece590aec15","_postman_id":"af5853a0-0ec5-4f1e-8ce5-0ece590aec15","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}}},{"name":"Syllabus","item":[{"name":"POST /api/syllabus (multipart)","id":"d9cabd07-6191-4cf1-8635-25c81976c270","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"department","value":"CSE","type":"text"},{"key":"batch","value":"2023-2027","type":"text"},{"key":"currentSemester","value":"6th Semester","type":"text"},{"key":"file","type":"file","value":""}]},"url":"http://localhost:5000/api/syllabus","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","syllabus"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9cabd07-6191-4cf1-8635-25c81976c270"},{"name":"GET /api/syllabus","id":"11d3a318-383d-4375-8aa2-864c681987d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/syllabus?department=CSE&batch=2023-2027","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","syllabus"],"host":["http://localhost:5000"],"query":[{"key":"department","value":"CSE"},{"key":"batch","value":"2023-2027"}],"variable":[]}},"response":[],"_postman_id":"11d3a318-383d-4375-8aa2-864c681987d1"},{"name":"GET /api/syllabus/:id","id":"217441de-0d7d-49af-b5cb-5d1303a983dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/syllabus/6630aa1234def56789000111","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","syllabus","6630aa1234def56789000111"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"217441de-0d7d-49af-b5cb-5d1303a983dd"},{"name":"PUT /api/syllabus/:id","id":"8848bad6-aecc-44d1-bae0-54ad4e29a1b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"currentSemester\": \"6th Semester\",\n  \"currentAcademicYear\": 3,\n  \"facultyAssigned\": true\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/api/syllabus/6630aa1234def56789000111","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","syllabus","6630aa1234def56789000111"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"8848bad6-aecc-44d1-bae0-54ad4e29a1b5"},{"name":"DELETE /api/syllabus/:id","id":"7ffdda23-3b34-4b2b-8915-094525ca38fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:5000/api/syllabus/6630aa1234def56789000111","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","syllabus","6630aa1234def56789000111"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ffdda23-3b34-4b2b-8915-094525ca38fb"},{"name":"GET /api/syllabus/department/:department","id":"a0fdc2d4-ef05-490a-9f8f-3abe451c5874","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/syllabus/department/CSE","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","syllabus","department","CSE"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0fdc2d4-ef05-490a-9f8f-3abe451c5874"},{"name":"GET /api/syllabus/:id/semesters","id":"d2b073b1-cca9-4df1-b60a-bdba6f07aa9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/syllabus/6630aa1234def56789000111/semesters","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","syllabus","6630aa1234def56789000111","semesters"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2b073b1-cca9-4df1-b60a-bdba6f07aa9b"},{"name":"GET /api/syllabus/:id/semester/:semesterName/:year","id":"8f40dd63-e225-4e0c-9a95-5c7ac4f17e12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:5000/api/syllabus/6630aa1234def56789000111/semester/6th Semester/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}},"urlObject":{"path":["api","syllabus","6630aa1234def56789000111","semester","6th Semester","3"],"host":["http://localhost:5000"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f40dd63-e225-4e0c-9a95-5c7ac4f17e12"}],"id":"674f42c1-a8ef-4323-9fc8-034f7fc6cdd1","_postman_id":"674f42c1-a8ef-4323-9fc8-034f7fc6cdd1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c51856f0-7c2c-44b3-8261-38b350c91264","id":"c51856f0-7c2c-44b3-8261-38b350c91264","name":"Faculty Leave Management API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"450416a0-e7f2-42b8-a8b1-3ce2f38d9f8f","type":"text/javascript","requests":{},"exec":["if (!pm.collectionVariables.get('baseUrl')) {","  pm.collectionVariables.set('baseUrl', 'http://localhost:5000');","}"]}},{"listen":"test","script":{"id":"8945da5d-ecc5-434f-93ea-6d8c5f8ed55b","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"http://localhost:5000"},{"key":"token","value":""},{"key":"department","value":"CSE"},{"key":"leaveId","value":"661abc1234def56789012345"},{"key":"notificationId","value":"6620bb1234def56789011aaa"},{"key":"timetableId","value":"6623a3a4d6f1a2c1119f3d77"},{"key":"syllabusId","value":"6630aa1234def56789000111"},{"key":"semesterName","value":"6th Semester"},{"key":"year","value":"3"}]}