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": "4fc8407e-826a-4ecd-b33d-12c9cd132d3e",
      "TeacherId": "4ef351d5-cbea-4cb2-a77a-77f753a8aa2b",
      "RegistrationId": "7fdcee09-8ccf-455b-9d0d-a64e5f009658",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "916b9e57-1fbd-4e5d-9848-b9151a18c268",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "916b9e57-1fbd-4e5d-9848-b9151a18c268",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "4fc8407e-826a-4ecd-b33d-12c9cd132d3e",
      "TeacherId": "4ef351d5-cbea-4cb2-a77a-77f753a8aa2b",
      "RegistrationId": "7fdcee09-8ccf-455b-9d0d-a64e5f009658",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "916b9e57-1fbd-4e5d-9848-b9151a18c268",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "916b9e57-1fbd-4e5d-9848-b9151a18c268",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "498b3ae2-4cb7-43be-bc7a-8529a68c7f1f",
      "ClassType": 0,
      "TeacherId": "7a6ed380-0fba-4206-889b-67b2ca424be2",
      "StudentId": "6b9edd41-548d-4e91-af16-e16799288408",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-25T16:03:53.1923805+00:00",
      "DateCompleted": "2026-06-25T16:03:53.1923805+00:00",
      "Created": "2026-06-25T16:03:53.1923805+00:00",
      "LastUpdated": "2026-06-25T16:03:53.1923805+00:00"
    },
    {
      "Id": "498b3ae2-4cb7-43be-bc7a-8529a68c7f1f",
      "ClassType": 0,
      "TeacherId": "7a6ed380-0fba-4206-889b-67b2ca424be2",
      "StudentId": "6b9edd41-548d-4e91-af16-e16799288408",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-25T16:03:53.1923805+00:00",
      "DateCompleted": "2026-06-25T16:03:53.1923805+00:00",
      "Created": "2026-06-25T16:03:53.1923805+00:00",
      "LastUpdated": "2026-06-25T16:03:53.1923805+00:00"
    }
  ]
}