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": "ed6588ea-87b6-47d9-90ce-ed1809aaf4bc",
      "TeacherId": "7cd17fb7-252e-43a4-86c7-f4996f24ad84",
      "RegistrationId": "4ffdaa9d-1987-453d-a8dd-e77eff4cec4a",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d00dfb69-2e70-4530-a0e7-be15d29fb25b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d00dfb69-2e70-4530-a0e7-be15d29fb25b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "ed6588ea-87b6-47d9-90ce-ed1809aaf4bc",
      "TeacherId": "7cd17fb7-252e-43a4-86c7-f4996f24ad84",
      "RegistrationId": "4ffdaa9d-1987-453d-a8dd-e77eff4cec4a",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d00dfb69-2e70-4530-a0e7-be15d29fb25b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d00dfb69-2e70-4530-a0e7-be15d29fb25b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "fbf3b54d-799f-4e4f-a94b-2f2da09d9f0e",
      "ClassType": 0,
      "TeacherId": "c23e8966-3b62-44ba-b7f0-981076782b61",
      "StudentId": "6729185a-dc2c-4054-ab63-690d14d7f28c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-05T10:59:32.4821243+00:00",
      "DateCompleted": "2025-11-05T10:59:32.4821243+00:00",
      "Created": "2025-11-05T10:59:32.4821243+00:00",
      "LastUpdated": "2025-11-05T10:59:32.4821243+00:00"
    },
    {
      "Id": "fbf3b54d-799f-4e4f-a94b-2f2da09d9f0e",
      "ClassType": 0,
      "TeacherId": "c23e8966-3b62-44ba-b7f0-981076782b61",
      "StudentId": "6729185a-dc2c-4054-ab63-690d14d7f28c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-05T10:59:32.4821243+00:00",
      "DateCompleted": "2025-11-05T10:59:32.4821243+00:00",
      "Created": "2025-11-05T10:59:32.4821243+00:00",
      "LastUpdated": "2025-11-05T10:59:32.4821243+00:00"
    }
  ]
}