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": "f60c0780-ef6f-45a0-ba2c-428f35fce88a",
      "TeacherId": "fbbe0dd8-3eba-49bf-a794-54587db25eec",
      "RegistrationId": "cb0a23c9-9309-41e0-84d0-e11daefd9cff",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "ddfd166b-212c-4606-bdc3-df496062c593",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "ddfd166b-212c-4606-bdc3-df496062c593",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "f60c0780-ef6f-45a0-ba2c-428f35fce88a",
      "TeacherId": "fbbe0dd8-3eba-49bf-a794-54587db25eec",
      "RegistrationId": "cb0a23c9-9309-41e0-84d0-e11daefd9cff",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "ddfd166b-212c-4606-bdc3-df496062c593",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "ddfd166b-212c-4606-bdc3-df496062c593",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "fdf31727-5147-410a-93a0-55fc7668bcf0",
      "ClassType": 0,
      "TeacherId": "50024bf4-57c3-41e3-abdd-87afad0b2d13",
      "StudentId": "2bd8efb3-83d7-4c76-bc69-6a16ba3804f9",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-30T10:50:05.3420648+00:00",
      "DateCompleted": "2026-10-30T10:50:05.3420648+00:00",
      "Created": "2026-10-30T10:50:05.3420648+00:00",
      "LastUpdated": "2026-10-30T10:50:05.3420648+00:00"
    },
    {
      "Id": "fdf31727-5147-410a-93a0-55fc7668bcf0",
      "ClassType": 0,
      "TeacherId": "50024bf4-57c3-41e3-abdd-87afad0b2d13",
      "StudentId": "2bd8efb3-83d7-4c76-bc69-6a16ba3804f9",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-30T10:50:05.3420648+00:00",
      "DateCompleted": "2026-10-30T10:50:05.3420648+00:00",
      "Created": "2026-10-30T10:50:05.3420648+00:00",
      "LastUpdated": "2026-10-30T10:50:05.3420648+00:00"
    }
  ]
}