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": "77d801a9-fc59-4f3d-8ad0-a1a14d52ab0e",
      "TeacherId": "e9e17b80-c04a-4a5f-a6d9-31c396e20a72",
      "RegistrationId": "e49e8bfb-d0d7-42dc-9530-638e3250b4d2",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "2afa96bf-469c-4666-ad30-afb8635011f4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "2afa96bf-469c-4666-ad30-afb8635011f4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "77d801a9-fc59-4f3d-8ad0-a1a14d52ab0e",
      "TeacherId": "e9e17b80-c04a-4a5f-a6d9-31c396e20a72",
      "RegistrationId": "e49e8bfb-d0d7-42dc-9530-638e3250b4d2",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "2afa96bf-469c-4666-ad30-afb8635011f4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "2afa96bf-469c-4666-ad30-afb8635011f4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "1fd5661d-341b-4dd0-b116-55800f8c358d",
      "ClassType": 0,
      "TeacherId": "932371c6-b178-41fa-b65e-bbc9748cf141",
      "StudentId": "e2fccde2-764d-40d9-b412-81300f7db112",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-14T13:07:39.9351116+00:00",
      "DateCompleted": "2026-05-14T13:07:39.9351116+00:00",
      "Created": "2026-05-14T13:07:39.9351116+00:00",
      "LastUpdated": "2026-05-14T13:07:39.9351116+00:00"
    },
    {
      "Id": "1fd5661d-341b-4dd0-b116-55800f8c358d",
      "ClassType": 0,
      "TeacherId": "932371c6-b178-41fa-b65e-bbc9748cf141",
      "StudentId": "e2fccde2-764d-40d9-b412-81300f7db112",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-14T13:07:39.9351116+00:00",
      "DateCompleted": "2026-05-14T13:07:39.9351116+00:00",
      "Created": "2026-05-14T13:07:39.9351116+00:00",
      "LastUpdated": "2026-05-14T13:07:39.9351116+00:00"
    }
  ]
}