{"info":{"_postman_id":"0f53408a-da23-493b-9130-c337893c6c3c","name":"Mini Kyan","description":"<html><head></head><body><h4 id=\"this-collection-contains-api-endpoints-designed-for-managing-teacher-schedules-in-an-educational-system-it-includes-endpoints-for-retrieving-data-such-as-teachers-subjects-time-slots-and-existing-schedules-as-well-as-performing-operations-like-bulk-saving-and-removing-schedule-entries-the-endpoints-support-streamlined-integration-between-the-backend-and-frontend-enabling-efficient-timetable-management-with-features-like-validation-update-or-create-logic-and-error-handling-for-a-smooth-user-experience\">This collection contains API endpoints designed for managing teacher schedules in an educational system. It includes endpoints for retrieving data such as teachers, subjects, time slots, and existing schedules, as well as performing operations like bulk saving and removing schedule entries. The endpoints support streamlined integration between the backend and frontend, enabling efficient timetable management with features like validation, update-or-create logic, and error handling for a smooth user experience.</h4>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"25951230","collectionId":"0f53408a-da23-493b-9130-c337893c6c3c","publishedId":"2sAYBUDCex","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-24T07:20:42.000Z"},"item":[{"name":"All Teacher","id":"ee3a9a77-a7c6-4cb0-9c17-dcfe437e624d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/teachers","description":"<ul>\n<li><p><strong>Description</strong>: Retrieve a list of all teachers with their details.</p>\n</li>\n<li><p><strong>Response</strong>: A JSON array of teachers, each containing their ID, name, and related subject information.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["api","teachers"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"a0e5b6d7-2c75-498b-800f-6ba8502e3ed1","name":"All Teacher","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/teachers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sat, 23 Nov 2024 09:03:01 GMT"},{"key":"Date","value":"Sat, 23 Nov 2024 09:03:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"Teacher1\",\n        \"subject\": \"Mathematics\",\n        \"email\": null,\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 2,\n        \"name\": \"Teacher2\",\n        \"subject\": \"English\",\n        \"email\": null,\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 3,\n        \"name\": \"Teacher3\",\n        \"subject\": \"Arabic\",\n        \"email\": null,\n        \"created_at\": null,\n        \"updated_at\": null\n    }\n]"}],"_postman_id":"ee3a9a77-a7c6-4cb0-9c17-dcfe437e624d"},{"name":"All Subject","id":"ff326ad8-3b0f-40fe-8417-f6dd5ac23690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/subjects","description":"<ul>\n<li><p><strong>Description</strong>: Fetch all available subjects offered in the system.</p>\n</li>\n<li><p><strong>Response</strong>: A JSON array of subjects, each with its ID and name.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["api","subjects"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"bbbad2fe-b81f-4cab-91a0-6e6fb0e301e0","name":"New Request","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/subjects"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sat, 23 Nov 2024 09:07:40 GMT"},{"key":"Date","value":"Sat, 23 Nov 2024 09:07:40 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"Arabic\",\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 2,\n        \"name\": \"English\",\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 3,\n        \"name\": \"Mathematics\",\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 4,\n        \"name\": \"Art\",\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 5,\n        \"name\": \"Computer\",\n        \"created_at\": null,\n        \"updated_at\": null\n    }\n]"}],"_postman_id":"ff326ad8-3b0f-40fe-8417-f6dd5ac23690"},{"name":"Time Slots","id":"77be8103-5553-4b94-9edd-bf0586183aa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/time-slots","description":"<ul>\n<li><p><strong>Description</strong>: Get all defined time slots for scheduling.</p>\n</li>\n<li><p><strong>Response</strong>: A JSON array of time slots, including IDs and time details.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["api","time-slots"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"a31d39ec-9da9-409f-81fb-c560700dba2a","name":"Time Slots","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/time-slots"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sat, 23 Nov 2024 09:09:48 GMT"},{"key":"Date","value":"Sat, 23 Nov 2024 09:09:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"55"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[]"}],"_postman_id":"77be8103-5553-4b94-9edd-bf0586183aa3"},{"name":"save Schedule","event":[{"listen":"test","script":{"id":"88eaf8ac-f499-46b2-a95f-c5b3313ce0d3","exec":["var template = `\r","<style type=\"text/css\">\r","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r","    .tftable tr {background-color:#ffffff;}\r","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r","    .tftable tr:hover {background-color:#e0ffff;}\r","</style>\r","\r","<table class=\"tftable\" border=\"1\">\r","    <tr>\r","        <th>Teacher ID</th>\r","        <th>Subject ID</th>\r","        <th>Day</th>\r","        <th>Time Slot ID</th>\r","        <th>Updated At</th>\r","        <th>Created At</th>\r","        <th>ID</th>\r","    </tr>\r","    \r","    <tr>\r","        <td>{{response.schedule.teacher_id}}</td>\r","        <td>{{response.schedule.subject_id}}</td>\r","        <td>{{response.schedule.day}}</td>\r","        <td>{{response.schedule.time_slot_id}}</td>\r","        <td>{{response.schedule.updated_at}}</td>\r","        <td>{{response.schedule.created_at}}</td>\r","        <td>{{response.schedule.id}}</td>\r","    </tr>\r","</table>\r","`;\r","\r","function constructVisualizerPayload() {\r","    return {response: pm.response.json()}\r","}\r","\r","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"ea910d79-b3ef-426c-91e5-a97874c41a4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"schedules\": [\r\n        {\r\n            \"teacher_id\": 1,\r\n            \"subject_id\": 2,\r\n            \"day\": \"Saturday\",\r\n            \"time_slot_id\": 1\r\n        },\r\n        {\r\n            \"teacher_id\": 3,\r\n            \"subject_id\": 4,\r\n            \"day\": \"Sunday\",\r\n            \"time_slot_id\": 2\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/schedules/bulk","description":"<ul>\n<li><p><strong>Description</strong>: Save or update multiple schedule entries in a single request.</p>\n</li>\n<li><p><strong>Request</strong>: A JSON object with an array of schedule items (teacher ID, subject ID, day, and time slot).</p>\n</li>\n<li><p><strong>Response</strong>: A success message confirming the saved schedules.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["api","schedules","bulk"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"cbc57015-3f39-425b-90ff-51c22f1d2aa2","name":"New Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"schedules\": [\r\n        {\r\n            \"teacher_id\": 1,\r\n            \"subject_id\": 2,\r\n            \"day\": \"Saturday\",\r\n            \"time_slot_id\": 1\r\n        },\r\n        {\r\n            \"teacher_id\": 3,\r\n            \"subject_id\": 4,\r\n            \"day\": \"Sunday\",\r\n            \"time_slot_id\": 2\r\n        }\r\n    ]\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/schedules/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sun, 24 Nov 2024 07:04:41 GMT"},{"key":"Date","value":"Sun, 24 Nov 2024 07:04:41 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Schedules saved successfully!\"\n}"}],"_postman_id":"ea910d79-b3ef-426c-91e5-a97874c41a4a"},{"name":"Remove Schedule","event":[{"listen":"test","script":{"id":"88eaf8ac-f499-46b2-a95f-c5b3313ce0d3","exec":["var template = `\r","<style type=\"text/css\">\r","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}\r","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}\r","    .tftable tr {background-color:#ffffff;}\r","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}\r","    .tftable tr:hover {background-color:#e0ffff;}\r","</style>\r","\r","<table class=\"tftable\" border=\"1\">\r","    <tr>\r","        <th>Teacher ID</th>\r","        <th>Subject ID</th>\r","        <th>Day</th>\r","        <th>Time Slot ID</th>\r","        <th>Updated At</th>\r","        <th>Created At</th>\r","        <th>ID</th>\r","    </tr>\r","    \r","    <tr>\r","        <td>{{response.schedule.teacher_id}}</td>\r","        <td>{{response.schedule.subject_id}}</td>\r","        <td>{{response.schedule.day}}</td>\r","        <td>{{response.schedule.time_slot_id}}</td>\r","        <td>{{response.schedule.updated_at}}</td>\r","        <td>{{response.schedule.created_at}}</td>\r","        <td>{{response.schedule.id}}</td>\r","    </tr>\r","</table>\r","`;\r","\r","function constructVisualizerPayload() {\r","    return {response: pm.response.json()}\r","}\r","\r","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{}}}],"id":"f8015681-4dc8-4563-abe9-c2278122de78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"teacher_id\": 1,\r\n            \"subject_id\": 2,\r\n            \"day\": \"Saturday\",\r\n            \"time_slot_id\": 1\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/schedules/remove","description":"<ul>\n<li><p><strong>Description</strong>: Remove a specific schedule entry by providing teacher ID, day, and time slot ID.</p>\n</li>\n<li><p><strong>Request</strong>: A JSON object with <code>teacher_id</code>, <code>day</code>, and <code>time_slot_id</code>.</p>\n</li>\n<li><p><strong>Response</strong>: A success message confirming the removal or an error if the schedule is not found.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["api","schedules","remove"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"c8b15e20-51a7-4951-8bd9-57f11ea81aa5","name":"New Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"teacher_id\": 3,\r\n    \"subject_id\": 4,\r\n    \"day\": \"Sunday\",\r\n    \"time_slot_id\": 2\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/schedules/remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sun, 24 Nov 2024 07:13:32 GMT"},{"key":"Date","value":"Sun, 24 Nov 2024 07:13:32 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Schedule removed successfully\"\n}"}],"_postman_id":"f8015681-4dc8-4563-abe9-c2278122de78"},{"name":"All Sechedule","id":"e8be0bc3-4bf0-458a-9b98-080992bbb4eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/schedules","description":"<ul>\n<li><p><strong>Description</strong>: Retrieve the complete schedule, including teachers, subjects, days, and time slots.</p>\n</li>\n<li><p><strong>Response</strong>: A JSON array of schedules with detailed associations.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8000","path":["api","schedules"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"d1ff6494-4bb4-41ca-bc14-4a5db93d33c9","name":"New Request","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/schedules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 24 Nov 2024 07:27:00 GMT"},{"key":"Date","value":"Sun, 24 Nov 2024 07:27:00 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 10,\n        \"teacher_id\": 1,\n        \"subject_id\": 2,\n        \"day\": \"Saturday\",\n        \"time_slot_id\": 1,\n        \"created_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"updated_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"teacher\": {\n            \"id\": 1,\n            \"name\": \"Teacher1\",\n            \"subject_id\": 1,\n            \"email\": null,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"subject\": {\n            \"id\": 2,\n            \"name\": \"Subject2\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"time_slot\": {\n            \"id\": 1,\n            \"start_time\": \"08:00:00\",\n            \"end_time\": \"09:00:00\",\n            \"name\": \"Class 1\",\n            \"created_at\": null,\n            \"updated_at\": null\n        }\n    },\n    {\n        \"id\": 11,\n        \"teacher_id\": 3,\n        \"subject_id\": 4,\n        \"day\": \"Sunday\",\n        \"time_slot_id\": 2,\n        \"created_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"updated_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"teacher\": {\n            \"id\": 3,\n            \"name\": \"Teacher3\",\n            \"subject_id\": 3,\n            \"email\": null,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"subject\": {\n            \"id\": 4,\n            \"name\": \"Subject4\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"time_slot\": {\n            \"id\": 2,\n            \"start_time\": \"09:00:00\",\n            \"end_time\": \"10:00:00\",\n            \"name\": \"Class 2\",\n            \"created_at\": null,\n            \"updated_at\": null\n        }\n    }\n]"},{"id":"a81af223-a16a-4fef-872d-b30bb22ccbd2","name":"New Request","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/schedules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 24 Nov 2024 07:28:41 GMT"},{"key":"Date","value":"Sun, 24 Nov 2024 07:28:41 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 10,\n        \"teacher_id\": 1,\n        \"subject_id\": 2,\n        \"day\": \"Saturday\",\n        \"time_slot_id\": 1,\n        \"created_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"updated_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"teacher\": {\n            \"id\": 1,\n            \"name\": \"Teacher1\",\n            \"subject_id\": 1,\n            \"email\": null,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"subject\": {\n            \"id\": 2,\n            \"name\": \"Subject2\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"time_slot\": {\n            \"id\": 1,\n            \"start_time\": \"08:00:00\",\n            \"end_time\": \"09:00:00\",\n            \"name\": \"Class 1\",\n            \"created_at\": null,\n            \"updated_at\": null\n        }\n    },\n    {\n        \"id\": 11,\n        \"teacher_id\": 3,\n        \"subject_id\": 4,\n        \"day\": \"Sunday\",\n        \"time_slot_id\": 2,\n        \"created_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"updated_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"teacher\": {\n            \"id\": 3,\n            \"name\": \"Teacher3\",\n            \"subject_id\": 3,\n            \"email\": null,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"subject\": {\n            \"id\": 4,\n            \"name\": \"Subject4\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"time_slot\": {\n            \"id\": 2,\n            \"start_time\": \"09:00:00\",\n            \"end_time\": \"10:00:00\",\n            \"name\": \"Class 2\",\n            \"created_at\": null,\n            \"updated_at\": null\n        }\n    }\n]"},{"id":"5063c0df-b395-46fa-bacf-273b430655db","name":"All Sechedule","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/schedules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sun, 24 Nov 2024 07:28:59 GMT"},{"key":"Date","value":"Sun, 24 Nov 2024 07:28:59 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.10"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 10,\n        \"teacher_id\": 1,\n        \"subject_id\": 2,\n        \"day\": \"Saturday\",\n        \"time_slot_id\": 1,\n        \"created_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"updated_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"teacher\": {\n            \"id\": 1,\n            \"name\": \"Teacher1\",\n            \"subject_id\": 1,\n            \"email\": null,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"subject\": {\n            \"id\": 2,\n            \"name\": \"Subject2\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"time_slot\": {\n            \"id\": 1,\n            \"start_time\": \"08:00:00\",\n            \"end_time\": \"09:00:00\",\n            \"name\": \"Class 1\",\n            \"created_at\": null,\n            \"updated_at\": null\n        }\n    },\n    {\n        \"id\": 11,\n        \"teacher_id\": 3,\n        \"subject_id\": 4,\n        \"day\": \"Sunday\",\n        \"time_slot_id\": 2,\n        \"created_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"updated_at\": \"2024-11-24T07:25:31.000000Z\",\n        \"teacher\": {\n            \"id\": 3,\n            \"name\": \"Teacher3\",\n            \"subject_id\": 3,\n            \"email\": null,\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"subject\": {\n            \"id\": 4,\n            \"name\": \"Subject4\",\n            \"created_at\": null,\n            \"updated_at\": null\n        },\n        \"time_slot\": {\n            \"id\": 2,\n            \"start_time\": \"09:00:00\",\n            \"end_time\": \"10:00:00\",\n            \"name\": \"Class 2\",\n            \"created_at\": null,\n            \"updated_at\": null\n        }\n    }\n]"}],"_postman_id":"e8be0bc3-4bf0-458a-9b98-080992bbb4eb"}]}