{"info":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","description":"<html><head></head><body><h1 id=\"timesheet-api-collection\">Timesheet API Collection</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This comprehensive Postman collection provides a complete suite of API endpoints for a <strong>Timesheet Management System</strong> built with Laravel. It enables efficient tracking of employee work hours across projects, user management, and project administration through a RESTful API architecture.</p>\n<h2 id=\"whats-included\">What's Included</h2>\n<p>The collection is organized into four main modules:</p>\n<h3 id=\"🔐-authentication\">🔐 <strong>Authentication</strong></h3>\n<p>Secure user authentication system with token-based authorization:</p>\n<ul>\n<li><p>User registration with profile information</p>\n</li>\n<li><p>Login with automatic token management</p>\n</li>\n<li><p>Logout functionality</p>\n</li>\n</ul>\n<h3 id=\"👥-users\">👥 <strong>Users</strong></h3>\n<p>Complete user management capabilities:</p>\n<ul>\n<li><p>List all users with optional filtering (by name, gender, email, DOB)</p>\n</li>\n<li><p>Retrieve individual user details</p>\n</li>\n<li><p>Create new user accounts</p>\n</li>\n<li><p>Update existing user information</p>\n</li>\n<li><p>Delete users from the system</p>\n</li>\n</ul>\n<h3 id=\"📁-projects\">📁 <strong>Projects</strong></h3>\n<p>Project lifecycle management:</p>\n<ul>\n<li><p>Browse all projects with filtering options (status, department, dates)</p>\n</li>\n<li><p>View detailed project information</p>\n</li>\n<li><p>Create new projects with timeline and department assignment</p>\n</li>\n<li><p>Update project details and status</p>\n</li>\n<li><p>Remove projects from the system</p>\n</li>\n</ul>\n<h3 id=\"⏱️-timesheets\">⏱️ <strong>Timesheets</strong></h3>\n<p>Time tracking and task logging:</p>\n<ul>\n<li><p>View all timesheet entries with filtering (by user, project, task, date)</p>\n</li>\n<li><p>Access individual timesheet records</p>\n</li>\n<li><p>Log work hours against specific projects and tasks</p>\n</li>\n<li><p>Modify existing timesheet entries</p>\n</li>\n<li><p>Delete timesheet records</p>\n</li>\n</ul>\n<h2 id=\"key-features\">Key Features</h2>\n<p>✅ <strong>Bearer Token Authentication</strong> - Automated token management after login/registration  </p>\n<p>✅ <strong>Comprehensive Filtering</strong> - Query parameters for refined data retrieval  </p>\n<p>✅ <strong>Environment Variables</strong> - Pre-configured with <code>LOCAL</code> base URL and <code>Token</code> variables  </p>\n<p>✅ <strong>JSON Responses</strong> - All endpoints return structured JSON data  </p>\n<p>✅ <strong>CRUD Operations</strong> - Full create, read, update, and delete functionality for all resources</p>\n<h2 id=\"getting-started\">Getting Started</h2>\n<ol>\n<li><p>Import this collection into Postman</p>\n</li>\n<li><p>Update the <code>LOCAL</code> variable with your API base URL (default: <code>http://localhost:8000/api</code>)</p>\n</li>\n<li><p>Start with the Authentication folder to register or login</p>\n</li>\n<li><p>The token will be automatically stored and used for subsequent requests</p>\n</li>\n</ol>\n<p>Perfect for developers building time tracking applications, project management tools, or HR systems requiring detailed work hour monitoring.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Timesheet API Collection","slug":"timesheet-api-collection"}],"owner":"2836787","collectionId":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","publishedId":"2sB3QKtAm1","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-11T09:29:49.000Z"},"item":[{"name":"Authentication","item":[{"name":"Register","event":[{"listen":"test","script":{"id":"a2ec1f7b-e4a8-412f-a081-8fa2c07b45b5","exec":["if (pm.response.code === 201) {","    var jsonData = pm.response.json();","    pm.collectionVariables.set(\"Token\", jsonData.data.token);","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"e0e912c0-4e04-4b7c-aba8-61db3c302e86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"JohnSina\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"dob\": \"1990-01-01\",\n    \"gender\": \"male\",\n    \"email\": \"john@example.com\",\n    \"password\": \"password123\",\n    \"password_confirmation\": \"password123\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/register","urlObject":{"path":["register"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0e912c0-4e04-4b7c-aba8-61db3c302e86"},{"name":"Login","event":[{"listen":"test","script":{"id":"71c1ec44-6aed-472e-8335-87bf4ac5d471","exec":["if (pm.response.code === 200) {","    var jsonData = pm.response.json();","    pm.collectionVariables.set(\"Token\", jsonData.data.token);","}"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"f540ea90-4090-4baf-aaf9-a822d81015df","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"72b37de5-1d63-45f7-8076-2ac5bc982611","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"john@example.com\",\n    \"password\": \"password123\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/login","urlObject":{"path":["login"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"72b37de5-1d63-45f7-8076-2ac5bc982611"},{"name":"Logout","id":"e0b42350-301b-431d-a2b5-a49f0e15d565","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/logout","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["logout"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0b42350-301b-431d-a2b5-a49f0e15d565"}],"id":"7bfa4166-209b-445f-9a6e-35674b84229d","_postman_id":"7bfa4166-209b-445f-9a6e-35674b84229d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}}},{"name":"Users","item":[{"name":"Get All Users","id":"9af70fb0-f800-487f-a3d9-9dd275eb9c26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["users"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"9af70fb0-f800-487f-a3d9-9dd275eb9c26"},{"name":"Get All Users with Filters","id":"3da9699d-3411-4ffe-b924-e075e596ceaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/users?first_name=John&gender=male","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["users"],"host":["http://localhost:8000/api"],"query":[{"key":"first_name","value":"John"},{"key":"gender","value":"male"},{"disabled":true,"key":"last_name","value":"Doe"},{"disabled":true,"key":"date_of_birth","value":"1990-01-01"},{"disabled":true,"key":"email","value":"john@example.com"}],"variable":[]}},"response":[],"_postman_id":"3da9699d-3411-4ffe-b924-e075e596ceaa"},{"name":"Get User by ID","id":"838bd6ae-d7b3-4a34-8030-35f059de1a73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8000/api/users/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["users","1"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"838bd6ae-d7b3-4a34-8030-35f059de1a73"},{"name":"Create User","id":"8be25111-7eaf-46d2-9498-55f2c348b5e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Jane\",\n    \"first_name\": \"Jane\",\n    \"last_name\": \"Smith\",\n    \"dob\": \"1995-05-15\",\n    \"gender\": \"female\",\n    \"email\": \"jane@examsple.com\",\n    \"password\": \"password123\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["users"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8be25111-7eaf-46d2-9498-55f2c348b5e4"},{"name":"Update User","id":"38e7bf0f-0477-4c48-ace0-04638f78500b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"first_name\": \"John Updated\",\n    \"email\": \"john.lol@example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/users/update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["users","update"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"38e7bf0f-0477-4c48-ace0-04638f78500b"},{"name":"Delete User","id":"8ad0a00d-5b97-4775-85a0-d13b067e0304","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 3\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/users/delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["users","delete"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ad0a00d-5b97-4775-85a0-d13b067e0304"}],"id":"9513fa2e-ec1f-4dee-899a-1de5f3d3b4c0","_postman_id":"9513fa2e-ec1f-4dee-899a-1de5f3d3b4c0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}}},{"name":"Projects","item":[{"name":"Get All Projects","id":"885643df-3755-406f-aea7-13a18a8f8afb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/projects","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["projects"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"885643df-3755-406f-aea7-13a18a8f8afb"},{"name":"Get All Projects with Filters","id":"cfb78796-24a0-4987-8a70-cd8663bc3a3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/projects?status=active&department=IT","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["projects"],"host":["http://localhost:8000/api"],"query":[{"key":"status","value":"active"},{"key":"department","value":"IT"},{"disabled":true,"key":"name","value":"Website"},{"disabled":true,"key":"start_date","value":"2025-01-01"},{"disabled":true,"key":"end_date","value":"2025-12-31"}],"variable":[]}},"response":[],"_postman_id":"cfb78796-24a0-4987-8a70-cd8663bc3a3e"},{"name":"Get Project by ID","id":"078ffcd5-6823-4af7-b596-bdce2b24e08e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/projects/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["projects","1"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"078ffcd5-6823-4af7-b596-bdce2b24e08e"},{"name":"Create Project","id":"33cfd9fc-22eb-4d77-8b1a-b26b2504cea3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Mobile Redesign\",\n    \"department\": \"IT\",\n    \"start_date\": \"2025-01-01\",\n    \"end_date\": \"2025-06-30\",\n    \"status\": \"active\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/projects","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["projects"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"33cfd9fc-22eb-4d77-8b1a-b26b2504cea3"},{"name":"Update Project","id":"37bbe3bb-00bf-42d9-8708-2873e0fe4cbf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"Website Redesign v2\",\n    \"status\": \"completed\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/projects/update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["projects","update"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"37bbe3bb-00bf-42d9-8708-2873e0fe4cbf"},{"name":"Delete Project","id":"60562133-1c4a-4347-b6fc-871fbd2fb074","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 3\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/projects/delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["projects","delete"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"60562133-1c4a-4347-b6fc-871fbd2fb074"}],"id":"749cb9c4-c475-4d1a-b884-d52ac60ff0dc","_postman_id":"749cb9c4-c475-4d1a-b884-d52ac60ff0dc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}}},{"name":"Timesheets","item":[{"name":"Get All Timesheets","id":"a4993b80-4f35-4ac4-a344-b2b35308fe69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/timesheets","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["timesheets"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4993b80-4f35-4ac4-a344-b2b35308fe69"},{"name":"Get All Timesheets with Filters","id":"37dffb4e-e140-482b-ac23-c773ea4aeec2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/timesheets?user_id=1&project_id=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["timesheets"],"host":["http://localhost:8000/api"],"query":[{"key":"user_id","value":"1"},{"key":"project_id","value":"1"},{"disabled":true,"key":"task_name","value":"Development"},{"disabled":true,"key":"date","value":"2025-10-10"},{"disabled":true,"key":"hours","value":"8"}],"variable":[]}},"response":[],"_postman_id":"37dffb4e-e140-482b-ac23-c773ea4aeec2"},{"name":"Get Timesheet by ID","id":"a293c94a-8e2e-4349-adbc-9a8bf9fece8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://localhost:8000/api/timesheets/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["timesheets","1"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"a293c94a-8e2e-4349-adbc-9a8bf9fece8c"},{"name":"Create Timesheet","id":"00c6d1e3-35b3-462f-bf1b-bead946f4e24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"task_name\": \"Frontend Development\",\n    \"date\": \"2025-10-10\",\n    \"hours\": 8.5,\n    \"user_id\": 1,\n    \"project_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/timesheets","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["timesheets"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"00c6d1e3-35b3-462f-bf1b-bead946f4e24"},{"name":"Update Timesheet","id":"ab066a72-91ee-4b81-845d-a1bd43ac1550","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 2,\n    \"task_name\": \"Backend Development\",\n    \"hours\": 7.5\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/timesheets/update","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["timesheets","update"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab066a72-91ee-4b81-845d-a1bd43ac1550"},{"name":"Delete Timesheet","id":"f78e2cb3-6f52-4446-998e-88d7e6dfe535","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": 2\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/timesheets/delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}},"urlObject":{"path":["timesheets","delete"],"host":["http://localhost:8000/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f78e2cb3-6f52-4446-998e-88d7e6dfe535"}],"id":"9e2bd234-4419-40e4-87bb-ed2e7b9e9753","_postman_id":"9e2bd234-4419-40e4-87bb-ed2e7b9e9753","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]},"isInherited":true,"source":{"_postman_id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","id":"3b3c2fe2-f74a-4358-95c0-d40e85f6ac04","name":"Timesheet API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]}},"event":[{"listen":"prerequest","script":{"id":"1c503ed1-d1af-4752-9a76-c9504ea6bd0a","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"45b2f567-26b9-4161-a4c2-5cb4ae708647","type":"text/javascript","packages":{},"requests":{},"exec":["if (pm.response.code === 200) {","    var jsonData = pm.response.json();","    pm.collectionVariables.set(\"Token\", jsonData.data.token);","}"]}}],"variable":[{"key":"LOCAL","value":"http://localhost:8000/api"},{"key":"Token","value":"10|TrACFeYIK52VD2tNyBvg6aru9C32C7KTIK0HhLN52741a743"}]}