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": "a388b175-d333-4f80-8555-b02d7790b938",
      "TeacherId": "90de0fab-634a-4137-ba8f-c527e5bfd38f",
      "RegistrationId": "ce3c1df3-3b6e-4586-836a-33d8fa3727da",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "541d0998-93c2-4ede-830a-d175110c4040",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "541d0998-93c2-4ede-830a-d175110c4040",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "a388b175-d333-4f80-8555-b02d7790b938",
      "TeacherId": "90de0fab-634a-4137-ba8f-c527e5bfd38f",
      "RegistrationId": "ce3c1df3-3b6e-4586-836a-33d8fa3727da",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "541d0998-93c2-4ede-830a-d175110c4040",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "541d0998-93c2-4ede-830a-d175110c4040",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "72b15445-88c5-4f8d-a9eb-1d4938febefd",
      "ClassType": 0,
      "TeacherId": "87906157-9293-4503-a348-fb9594e299b8",
      "StudentId": "0ed6f2e2-04b4-439a-af79-ec5e06c516b0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-19T09:29:07.311864+00:00",
      "DateCompleted": "2026-07-19T09:29:07.311864+00:00",
      "Created": "2026-07-19T09:29:07.311864+00:00",
      "LastUpdated": "2026-07-19T09:29:07.311864+00:00"
    },
    {
      "Id": "72b15445-88c5-4f8d-a9eb-1d4938febefd",
      "ClassType": 0,
      "TeacherId": "87906157-9293-4503-a348-fb9594e299b8",
      "StudentId": "0ed6f2e2-04b4-439a-af79-ec5e06c516b0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-19T09:29:07.311864+00:00",
      "DateCompleted": "2026-07-19T09:29:07.311864+00:00",
      "Created": "2026-07-19T09:29:07.311864+00:00",
      "LastUpdated": "2026-07-19T09:29:07.311864+00:00"
    }
  ]
}