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": "c3a68f9e-1b3a-4b51-8659-bcfb389ecb2d",
      "TeacherId": "3ac795e8-350e-4d54-bb18-5c4c50b120a9",
      "RegistrationId": "ce125899-8ec0-4aaf-94ef-b15b0ea736a4",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "70baa870-54db-4afa-bfae-7a7f695bf4b5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "70baa870-54db-4afa-bfae-7a7f695bf4b5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "c3a68f9e-1b3a-4b51-8659-bcfb389ecb2d",
      "TeacherId": "3ac795e8-350e-4d54-bb18-5c4c50b120a9",
      "RegistrationId": "ce125899-8ec0-4aaf-94ef-b15b0ea736a4",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "70baa870-54db-4afa-bfae-7a7f695bf4b5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "70baa870-54db-4afa-bfae-7a7f695bf4b5",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "3db0408b-7df9-45a5-b674-340243ba7ddb",
      "ClassType": 0,
      "TeacherId": "ccf8907d-bfee-4592-b741-12c36bebd4b9",
      "StudentId": "57acd22f-7d06-4060-a81e-5d3fad83835c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-10T02:25:36.4334215+00:00",
      "DateCompleted": "2025-12-10T02:25:36.4334215+00:00",
      "Created": "2025-12-10T02:25:36.4334215+00:00",
      "LastUpdated": "2025-12-10T02:25:36.4334215+00:00"
    },
    {
      "Id": "3db0408b-7df9-45a5-b674-340243ba7ddb",
      "ClassType": 0,
      "TeacherId": "ccf8907d-bfee-4592-b741-12c36bebd4b9",
      "StudentId": "57acd22f-7d06-4060-a81e-5d3fad83835c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-10T02:25:36.4334215+00:00",
      "DateCompleted": "2025-12-10T02:25:36.4334215+00:00",
      "Created": "2025-12-10T02:25:36.4334215+00:00",
      "LastUpdated": "2025-12-10T02:25:36.4334215+00:00"
    }
  ]
}