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": "f658b92a-791d-420f-a6de-4d198281800a",
"Result": 1,
"Feedback": "sample string 2",
"Results": [
{
"RatingSchemaPartItemId": "eb6617d8-beb6-4a6e-b607-9a63fcf5f75b",
"Result": 1
},
{
"RatingSchemaPartItemId": "eb6617d8-beb6-4a6e-b607-9a63fcf5f75b",
"Result": 1
}
]
},
{
"StudentId": "f658b92a-791d-420f-a6de-4d198281800a",
"Result": 1,
"Feedback": "sample string 2",
"Results": [
{
"RatingSchemaPartItemId": "eb6617d8-beb6-4a6e-b607-9a63fcf5f75b",
"Result": 1
},
{
"RatingSchemaPartItemId": "eb6617d8-beb6-4a6e-b607-9a63fcf5f75b",
"Result": 1
}
]
}
]
}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.