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": "f0aa17c9-82a8-47cd-9416-cc50905055d8",
      "TeacherId": "12dcb609-3988-462a-98a0-b4e55ca504d2",
      "RegistrationId": "434ad652-8668-4519-8c1c-2987cf968a38",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e2be49ee-f292-4127-9e0e-d4d005f17291",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e2be49ee-f292-4127-9e0e-d4d005f17291",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "f0aa17c9-82a8-47cd-9416-cc50905055d8",
      "TeacherId": "12dcb609-3988-462a-98a0-b4e55ca504d2",
      "RegistrationId": "434ad652-8668-4519-8c1c-2987cf968a38",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e2be49ee-f292-4127-9e0e-d4d005f17291",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e2be49ee-f292-4127-9e0e-d4d005f17291",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "1b7b3323-5702-4f7d-992f-d8ef52d3a966",
      "ClassType": 0,
      "TeacherId": "6361b14d-e0d5-4168-9f92-4087bbe0e51a",
      "StudentId": "21f7bda6-940c-4b6c-978b-11ed9a8c6252",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-17T15:05:33.5092872+00:00",
      "DateCompleted": "2026-01-17T15:05:33.5092872+00:00",
      "Created": "2026-01-17T15:05:33.5092872+00:00",
      "LastUpdated": "2026-01-17T15:05:33.5092872+00:00"
    },
    {
      "Id": "1b7b3323-5702-4f7d-992f-d8ef52d3a966",
      "ClassType": 0,
      "TeacherId": "6361b14d-e0d5-4168-9f92-4087bbe0e51a",
      "StudentId": "21f7bda6-940c-4b6c-978b-11ed9a8c6252",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-17T15:05:33.5092872+00:00",
      "DateCompleted": "2026-01-17T15:05:33.5092872+00:00",
      "Created": "2026-01-17T15:05:33.5092872+00:00",
      "LastUpdated": "2026-01-17T15:05:33.5092872+00:00"
    }
  ]
}