POST
/smart-ia/cohorts
curl \
-X POST https://connect.century.tech/api/v1/smart-ia/cohorts \
-H "Content-Type: application/json" \
-d '{"cohort":{"name":"Cohort 2023","description":"This cohort is for students graduating in 2023","academicYearId":"dccd109a-08ca-4a18-a277-4653ba726316","tests":[{"testId":"c5a77fda-7174-446f-a4f5-0f47ccbf15ce","active":true}]}}'
Request examples
{
"cohort": {
"name": "Cohort 2023",
"description": "This cohort is for students graduating in 2023",
"academicYearId": "dccd109a-08ca-4a18-a277-4653ba726316",
"tests": [
{
"testId": "c5a77fda-7174-446f-a4f5-0f47ccbf15ce",
"active": true
}
]
}
}
Response examples (201)
{
"cohort": {
"name": "Cohort 2023",
"tests": [
{
"name": "English Initial Test",
"testId": "c5a77fda-7174-446f-a4f5-0f47ccbf15ce",
"subject": "English",
"testVersionId": "38444333-7450-49d5-922d-eb16a8f30589",
"activationStatus": "active"
}
],
"cohortId": "784baee5-08ab-459a-ab44-b24a0efd3a57",
"description": "This cohort is for students graduating in 2023",
"academicYearId": "dccd109a-08ca-4a18-a277-4653ba726316"
}
}