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": "7c8c88d1-a891-43a2-bb2f-27b874047de5",
      "TeacherId": "e42908fa-19cd-4799-bcac-494c4bc79085",
      "RegistrationId": "59e68231-08ba-4166-a185-b10265fb775e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "4689a6b2-da18-4ce6-bedb-089362e20f02",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "4689a6b2-da18-4ce6-bedb-089362e20f02",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "7c8c88d1-a891-43a2-bb2f-27b874047de5",
      "TeacherId": "e42908fa-19cd-4799-bcac-494c4bc79085",
      "RegistrationId": "59e68231-08ba-4166-a185-b10265fb775e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "4689a6b2-da18-4ce6-bedb-089362e20f02",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "4689a6b2-da18-4ce6-bedb-089362e20f02",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "769388a3-74ae-4f5b-94f5-c19fc4af28c5",
      "ClassType": 0,
      "TeacherId": "16b378e1-841f-438e-8d64-151e94aaafe3",
      "StudentId": "4de1a6b6-fdd2-48ac-ac8b-0cb2c37ad313",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-06T00:24:27.0120178+00:00",
      "DateCompleted": "2025-12-06T00:24:27.0120178+00:00",
      "Created": "2025-12-06T00:24:27.0120178+00:00",
      "LastUpdated": "2025-12-06T00:24:27.0120178+00:00"
    },
    {
      "Id": "769388a3-74ae-4f5b-94f5-c19fc4af28c5",
      "ClassType": 0,
      "TeacherId": "16b378e1-841f-438e-8d64-151e94aaafe3",
      "StudentId": "4de1a6b6-fdd2-48ac-ac8b-0cb2c37ad313",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-06T00:24:27.0120178+00:00",
      "DateCompleted": "2025-12-06T00:24:27.0120178+00:00",
      "Created": "2025-12-06T00:24:27.0120178+00:00",
      "LastUpdated": "2025-12-06T00:24:27.0120178+00:00"
    }
  ]
}