π¨βπ« Add Teacher to College
The addTeacherToCollege mutation allows administrators to assign a new teacher to their college using the teacher's email, optional profile details, and associated courses.
Input Parameters
Parameter | Type | Description |
|---|---|---|
| String! | Email address of the teacher being added. |
| TeacherInput | Optional teacher profile details (e.g., external ID). |
| [ID!] | List of course IDs to assign the teacher to. |
Input Object: TeacherInput
Field | Type | Description |
|---|---|---|
| String | External system identifier for the teacher (optional). |
Response Fields
Field | Type | Description |
|---|---|---|
| ID! | Unique identifier of the teacher in the system. |
| String | External ID associated with the teacher, if provided. |
| DateTime! | Timestamp of when the teacher was added. |
| DateTime! | Timestamp of the last update to the teacher record. |
| String! | Full name of the teacher. |
| String! | Email address of the teacher. |