ClassCharts API Docs

Get On Report Card

Get on report card by ID

GET
/getpupilreportcard/{id}
/getpupilreportcard/{id}

The Authorization access token

Authorization

Authorization
Required
Basic <token>

This is the session_id returned when logging in. e.g. Basic eW91IHNob3VsZCBzdGFyIHRoaXMgcmVwbyE=

In: header

Query Parameters

pupil_id
Required
integer

Path Parameters

id
Required
integer

The ID of the on report card

curl -X GET "https://www.classcharts.com/apiv2student/getpupilreportcard/0?pupil_id=0" \
  -H "Authorization: Basic <token>"

Successful response

{
  "data": [
    {
      "id": 0,
      "start_date": "string",
      "end_date": "string",
      "reason": "string",
      "level": "string",
      "teacher": "string",
      "description": "string",
      "parent_comments": [
        {
          "id": 0,
          "description": "string",
          "date": "string",
          "can_edit": true
        }
      ],
      "targets": [
        {
          "id": 0
        }
      ]
    }
  ],
  "meta": {
    "forbidden_days_of_week": [
      0
    ]
  },
  "success": true
}