Skip to main content
POST
/
v1
/
console
/
case-studies
/
{case_study_id}
/
students
Add Student To Case Study
curl --request POST \
  --url http://localhost:8000/v1/console/case-studies/{case_study_id}/students \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "full_name": "<string>",
  "programme_code": "<string>"
}
'
{
  "data": {
    "attempt_record_created": true,
    "base_attempts": 123,
    "case_study_id": "<string>",
    "email": "<string>",
    "programme_code": "<string>",
    "student_name": "<string>",
    "user_created": true,
    "user_id": "<string>"
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Path Parameters

case_study_id
string
required

Body

application/json
email
string<email>
required
full_name
string
required
Required string length: 1 - 255
programme_code
string
required
Required string length: 1 - 50

Response

Successful Response

data
CaseStudyAddStudentResponse · object
message
string | null
success
boolean
default:true