GET classes/{classId}/classResults

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Authenticated user passes at least one of the following conditions: Authenticated user is a staff member and is assigned to the same center as a user who matches any student who has a result for class specified by "classId" uri parameter parameter or by content of request. Authenticated user is a staff member and is assigned to the online center as a user who matches any student who has a result for class specified by "classId" uri parameter parameter or by content of request. Authenticated user matches any student who has a result for class specified by "classId" uri parameter parameter or by content of request.
  • Authenticated user who is either StaffMember

Request Information

URI Parameters

NameDescriptionTypeAdditional information
classId

string

Required

Body Parameters

None.

Response Information

Resource Description

PearsonEnglish.LearningServices.Wse.Models.Views.ClassResultAggregationViewModel
NameDescriptionTypeAdditional information
PartialResults

Collection of PearsonEnglish.LearningServices.Wse.Models.Views.RatingSchemaPartsResultsViewModel

None.

Results

Collection of PearsonEnglish.LearningServices.Wse.Models.Views.ClassResultViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "PartialResults": [
    {
      "StudentId": "ceeea17d-c0d9-4059-ba16-0a2c1d31769b",
      "TeacherId": "ab1a8ff4-b058-47fb-9a2c-05bd7c824b59",
      "RegistrationId": "84e6356c-d35e-47ac-a145-ecfec6636b50",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "27540d4c-0fdf-4123-b8f4-507d0e2fd011",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "27540d4c-0fdf-4123-b8f4-507d0e2fd011",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "ceeea17d-c0d9-4059-ba16-0a2c1d31769b",
      "TeacherId": "ab1a8ff4-b058-47fb-9a2c-05bd7c824b59",
      "RegistrationId": "84e6356c-d35e-47ac-a145-ecfec6636b50",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "27540d4c-0fdf-4123-b8f4-507d0e2fd011",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "27540d4c-0fdf-4123-b8f4-507d0e2fd011",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "4d6fc9f5-f77b-4fcb-ad7d-0f1a81b87c67",
      "ClassType": 0,
      "TeacherId": "2bcc2b06-3362-4393-8fbe-971ad8025f02",
      "StudentId": "e427e3cd-f8f7-4ad6-bddc-99dbfafced15",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-29T18:40:48.0388214+00:00",
      "DateCompleted": "2026-06-29T18:40:48.0388214+00:00",
      "Created": "2026-06-29T18:40:48.0388214+00:00",
      "LastUpdated": "2026-06-29T18:40:48.0388214+00:00"
    },
    {
      "Id": "4d6fc9f5-f77b-4fcb-ad7d-0f1a81b87c67",
      "ClassType": 0,
      "TeacherId": "2bcc2b06-3362-4393-8fbe-971ad8025f02",
      "StudentId": "e427e3cd-f8f7-4ad6-bddc-99dbfafced15",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-29T18:40:48.0388214+00:00",
      "DateCompleted": "2026-06-29T18:40:48.0388214+00:00",
      "Created": "2026-06-29T18:40:48.0388214+00:00",
      "LastUpdated": "2026-06-29T18:40:48.0388214+00:00"
    }
  ]
}