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": "1553397e-7735-4977-ae9c-2d37ff872d85",
      "TeacherId": "be2b18d0-c7fb-4c4b-a44b-bb7bc485344d",
      "RegistrationId": "bd82b91b-0d0a-4b62-b057-03d50c52fceb",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "dbe9f4ae-0331-41a7-b6e2-9ef98f9c452e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "dbe9f4ae-0331-41a7-b6e2-9ef98f9c452e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "1553397e-7735-4977-ae9c-2d37ff872d85",
      "TeacherId": "be2b18d0-c7fb-4c4b-a44b-bb7bc485344d",
      "RegistrationId": "bd82b91b-0d0a-4b62-b057-03d50c52fceb",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "dbe9f4ae-0331-41a7-b6e2-9ef98f9c452e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "dbe9f4ae-0331-41a7-b6e2-9ef98f9c452e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "c680f46b-9a85-4307-a08f-00d0306e4675",
      "ClassType": 0,
      "TeacherId": "6a0b357a-4add-4859-babe-b13ae468e6a9",
      "StudentId": "5accafdc-2cbc-40b1-bd35-3138ec6aa877",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-14T01:01:44.1888736+00:00",
      "DateCompleted": "2026-04-14T01:01:44.1888736+00:00",
      "Created": "2026-04-14T01:01:44.1888736+00:00",
      "LastUpdated": "2026-04-14T01:01:44.1888736+00:00"
    },
    {
      "Id": "c680f46b-9a85-4307-a08f-00d0306e4675",
      "ClassType": 0,
      "TeacherId": "6a0b357a-4add-4859-babe-b13ae468e6a9",
      "StudentId": "5accafdc-2cbc-40b1-bd35-3138ec6aa877",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-14T01:01:44.1888736+00:00",
      "DateCompleted": "2026-04-14T01:01:44.1888736+00:00",
      "Created": "2026-04-14T01:01:44.1888736+00:00",
      "LastUpdated": "2026-04-14T01:01:44.1888736+00:00"
    }
  ]
}