PUT classes/{classId}/results
Authorization
Access to this endpoint is granted if all following conditions are true:
- Authorized user is in one of roles: ServiceManager, LimitedServiceManager
- Authenticated user is a staff member from the same center as class.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| classId | globally unique identifier |
Required |
Body Parameters
PearsonEnglish.LearningServices.Wse.Models.ClassResults.UpdateClassResultsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Override | boolean |
None. |
|
| Results | Collection of PearsonEnglish.LearningServices.Wse.Models.ClassResults.UpdateClassResultModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Override": true,
"Results": [
{
"StudentId": "f40699d7-0191-42ac-8899-b4b653d8cccd",
"Result": 1,
"Feedback": "sample string 2",
"Results": [
{
"RatingSchemaPartItemId": "d2e1eb2b-9156-46a5-9bce-326bb22e05ed",
"Result": 1
},
{
"RatingSchemaPartItemId": "d2e1eb2b-9156-46a5-9bce-326bb22e05ed",
"Result": 1
}
]
},
{
"StudentId": "f40699d7-0191-42ac-8899-b4b653d8cccd",
"Result": 1,
"Feedback": "sample string 2",
"Results": [
{
"RatingSchemaPartItemId": "d2e1eb2b-9156-46a5-9bce-326bb22e05ed",
"Result": 1
},
{
"RatingSchemaPartItemId": "d2e1eb2b-9156-46a5-9bce-326bb22e05ed",
"Result": 1
}
]
}
]
}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.