{
    "info": {
        "_postman_id": "e-school-api-collection",
        "name": "E-School API - Complete Testing Collection",
        "description": "Collection untuk testing API E-School dengan berbagai endpoints",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "item": [
        {
            "name": "\ud83d\udd10 Authentication",
            "item": [
                {
                    "name": "Student Login",
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test(\"Status 200\", function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});",
                                    "",
                                    "pm.test(\"Has token in response\", function () {",
                                    "    var jsonData = pm.response.json();",
                                    "    pm.expect(jsonData.data).to.have.property('token');",
                                    "});",
                                    "",
                                    "// Save token to environment",
                                    "var jsonData = pm.response.json();",
                                    "if (jsonData.data && jsonData.data.token) {",
                                    "    pm.environment.set('student_token', jsonData.data.token);",
                                    "    pm.environment.set('student_id', jsonData.data.id);",
                                    "    console.log('Student token saved: ' + jsonData.data.token.substring(0, 20) + '...');",
                                    "}"
                                ]
                            }
                        }
                    ],
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"gr_number\": \"student1\",\n    \"password\": \"password\",\n    \"school_code\": \"SCH20247\",\n    \"device_token\": \"sample-fcm-token\"\n}"
                        },
                        "url": {
                            "raw": "{{base_url}}/student/login",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "login"
                            ]
                        }
                    }
                },
                {
                    "name": "Teacher Login",
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test(\"Status 200\", function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});",
                                    "",
                                    "var jsonData = pm.response.json();",
                                    "if (jsonData.data && jsonData.data.token) {",
                                    "    pm.environment.set('teacher_token', jsonData.data.token);",
                                    "    pm.environment.set('teacher_id', jsonData.data.id);",
                                    "    console.log('Teacher token saved');",
                                    "}"
                                ]
                            }
                        }
                    ],
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"email\": \"teacher@test.com\",\n    \"password\": \"password\",\n    \"device_token\": \"sample-fcm-token\"\n}"
                        },
                        "url": {
                            "raw": "{{base_url}}/teacher/login",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teacher",
                                "login"
                            ]
                        }
                    }
                },
                {
                    "name": "Parent Login",
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test(\"Status 200\", function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});",
                                    "",
                                    "var jsonData = pm.response.json();",
                                    "if (jsonData.data && jsonData.data.token) {",
                                    "    pm.environment.set('parent_token', jsonData.data.token);",
                                    "    console.log('Parent token saved');",
                                    "}"
                                ]
                            }
                        }
                    ],
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"email\": \"parent@test.com\",\n    \"password\": \"password\",\n    \"device_token\": \"sample-fcm-token\"\n}"
                        },
                        "url": {
                            "raw": "{{base_url}}/parent/login",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "login"
                            ]
                        }
                    }
                },
                {
                    "name": "Staff Login",
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "exec": [
                                    "pm.test(\"Status 200\", function () {",
                                    "    pm.response.to.have.status(200);",
                                    "});",
                                    "",
                                    "var jsonData = pm.response.json();",
                                    "if (jsonData.data && jsonData.data.token) {",
                                    "    pm.environment.set('staff_token', jsonData.data.token);",
                                    "    console.log('Staff token saved');",
                                    "}"
                                ]
                            }
                        }
                    ],
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"email\": \"staff@test.com\",\n    \"password\": \"password\",\n    \"device_token\": \"sample-fcm-token\"\n}"
                        },
                        "url": {
                            "raw": "{{base_url}}/staff/login",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "staff",
                                "login"
                            ]
                        }
                    }
                }
            ]
        },
        {
            "name": "\ud83d\udc68\u200d\ud83c\udf93 Student Endpoints",
            "item": [
                {
                    "name": "Get Profile",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/get-profile-data",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "get-profile-data"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Subjects",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/subjects",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "subjects"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Class Subjects",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/class-subjects",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "class-subjects"
                            ]
                        }
                    }
                },
                {
                    "name": "Select Subjects",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"subject_ids\": [1, 2, 3]\n}"
                        },
                        "url": {
                            "raw": "{{base_url}}/student/select-subjects",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "select-subjects"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Timetable",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/timetable",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "timetable"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Assignments",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/assignments?page=1&per_page=15",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "assignments"
                            ],
                            "query": [
                                {
                                    "key": "page",
                                    "value": "1"
                                },
                                {
                                    "key": "per_page",
                                    "value": "15"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Submit Assignment",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"assignment_id\": 1,\n  \"text_submission\": \"This is my homework answer for the assignment\"\n}"
                        },
                        "url": {
                            "raw": "{{base_url}}/student/submit-assignment",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "submit-assignment"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Attendance",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/attendance",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "attendance"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Subject Attendance",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/subject-attendance",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "subject-attendance"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Exam List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/get-exam-list",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "get-exam-list"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Exam Marks",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/exam-marks",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "exam-marks"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Announcements",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/announcements",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "announcements"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Current Session Year",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/current-session-year",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "current-session-year"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Guardian Details",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/guardian-details",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "guardian-details"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Lessons",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/lessons?class_subject_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "lessons"
                            ],
                            "query": [
                                {
                                    "key": "class_subject_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Lesson Topics",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/lesson-topics?lesson_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "lesson-topics"
                            ],
                            "query": [
                                {
                                    "key": "lesson_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Delete Assignment Submission",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/delete-assignment-submission",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "delete-assignment-submission"
                            ]
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"assignment_submission_id\": 1\n}"
                        }
                    }
                },
                {
                    "name": "Get Assignment Report",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/get-assignments-report?class_subject_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "get-assignments-report"
                            ],
                            "query": [
                                {
                                    "key": "class_subject_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Online Exam List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/get-online-exam-list?subject_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "get-online-exam-list"
                            ],
                            "query": [
                                {
                                    "key": "subject_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Online Exam Questions",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/get-online-exam-questions?online_exam_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "get-online-exam-questions"
                            ],
                            "query": [
                                {
                                    "key": "online_exam_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Submit Online Exam Answers",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/submit-online-exam-answers",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "submit-online-exam-answers"
                            ]
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"online_exam_id\": 1,\n    \"answers\": [\n        {\n            \"question_id\": 1,\n            \"option_id\": 2\n        }\n    ]\n}"
                        }
                    }
                },
                {
                    "name": "Get Online Exam Status",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/get-online-exam-status?online_exam_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "get-online-exam-status"
                            ],
                            "query": [
                                {
                                    "key": "online_exam_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Online Exam Result List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/get-online-exam-result-list?subject_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "get-online-exam-result-list"
                            ],
                            "query": [
                                {
                                    "key": "subject_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Online Exam Result",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/get-online-exam-result?online_exam_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "get-online-exam-result"
                            ],
                            "query": [
                                {
                                    "key": "online_exam_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Online Exam Report",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/get-online-exam-report?online_exam_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "get-online-exam-report"
                            ],
                            "query": [
                                {
                                    "key": "online_exam_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Exam Details",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/get-exam-details?exam_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "get-exam-details"
                            ],
                            "query": [
                                {
                                    "key": "exam_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get School Settings",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/school-settings",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "school-settings"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Sliders",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/sliders",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "sliders"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Extracurricular List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/extracurricular/show",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "extracurricular",
                                "show"
                            ]
                        }
                    }
                },
                {
                    "name": "Join Extracurricular",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/join-eskul",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "join-eskul"
                            ]
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"ekstrakurikuler_id\": 1\n}"
                        }
                    }
                },
                {
                    "name": "My Extracurriculars",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{student_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/my-eskul",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "my-eskul"
                            ]
                        }
                    }
                },
                {
                    "name": "Forgot Password",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/student/forgot-password",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "student",
                                "forgot-password"
                            ]
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"school_code\": \"SCH20247\",\n    \"gr_no\": \"GR123\",\n    \"dob\": \"2010-01-01\"\n}"
                        }
                    }
                }
            ]
        },
        {
            "name": "\ud83d\udc68\u200d\ud83c\udfeb Teacher Endpoints",
            "item": [
                {
                    "name": "Get Subjects",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{teacher_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/teacher/subjects",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teacher",
                                "subjects"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Student List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{teacher_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/teacher/student-list",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teacher",
                                "student-list"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Assignments",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{teacher_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/teacher/get-assignment",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teacher",
                                "get-assignment"
                            ]
                        }
                    }
                },
                {
                    "name": "Create Assignment",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{teacher_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"subject_id\": 1,\n  \"title\": \"Math Homework Chapter 5\",\n  \"description\": \"Solve problems 1-20 from chapter 5\",\n  \"due_date\": \"2026-03-10\",\n  \"marks\": 10,\n  \"file_type\": \"text\"\n}"
                        },
                        "url": {
                            "raw": "{{base_url}}/teacher/create-assignment",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teacher",
                                "create-assignment"
                            ]
                        }
                    }
                },
                {
                    "name": "Create Lesson",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{teacher_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"subject_id\": 1,\n  \"title\": \"Introduction to Algebra\",\n  \"description\": \"Learn basic algebraic concepts\",\n  \"grade_level\": 8\n}"
                        },
                        "url": {
                            "raw": "{{base_url}}/teacher/create-lesson",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teacher",
                                "create-lesson"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Attendance",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{teacher_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/teacher/get-attendance",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teacher",
                                "get-attendance"
                            ]
                        }
                    }
                },
                {
                    "name": "Submit Attendance",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{teacher_token}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"class_id\": 1,\n  \"attendance_date\": \"2026-02-23\",\n  \"attendance_data\": [\n    {\"student_id\": 1, \"status\": \"present\"},\n    {\"student_id\": 2, \"status\": \"absent\"},\n    {\"student_id\": 3, \"status\": \"present\"}\n  ]\n}"
                        },
                        "url": {
                            "raw": "{{base_url}}/teacher/submit-attendance",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "teacher",
                                "submit-attendance"
                            ]
                        }
                    }
                }
            ]
        },
        {
            "name": "\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67 Parent Endpoints",
            "item": [
                {
                    "name": "Get Child Profile",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/get-child-profile-data",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "get-child-profile-data"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Subjects",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/subjects",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "subjects"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Assignments",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/assignments",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "assignments"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Attendance",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/attendance",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "attendance"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Timetable",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/timetable",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "timetable"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Fees",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/fees",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "fees"
                            ]
                        }
                    }
                },
                {
                    "name": "Create Xendit Invoice",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"child_id\": 1,\n  \"bill_id\": [1, 2],\n  \"amount\": 500000\n}"
                        },
                        "url": {
                            "raw": "{{base_url}}/parent/fees/xendit/create",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "fees",
                                "xendit",
                                "create"
                            ]
                        }
                    }
                },
                {
                    "name": "Check Payment Status",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/parent/fees/xendit/status/invoice_id_here",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "fees",
                                "xendit",
                                "status",
                                "invoice_id_here"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Exam List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/get-exam-list",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "get-exam-list"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Announcements",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/announcements",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "announcements"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Class Subjects",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/class-subjects?child_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "class-subjects"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Current Session Year",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/current-session-year?child_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "current-session-year"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Exam Marks",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/exam-marks?child_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "exam-marks"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Pay Bill",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/fees/pay-bill",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "fees",
                                "pay-bill"
                            ]
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"child_id\": 1,\n    \"bill_id\": 1,\n    \"amount\": 50000\n}"
                        }
                    }
                },
                {
                    "name": "Pay Bill Bulk",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/fees/pay-bill-bulk",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "fees",
                                "pay-bill-bulk"
                            ]
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"child_id\": 1,\n    \"bills\": [\n        {\n            \"bill_id\": 1,\n            \"amount\": 50000\n        }\n    ]\n}"
                        }
                    }
                },
                {
                    "name": "Get Payment Receipt",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/fees/receipt?payment_history_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "fees",
                                "receipt"
                            ],
                            "query": [
                                {
                                    "key": "payment_history_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Assignment Report",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/get-assignments-report?child_id=1&class_subject_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "get-assignments-report"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                },
                                {
                                    "key": "class_subject_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Exam Details",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/get-exam-details?child_id=1&exam_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "get-exam-details"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                },
                                {
                                    "key": "exam_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Online Exam List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/get-online-exam-list?child_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "get-online-exam-list"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Online Exam Report",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/get-online-exam-report?child_id=1&online_exam_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "get-online-exam-report"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                },
                                {
                                    "key": "online_exam_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Online Exam Result",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/get-online-exam-result?child_id=1&online_exam_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "get-online-exam-result"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                },
                                {
                                    "key": "online_exam_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Online Exam Result List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/get-online-exam-result-list?child_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "get-online-exam-result-list"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Lessons",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/lessons?child_id=1&class_subject_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "lessons"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                },
                                {
                                    "key": "class_subject_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Lesson Topics",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/lesson-topics?child_id=1&lesson_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "lesson-topics"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                },
                                {
                                    "key": "lesson_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Payment Confirmation",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/payment-confirmation",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "payment-confirmation"
                            ]
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"invoice_id\": \"INV-XXX\",\n    \"amount\": 50000\n}"
                        }
                    }
                },
                {
                    "name": "Get Payment Confirmation By Invoice",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/payment-confirmation/INV-XXX",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "payment-confirmation",
                                "INV-XXX"
                            ]
                        }
                    }
                },
                {
                    "name": "Update Profile",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/profile",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "profile"
                            ]
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"mobile\": \"08123456789\"\n}"
                        }
                    }
                },
                {
                    "name": "Get School Settings",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/school-settings?child_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "school-settings"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Sliders",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/sliders?child_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "sliders"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Subject Attendance",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/subject-attendance?child_id=1&month=3&year=2026",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "subject-attendance"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                },
                                {
                                    "key": "month",
                                    "value": "3"
                                },
                                {
                                    "key": "year",
                                    "value": "2026"
                                }
                            ]
                        }
                    }
                },
                {
                    "name": "Get Teachers",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{parent_token}}"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/parent/teachers?child_id=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "parent",
                                "teachers"
                            ],
                            "query": [
                                {
                                    "key": "child_id",
                                    "value": "1"
                                }
                            ]
                        }
                    }
                }
            ]
        },
        {
            "name": "\ud83d\udc54 Staff Endpoints",
            "item": [
                {
                    "name": "Get Profile",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{staff_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/staff/profile",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "staff",
                                "profile"
                            ]
                        }
                    }
                },
                {
                    "name": "Get My Payroll",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{staff_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/staff/my-payroll",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "staff",
                                "my-payroll"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Teachers",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{staff_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/staff/teachers",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "staff",
                                "teachers"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Leave Requests",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{staff_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/staff/leave-request",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "staff",
                                "leave-request"
                            ]
                        }
                    }
                },
                {
                    "name": "Get Student Leave Requests",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{staff_token}}"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/staff/student-leave-request",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "staff",
                                "student-leave-request"
                            ]
                        }
                    }
                }
            ]
        },
        {
            "name": "New & General Features",
            "item": [
                {
                    "name": "General Settings",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}",
                                "type": "text"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{BASE_URL}}/settings",
                            "host": [
                                "{{BASE_URL}}"
                            ],
                            "path": [
                                "settings"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Health Check",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{BASE_URL}}/health",
                            "host": [
                                "{{BASE_URL}}"
                            ],
                            "path": [
                                "health"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Health Ping",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{BASE_URL}}/health/ping",
                            "host": [
                                "{{BASE_URL}}"
                            ],
                            "path": [
                                "health",
                                "ping"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Chatbot Query",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\r\n    \"query\": \"Bagaimana cara melihat jadwal pelajaran?\"\r\n}"
                        },
                        "url": {
                            "raw": "{{BASE_URL}}/chatbot/query",
                            "host": [
                                "{{BASE_URL}}"
                            ],
                            "path": [
                                "chatbot",
                                "query"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Chatbot Context",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{token}}",
                                "type": "text"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "{{BASE_URL}}/chatbot/context",
                            "host": [
                                "{{BASE_URL}}"
                            ],
                            "path": [
                                "chatbot",
                                "context"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Parent Fees Webhook (Xendit)",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "x-callback-token",
                                "value": "your_xendit_callback_token_here",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\r\n    \"id\": \"123456\",\r\n    \"external_id\": \"INV-123\",\r\n    \"user_id\": \"6140\",\r\n    \"is_high\": false,\r\n    \"payment_method\": \"BANK_TRANSFER\",\r\n    \"status\": \"PAID\",\r\n    \"merchant_name\": \"Xendit\",\r\n    \"amount\": 150000,\r\n    \"paid_amount\": 150000,\r\n    \"bank_code\": \"BCA\",\r\n    \"paid_at\": \"2026-02-23T10:30:00.000Z\",\r\n    \"payer_email\": \"parent@example.com\",\r\n    \"description\": \"Payment for Invoice INV-123\"\r\n}"
                        },
                        "url": {
                            "raw": "{{BASE_URL}}/parent/fees/xendit/webhook",
                            "host": [
                                "{{BASE_URL}}"
                            ],
                            "path": [
                                "parent",
                                "fees",
                                "xendit",
                                "webhook"
                            ]
                        }
                    },
                    "response": []
                }
            ]
        }
    ],
    "variable": [
        {
            "key": "base_url",
            "value": "http://localhost:8000/api"
        },
        {
            "key": "student_token",
            "value": ""
        },
        {
            "key": "teacher_token",
            "value": ""
        },
        {
            "key": "parent_token",
            "value": ""
        },
        {
            "key": "staff_token",
            "value": ""
        },
        {
            "key": "student_id",
            "value": "1"
        },
        {
            "key": "assignment_id",
            "value": "1"
        }
    ]
}