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

NameDescriptionTypeAdditional information
userIdentifier

PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier

Required

Body Parameters

PearsonEnglish.LearningServices.Wse.Models.PracticeResultParameters
NameDescriptionTypeAdditional 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": "031bad8b-0959-452e-9138-230ba64bb64b",
  "State": 1,
  "Duration": 1,
  "Score": 1.0
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.