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": "dd06976e-75dc-480b-8243-43f93485f35a",
      "TeacherId": "1a6abb58-508c-4186-b187-99900175b4c4",
      "RegistrationId": "34c685de-bf87-4aca-a7f0-1d7a0a014bc7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "dfdc1491-9e96-4d6a-a0ce-cd047da05472",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "dfdc1491-9e96-4d6a-a0ce-cd047da05472",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "dd06976e-75dc-480b-8243-43f93485f35a",
      "TeacherId": "1a6abb58-508c-4186-b187-99900175b4c4",
      "RegistrationId": "34c685de-bf87-4aca-a7f0-1d7a0a014bc7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "dfdc1491-9e96-4d6a-a0ce-cd047da05472",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "dfdc1491-9e96-4d6a-a0ce-cd047da05472",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "a0054087-9263-4986-b015-ff142b4f3edc",
      "ClassType": 0,
      "TeacherId": "1e4c7469-1335-41ce-b74a-ca935c9c18cf",
      "StudentId": "5b7db326-2d9e-4daa-8ca0-430a31e233e4",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-08-29T04:50:12.7800103+00:00",
      "DateCompleted": "2025-08-29T04:50:12.7800103+00:00",
      "Created": "2025-08-29T04:50:12.7800103+00:00",
      "LastUpdated": "2025-08-29T04:50:12.7800103+00:00"
    },
    {
      "Id": "a0054087-9263-4986-b015-ff142b4f3edc",
      "ClassType": 0,
      "TeacherId": "1e4c7469-1335-41ce-b74a-ca935c9c18cf",
      "StudentId": "5b7db326-2d9e-4daa-8ca0-430a31e233e4",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-08-29T04:50:12.7800103+00:00",
      "DateCompleted": "2025-08-29T04:50:12.7800103+00:00",
      "Created": "2025-08-29T04:50:12.7800103+00:00",
      "LastUpdated": "2025-08-29T04:50:12.7800103+00:00"
    }
  ]
}