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": "7476642b-39d0-4895-9a22-f25b937d49aa",
      "TeacherId": "f7fd0d99-5222-47ea-a770-7f5463c3258c",
      "RegistrationId": "0d5922ef-f845-4d87-af31-bf132d95d90e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b0c366cf-b682-4781-908f-ef1ec71d892d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b0c366cf-b682-4781-908f-ef1ec71d892d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "7476642b-39d0-4895-9a22-f25b937d49aa",
      "TeacherId": "f7fd0d99-5222-47ea-a770-7f5463c3258c",
      "RegistrationId": "0d5922ef-f845-4d87-af31-bf132d95d90e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b0c366cf-b682-4781-908f-ef1ec71d892d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b0c366cf-b682-4781-908f-ef1ec71d892d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "14f98a9f-feba-4e95-bfe5-be680f5ce1b5",
      "ClassType": 0,
      "TeacherId": "6b1858f1-48fd-4df1-b706-d81912eb36ff",
      "StudentId": "85fe6348-4f3d-49ba-a188-4fbb258ab9bc",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-24T15:59:39.2443027+00:00",
      "DateCompleted": "2026-06-24T15:59:39.2443027+00:00",
      "Created": "2026-06-24T15:59:39.2443027+00:00",
      "LastUpdated": "2026-06-24T15:59:39.2443027+00:00"
    },
    {
      "Id": "14f98a9f-feba-4e95-bfe5-be680f5ce1b5",
      "ClassType": 0,
      "TeacherId": "6b1858f1-48fd-4df1-b706-d81912eb36ff",
      "StudentId": "85fe6348-4f3d-49ba-a188-4fbb258ab9bc",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-24T15:59:39.2443027+00:00",
      "DateCompleted": "2026-06-24T15:59:39.2443027+00:00",
      "Created": "2026-06-24T15:59:39.2443027+00:00",
      "LastUpdated": "2026-06-24T15:59:39.2443027+00:00"
    }
  ]
}