Mirror the partner's data like school branches ,classrooms their students and teachers , also school managers and school admins.
type :
| Name | required | type | description |
|---|---|---|---|
| referer | YES | string | The root of the application that is sending the request (your website at jusoorlabs.com) |
| accept | YES | string | the basic accept header (always send it as application/json) |
| token | YES | string | The token provided to you once you've registerd with Jusoor Labs API. |
| Name | required | type | description |
|---|---|---|---|
| branches | YES | Array |
An array containing one or more school objects. Array consists of the following |
| branches.id | YES | Integer | A unique identifier for the school. |
| branches.name | YES | String | The name of the school. |
| branches.classes | YES | Array | An array of class objects associated with the school. |
| branches.classes.id | YES | Integer | A unique identifier for the class. |
| branches.classes.name | YES | String | The name of the class. |
| branches.classes.sections | YES | Array | An array of section objects within the class. |
| branches.classes.sections.name | YES | String | A unique identifier for the section. |
| branches.classes.sections.subjects | YES | Array | An array of subject objects taught in the section. |
| branches.classes.sections.subjects.id | YES | Integer | A unique identifier for the subject. |
| branches.classes.sections.subjects.name | YES | String | The name of the subject. |
| branches.classes.sections.subjects.teachers | YES | Array | An array of teacher objects associated with the subject. |
| branches.classes.sections.subjects.teachers.user_no | YES | Integer | A unique identifier for the teacher. |
| branches.classes.sections.subjects.teachers.name_user | YES | String | The name of the teacher. |
| branches.classes.sections.subjects.teachers.user_email | OPTIONAL | String | The email address of the teacher. |
| branches.classes.sections.students | YES | Array | An array of student objects enrolled in the section. |
| branches.classes.sections.students.user_no | YES | Integer | A unique identifier for the student. |
| branches.classes.sections.students.name_user | YES | String | The name of the student. |
| branches.classes.sections.students.user_email | OPTIONAL | String | The email address of the student. |