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": "55174389-fd02-4770-b427-8da159a2cd68",
      "TeacherId": "6ff5319e-8875-416f-8d46-a5e021ee4542",
      "RegistrationId": "9980c941-9506-44e2-a6e0-557ef42ac6c6",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "761c2dec-b6b5-4258-b8ef-11d45946e7a7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "761c2dec-b6b5-4258-b8ef-11d45946e7a7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "55174389-fd02-4770-b427-8da159a2cd68",
      "TeacherId": "6ff5319e-8875-416f-8d46-a5e021ee4542",
      "RegistrationId": "9980c941-9506-44e2-a6e0-557ef42ac6c6",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "761c2dec-b6b5-4258-b8ef-11d45946e7a7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "761c2dec-b6b5-4258-b8ef-11d45946e7a7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "c3803e78-1020-4245-97a0-cd3d24c98325",
      "ClassType": 0,
      "TeacherId": "6dfdd4d6-c12b-44fa-8379-ecfe345e8d0d",
      "StudentId": "c8c314b5-a99c-473e-907b-5df1a2c96d0e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-05T01:11:40.6671532+00:00",
      "DateCompleted": "2026-08-05T01:11:40.6671532+00:00",
      "Created": "2026-08-05T01:11:40.6671532+00:00",
      "LastUpdated": "2026-08-05T01:11:40.6671532+00:00"
    },
    {
      "Id": "c3803e78-1020-4245-97a0-cd3d24c98325",
      "ClassType": 0,
      "TeacherId": "6dfdd4d6-c12b-44fa-8379-ecfe345e8d0d",
      "StudentId": "c8c314b5-a99c-473e-907b-5df1a2c96d0e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-05T01:11:40.6671532+00:00",
      "DateCompleted": "2026-08-05T01:11:40.6671532+00:00",
      "Created": "2026-08-05T01:11:40.6671532+00:00",
      "LastUpdated": "2026-08-05T01:11:40.6671532+00:00"
    }
  ]
}