POST api/ForgotPassword

Request Information

URI Parameters

None.

Body Parameters

ForgotPasswordRequest
NameDescriptionTypeAdditional information
UserName

string

None.

PreferredPassword

string

None.

PreferSms

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "PreferredPassword": "sample string 2",
  "PreferSms": true
}

application/xml, text/xml

Sample:
<ForgotPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.DTO">
  <PreferSms>true</PreferSms>
  <PreferredPassword>sample string 2</PreferredPassword>
  <UserName>sample string 1</UserName>
</ForgotPasswordRequest>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.