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": "5640aafe-0411-448f-aa0d-c1096706f68b",
      "TeacherId": "7746510c-4976-4630-a3d3-50ece41e195e",
      "RegistrationId": "35fe9d9a-8518-4fa7-8a53-0951facb86b7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "26cbe127-7564-4620-b752-14627da0a981",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "26cbe127-7564-4620-b752-14627da0a981",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "5640aafe-0411-448f-aa0d-c1096706f68b",
      "TeacherId": "7746510c-4976-4630-a3d3-50ece41e195e",
      "RegistrationId": "35fe9d9a-8518-4fa7-8a53-0951facb86b7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "26cbe127-7564-4620-b752-14627da0a981",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "26cbe127-7564-4620-b752-14627da0a981",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "e6a562d5-00fd-4c58-8e2a-cdd7f8f9dd56",
      "ClassType": 0,
      "TeacherId": "8ed9f25b-c9b4-44dc-80c7-14956a9d8d0c",
      "StudentId": "df8ff2b1-db7f-4d6f-9cfd-621ad08727a0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-22T16:10:59.9080147+00:00",
      "DateCompleted": "2026-10-22T16:10:59.9080147+00:00",
      "Created": "2026-10-22T16:10:59.9080147+00:00",
      "LastUpdated": "2026-10-22T16:10:59.9080147+00:00"
    },
    {
      "Id": "e6a562d5-00fd-4c58-8e2a-cdd7f8f9dd56",
      "ClassType": 0,
      "TeacherId": "8ed9f25b-c9b4-44dc-80c7-14956a9d8d0c",
      "StudentId": "df8ff2b1-db7f-4d6f-9cfd-621ad08727a0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-22T16:10:59.9080147+00:00",
      "DateCompleted": "2026-10-22T16:10:59.9080147+00:00",
      "Created": "2026-10-22T16:10:59.9080147+00:00",
      "LastUpdated": "2026-10-22T16:10:59.9080147+00:00"
    }
  ]
}