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": "49504d30-c5c6-4a4f-96eb-fda174d9a656",
      "TeacherId": "afcdb53a-e2e4-439f-82fd-3f5563eb25f7",
      "RegistrationId": "ec4965cc-580b-4f79-a4be-29d939fa5503",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d4339c5c-0ed7-42fd-8737-a5d40519968b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d4339c5c-0ed7-42fd-8737-a5d40519968b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "49504d30-c5c6-4a4f-96eb-fda174d9a656",
      "TeacherId": "afcdb53a-e2e4-439f-82fd-3f5563eb25f7",
      "RegistrationId": "ec4965cc-580b-4f79-a4be-29d939fa5503",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d4339c5c-0ed7-42fd-8737-a5d40519968b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d4339c5c-0ed7-42fd-8737-a5d40519968b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "1cf4d3a7-ed85-4f01-bb19-b8e0bb4e387f",
      "ClassType": 0,
      "TeacherId": "3432034c-cd65-44c5-9ac2-3295a43e3b48",
      "StudentId": "cd9add0e-030d-4bf8-bcb1-f776c102ca66",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-08T03:03:00.6999059+00:00",
      "DateCompleted": "2026-06-08T03:03:00.6999059+00:00",
      "Created": "2026-06-08T03:03:00.6999059+00:00",
      "LastUpdated": "2026-06-08T03:03:00.6999059+00:00"
    },
    {
      "Id": "1cf4d3a7-ed85-4f01-bb19-b8e0bb4e387f",
      "ClassType": 0,
      "TeacherId": "3432034c-cd65-44c5-9ac2-3295a43e3b48",
      "StudentId": "cd9add0e-030d-4bf8-bcb1-f776c102ca66",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-08T03:03:00.6999059+00:00",
      "DateCompleted": "2026-06-08T03:03:00.6999059+00:00",
      "Created": "2026-06-08T03:03:00.6999059+00:00",
      "LastUpdated": "2026-06-08T03:03:00.6999059+00:00"
    }
  ]
}