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": "5745a17a-eca1-41b8-a17e-928b388c797e",
      "TeacherId": "4b622835-e75f-4fb2-9aa5-17ed17d962ef",
      "RegistrationId": "acd9ace8-eb7b-4a95-9217-3f4df658e959",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "67f7cd3a-7b5d-4172-8772-7bc3f0ee36be",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "67f7cd3a-7b5d-4172-8772-7bc3f0ee36be",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "5745a17a-eca1-41b8-a17e-928b388c797e",
      "TeacherId": "4b622835-e75f-4fb2-9aa5-17ed17d962ef",
      "RegistrationId": "acd9ace8-eb7b-4a95-9217-3f4df658e959",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "67f7cd3a-7b5d-4172-8772-7bc3f0ee36be",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "67f7cd3a-7b5d-4172-8772-7bc3f0ee36be",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "19306869-a1ae-4d4d-b3dd-bf9783c4dfe7",
      "ClassType": 0,
      "TeacherId": "a07ce843-8a02-482c-978b-e8e320f172b5",
      "StudentId": "646f6610-5bc3-447e-b1da-731ab768b86e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-19T07:33:51.522777+00:00",
      "DateCompleted": "2026-11-19T07:33:51.522777+00:00",
      "Created": "2026-11-19T07:33:51.522777+00:00",
      "LastUpdated": "2026-11-19T07:33:51.522777+00:00"
    },
    {
      "Id": "19306869-a1ae-4d4d-b3dd-bf9783c4dfe7",
      "ClassType": 0,
      "TeacherId": "a07ce843-8a02-482c-978b-e8e320f172b5",
      "StudentId": "646f6610-5bc3-447e-b1da-731ab768b86e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-19T07:33:51.522777+00:00",
      "DateCompleted": "2026-11-19T07:33:51.522777+00:00",
      "Created": "2026-11-19T07:33:51.522777+00:00",
      "LastUpdated": "2026-11-19T07:33:51.522777+00:00"
    }
  ]
}