Get Academic Report

Get academic report by ID

GET
/getacademicreport/{id}

Authorization

Authorization<token>

This is the session_id returned when logging in. It must be prefixed with Basic. e.g. Basic eW91IHNob3VsZCBzdGFyIHRoaXMgcmVwbyE=

In: header

Path Parameters

idRequiredinteger

The ID of the academic report

Query Parameters

studentIdRequiredinteger
curl -X GET "https://www.classcharts.com/apiv2student/getacademicreport/0?studentId=0" \
  -H "Authorization: <token>"

Successful response

{
  "data": [
    {
      "id": 0,
      "name": "string",
      "start_date": "string",
      "end_date": "string",
      "overall_attendance_percentage": "string",
      "attendance_percentage": "string",
      "lessons": [
        {
          "attendance_percentage": "string",
          "lesson_name": "string",
          "teachers": [
            {
              "teacher_name": "string",
              "id": 0,
              "text": "string"
            }
          ],
          "grades": [
            {
              "field_name": "string",
              "grade": "string"
            }
          ]
        }
      ]
    }
  ],
  "meta": [],
  "success": 0
}