POST api/account/forgot-password

This method will handle password retrieval request by sending an e-mail to end user with a link that he can follow to reset his password

Request Information

URI Parameters

None.

Body Parameters

Instance of ForgotPasswordModel

ForgotPasswordModel
NameDescriptionTypeAdditional information
Username

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1"
}

text/html

Sample:
{"username":"sample string 1"}

application/xml, text/xml

Sample:
<ForgotPasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.AccountBinding">
  <Username>sample string 1</Username>
</ForgotPasswordModel>

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 'ForgotPasswordModel'.

Response Information

Resource Description

HTTP 200 OK response

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.