Skip to navigation

GetStudentGuardians

View as Markdown

Get the guardians (parents) of a student, each with their relation to the student.

Input variables

  • studentId: id of the student. Check the GetStudents call

The student must belong to your school. Each entry has the same shape as the guardians list in GetStudent; relation ids are those of GetRelations.

Path parameters

studentIdstringRequired

Headers

dreamclass-secret-keystringOptional

Your DreamClass API key. Required on every request. Find it in the DreamClass app under Settings > Integrations.

tenantstringOptional

Your tenant code: the DreamClass subdomain you sign in at (for https://myaccount.dreamclass.io it is “myaccount”), or your full white-labelled domain. Required on every request.

schoolCodestringOptional

Your school code. Required on every request. Find it in the DreamClass app under Settings > Integrations.

Response headers

Access-Control-Allow-OriginstringOptional
Access-Control-Allow-MethodsstringOptional
X-Content-Type-OptionsstringOptional
Cache-ControlstringOptional

Response

OK
guardianobject
relationobject