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": "9acd30ae-6c0a-45ed-980e-5d251a74ddf3",
      "TeacherId": "cfec088c-e5aa-4a4f-b66c-250f42cb5d55",
      "RegistrationId": "ccbb49b6-b412-4c1e-92b9-921575d56f01",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "c6e5f424-db64-4013-940c-b61dd11f54a7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "c6e5f424-db64-4013-940c-b61dd11f54a7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "9acd30ae-6c0a-45ed-980e-5d251a74ddf3",
      "TeacherId": "cfec088c-e5aa-4a4f-b66c-250f42cb5d55",
      "RegistrationId": "ccbb49b6-b412-4c1e-92b9-921575d56f01",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "c6e5f424-db64-4013-940c-b61dd11f54a7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "c6e5f424-db64-4013-940c-b61dd11f54a7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "cc3df11f-8ba6-47a8-8c3b-48e9ed500352",
      "ClassType": 0,
      "TeacherId": "dce9cea9-d3c6-4e42-a96a-1b3094dc8523",
      "StudentId": "db4f167a-4bda-4929-a529-ee8e303b111b",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-15T10:01:51.0550547+00:00",
      "DateCompleted": "2026-08-15T10:01:51.0550547+00:00",
      "Created": "2026-08-15T10:01:51.0550547+00:00",
      "LastUpdated": "2026-08-15T10:01:51.0550547+00:00"
    },
    {
      "Id": "cc3df11f-8ba6-47a8-8c3b-48e9ed500352",
      "ClassType": 0,
      "TeacherId": "dce9cea9-d3c6-4e42-a96a-1b3094dc8523",
      "StudentId": "db4f167a-4bda-4929-a529-ee8e303b111b",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-15T10:01:51.0550547+00:00",
      "DateCompleted": "2026-08-15T10:01:51.0550547+00:00",
      "Created": "2026-08-15T10:01:51.0550547+00:00",
      "LastUpdated": "2026-08-15T10:01:51.0550547+00:00"
    }
  ]
}