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| Name | Description | Type | Additional 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:
Response Information
Resource Description
HTTP 200 OK response
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.