Get Cohort

GET /smart-ia/cohorts/{cohortId}

Get a Smart IA Cohort

Path parameters

  • cohortId string(uuid) Required

    The ID of the cohort.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • cohort object Required
      Hide cohort attributes Show cohort attributes object
      • cohortId string(uuid) Required

        Cohort UUID

      • name string Required

        The name of the cohort

      • Optional cohort description

      • academicYearId string(uuid) Required

        Academic Year UUID

      • tests array[object] Required
        Hide tests attributes Show tests attributes object
        • testId string(uuid) Required

          The Smart IA test ID

        • testVersionId string(uuid) Required

          The unique identifier for the Smart IA test version (UUID).

        • name string Required

          The name of the Smart IA test.

        • subject string Required

          The subject of the Smart IA test.

        • activationStatus string Required

          Values are active, inactive, or deactivated.

  • Invalid request.

  • Invalid authentication credentials

  • Not authorised to access this resource

  • Cohort not found.

GET /smart-ia/cohorts/{cohortId}
curl \
 -X GET https://connect.century.tech/api/v1/smart-ia/cohorts/c334f818-0281-4f47-855a-3a3d0e356cfd
Response examples (200)
{
  "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"
  }
}