Add Parent Behaviour Point

Adds a behaviour point to a pupil's record.

POST
/addparentbehaviour/{studentId}

Authorization

Authorization<token>

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

In: header

Request Body

application/x-www-form-urlencodedRequired
behaviour_idinteger

Path Parameters

studentIdRequiredinteger
curl -X POST "https://www.classcharts.com/apiv2student/addparentbehaviour/0" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d ''

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
    }
  ]
}