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": "b3fef8bc-fe2c-4fdc-ba11-4a43dc367e47",
      "TeacherId": "09d41a22-acb1-4491-9dd8-cd4f964e4051",
      "RegistrationId": "a082d434-3e48-48dc-bd75-c204e2acf94b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b50146a0-e876-489e-a386-4fa1f64941aa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b50146a0-e876-489e-a386-4fa1f64941aa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "b3fef8bc-fe2c-4fdc-ba11-4a43dc367e47",
      "TeacherId": "09d41a22-acb1-4491-9dd8-cd4f964e4051",
      "RegistrationId": "a082d434-3e48-48dc-bd75-c204e2acf94b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b50146a0-e876-489e-a386-4fa1f64941aa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b50146a0-e876-489e-a386-4fa1f64941aa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "f13057f3-a535-477e-bbb1-2a304ef3e091",
      "ClassType": 0,
      "TeacherId": "137790a8-4ecc-4bd6-a13a-148cc2efcbe0",
      "StudentId": "445aec3f-29f4-4a3e-8d64-291c86df16b7",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-08T18:52:02.2123044+00:00",
      "DateCompleted": "2026-04-08T18:52:02.2123044+00:00",
      "Created": "2026-04-08T18:52:02.2123044+00:00",
      "LastUpdated": "2026-04-08T18:52:02.2123044+00:00"
    },
    {
      "Id": "f13057f3-a535-477e-bbb1-2a304ef3e091",
      "ClassType": 0,
      "TeacherId": "137790a8-4ecc-4bd6-a13a-148cc2efcbe0",
      "StudentId": "445aec3f-29f4-4a3e-8d64-291c86df16b7",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-08T18:52:02.2123044+00:00",
      "DateCompleted": "2026-04-08T18:52:02.2123044+00:00",
      "Created": "2026-04-08T18:52:02.2123044+00:00",
      "LastUpdated": "2026-04-08T18:52:02.2123044+00:00"
    }
  ]
}