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": "e050f83f-94d7-4802-a980-341992582491",
      "TeacherId": "f530edbc-7619-4014-8f2d-39a049cce64e",
      "RegistrationId": "a574ffaa-303d-448b-a036-a34686e48b97",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "00ee0d66-f0a2-41c7-b9e0-adc502c22b5f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "00ee0d66-f0a2-41c7-b9e0-adc502c22b5f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "e050f83f-94d7-4802-a980-341992582491",
      "TeacherId": "f530edbc-7619-4014-8f2d-39a049cce64e",
      "RegistrationId": "a574ffaa-303d-448b-a036-a34686e48b97",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "00ee0d66-f0a2-41c7-b9e0-adc502c22b5f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "00ee0d66-f0a2-41c7-b9e0-adc502c22b5f",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "b1963387-bfb8-4b25-aace-ae283abdd31d",
      "ClassType": 0,
      "TeacherId": "bba13cf9-da65-40e0-b18d-5328a0b4fc4e",
      "StudentId": "f33490a9-d308-43c9-ada3-34f68399fda0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-24T12:14:39.5822355+00:00",
      "DateCompleted": "2026-01-24T12:14:39.5822355+00:00",
      "Created": "2026-01-24T12:14:39.5822355+00:00",
      "LastUpdated": "2026-01-24T12:14:39.5822355+00:00"
    },
    {
      "Id": "b1963387-bfb8-4b25-aace-ae283abdd31d",
      "ClassType": 0,
      "TeacherId": "bba13cf9-da65-40e0-b18d-5328a0b4fc4e",
      "StudentId": "f33490a9-d308-43c9-ada3-34f68399fda0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-24T12:14:39.5822355+00:00",
      "DateCompleted": "2026-01-24T12:14:39.5822355+00:00",
      "Created": "2026-01-24T12:14:39.5822355+00:00",
      "LastUpdated": "2026-01-24T12:14:39.5822355+00:00"
    }
  ]
}