Assign Cohort Tests

POST /smart-ia/cohorts/{cohortId}/tests

Assign Smart IA Tests to a Cohort

Path parameters

  • cohortId string(uuid) Required

    The ID of the cohort.

application/json

Body Required

  • testIds array[string(uuid)] Required

    Smart IA Test UUID

Responses

  • Tests assigned successfully.

  • Invalid request.

  • Invalid authentication credentials

  • Not authorised to access this resource

  • Cohort not found.

POST /smart-ia/cohorts/{cohortId}/tests
curl \
 -X POST https://connect.century.tech/api/v1/smart-ia/cohorts/c334f818-0281-4f47-855a-3a3d0e356cfd/tests \
 -H "Content-Type: application/json" \
 -d '{"testIds":["c5a77fda-7174-446f-a4f5-0f47ccbf15ce"]}'
Request examples
{
  "testIds": [
    "c5a77fda-7174-446f-a4f5-0f47ccbf15ce"
  ]
}