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": "66b44081-18c7-4abb-b3b6-50d85edf0785",
      "TeacherId": "6591b39c-f072-4b77-898f-7487068f85d2",
      "RegistrationId": "314bffc9-f3b4-4bc4-94e6-b4091826db9b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "09029666-211f-4fcc-bced-d7d14d6ca5c4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "09029666-211f-4fcc-bced-d7d14d6ca5c4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "66b44081-18c7-4abb-b3b6-50d85edf0785",
      "TeacherId": "6591b39c-f072-4b77-898f-7487068f85d2",
      "RegistrationId": "314bffc9-f3b4-4bc4-94e6-b4091826db9b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "09029666-211f-4fcc-bced-d7d14d6ca5c4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "09029666-211f-4fcc-bced-d7d14d6ca5c4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "f9ea3533-af01-49ea-b3a8-9067dede160d",
      "ClassType": 0,
      "TeacherId": "acdcbeea-2ba9-48eb-9eab-a6f5c0c9a5f4",
      "StudentId": "b06a9374-e8ea-48a3-abea-85f8825dfe70",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-01T13:32:19.0937024+00:00",
      "DateCompleted": "2026-01-01T13:32:19.0937024+00:00",
      "Created": "2026-01-01T13:32:19.0937024+00:00",
      "LastUpdated": "2026-01-01T13:32:19.0937024+00:00"
    },
    {
      "Id": "f9ea3533-af01-49ea-b3a8-9067dede160d",
      "ClassType": 0,
      "TeacherId": "acdcbeea-2ba9-48eb-9eab-a6f5c0c9a5f4",
      "StudentId": "b06a9374-e8ea-48a3-abea-85f8825dfe70",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-01T13:32:19.0937024+00:00",
      "DateCompleted": "2026-01-01T13:32:19.0937024+00:00",
      "Created": "2026-01-01T13:32:19.0937024+00:00",
      "LastUpdated": "2026-01-01T13:32:19.0937024+00:00"
    }
  ]
}