POST practice/{userIdentifier}/result
Authorization
Access to this endpoint is granted if all following conditions are true:
- Authenticated user who is either Student
- Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userIdentifier | PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
PearsonEnglish.LearningServices.Wse.Models.PracticeResultParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| PracticeId | globally unique identifier |
None. |
|
| State | PearsonEnglish.LearningServices.Core.Models.Enums.PracticeCompletionStatus |
None. |
|
| Duration | integer |
None. |
|
| Score | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"PracticeId": "0befed1b-679e-4428-8641-2102cef025ed",
"State": 1,
"Duration": 1,
"Score": 1.0
}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.