ClassCharts API Docs

Add Parent Behaviour Point

Adds a behaviour point to a pupil's record.

POST
/addparentbehaviour/{studentId}
/addparentbehaviour/{studentId}

The Authorization access token

Authorization

Authorization
Required
Basic <token>

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

In: header

Request Body

application/x-www-form-urlencodedRequired

behaviour_idinteger

Path Parameters

studentId
Required
integer

curl -X POST "https://www.classcharts.com/apiv2parent/addparentbehaviour/0" \
  -H "Authorization: Basic <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "behaviour_id": 0
  }'

Behaviour point added or Daily limit reached

{
  "meta": [
    null
  ],
  "success": 1,
  "data": [
    {
      "id": 436310,
      "name": "Remarkable Reader",
      "icon_url": "https://www.classcharts.com/img/behaveicons/good/+reading2.png",
      "is_daily_limit_reached": false
    }
  ]
}