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": "8b9d19a8-dd84-4178-b629-3184c89122c7",
      "TeacherId": "e9895d5b-2b88-4d33-a5d2-cf4e0b160328",
      "RegistrationId": "33dd6fa8-1858-46e0-b7ee-e0a3051804b4",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "03255c22-a4c0-4716-a90a-c8ed82c18d51",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "03255c22-a4c0-4716-a90a-c8ed82c18d51",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "8b9d19a8-dd84-4178-b629-3184c89122c7",
      "TeacherId": "e9895d5b-2b88-4d33-a5d2-cf4e0b160328",
      "RegistrationId": "33dd6fa8-1858-46e0-b7ee-e0a3051804b4",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "03255c22-a4c0-4716-a90a-c8ed82c18d51",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "03255c22-a4c0-4716-a90a-c8ed82c18d51",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "a9ea79a5-9d48-42e0-8bef-3ef77c05f847",
      "ClassType": 0,
      "TeacherId": "6003028e-84aa-476b-9708-993f7af61767",
      "StudentId": "7d0f3639-d907-459e-8e9f-67355a124133",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-02T21:11:51.3379826+00:00",
      "DateCompleted": "2026-11-02T21:11:51.3379826+00:00",
      "Created": "2026-11-02T21:11:51.3379826+00:00",
      "LastUpdated": "2026-11-02T21:11:51.3379826+00:00"
    },
    {
      "Id": "a9ea79a5-9d48-42e0-8bef-3ef77c05f847",
      "ClassType": 0,
      "TeacherId": "6003028e-84aa-476b-9708-993f7af61767",
      "StudentId": "7d0f3639-d907-459e-8e9f-67355a124133",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-02T21:11:51.3379826+00:00",
      "DateCompleted": "2026-11-02T21:11:51.3379826+00:00",
      "Created": "2026-11-02T21:11:51.3379826+00:00",
      "LastUpdated": "2026-11-02T21:11:51.3379826+00:00"
    }
  ]
}