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": "160005f6-a0da-462a-999a-5626e057a936",
      "TeacherId": "5540ccca-f374-4fa3-b3e4-2c3e6fd74224",
      "RegistrationId": "798bf7ee-f47c-43b3-a0af-79b94a0268e7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "09e0e163-6505-4d5c-b31b-3e535ab969d1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "09e0e163-6505-4d5c-b31b-3e535ab969d1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "160005f6-a0da-462a-999a-5626e057a936",
      "TeacherId": "5540ccca-f374-4fa3-b3e4-2c3e6fd74224",
      "RegistrationId": "798bf7ee-f47c-43b3-a0af-79b94a0268e7",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "09e0e163-6505-4d5c-b31b-3e535ab969d1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "09e0e163-6505-4d5c-b31b-3e535ab969d1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "b8c7adec-702d-4f59-844d-e219905f9bf4",
      "ClassType": 0,
      "TeacherId": "e89f3827-3134-4a6d-91e4-a7ebd11dd0e0",
      "StudentId": "b483deb4-f7e2-4624-a517-834616651bf1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-28T22:25:47.6840563+00:00",
      "DateCompleted": "2026-03-28T22:25:47.6840563+00:00",
      "Created": "2026-03-28T22:25:47.6840563+00:00",
      "LastUpdated": "2026-03-28T22:25:47.6840563+00:00"
    },
    {
      "Id": "b8c7adec-702d-4f59-844d-e219905f9bf4",
      "ClassType": 0,
      "TeacherId": "e89f3827-3134-4a6d-91e4-a7ebd11dd0e0",
      "StudentId": "b483deb4-f7e2-4624-a517-834616651bf1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-28T22:25:47.6840563+00:00",
      "DateCompleted": "2026-03-28T22:25:47.6840563+00:00",
      "Created": "2026-03-28T22:25:47.6840563+00:00",
      "LastUpdated": "2026-03-28T22:25:47.6840563+00:00"
    }
  ]
}