GET classes/{classId}/student/{userIdentifier}/classResults

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Authenticated user who is either Student

Request Information

URI Parameters

NameDescriptionTypeAdditional information
classId

string

Required

userIdentifier

PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier

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": "43783bd2-adf8-4c4c-af39-2125c56fb177",
      "TeacherId": "34c85dcc-b0b4-4d0b-9cbe-2ad5bca3dd85",
      "RegistrationId": "1258f1f4-a1ef-4b18-8979-4d487ed0ac21",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7c803107-2e6b-4f64-b9cf-16e42272260a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7c803107-2e6b-4f64-b9cf-16e42272260a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "43783bd2-adf8-4c4c-af39-2125c56fb177",
      "TeacherId": "34c85dcc-b0b4-4d0b-9cbe-2ad5bca3dd85",
      "RegistrationId": "1258f1f4-a1ef-4b18-8979-4d487ed0ac21",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7c803107-2e6b-4f64-b9cf-16e42272260a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7c803107-2e6b-4f64-b9cf-16e42272260a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "1f16cb26-01e2-4206-a2eb-ff4b0cb33d62",
      "ClassType": 0,
      "TeacherId": "688c66ee-69fb-464e-9f5f-7e16cfffe76f",
      "StudentId": "27d59754-b67b-4aa8-92f8-bc229db268ed",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2024-12-20T14:26:18.6395172+00:00",
      "DateCompleted": "2024-12-20T14:26:18.6395172+00:00",
      "Created": "2024-12-20T14:26:18.6395172+00:00",
      "LastUpdated": "2024-12-20T14:26:18.6395172+00:00"
    },
    {
      "Id": "1f16cb26-01e2-4206-a2eb-ff4b0cb33d62",
      "ClassType": 0,
      "TeacherId": "688c66ee-69fb-464e-9f5f-7e16cfffe76f",
      "StudentId": "27d59754-b67b-4aa8-92f8-bc229db268ed",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2024-12-20T14:26:18.6395172+00:00",
      "DateCompleted": "2024-12-20T14:26:18.6395172+00:00",
      "Created": "2024-12-20T14:26:18.6395172+00:00",
      "LastUpdated": "2024-12-20T14:26:18.6395172+00:00"
    }
  ]
}