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": "72a8c1e9-f58d-40f0-a446-545e10fa1b61",
      "TeacherId": "14cd7166-abc7-4f0a-96f2-6c385c0e9469",
      "RegistrationId": "2d3c1c47-06ef-43cc-a02a-5d896631b60f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "4a6f3659-d9c9-4ad6-b4d2-f10fb7b30aee",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "4a6f3659-d9c9-4ad6-b4d2-f10fb7b30aee",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "72a8c1e9-f58d-40f0-a446-545e10fa1b61",
      "TeacherId": "14cd7166-abc7-4f0a-96f2-6c385c0e9469",
      "RegistrationId": "2d3c1c47-06ef-43cc-a02a-5d896631b60f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "4a6f3659-d9c9-4ad6-b4d2-f10fb7b30aee",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "4a6f3659-d9c9-4ad6-b4d2-f10fb7b30aee",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "f6d56b27-a882-453c-a971-17dfdfab64aa",
      "ClassType": 0,
      "TeacherId": "214292f6-480b-49e6-b434-1064278bf03f",
      "StudentId": "75dfed47-1622-4e21-90af-d8af3acaf3f3",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-09T07:35:39.5878304+00:00",
      "DateCompleted": "2025-11-09T07:35:39.5878304+00:00",
      "Created": "2025-11-09T07:35:39.5878304+00:00",
      "LastUpdated": "2025-11-09T07:35:39.5878304+00:00"
    },
    {
      "Id": "f6d56b27-a882-453c-a971-17dfdfab64aa",
      "ClassType": 0,
      "TeacherId": "214292f6-480b-49e6-b434-1064278bf03f",
      "StudentId": "75dfed47-1622-4e21-90af-d8af3acaf3f3",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-09T07:35:39.5878304+00:00",
      "DateCompleted": "2025-11-09T07:35:39.5878304+00:00",
      "Created": "2025-11-09T07:35:39.5878304+00:00",
      "LastUpdated": "2025-11-09T07:35:39.5878304+00:00"
    }
  ]
}