POST api/Account/ForgotPassword

Request Information

URI Parameters

None.

Body Parameters

ResetPassword
NameDescriptionTypeAdditional information
UserID

string

None.

Token

string

None.

NewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": "sample string 1",
  "Token": "sample string 2",
  "NewPassword": "sample string 3"
}

application/xml, text/xml

Sample:
<ResetPassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <NewPassword>sample string 3</NewPassword>
  <Token>sample string 2</Token>
  <UserID>sample string 1</UserID>
</ResetPassword>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ResetPassword'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.